]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use correct signedness in wcsncmp
[thirdparty/glibc.git] / ChangeLog
CommitLineData
920a0395
SL
12015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 [BZ #18206]
4 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5 Use signed comparision instead of substraction to avoid
6 overflow bug.
7 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8 Take the sign of ret.
9 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10 Do not expect precise return values. Only the sign matters.
11 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12 * wcsmbs/test-wcsncmp.c: New File.
13 * string/test-strncmp.c: Add wcsncmp support.
14
de8aadd5
SL
152015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16
17 [BZ #6792]
18 * math/w_log1p.c: New file.
19 * math/w_log1pf.c: Likewise.
20 * math/w_log1pl.c: Likewise.
21 * math/Makefile (libm-calls): Add w_log1p.
22 * math/s_log1pl.c (log1pl): Remove weak_alias.
23 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
26 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
28 [NO_LONG_DOUBLE] (log1pl): Likewise.
29 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32 (log1p): Remove long_double_symbol.
33 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
35 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
37 remove weak_alias for corresponding log1p function.
38 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
39 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
40 * sysdeps/ia64/fpu/w_log1p.c: New file.
41 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
42 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
43 * math/libm-test.inc (log1p_test_data): Add errno expectations.
44
5556d30c
JM
452015-04-10 Joseph Myers <joseph@codesourcery.com>
46
47 [BZ #18247]
48 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
49 decimal exponent by 1.
50 * stdlib/tst-strtod-round-data: Add more tests.
51 * stdlib/tst-strtod-round.c (tests): Regenerated.
52
b3c66c53
JM
532015-04-09 Joseph Myers <joseph@codesourcery.com>
54
55 * math/auto-libm-test-in: Add more tests of clog and clog10.
56 * math/auto-libm-test-out: Regenerated.
57 * sysdeps/i386/fpu/libm-test-ulps: Update.
58 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59
b0b88abc
RM
602015-04-09 Roland McGrath <roland@hack.frob.com>
61
8a257e2c
RM
62 * Makeconfig (module-cppflags): Exclude all .v.i files.
63 (skip-module-cppflags): Variable removed.
64
05439291
RM
65 * configure.ac (libc_config_ok): Initialize before reading
66 preconfigure scripts, not after.
67 * configure: Regenerated.
68
b0b88abc
RM
69 * test-skeleton.c (TIMEOUT): Move #define to top level.
70 (main): Grok environment variable TEST_DIRECT. If set, print
71 test expectation details into that file and then behave as if
72 given --direct.
73
2902af16
FW
742015-04-09 Florian Weimer <fweimer@redhat.com>
75
76 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
77 warning on 32-bit.
78
23ebf743
DM
792015-04-08 David S. Miller <davem@davemloft.net>
80
81 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82
024bcc51
JM
832015-04-08 Joseph Myers <joseph@codesourcery.com>
84
787d22bc
JM
85 * math/auto-libm-test-in: Add more tests of atanh.
86 * math/auto-libm-test-out: Regenerated.
87 * sysdeps/i386/fpu/libm-test-ulps: Update.
88 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
89
024bcc51
JM
90 * math/auto-libm-test-in: Add more tests of atan.
91 * math/auto-libm-test-out: Regenerated.
92 * sysdeps/i386/fpu/libm-test-ulps: Update.
93 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94
7b8399f4
FW
952015-04-08 Florian Weimer <fweimer@redhat.com>
96
97 * elf/pldd.c (main): Rewrite to use struct
98 scratch_buffer instead of extend_alloca.
99 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
100 * grp/initgroups.c: Include <scratch_buffer.h> instead of
101 <alloca.h>.
102 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
103 scratch_buffer instead of extend_alloca.
104 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
105 grp/compat-initgroups.c.
794a74af
FW
106 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
107 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 108 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 109 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 110
ae63c7eb
JM
1112015-04-08 Joseph Myers <joseph@codesourcery.com>
112
da0cf658
JM
113 * math/auto-libm-test-in: Add more tests of cbrt.
114 * math/auto-libm-test-out: Regenerated.
115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
116
80352c01
JM
117 * math/auto-libm-test-in: Add more tests of cabs.
118 * math/auto-libm-test-out: Regenerated.
119 * sysdeps/i386/fpu/libm-test-ulps: Update.
120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
121
8431838d
JM
122 [BZ #18210]
123 [BZ #18211]
124 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
125 (__ieee754_atan2): Set FE_TONEAREST mode for internal
126 computations.
127 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
128 clog10.
129 * math/auto-libm-test-out: Regenerated.
130 * sysdeps/i386/fpu/libm-test-ulps: Update.
131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132
ae63c7eb
JM
133 [BZ #18197]
134 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
135 (atan): Set FE_TONEAREST mode for internal computations.
136 * math/auto-libm-test-in: Add more tests of atan.
137 * math/auto-libm-test-out: Regenerated.
138
d5856d06
JC
1392015-04-07 James Cowgill <james410@cowgill.org.uk>
140
141 [BZ #17930]
142 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
143
72301304
FW
1442015-04-07 Florian Weimer <fweimer@redhat.com>
145
146 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
147
cfcfd461
FW
1482015-04-07 Florian Weimer <fweimer@redhat.com>
149
150 * include/scratch_buffer.h: New file.
151 * malloc/scratch_buffer_grow.c: Likewise.
152 * malloc/scratch_buffer_grow_preserve.c: Likewise.
153 * malloc/scratch_buffer_set_array_size.c: Likewise.
154 * malloc/tst-scratch_buffer.c: Likewise.
155 * malloc/Makefile (routines): Add scratch_buffer_grow.
156 (tests): Add test case.
157 * malloc/Versions (GLIBC_PRIVATE): Export
158 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
159 __libc_scratch_buffer_set_array_size.
160
cc47c824
RH
1612015-04-06 Richard Henderson <rth@redhat.com>
162
163 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 164 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 165
9e8c0381
RH
166 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
167 unsigned int before printing.
168
9781a370
OB
1692015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
170
171 [BZ #17596]
172 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
173 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
174
37d60d97
FW
1752015-04-02 Florian Weimer <fweimer@redhat.com>
176
177 * include/libc-internal.h (libc_max_align_t): Define.
178
b763f6ae
AS
1792015-04-02 Andreas Schwab <schwab@suse.de>
180
181 [BZ #16850]
182 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
183
c26efef9
MG
1842015-04-02 Mel Gorman <mgorman@suse.de>
185
186 [BZ #17195]
187 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
188 as well as the main arena.
189
a3d9ab50
L
1902015-03-31 H.J. Lu <hongjiu.lu@intel.com>
191
192 [BZ #18185]
193 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
194 sharing L2 cache to 2 for Silvermont/Knights Landing.
195
83569fb8
L
1962015-03-31 H.J. Lu <hongjiu.lu@intel.com>
197
198 [BZ #17711]
199 * config.make.in (have-protected-data): New.
200 * configure.ac: Check linker support for protected data symbol.
201 * configure: Regenerated.
202 * elf/Makefile (modules-names): Add tst-protected1moda and
203 tst-protected1modb if $(have-protected-data) is yes.
204 (tests): Add tst-protected1a and tst-protected1b if
205 $(have-protected-data) is yes.
206 ($(objpfx)tst-protected1a): New.
207 ($(objpfx)tst-protected1b): Likewise.
208 (tst-protected1modb.so-no-z-defs): Likewise.
209 * elf/tst-protected1a.c: New file.
210 * elf/tst-protected1b.c: Likewise.
211 * elf/tst-protected1mod.h: Likewise.
212 * elf/tst-protected1moda.c: Likewise.
213 * elf/tst-protected1modb.c: Likewise.
214
62da1e3b
L
2152015-03-31 H.J. Lu <hongjiu.lu@intel.com>
216
217 [BZ #17711]
218 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
219 indicates it is called from do_lookup_x on relocation against
220 protected data, skip the data definion in the executable from
221 copy reloc.
222 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
223 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
224 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
225 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
226 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
227 otherwise to 0.
228 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
229 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
230 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
231 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
232 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
233 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
234
675ddb71
MG
2352015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
236
237 * sysdeps/nptl/pthread.h: Remove duplicate definition of
238 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
239
4d611e12
MG
2402015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
241
242 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
243 THREAD_SETMEM_NC.
244 * sysdeps/x86_64/nptl/tls.h: Ditto.
245
7285eb53
RM
2462015-03-27 Roland McGrath <roland@hack.frob.com>
247
248 * dlfcn/tststatic.c (main): Converted to ...
249 (do_test): ... this.
250 (TEST_FUNCTION): New macro.
251 Include test-skeleton.c.
252
19a6a3ac
AM
2532015-03-26 Alan Modra <amodra@gmail.com>
254
255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
256 Don't segfault if ifunc resolver returns a NULL. Do set plt to
257 zero for undefined weak.
258 (elf_machine_plt_conflict): Similarly.
259
a9fe4c5a
JM
2602015-03-25 Joseph Myers <joseph@codesourcery.com>
261
efd5b641
JM
262 * math/auto-libm-test-in: Add more tests of acosh, asinh and
263 atanh.
264 * math/auto-libm-test-out: Regenerated.
265 * sysdeps/i386/fpu/libm-test-ulps: Update.
266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
267
e9b10151
JM
268 * math/auto-libm-test-in: Add another test of asin.
269 * math/auto-libm-test-out: Regenerated.
270 * sysdeps/i386/fpu/libm-test-ulps: Update.
271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
272
9fa55373
JM
273 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
274 Remove macro.
275 (LLL_EBX_REG): Likewise.
276 (LLL_ENTER_KERNEL): Likewise.
277
38755f14
JM
278 * math/auto-libm-test-in: Add more tests of asin.
279 * math/auto-libm-test-out: Regenerated.
280 * sysdeps/i386/fpu/libm-test-ulps: Update.
281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
282
a9fe4c5a
JM
283 [BZ #18138]
284 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
285 libc_do_syscall_args): New structure.
286 (INTERNAL_SYSCALL_MAIN_0): New macro.
287 (INTERNAL_SYSCALL_MAIN_1): Likewise.
288 (INTERNAL_SYSCALL_MAIN_2): Likewise.
289 (INTERNAL_SYSCALL_MAIN_3): Likewise.
290 (INTERNAL_SYSCALL_MAIN_4): Likewise.
291 (INTERNAL_SYSCALL_MAIN_5): Likewise.
292 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
293 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
294 Replace conditional definitions by conditional definitions of ....
295 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
296 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
297 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
298 (libpthread-sysdep_routines): Add libc-do-syscall.
299 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
300 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
301 to __NR_futex not 240.
302
afcd9480
AM
3032015-03-25 Alan Modra <amodra@gmail.com>
304
305 * NEWS: Advertise TLS optimization.
306 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
307 (DT_PPC_NUM): Increment.
308 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
309 (CHECK_STATIC_TLS): Use here.
310 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
311 TLS descriptors.
312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
313 * sysdeps/powerpc/dl-tls.c: New file.
314 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
315 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
316 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
317 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
321
da9f3334
AM
3222015-03-25 Alan Modra <amodra@gmail.com>
323
324 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
325 for overlapping .opd entries" to "support...".
326 * sysdeps/powerpc/powerpc64/configure: Regenerate
327
bc899ea0
JM
3282015-03-25 Joseph Myers <joseph@codesourcery.com>
329
8d643971
JM
330 * math/auto-libm-test-in: Add more tests of acos.
331 * math/auto-libm-test-out: Regenerated.
332 * sysdeps/i386/fpu/libm-test-ulps: Update.
333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
334
bc899ea0
JM
335 * math/auto-libm-test-in: Add more tests of expm1.
336 * math/auto-libm-test-out: Regenerated.
337 * sysdeps/i386/fpu/libm-test-ulps: Update.
338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
339
7c84a504
JM
3402015-03-24 Joseph Myers <joseph@codesourcery.com>
341
239ed6f3
JM
342 * math/auto-libm-test-in: Add more tests of cosh and sinh.
343 * math/auto-libm-test-out: Regenerated.
344 * sysdeps/i386/fpu/libm-test-ulps: Update.
345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346
a737e826
JM
347 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
349
7c84a504
JM
350 * math/auto-libm-test-in: Add more tests of log2.
351 * math/auto-libm-test-out: Regenerated.
352 * sysdeps/i386/fpu/libm-test-ulps: Update.
353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
354
7e9c7b9b
RM
3552015-03-23 Roland McGrath <roland@hack.frob.com>
356
357 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
358 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
359 _IO_IS_APPENDING bit in READ_WRITE instead.
360
98734cc5
FW
3612015-03-23 Florian Weimer <fweimer@redhat.com>
362
363 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
364 (__determine_cpumask_size): Replace extend_alloca with a
365 variable-length array. Do not treat res == 0 as an error.
366
2b028564
FW
3672015-03-23 Florian Weimer <fweimer@redhat.com>
368
369 [BZ #18100]
370 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
371 and integer overflow.
372 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
373 (main): Add integer overflow tests.
374 * manual/pattern.texi (Calling Wordexp): Document additional use
375 for WRDE_SYNTAX.
376
59261ad3
AM
3772015-03-23 Alan Modra <amodra@gmail.com>
378
379 * config.h.in: Remove HAVE_ASM_PPC_REL16.
380 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
381 and false branch of conditional.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
383 Likewise.
384
d583531a
ST
3852015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
386
387 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
388 libc-modules.h
868df0f9
ST
389 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
390 unused declaration of _hurd_intr_rpc_msg_in_trap.
391 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
392 defined instead of whether it is non-zero.
393 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
394 input constraint instead of both input and output constraint. Use ecx
395 clobber instead of %ecx.
396 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
397 mutex_unlock): Use a statement expression instead of an expression list.
398 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
399 type to vm_size_t instead of vm_address_t.
400 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
401 defined instead of whether it is non-zero.
402 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
403 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
404 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
405 comparisons with mapaddr.
406 * nscd/nscd-client.h: Include <time.h>.
407 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
408 9th parameter to __vm_region instead of int.
661a7dba 409 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
410 * scripts/check-local-headers.sh (exclude): Add device/,
411 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
412 cthreads.h.
d583531a 413
298e5d56
RM
4142015-03-19 Roland McGrath <roland@hack.frob.com>
415
416 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
417 to account for alignment padding.
418 * sysdeps/arm/memmove.S: Likewise.
419
becb26b8
CM
4202015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
421
422 * sysdeps/unix/sysv/linux/generic/README: New file.
423
c2f5813a
JM
4242015-03-18 Joseph Myers <joseph@codesourcery.com>
425
426 [BZ #18138]
427 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
428 (futex_abstimed_wait)
429 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
430 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
431 of lll_futex_timed_wait.
432
ed6b0fe7
BH
4332015-03-18 Brad Hubbard <bhubbard@redhat.com>
434
435 [BZ #17542]
436 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
437
f8aeae34
AO
4382015-03-17 Alexandre Oliva <aoliva@redhat.com>
439
440 [BZ #17090]
441 [BZ #17620]
442 [BZ #17621]
443 [BZ #17628]
444 * NEWS: Update.
445 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
446 entries with Static TLS too. Skip entries past the end of the
447 allocated DTV, from Alan Modra.
448 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
449 Static TLS DTV entry set up from...
450 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
451 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
452 * nptl/allocatestack.c (init_one_static_tls): ... and here...
453 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
454 for Static TLS.
455 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
456 that the slot we find is associated with the given map before
457 using its generation count.
458 * nptl_db/db_info.c: Include ldsodefs.h.
459 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
460 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
461 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
462 (link_map::l_tls_offset): New struct field.
463 (dtv_t::counter): Likewise.
464 (rtld_global): New struct.
465 (_rtld_global): New rtld variable.
466 (dl_tls_dtv_slotinfo_list): New rtld global field.
467 (dtv_slotinfo_list): New struct.
468 (dtv_slotinfo): Likewise.
469 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
470 (td_lookup): Rename to...
471 (td_mod_lookup): ... this. Use new mod parameter instead of
472 LIBPTHREAD_SO.
473 * nptl_db/td_thr_tlsbase.c: Include link.h.
474 (dtv_slotinfo_list, dtv_slotinfo): New functions.
475 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
476 addresses even if the DTV is out of date or missing them.
477 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
478 index zero-length arrays.
479 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
480 (td_lookup): Make it a macro implemented in terms of...
481 (td_mod_lookup): ... this declaration.
482 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
483 (DB_MAIN_VARIABLE): Likewise.
484
b97eb2bd
L
4852015-03-16 H.J. Lu <hongjiu.lu@intel.com>
486
487 [BZ #18134]
488 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
489
cb219290
PE
4902015-03-15 Paul Eggert <eggert@cs.ucla.edu>
491
492 * stdlib/setenv.c (__add_to_environ): Revert previous change.
493
a3905fd9
AS
4942015-03-14 Andreas Schwab <schwab@linux-m68k.org>
495
496 [BZ #18128]
497 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
498 (atomic_add, atomic_increment_and_test)
499 (atomic_decrement_and_test): Fix 64-bit arithmetic.
500
2ecccaed
PE
5012015-03-13 Paul Eggert <eggert@cs.ucla.edu>
502
503 * stdlib/setenv.c (__add_to_environ):
504 Dump core quickly if setenv (..., NULL, ...) is called.
505
cdaf79d0
RM
5062015-03-13 Roland McGrath <roland@hack.frob.com>
507
508 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
509 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
510 all the necessary asm magic in one place.
511 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
512 using those.
513
cf9313e7
CD
5142015-03-13 Carlos O'Donell <carlos@redhat.com>
515
516 [BZ #14906]
517 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
518 traced file mtime. Use consistent log message.
519 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
520 (register_traced_file): Call install_watches. Always set mtime.
521 (invalidate_cache): Iterate over all trace files. Call install_watches.
522 (inotify_check_files): Don't inline. Handle watching parent
523 directories and configuration file movement in and out.
524 (handle_inotify_events): New function.
525 (main_loop_poll): Call handle_inotify_events.
526 (main_loop_epoll): Likewise.
527 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
528 (struct traced_file): Use array of inotify fds. Add parent directory,
529 and basename.
530 (struct database_dyn): Remove unused file_mtime.
531 (init_traced_file): New inline function.
532 (define_traced_file): New macro.
533 * nss/nss_db/db-init.c: Use define_traced_file.
534 (_nss_db_init): Use init_traced_file.
535 * nss/nss_files/files-init.c: Use define_traced_file.
536 (_nss_files_init): Use init_traced_file.
537
7d67a196
JM
5382015-03-12 Joseph Myers <joseph@codesourcery.com>
539
540 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
541 [_LIBC]: Do not include <stdlib.h>.
542 [!_LIBC] (abort): Remove declaration.
543 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
544 _FP_STATIC_ASSERT instead of conditionally calling abort.
545 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
546 (_FP_EXTEND_CNAN): Likewise.
547 (FP_TRUNC): Likewise.
548 (__FP_CLZ): Likewise.
549 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
550
af85ebcd
YS
5512015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
552
553 * manual/string.texi (XPG basename): Fix prototype.
554
2e807f29
SL
5552015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
556
557 [BZ #18080]
558 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
559 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
560 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
561 (__setcontext): Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
563 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
564 Call rt_sigprocmask syscall one time to set new signal mask
565 and retrieve the current signal mask instead of two calls.
566 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
567 (__swapcontext): Likewise.
568 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
569 * stdlib/tst-setcontext2.c: New file.
570
1b2bebe6
SL
5712015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
572
573 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
574
6a1cf708
AJ
5752015-03-11 Aurelien Jarno <aurelien@aurel32.net>
576
577 [BZ #18093]
578 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
579 the wrong size.
580
a2d4cf72
PP
5812015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
582
583 [BZ #18043]
584 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
585
5ca10a0c
AZ
5862015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
587
588 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
589 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
590 Remove define.
591 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
592 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
593 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
594 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
595 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
596 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
597 define.
598 * nptl_db/td_symbol_list.c (td_lookup): Remove
599 HAVE_ASM_GLOBAL_DOT_NAME code.
600 * sysdeps/powerpc/powerpc64/configure.ac: Remove
601 HAVE_ASM_GLOBAL_DOT_NAME check.
602 * sysdeps/powerpc/powerpc64/configure: Regenerate.
603 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
604 (DOT_LABEL): Remove define.
605 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
606 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
607 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
608 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
609 (__TLS_GET_ADDR): Likewise.
610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
611 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
612
e4363cfb
CD
6132015-03-11 Carlos O'Donell <carlos@redhat.com>
614
615 [BZ #18111]
616 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
617 (_FPU_SETCW): Initialize cw from fpsr before storing.
618 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
619 (fesetexceptflag): Rewrite using fpu_control.h.
620 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
621
fae1aa8d
JDA
6222015-03-11 John David Anglin <danglin@gcc.gnu.org>
623
624 [BZ #18110]
625 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
626 asms.
627 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
628
068a6274
JM
6292015-03-11 Joseph Myers <joseph@codesourcery.com>
630
631 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
632 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
633 abort.
634 (_FP_FMA): Likewise.
635 (_FP_DIV): Likewise.
636
d3821ab0
RM
6372015-03-10 Roland McGrath <roland@hack.frob.com>
638
44a6213c
RM
639 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
640 with 0 in that case.
641 * Makefile (summarize-tests): New canned sequence, factored out of
642 commands for targets tests and xtests. Display summary lines that
643 don't start with PASS: or XFAIL: rather than ones that do start with
644 ERROR: or FAIL:. Make the commands fail if any summary lines fail
645 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
646 do start with ERROR: or FAIL:.
647 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
648 (except for [$(build-shared) = yes]).
649 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
650 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
651 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
652 * nptl/Makefile: Revert 2015-03-04 changes.
653 [$(CXX) empty] (tests-unsupported): New variable.
654 * debug/Makefile: Likewise.
655
d3821ab0
RM
656 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
657 gnulib file. Replace __attribute with __attribute__ throughout.
658
85ca85ae
CD
6592015-03-10 Carlos O'Donell <carlos@redhat.com>
660
661 * sysdeps/hppa/fpu/libm-test-ulps: Update.
662
6411f81d
JM
6632015-03-10 Joseph Myers <joseph@codesourcery.com>
664
665 [BZ #18104]
666 * math/auto-libm-test-in: Add another test of pow.
667 * math/auto-libm-test-out: Regenerated.
668
d421868b
AZ
6692015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670
671 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
672 $(config-cflags-nofma).
673
a2f8be9c
JM
6742015-03-10 Joseph Myers <joseph@codesourcery.com>
675
676 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
677 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
678 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
679 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
680 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
681 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
682 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
683 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
684 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
685 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
686 Add comment on closing #endif.
687
01d032e0
PP
6882015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
689
690 * posix/wordexp.c (CHAR_IN_SET): New macro.
691 (parse_param): Use it.
692
d439bc56
AZ
6932015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694
695 * sysdeps/powerpc/fpu/libm-test-ulps: update.
696
5f85a4bf
PP
6972015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
698
699 [BZ #18043]
700 * posix/wordexp.c (parse_param): Fix buffer overflow.
701 * posix/wordexp-test.c (test_case): Add test case.
702
f8ba70e9
PP
7032015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
704
705 [BZ #18042]
706 * posix/wordexp.c (parse_backtick): Fix off-by-one.
707 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
708
36103ba2
PP
7092015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
710
711 [BZ #18043]
712 * posix/wordexp-test.c (test_case): Add test for BZ #18043
713 (do_bz18043): Delete.
714 (at_page_end): New.
715 (testit): Refactor to have words at the edge of unreadable page.
716
18d26750
PP
7172015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
718
719 [BZ #16734]
720 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
721 Cleanup read-only streams as well.
722 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
723
9f95dc5d
ST
7242015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
725
726 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
727 <bits/libc-lockP.h>
728
b838844b
JM
7292015-03-07 Joseph Myers <joseph@codesourcery.com>
730
731 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
732 on [__KERNEL__].
733 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
734 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
735 * soft-fp/op-common.h (_FP_DECL): Likewise.
736
e0ed2fb4
L
7372015-03-06 H.J. Lu <hongjiu.lu@intel.com>
738
739 * elf/ifuncdep2.c (global): Replace
740 __attribute__((visibility("protected"))) with
741 asm (".protected global").
742 * elf/ifuncmod1.c (global): Likewise.
743 * elf/ifuncmod5.c (global): Likewise.
744
fa9dda64
JM
7452015-03-06 Joseph Myers <joseph@codesourcery.com>
746
747 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
748 <asm/sfp-machine.h> instead of <sfp-machine.h>.
749
4acc27ed
RM
7502015-03-06 Roland McGrath <roland@hack.frob.com>
751
752 * manual/install.texi (Configuring and compiling):
753 Document test-wrapper-env-only.
754 * INSTALL: Regenerated.
755
895c30cb
PP
7562015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
757
758 [BZ #18043]
759 * posix/wordexp.c (parse_param): Fix buffer overflow.
760 * posix/wordexp-test.c (do_bz18043): Add test case.
761
5df56c7e
VB
7622015-03-06 Vincent Bernat <vincent@bernat.im>
763
764 * time/tst-strptime2.c (do_test): Ensure failing tests are
765 reported correctly.
766 * time/tst-strptime3.c (do_test): Likewise.
767
1cdf2ea1
ST
7682015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
769
770 Fix aio_error thread-safety.
1cdf2ea1
ST
771 * sysdeps/pthread/aio_error.c: New file
772 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
773 synchronization.
774
d176a41a
FW
7752015-03-06 Florian Weimer <fweimer@redhat.com>
776
777 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
778 (group_number, vfprintf): Use it.
1597b744
FW
779 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
780 (JUMP, REF): Use it.
781 (WORK_BUFFER_SIZE): New enum constant.
782 (process_arg, vfprintf): Use it.
d176a41a 783
7e7af349
RJ
7842015-03-06 Rical Jasan <ricaljasan@pacific.net>
785
786 * manual/errno.texi (Error Messages): Complete example function
787 by adding missing #define.
788 (program_invocation_name): Add statement indicating GNU
789 extension and reference which header file declares the variable.
790 (program_invocation_short_name): Likewise.
791
4ca8ddfb
MF
7922015-03-06 Mike Frysinger <vapier@gentoo.org>
793
794 * manual/errno.texi (Error Messages): Delete strerror ISO C89
795 compatibility note.
796
9162c01d
RM
7972015-03-05 Roland McGrath <roland@hack.frob.com>
798
799 * Makeconfig (test-wrapper-env-only): New variable.
800 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
801 then use that with $(test-wrapper-env-only) rather than using
802 $(test-wrapper-env) $(run-program-env) $($*-ENV).
803
209826bc
L
8042015-03-05 H.J. Lu <hongjiu.lu@intel.com>
805
806 [BZ #18082]
807 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
808 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
809 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
810 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
811 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
812 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
813 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
814 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
815 Likewise.
816 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
817 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
818 Likewise.
819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
820 Likewise.
821 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
822 Likewise.
823 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
824 Likewise.
825 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
827 Likewise.
828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
829 Likewise.
830 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
831 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
832
2cfe32bc
RM
8332015-03-04 Roland McGrath <roland@hack.frob.com>
834
8bff5aab
RM
835 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
836 (ETH_ALEN): New macro.
837 (struct ether_addr): Use it for length of ether_addr_octet.
838
2752f338
RM
839 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
840 (setdb): Don't call __nss_configure_lookup for "rpc".
841 (do_test): Don't call test_rpc.
842 (output_rpcent, test_rpc): Functions moved ...
843 * sunrpc/test-rpcent.c: ... to this new file.
844 * sunrpc/Makefile (tests): Add it.
845
2cfe32bc
RM
846 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
847 __xpg_sigpause.
848 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
849 * nptl/tst-signal6.c: Likewise.
850 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
851 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
852
e4693aa7
RM
853 * configure.ac (libc_cv_cxx_link_ok): New check.
854 Reset CXX to empty if it fails to link.
855 * configure: Regenerated.
856 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
857 bug-atexit3-lib only if $(CXX) is nonempty.
858 * nptl/Makefile (tests): Likewise for tst-cancel24.
859 (tests, tests-static): Likewise for tst-cancel24-static.
860 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
861 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
862 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
863 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 864
8e2e833a
AS
8652015-03-04 Andreas Schwab <schwab@suse.de>
866
867 [BZ #17631]
868 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
869 for non-GCC compilers.
870 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
871 Likewise.
872
85b29045
AZ
8732015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
874
875 [BZ #17776]
876 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
877 integer before bitwise and assembly operations.
878 (feclearexcept): Likewise.
879 * math/test-fenvinline.c: New file.
880 * math/Makefile: Add test-fenvinline test.
881
a0af371c
AM
8822015-03-03 Alan Modra <amodra@gmail.com>
883
884 [BZ #16512]
885 * scripts/localplt.awk: Strip off symbol version.
886 * NEWS: Mention bug fix.
887
47465629
RM
8882015-03-02 Roland McGrath <roland@hack.frob.com>
889
890 * sysdeps/pthread/timer_routines.c
891 (timer_free_list, thread_free_list, thread_active_list): Make static.
892
6d08b022
JM
8932015-03-02 Joseph Myers <joseph@codesourcery.com>
894
895 [BZ #17779]
896 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
897 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
898 Undefine.
899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
900 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
901 Likewise.
902 * sysdeps/unix/sysv/linux/sh/kernel-features.h
903 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
904 Likewise.
905
c2c6d39f
PP
9062015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
907
908 [BZ #18036]
909 * posix/fnmatch_loop.c (END): Detect invalid pattern.
910 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
911
e8b6be00
AS
9122015-03-02 Andreas Schwab <schwab@suse.de>
913
914 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
915 variable name.
916
1a2d98af
FW
9172015-03-02 Florian Weimer <fweimer@redhat.com>
918
919 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
920 Return error status.
921
e7f07af5
AO
9222015-02-27 Alexandre Oliva <aoliva@redhat.com>
923
924 [BZ #15969]
925 * locale/findlocale.c (_nl_find_locale): Introduce const
926 version of loc_name and drop unsafe type casts.
927
c7b19ca9
RM
9282015-02-27 Roland McGrath <roland@hack.frob.com>
929
930 * dlfcn/tststatic2.c (main): Converted to ...
931 (do_test): ... this.
932 (TEST_FUNCTION): New macro.
933 Include test-skeleton.c.
934
ef4ad06f
L
9352015-02-27 H.J. Lu <hongjiu.lu@intel.com>
936
937 [BZ #17711]
938 * elf/Makefile (tests): Add vismain only if PIE is enabled.
939 (tests-pie): Add vismain.
940 (CFLAGS-vismain.c): New.
941 * elf/vismain.c: Add comments for PIE requirement.
942
2ca725c5
JM
9432015-02-27 Joseph Myers <joseph@codesourcery.com>
944
945 [BZ #18046]
946 [BZ #18047]
947 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
948 0x1p-56L as threshold for just returning the argument.
949 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
950 0x1p-32L as threshold for just returning the argument.
951 * math/auto-libm-test-in: Add more tests of atanh.
952 * math/auto-libm-test-out: Regenerated.
953 * sysdeps/i386/fpu/libm-test-ulps: Update.
954 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
955
af96be34
WD
9562015-02-27 Wilco Dijkstra wdijkstr@arm.com
957
958 * string/bcopy.c (bcopy): Call memmove for performance.
959
ddcf6798
WD
9602015-02-27 Wilco Dijkstra wdijkstr@arm.com
961
962 * string/bzero.c (__bzero): Call memset for performance.
963
49f476f4
JDA
9642015-02-27 John David Anglin <dave.anglin@bell.net>
965
b42e14ff 966 [BZ #18068]
49f476f4
JDA
967 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
968 to 00100000.
969
f8ab5d38
JM
9702015-02-27 Joseph Myers <joseph@codesourcery.com>
971
972 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
973
380bd0fd
JM
9742015-02-26 Joseph Myers <joseph@codesourcery.com>
975
31331a07
JM
976 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
977 (__kernel_standard): Use CSTR macro when setting exc.name.
978 * sysdeps/ieee754/Makefile [$(subdir) = math]
979 (CFLAGS-k_standard.c): Remove variable.
980
09220e66
JM
981 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
982 setting p and q from "else if" to "else".
983 (qzero): Likewise.
984 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
985 (qone): Likewise.
986 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
987 (qzerof): Likewise.
988 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
989 (qonef): Likewise.
990 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
991 (qzero): Likewise.
992 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
993 (qone): Likewise.
994
1d9ab20c
JM
995 [BZ #18038]
996 [BZ #18039]
997 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
998 return pi/2 for arguments below 0x1p-113L.
999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1000 return pi/2 for arguments below 0x1p-106L.
1001 * math/auto-libm-test-in: Add more tests of acos.
1002 * math/auto-libm-test-out: Regenerated.
1003
ec0ce0d3
JM
1004 [BZ #16351]
1005 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1006 (MO): New macro.
1007 (__ieee754_asin): Force underflow exception for results with small
1008 absolute value.
1009 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1010 (MO): New macro.
1011 (__ieee754_asinf): Force underflow exception for results with
1012 small absolute value.
1013 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1014 (__ieee754_asin): Force underflow exception for results with small
1015 absolute value.
1016 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1017 (__ieee754_asinf): Force underflow exception for results with
1018 small absolute value.
1019 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1020 (__ieee754_asinl): Force underflow exception for results with
1021 small absolute value.
1022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1023 (__ieee754_asinl): Force underflow exception for results with
1024 small absolute value.
1025 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1026 (__ieee754_asinl): Force underflow exception for results with
1027 small absolute value.
1028 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1029 Include <math.h>.
1030 * math/auto-libm-test-in: Do not mark underflow exceptions as
1031 possibly missing for bug 16351.
1032 * math/auto-libm-test-out: Regenerated.
1033
380bd0fd
JM
1034 [BZ #18030]
1035 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1036 of power of 2 down when low part has opposite sign.
1037 * math/libm-test.inc (logb_test_data): Add more tests.
1038
4a28f4d5
AS
10392015-02-26 Andreas Schwab <schwab@suse.de>
1040
1041 [BZ #18032]
1042 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1043 over collating symbol inside a bracket expression. Minor cleanup.
1044 * posix/tst-fnmatch3.c (do_test): Add test case.
1045
524ae9ea
JM
10462015-02-26 Joseph Myers <joseph@codesourcery.com>
1047
1048 [BZ #18029]
1049 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1050 Adjust exponent of power of 2 down when low part has opposite
1051 sign.
1052 * math/libm-test.inc (ilogb_test_data): Add more tests.
1053
23d43090
AO
10542015-02-26 Alexandre Oliva <aoliva@redhat.com>
1055
1056 [BZ #15969]
1057 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1058 the previous change.
0d822a01
AO
1059
1060 [BZ #15969]
1061 * locale/findlocale.c (_nl_find_locale): Retry archive search
1062 after alias expansion.
1063
d19df6ac
RM
10642015-02-25 Roland McGrath <roland@hack.frob.com>
1065
ca681b7b
RM
1066 * iconv/tst-iconv3.c (main): Converted to ...
1067 (do_test): ... this.
1068 (TEST_FUNCTION): New macro.
1069 Include test-skeleton.c.
1070
fd1f2f1c
RM
1071 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1072 (convert): Make function static.
1073 (test_unalign): Likewise. Add const to argument pointee types.
1074 (main): Replace with static function do_test.
1075 Print "Succeeded." only if RET is zero.
1076 (TEST_FUNCTION): New macro.
1077 Include test-skeleton.c.
1078
d19df6ac
RM
1079 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1080 returns a null pointer.
1081
115e0de7
AZ
10822015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083
1084 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1085 to __memcpy_ppc only for static builds.
1086
137cef7d
JM
10872015-02-25 Joseph Myers <joseph@codesourcery.com>
1088
1089 [BZ #18020]
1090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1091 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1092 * math/auto-libm-test-in: Add more tests of asinh.
1093 * math/auto-libm-test-out: Regenerated.
1094 * sysdeps/i386/fpu/libm-test-ulps: Update.
1095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1096
cb43bb0d
CW
10972015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1098
1099 [BZ #15850]
1100 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1101 and ip6_mtuinfo definitions here.
1102 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1103 in this define too. Update comment.
1104
9be1052b
BS
11052015-02-24 Benno Schulenberg <bensberg@justemail.net>
1106
1107 * elf/sprof.c (load_shobj): Tweak error message to match others.
1108
6807b1db
KE
11092015-02-24 Kevin Easton <kevin@guarana.org>
1110
1111 [BZ #16145] (partial fix)
1112 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1113 to reduce lock contention.
1114
b433df00
ML
11152015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1116
1117 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1118 (struct timex): Update time comment.
1119 (ADJ_SETOFFSET): Define.
1120
440169d6
JM
11212015-02-24 Joseph Myers <joseph@codesourcery.com>
1122
1123 [BZ #18019]
1124 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1125 2**56 not 2**28 as threshold for log (2x) formula.
1126 * math/auto-libm-test-in: Add more tests of acosh.
1127 * math/auto-libm-test-out: Regenerated.
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1130
ba7d2c54
MF
11312015-02-24 Mike Frysinger <vapier@gentoo.org>
1132
1133 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1134 parenthesis around the buf assignment.
1135 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1136
9438b237
JM
11372015-02-24 Joseph Myers <joseph@codesourcery.com>
1138
1139 [BZ #16783]
1140 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1141 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1142 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1143 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1144 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1145 * math/libm-test.inc (scalb_test_data): Add more tests.
1146
6909d276
PP
11472015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1148
1149 [BZ #17916]
1150 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1151 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1152
65f6f938
ER
11532015-02-24 Eric Rannaud <e@nanocritical.com>
1154
1155 [BZ #17523]
1156 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1157 * io/bits/fcntl2.h (open): Use it.
1158 (openat): Likewise.
1159 * io/open.c (__libc_open): Likewise.
1160 * io/open64.c (__libc_open64): Likewise.
1161 * io/open64_2.c (__open64_2): Likewise.
1162 * io/open_2.c (__open_2): Likewise.
1163 * io/openat.c (__openat): Likewise.
1164 * io/openat64.c (__openat64): Likewise.
1165 * io/openat64_2.c (__openat64_2): Likewise.
1166 * io/openat_2.c (__openat_2): Likewise.
1167 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1168 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1169 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1170 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1171 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1172 (__open_nocancel): Likewise.
1173 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1174 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1175 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1176
3e3002ff
SP
11772015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1178
1179 [BZ #14841]
1180 * resolv/gethnamaddr.c (getanswer): Skip logging if
1181 RES_USE_DNSSEC is set.
1182 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1183
9813dd58
MF
11842015-02-24 Mike Frysinger <vapier@gentoo.org>
1185
1186 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1187
7b1ec6a0
AO
11882015-02-23 Alexandre Oliva <aoliva@redhat.com>
1189
1190 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1191 201304L, for Unicode 7.
1192
d49499c1
L
11932015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 [BZ #17836]
1196 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1197 shared library. Add gmon-start.os otherwise.
1198 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1199 $(objpfx)gmon-start.os if builing shared library.
1200 ($(objpfx)g$(static-start-installed-name)): Likewise.
1201
51225803
AS
12022015-02-23 Andreas Schwab <schwab@suse.de>
1203
1204 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1205
bdf1ff05
PP
12062015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1207
1208 [BZ #17269]
1209 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1210 (enlarge_userbuf): Likewise.
1211
95296112
CLT
12122015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1213
1214 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1215 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1216 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1217 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1218
e4a399dc
JM
12192015-02-20 Joseph Myers <joseph@codesourcery.com>
1220
1221 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1222 expression inside statement expression.
1223
7133957f
SL
12242015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1225
1226 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1227 <sysdeps/nptl/lowlevellock.h> and remove macros and
1228 functions that are now defined there.
1229 (SYS_futex): Remove.
1230 (lll_compare_and_swap): Remove.
1231 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1232
40176158
JM
12332015-02-19 Joseph Myers <joseph@codesourcery.com>
1234
1235 [BZ #17999]
1236 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1237 instead of scandirat.
1238 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1239 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1240 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1241 __scandirat.
1242 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1243 (__scandirat): Declare. Use libc_hidden_proto.
1244 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1245 Remove variable.
1246 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1247
4629c866
JM
12482015-02-18 Joseph Myers <joseph@codesourcery.com>
1249
1250 [BZ #15319]
1251 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1252 (MO): New macro.
1253 (__ieee754_atan2): For results with small absolute value, force
1254 underflow exception and remove excess range and precision from
1255 return value.
1256 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1257 (MO): New macro.
1258 (__ieee754_atan2f): For results with small absolute value, force
1259 underflow exception and remove excess range and precision from
1260 return value.
1261 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1262 (MO): New macro.
1263 (__atan): For results with small absolute value, force underflow
1264 exception and remove excess range and precision from return value.
1265 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1266 (MO): New macro.
1267 (__atanf): For results with small absolute value, force underflow
1268 exception and remove excess range and precision from return value.
1269 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1270 <math.h>.
1271 (__ieee754_atan2): Force underflow exception for results with
1272 small absolute value.
1273 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1274 <math_private.h>.
1275 (atan): Force underflow exception for results with small absolute
1276 value.
1277 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1278 (__atanf): Force underflow exception for results with small
1279 absolute value.
1280 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1281 <math.h>.
1282 (__atanl): Force underflow exception for results with small
1283 absolute value.
1284 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1285 (__atanl): Force underflow exception for results with small
1286 absolute value.
1287 * sysdeps/x86/fpu/bits/mathinline.h
1288 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1289 (__ieee754_atan2): Only define inline for long double.
1290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1291 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1292 * math/auto-libm-test-in: Do not mark underflow exceptions as
1293 possibly missing for bug 15319. Add more tests of atan2.
1294 * math/auto-libm-test-out: Regenerated.
1295 * math/libm-test.inc (casin_test_data): Do not mark underflow
1296 exceptions as possibly missing for bug 15319.
1297 (casinh_test_data): Likewise.
1298 * sysdeps/i386/fpu/libm-test-ulps: Update.
1299
9ee16d8b
SE
13002015-02-18 Steve Ellcey <sellcey@imgtec.com>
1301
1302 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1303 * sysdeps/mips/bits/endian.h: Fix comments.
1304
4ffb1771
JM
13052015-02-18 Joseph Myers <joseph@codesourcery.com>
1306
1307 [BZ #17996]
1308 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1309 (hdestroy_r): Likewise.
1310 (hsearch_r): Likewise.
1311 (__hcreate_r): Declare and use libc_hidden_proto.
1312 (__hdestroy_r): Likewise.
1313 (__hsearch_r): Likewise.
1314 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1315 (hcreate): Call __hcreate_r instead of hcreate_r.
1316 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1317 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1318 as weak alias of __hcreate_r.
1319 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1320 __hdestroy_r.
1321 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1322 __hsearch_r.
1323 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1324 Remove variable.
1325 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1326 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1327 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1328 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1329
94c5a52a
SP
13302015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1331
1332 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1333 arena_lock into a single arena_get.
1334
8a35c3fe
CD
13352015-02-17 Carlos O'Donell <carlos@redhat.com>
1336
1337 * dl-reloc.c: Inlucde libc-internal.h.
1338 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1339 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1340 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1341 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1342 (grow_heap): Likewise.
1343 * malloc/malloc.c: Include libc-internal.h.
1344 (do_check_malloc): Call powerof2.
1345 (sysmalloc): Use pagesize. Call ALIGN_UP.
1346 (systrim): Use pagesize.
1347 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1348 (__libc_valloc): Use pagesize.
1349 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1350
1a2325c0
JM
13512015-02-17 Joseph Myers <joseph@codesourcery.com>
1352
1353 [BZ #17991]
1354 * include/sys/resource.h (__getrlimit64): Declare. Use
1355 libc_hidden_proto.
1356 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1357 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1358 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1359 getrlimit64.
1360 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1361 __getrlimit64.
1362 [!getrlimit64] (getrlimit64): Define as weak alias of
1363 __getrlimit64. Use libc_hidden_weak.
1364 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1365 using __getrlimit64 not __new_getrlimit64.
1366 (__GI_getrlimit64): Likewise.
1367 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1368 Likewise.
1369 (__GI_getrlimit64): Likewise.
1370 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1372 (getrlimit): Add __getrlimit64 alias.
1373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1374 Likewise.
1375 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1376 Remove variable.
1377 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1378 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1379
8ae4bb5a
PP
13802015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1381
1382 * libio/fileops.c: Add missing sys/mman.h
1383 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1384
18a218b7
JM
13852015-02-17 Joseph Myers <joseph@codesourcery.com>
1386
1387 * manual/math.texi (Errors in Math Functions): Clarify goals
1388 regarding inexact and underflow exceptions.
1389
e72ad0ef
SE
13902015-02-17 Steve Ellcey <sellcey@imgtec.com>
1391
1392 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1393 * sysdeps/mips/memset.S: Ditto.
1394
2caa4099
SE
13952015-02-17 Steve Ellcey <sellcey@imgtec.com>
1396
1397 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1398
f20bfc9b
SL
13992015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1400
1401 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1402 (__v1longjmp): Remove versioned symbol.
1403 (__v1siglongjmp): Remove alias and versioned symbol.
1404 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1405 (__v2siglongjmp): Likewise.
1406
71c06b69
TR
14072015-02-16 Torvald Riegel <triegel@redhat.com>
1408
1409 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1410
a9a05adb
MF
14112015-02-16 Mike Frysinger <vapier@gentoo.org>
1412
1413 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1414
ce8fc784
JM
14152015-02-16 Joseph Myers <joseph@codesourcery.com>
1416
1417 [BZ #17987]
1418 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1419 zero result does not depend on the sign resulting from
1420 subtraction.
1421 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1422 Likewise.
1423 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1424 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1425 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1426 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1427 * math/libm-test.inc (remquo_test_data): Add more tests.
1428
0d7036bd
PE
14292015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1430
1431 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1432 Problem reported by J William Piggott.
1433
86c56b16
JM
14342015-02-16 Joseph Myers <joseph@codesourcery.com>
1435
a820f9b3
JM
1436 [BZ #17978]
1437 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1438 products 4 * y and 2 * y where those would overflow.
1439 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1440 Likewise.
1441 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1442 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1443 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1444 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1445 * math/libm-test.inc (remquo_test_data): Add more tests.
1446
be802953
JM
1447 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1448
e5e72fe9
JM
1449 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1450 [defined _COMPILING_NEWLIB].
1451 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1452 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1453
86c56b16
JM
1454 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1455 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1456
35264d14
TR
14572015-02-16 Torvald Riegel <triegel@redhat.com>
1458
1459 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1460 acquired.
1461
6f49e32a
MF
14622015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1463
1464 [BZ #17792]
1465 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1466 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1467 HOST_STACK_END_ADDR): Likewise.
1468
e525154e
SE
14692015-02-13 Steve Ellcey <sellcey@imgtec.com>
1470
1471 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1472 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1473 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1474
4ab770b7
RM
14752015-02-13 Roland McGrath <roland@hack.frob.com>
1476
1477 * sysdeps/generic/c++-types.data: New file.
1478 * sysdeps/generic/ld.abilist: New file.
1479 * sysdeps/generic/libBrokenLocale.abilist: New file.
1480 * sysdeps/generic/libanl.abilist: New file.
1481 * sysdeps/generic/libc.abilist: New file.
1482 * sysdeps/generic/libcrypt.abilist: New file.
1483 * sysdeps/generic/libdl.abilist: New file.
1484 * sysdeps/generic/libm.abilist: New file.
1485 * sysdeps/generic/libpthread.abilist: New file.
1486 * sysdeps/generic/libresolv.abilist: New file.
1487 * sysdeps/generic/librt.abilist: New file.
1488
d9afe48d
JM
14892015-02-13 Joseph Myers <joseph@codesourcery.com>
1490
1491 [BZ #17569]
1492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1493 Compute absolute value of x as modified by fmod, not original
1494 value of x.
1495 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1496 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1497 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1498 RUN_TEST_ffI_f1_mod8.
1499 (remquo_test_data): Add more tests.
1500
3846188b
RM
15012015-02-13 Roland McGrath <roland@hack.frob.com>
1502
1503 * sysdeps/init_array/pt-crti.S: New file.
1504
95c26233
JM
15052015-02-13 Joseph Myers <joseph@codesourcery.com>
1506
1507 [BZ #17967]
1508 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1509 __builtin_fmaf instead of relying on contraction of a * b + c.
1510
3f293d61
WP
15112015-02-12 J William Piggott <elseifthen@gmx.com>
1512
1513 [BZ #17969]
1514 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1515 node.
1516
e8bd5286
JM
15172015-02-12 Joseph Myers <joseph@codesourcery.com>
1518
1519 [BZ #17964]
1520 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1521 __builtin_fma instead of relying on contraction of a * b + c.
1522
04f5a636
RM
15232015-02-12 Roland McGrath <roland@hack.frob.com>
1524
96a15749
RM
1525 * Makeconfig (ASFLAGS): Add -Werror=undef.
1526 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1527 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1528 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1529
04f5a636
RM
1530 * Makeconfig (after-link): New variable.
1531 (+link-pie, +link-pie-tests): Use it.
1532 (+link-static, +link-static-tests): Likewise.
1533 (+link, +link-tests): Likewise.
1534 * Makerules (build-module, build-module-asneeded): Likewise.
1535 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1536 Likewise.
1537 * elf/Makefile ($(objpfx)ld.so): Likewise.
1538
87a629c5
RS
15392015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1540
1541 [BZ #17965]
1542 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1543 both struct timeval and struct timespec.
1544
03d95bd4
JM
15452015-02-12 Joseph Myers <joseph@codesourcery.com>
1546
1547 [BZ #16560]
1548 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1549 and redefine.
1550 (__ieee754_exp2l): Do not multiply small fractional parts by
1551 M_LN2l.
1552 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1553 small argument.
1554 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1555 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1556 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1557 * math/auto-libm-test-in: Add more tests of exp2.
1558 * math/auto-libm-test-out: Regenerated.
1559
98408b95
RS
15602015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1561
1562 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1563 unaligned path.
1564
6f741503
AZ
15652015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1568 little endian.
1569
2868e070
AS
15702015-02-12 Andreas Schwab <schwab@suse.de>
1571
1572 [BZ #15790]
1573 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1574 Filter out elision flags from value returned in kind.
1575 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1576 * nptl/tst-pthread-mutexattr.c: New file.
1577
ebf27d12
ST
15782015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1579
1580 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1581 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1582 into gnu-gnu, and update comment to refer to abi-tags.
1583
d435569c
JM
15842015-02-11 Joseph Myers <joseph@codesourcery.com>
1585
1586 [BZ #15467]
1587 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1588 (__sincos): Set errno to EDOM for infinite argument.
1589 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1590 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1591 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1592 (__sincosl): Set errno to EDOM for infinite argument.
1593 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1594 (__sincosl): Set errno to EDOM for infinite argument.
1595 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1596 (__sincosl): Set errno to EDOM for infinite argument.
1597 * math/libm-test.inc (sincos_test_data): Test errno setting.
1598
d35273f2
LH
15992015-02-11 Leonhard Holz <leonhard.holz@web.de>
1600
1601 * string/strxfrm_l.c: Remove #define STRCMP.
1602 * string/strcoll_l.c: Remove #define STRLEN.
1603 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1604 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1605
306bc0d1
JM
16062015-02-10 Joseph Myers <joseph@codesourcery.com>
1607
1608 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1609 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1610 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1611 * sysdeps/mips/mips64/Makefile: ... here.
1612 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1613 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1614 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1615 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1616 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1617 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1618 * sysdeps/mips/mips64/n64/Implies: Likewise.
1619
92b67e8d
RM
16202015-02-10 Roland McGrath <roland@hack.frob.com>
1621
1622 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1623 <sys/time.h>, <string.h>, and <errno.h>.
1624 (dest_offset, dest_address, value, zero): Remove unused variables.
1625 (ldouble): Remove typedef.
1626 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1627 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1628 1). Fix code style.
1629 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1630 (check): Function removed.
1631 (CHECK): New macro.
1632 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1633 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1634 Don't call set_sigaction_FP and remove_sigaction_FP here.
1635 (ldouble_test): Just use 'long double' as macro argument, no need for
1636 the 'ldouble' typedef.
1637 (do_test): Set up SIGFPE handler at start, using plain signal rather
1638 than sigaction. Fix code style.
1639
132a1328
EF
16402015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1641
1642 [BZ #17949]
1643 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1644 jump label.
1645
3001e54c
AZ
16462015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1647
bc0cdc49
AZ
1648 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1649 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1650
83658961
AZ
1651 * sysdeps/powerpc/configure.ac: Remove file.
1652 * sysdeps/powerpc/configure: Likewise.
1653
10169938
AZ
1654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1655 [sysdep_routines]: Remove wordcopy-power6 object.
1656 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1657 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1658 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1659 (__memmove_ppc32): Likewise.
1660 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1661 file.
1662 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1663 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1664 Remove preprocessor.
1665
8548a53d
AZ
1666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1667 [sysdep_routines]: Remove wide chars objects.
1668 [wcsmbs]: New rule for wide char objects.
1669
b2692114
AZ
1670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1671 Remove wordcopy-power6 obejct.
1672 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1673 Use local call for wordcopy and memcpy symbols.
1674 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1675 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1676 implementation for loader.
1677 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1678
18e270aa
AZ
1679 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1680 Remove wordcopy-power7 object.
1681 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1682 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1683 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1684 (_wordcopy_fwd_dest_aligned): Likewise.
1685 (_wordcopy_bwd_aligned): Likewise.
1686 (_wordcopy_bwd_dest_aligned): Likewise.
1687
6f0993a6
AZ
1688 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1689 Rewrite to call __memmove_ppc instead of include default
1690 implementation.
1691
3001e54c
AZ
1692 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1693 Remove wide chars objects.
1694 [wcsmbs]: New rule for wide char objects.
1695
59b61c82
AS
16962015-02-09 Andreas Schwab <schwab@suse.de>
1697
1698 [BZ #17912]
1699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1700 in terms of __O_DIRECTORY.
1701
ebd7aede
ST
17022015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1703
1704 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1705 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1706 call PTR_MANGLE.
1707 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1708 PTR_DEMANGLE.
ebd7aede 1709
3999d26e
PE
17102015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1711
1712 Add ersatz _Static_assert on older C hosts
1713 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1714 pre-C11 C platform that is not known to support _Static_assert.
1715
e9a5bc1c
ST
17162015-02-07 Richard Braun <rbraun@sceen.net>
1717
1718 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1719 sigstate.
e86c5b64 1720 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1721
e2049d17
ST
17222015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1723
1724 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1725 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1726 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1727 instead of int.
1728 * misc/fchflags.c (fchflags): Likewise.
1729 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1730 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1731 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1732 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1733 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1734 Declare macros.
1735 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1736 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1737 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1738 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1739 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1740 45.
a9a002fb
ST
1741 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1742 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1743 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1744 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1745 * hurd/hurd/signal.h (_hurd_self_sigstate,
1746 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1747 Explicit casts from void *.
4fc81a77 1748 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1749 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1750
f05826f0
ST
1751 [BZ #4719]
1752 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1753 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1754 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1755 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1756 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1757 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1758
a5eb23de
ST
1759 [BZ #17944]
1760 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1761 duplicates ADDR->sun_path with sockaddr LEN limitation.
1762 * sysdeps/mach/hurd/connect.c: Include <string.h>
1763 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1764 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1765 * sysdeps/mach/hurd/sendto.c: Likewise.
1766 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1767 implementing it by hand.
1768
ac9e0e5e
RM
17692015-02-06 Roland McGrath <roland@hack.frob.com>
1770
f8d1bb4c
RM
1771 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1772 Use sfi_breg on ldr.
1773 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1774 Likewise.
1775
022f4812
RM
1776 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1777 it's defined.
1778 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1779 Test SIGSETXID only if it's defined.
1780
1ac074e6
RM
1781 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1782
f50ad78b
RM
1783 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1784 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1785
9e7265f4
RM
1786 * nptl/tst-align2.c: Moved ...
1787 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1788 * nptl/Makefile (tests): Remove tst-align2.
1789 * sysdeps/unix/sysv/linux/Makefile
1790 [$(subdir) = nptl] (tests): Add tst-align-clone.
1791 * nptl/tst-getpid1.c: Moved ...
1792 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1793 * nptl/tst-getpid2.c: Moved ...
1794 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1795 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1796 * sysdeps/unix/sysv/linux/Makefile
1797 [$(subdir) = nptl] (tests): ... here.
1798 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1799 * sysdeps/unix/sysv/linux/Makefile
1800 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1801
62ad2abc
RM
1802 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1803 Drop trailing \n from perror argument. Use return rather than exit.
1804
cfa69b0b
RM
1805 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1806 on [SA_SIGINFO].
1807 * nptl/tst-cancel21.c (do_test): Likewise.
1808 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1809 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1810 [!SA_SIGINFO]: Make it a stub test.
1811
82727806
RM
1812 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1813 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1814
da3a1594
RM
1815 * posix/tst-getlogin.c: Move to ...
1816 * login/tst-getlogin.c: ... here.
1817 * posix/Makefile (tests): Move tst-getlogin to ...
1818 * login/Makefile (tests): ... here.
1819
b65c0ff9
RM
1820 * libio/tst-atime.c (do_test): Move local variables SV and E
1821 inside [ST_NOATIME] conditional.
1822
56606ab3
RM
1823 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1824
ebf7d6ee
RM
1825 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1826
ca0e0675
RM
1827 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1828 (wait_code): New function replaces macro.
1829 Call nanosleep rather than syscall.
1830
8c28bbc6
RM
1831 * nptl/pt-system.c: Rewritten. Put everything under
1832 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1833 Use IFUNC to redirect when possible.
1834
ec2a88b3
RM
1835 * nptl/pt-longjmp.c: Rewritten. Put everything under
1836 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1837 Use IFUNC to redirect when possible.
1838
beff1d13
RM
1839 * nptl/pt-fork.c: Rewritten. Put everything under
1840 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1841 Use IFUNC to redirect when possible.
1842 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1843
ea02c6b8
RM
1844 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1845 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1846 unconditionally nowadays. This included the only reference to
1847 __vdso_clock_gettime that appears outside libc proper.
1848 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1849 Remove version set (containing only __vdso_clock_gettime).
1850 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1851 Add attribute_hidden.
1852 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1853 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1854 libc_hidden_data_def.
1855 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1856 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1857
a1309c2b
RM
1858 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1859 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1860 setrpcent, and getrpcport to ...
1861 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1862 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1863 getrpcbynumber_r, and getrpcent_r to ...
1864 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1865 * inet/getrpcbyname.c: Moved ...
1866 * sunrpc/getrpcbyname.c: ... here.
1867 * inet/getrpcbyname_r.c: Moved ...
1868 * sunrpc/getrpcbyname_r.c: ... here.
1869 * inet/getrpcbynumber.c: Moved ...
1870 * sunrpc/getrpcbynumber.c: ... here.
1871 * inet/getrpcbynumber_r.c: Moved ...
1872 * sunrpc/getrpcbynumber_r.c: ... here.
1873 * inet/getrpcent.c: Moved ...
1874 * sunrpc/getrpcent.c: ... here.
1875 * inet/getrpcent_r.c: Moved ...
1876 * sunrpc/getrpcent_r.c: ... here.
1877 * inet/Makefile (routines): Move those to ...
1878 * sunrpc/Makefile (routines): ... here.
1879 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1880 the $(subdirs) list.
1881 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1882 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1883 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1884 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1885
ac9e0e5e
RM
1886 * elf/Makefile (routines): Include $(all-dl-routines), not just
1887 $(dl-routines).
1888 (rtld-routines): Likewise. Use = rather than :=.
1889 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1890 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1891 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1892 * sysdeps/arm/Makefile: Likewise.
1893 * sysdeps/i386/Makefile: Likewise.
1894 * sysdeps/x86_64/Makefile: Likewise.
1895 * sysdeps/hppa/Makefile [$(subdir) = elf]
1896 (sysdep_routines, sysdep-rtld-routines): Don't add
1897 $(sysdep-dl-routines) to these.
1898 * sysdeps/ia64/Makefile: Likewise.
1899 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1900 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1901 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1902 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1903 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1904 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1905 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1906 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1907 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1908 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1909 these; sysdep-dl-routines alone is enough.
1910
639e42eb
JM
19112015-02-06 Joseph Myers <joseph@codesourcery.com>
1912
1c7a4a51
JM
1913 [BZ #17932]
1914 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1915 where multiplication results in zero and third argument is finite
1916 and nonzero.
1917 * math/auto-libm-test-in: Add more tests of fma.
1918 * math/auto-libm-test-out: Regenerated.
1919
61f006c1
JM
1920 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1921 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1922 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1923 (_FP_CMP_EQ): Likewise.
1924 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1925
639e42eb
JM
1926 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1927 extra argument CHECK_NAN. Redefine as wrapper around
1928 _FP_EXTEND_CNAN.
1929
3c0c543b
CD
19302015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1931
4e42b5b8
CD
1932 * version.h (RELEASE): Set to "stable".
1933 (VERSION): Set to "2.21"
1934 * include/features.h (__GLIBC_MINOR__): Set to 21.
1935
3c0c543b
CD
1936 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1937
5bd80bfe 19382015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1939 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1940
1941 [BZ #16618]
1942 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1943 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1944 size in bytes. Store needed elements in wpmax. Use needed size
1945 in bytes for extend_alloca.
1946
3f823f48
CD
19472015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1948
04cb913d
CD
1949 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1950 binutls 2.25, and texinfo 5.2.
1951 * INSTALL: Regenerate.
1952 * sysdeps/nios2/configure: Regenerate.
1953 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1954 * manual/contrib.texi: Update.
1955 * po/be.po: Update.
1956 * po/bg.po: Update.
1957 * po/ca.po: Update.
1958 * po/cs.po: Update.
1959 * po/da.po: Update.
1960 * po/de.po: Update.
1961 * po/el.po: Update.
1962 * po/eo.po: Update.
1963 * po/es.po: Update.
1964 * po/fi.po: Update.
1965 * po/fr.po: Update.
1966 * po/gl.po: Update.
1967 * po/hr.po: Update.
1968 * po/hu.po: Update.
1969 * po/ia.po: Update.
1970 * po/id.po: Update.
1971 * po/it.po: Update.
1972 * po/ja.po: Update.
1973 * po/ko.po: Update.
1974 * po/lt.po: Update.
1975 * po/nb.po: Update.
1976 * po/nl.po: Update.
1977 * po/pl.po: Update.
1978 * po/pt_BR.po: Update.
1979 * po/ru.po: Update.
1980 * po/rw.po: Update.
1981 * po/sk.po: Update.
1982 * po/sl.po: Update.
1983 * po/sv.po: Update.
1984 * po/tr.po: Update.
1985 * po/uk.po: Update.
1986 * po/vi.po: Update.
1987 * po/zh_CN.po: Update.
1988 * po/zh_TW.po: Update.
1989
3f823f48
CD
1990 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1991 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1992 * sysdeps/hppa/dl-irel.h: Remove #warning.
1993 * sysdeps/hppa/entry.h: Provide prototype for
1994 __canonicalize_funcptr_for_compare and cast argument.
1995 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1996 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1997 * sysdeps/hppa/sotruss-lib.c: New file.
1998 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1999 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2000 (atomic_compare_and_exchange_bool_acq): Likewise.
2001 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2002 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2003
2004 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2005 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2006 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2007
34c56048
CLT
20082015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2009
2010 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2011 called function in non-PIC case.
2012
d4abeca5
DM
20132015-01-31 David S. Miller <davem@davemloft.net>
2014
edac0a60
DM
2015 * sysdeps/sparc/sparc32/bits/atomic.h
2016 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2017 unlock not after it.
2018 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2019 volatile register usage warnings from the compiler.
2020
d4abeca5
DM
2021 * sysdeps/sparc/nptl/sem_init.c: Delete.
2022 * sysdeps/sparc/nptl/sem_post.c: Delete.
2023 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2024 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2025 * sysdeps/sparc/sparc32/sem_init.c: New file.
2026 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2027 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2028 padding explicitly initialized.
2029 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2030 padding for in-semaphore spinlock.
2031 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2032 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2033 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2034 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2035 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2036 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2037 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2038 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2039 version.
2040 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2041 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2042
5f3d0b78
L
20432015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 [BZ #17801]
2046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2047 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2048 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2049 New.
2050 (index_AVX_Fast_Unaligned_Load): Likewise.
2051 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2052 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2053 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2054 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2055 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2056 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2057 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2058 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2059 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2060
b658fdd8
AS
20612015-01-29 Andreas Schwab <schwab@suse.de>
2062
2063 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2064
3cb26316
SP
20652015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2066
2067 [BZ #17892]
2068 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2069
527de9e4
MS
20702015-01-28 Martin Sebor <msebor@redhat.com>
2071
2072 * math/README.libm-test: Clarify. Add "How to read the test output."
2073
06991eb8
CM
20742015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2075
2076 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2077 Define to 0.
2078
df341342
JM
20792015-01-28 Joseph Myers <joseph@codesourcery.com>
2080
2081 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2082 (__HAVE_64B_ATOMICS): Define to 0.
2083
08cee2a4
AZ
20842015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2085
d4d0ecb2
AZ
2086 [BZ #17885]
2087 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2088 value to set as new flag.
2089
08cee2a4
AZ
2090 [BZ #16576]
2091 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2092 and use _ARCH_PPCSQ instead.
2093 (__ieee754_sqrt): Likewise.
2094 (__ieee754_sqrtf): Likewise.
2095 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2096 _ARCH_PPCSQ is defined.
2097 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2098 fsqrt instruction.
2099 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2100 _ARCH_PPCSQ is defined.
2101 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2102 fsqrts instruction.
2103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2104
5fe8e359
AK
21052015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2106
2107 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2108 bug (GCC BZ #64739).
2109
24bb7432
AS
21102015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2111
fa20da31
AS
2112 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2113 Mark _retval as used.
2114 (lll_futex_wake_unlock): Likewise.
2115 (lll_futex_timed_wait_requeue_pi): Likewise.
2116
45819cbc
AS
2117 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2118 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2119 register variables.
2120
403cc231
AS
2121 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2122 libm_hidden_def.
2123
24bb7432
AS
2124 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2125 (__bswap_64): Mark as __always_inline.
2126
9317ea65
B
21272015-01-25 Bram <bug_rh@spam.wizbit.be>
2128
2129 [BZ #15378]
2130 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2131 when none of the search directories exist.
2132
0e87343e
AZ
21332015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2134
bea58013
AZ
2135 [BZ #17869]
2136 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2137 power8 in .machine directive.
2138
0e87343e
AZ
2139 [BZ #17868]
2140 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2141 set dependency from opd value.
2142
ede0236c
L
21432015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2146 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2147 architecture.
ede0236c 2148
22971c35
L
21492015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2150
2151 [BZ #17870]
2152 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2153 with uint64_t.
2154 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2155 (uint64_t) 1.
e0da28a1 2156 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2157 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2158 Replace 1UL with (uint64_t) 1.
2159 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2160 int with uint64_t.
2161
da5bf245
RM
21622015-01-23 Roland McGrath <roland@hack.frob.com>
2163
2ec2d703
RM
2164 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2165 (if_freenameindex): Likewise.
2166
da5bf245
RM
2167 * resource/getrlimit64.c: Add missing libc_hidden_def.
2168
d7423856
JM
21692015-01-22 Joseph Myers <joseph@codesourcery.com>
2170
2171 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2172 __label__.
2173 (_FP_FMA): Likewise.
2174 (_FP_TO_INT_ROUND): Likewise.
2175 (_FP_FROM_INT): Likewise.
2176
6b2ba95b
AZ
21772015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178
2179 [BZ #16418]
2180 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2181 Make code racy and cancel safe.
2182
ccdb048d
CD
21832015-01-21 Carlos O'Donell <carlos@redhat.com>
2184
191220b3
CD
2185 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2186 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2187 attribution.
2188
0897c551
CD
2189 * pwd/tst-getpw.c: Rewrite.
2190
ccdb048d
CD
2191 [BZ #17702]
2192 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2193 (modules-names): Add moddummy1 and moddummy2.
2194 ($(objpfx)tst-rec-dlopen): Define.
2195 * dlfcn/moddummy1.c: New file.
2196 * dlfcn/moddummy2.c: New file.
2197 * dlfcn/tst-rec-dlopen.c: New file.
2198 * elf/dl-cache.c (_dl_load_cache_lookup):
2199 Return char*. Copy result with alloca/strcpy/strdup.
2200 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2201 returns char*. Free cached. If not saving realname
2202 free cached.
2203 * elf/dl-open.c (dl_open_worker): Do not assert that
2204 _r_debug->r_state is RT_CONSISTENT.
2205 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2206 returns char*.
2207
042e1521
CD
22082015-01-21 Torvald Riegel <triegel@redhat.com>
2209 Carlos O'Donell <carlos@redhat.com>
2210
2211 [BZ #12674]
2212 * nptl/sem_waitcommon.c: New file.
2213 * nptl/sem_wait.c: Include sem_waitcommon.c.
2214 (__sem_wait_cleanup, do_futex_wait): Remove.
2215 (__new_sem_wait): Adapt.
2216 (__new_sem_trywait): New function.
2217 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2218 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2219 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2220 (sem_timedwait): Adapt.
2221 * nptl/sem_post.c (__new_sem_post): Adapt.
2222 (futex_wake): New function.
2223 (__old_sem_post): Add release MO fence.
2224 * nptl/sem_open.c (sem_open): Adapt.
2225 * nptl/sem_init.c (__new_sem_init): Adapt.
2226 (futex_private_if_supported): New function.
2227 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2228 (__old_sem_getvalue): Add using previous code.
2229 * sysdeps/nptl/internaltypes.h: Adapt.
2230 * nptl/tst-sem13.c (do_test): Adapt.
2231 * nptl/tst-sem11.c (main): Adapt.
2232 * nptl/sem_trywait.c: Remove.
2233 * nptl/DESIGN-sem.txt: Remove.
2234 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2235 (gen-as-const-headers): Remove structsem.sym.
2236 * nptl/structsem.sym: Remove.
2237 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2238 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2239 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2240 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2241 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2242 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2243 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2244 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2245 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2246 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2247 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2248 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2249 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2250 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2251 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2252 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2253 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2254 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2255 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2256 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2257 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2258 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2259
fe0e85af
CD
22602015-01-20 Carlos O'Donell <carlos@redhat.com>
2261
a8db092e
CD
2262 * INSTALL: Regenerated.
2263
fe0e85af
CD
2264 * po/libc.pot: Regenerated.
2265
522e6ee3
CLT
22662015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2267 Sandra Loosemore <sandra@codesourcery.com>
2268 Andrew Jenner <andrew@codesourcery.com>
2269 Joseph Myers <joseph@codesourcery.com>
2270 Nathan Sidwell <nathan@codesourcery.com>
2271
2272 * NEWS: Mention new Nios II port.
2273 * sysdeps/nios2/Implies: New file.
2274 * sysdeps/nios2/Makefile: New file.
2275 * sysdeps/nios2/Subdirs: New file.
2276 * sysdeps/nios2/Versions: New file.
2277 * sysdeps/nios2/__longjmp.S: New file.
2278 * sysdeps/nios2/abort-instr.h: New file.
2279 * sysdeps/nios2/backtrace.c: New file.
2280 * sysdeps/nios2/bits/endian.h: New file.
2281 * sysdeps/nios2/bits/fenv.h: New file.
2282 * sysdeps/nios2/bits/link.h: New file.
2283 * sysdeps/nios2/bits/setjmp.h: New file.
2284 * sysdeps/nios2/bsd-_setjmp.S: New file.
2285 * sysdeps/nios2/bsd-setjmp.S: New file.
2286 * sysdeps/nios2/configure: New generated file.
2287 * sysdeps/nios2/configure.ac: New file.
2288 * sysdeps/nios2/crti.S: New file.
2289 * sysdeps/nios2/crtn.S: New file.
2290 * sysdeps/nios2/dl-init.c: New file.
2291 * sysdeps/nios2/dl-machine.h: New file.
2292 * sysdeps/nios2/dl-sysdep.h: New file.
2293 * sysdeps/nios2/dl-tls.h: New file.
2294 * sysdeps/nios2/dl-trampoline.S: New file.
2295 * sysdeps/nios2/gccframe.h: New file.
2296 * sysdeps/nios2/gmp-mparam.h: New file.
2297 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2298 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2299 * sysdeps/nios2/ldsodefs.h: New file.
2300 * sysdeps/nios2/libc-tls.c: New file.
2301 * sysdeps/nios2/libm-test-ulps: New file.
2302 * sysdeps/nios2/machine-gmon.h: New file.
2303 * sysdeps/nios2/math-tests.h: New file.
2304 * sysdeps/nios2/math_private.h: New file.
2305 * sysdeps/nios2/memusage.h: New file.
2306 * sysdeps/nios2/nptl/Makefile: New file.
2307 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2308 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2309 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2310 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2311 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2312 * sysdeps/nios2/nptl/tls.h: New file.
2313 * sysdeps/nios2/preconfigure: New file.
2314 * sysdeps/nios2/s_fma.c: New file.
2315 * sysdeps/nios2/s_fmaf.c: New file.
2316 * sysdeps/nios2/setjmp.S: New file.
2317 * sysdeps/nios2/sfp-machine.h: New file.
2318 * sysdeps/nios2/sotruss-lib.c: New file.
2319 * sysdeps/nios2/stackguard-macros.h: New file.
2320 * sysdeps/nios2/stackinfo.h: New file.
2321 * sysdeps/nios2/start.S: New file.
2322 * sysdeps/nios2/sysdep.h: New file.
2323 * sysdeps/nios2/tls-macros.h: New file.
2324 * sysdeps/nios2/tst-audit.h: New file.
2325 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2326 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2327 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2328 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2329 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2330 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2331 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2332 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2333 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2334 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2335 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2336 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2337 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2338 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2339 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2340 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2341 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2342 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2343 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2344 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2345 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2346 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2347 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2348 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2349 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2350 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2351 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2352 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2353 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2354 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2355 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2356 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2357 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2358 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2359 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2360 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2361 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2362 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2363 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2364 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2365 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2366 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2367 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2368 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2369
026eb207
SL
23702015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2371
2372 [BZ #17844]
2373 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2374 (getutent): Use weak_alias in non SHARED case
2375 and default_symbol_version in SHARED case.
2376 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2377 (getutent_r, pututline): Likewise.
2378 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2379 (getutid): Likewise.
2380 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2381 (getutid_r): Likewise.
2382 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2383 (getutline): Likewise.
2384 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2385 (getutline_r): Likewise.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2387 (updwtmp): Likewise.
2388
1d532483
SL
23892015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2390
2391 [BZ #17848]
2392 * sysdeps/s390/s390-32/memcmp.S
2393 (memcmp_g5): Rename to __memcmp_g5.
2394 * sysdeps/s390/s390-32/memcpy.S
2395 (memcpy_g5): Rename to __memcpy_g5.
2396 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2397 (memcpy_mvcle) Rename to __memcpy_mvcle.
2398 * sysdeps/s390/s390-32/memset.S
2399 (memset_g5): Rename to __memset_g5.
2400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2401 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2402 and use prefixed functions.
2403 * sysdeps/s390/s390-32/multiarch/memcmp.S
2404 (memcmp_z196): Rename to __memcmp_z196.
2405 (memcmp_z10): Rename to __memcmp_z10.
2406 (memcmp): Set alias to __memcmp_g5.
2407 (bcmp): Set alias to __memcmp_g5.
2408 * sysdeps/s390/s390-32/multiarch/memcpy.S
2409 (memcpy_z196): Rename to __memcpy_z196.
2410 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2411 (memcpy_z10): Rename to __memcpy_z10.
2412 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2413 (memcpy): Set alias to __memcpy_g5.
2414 * sysdeps/s390/s390-32/multiarch/memset.S
2415 (memset_z196): Rename to __memset_z196.
2416 Jump to __memset_mvcle instead of memset_mvcle.
2417 (memset_z10): Rename to __memset_z10.
2418 Jump to __memset_mvcle instead of memset_mvcle.
2419 (memset_mvcle) Rename to __memset_mvcle.
2420 (memset): Set alias to __memset_g5.
2421 * sysdeps/s390/s390-64/memcmp.S
2422 (memcmp_z900): Rename to __memcmp_z900.
2423 * sysdeps/s390/s390-64/memcpy.S
2424 (memcpy_z900): Rename to __memcpy_z900.
2425 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2426 (memcpy_mvcle) Rename to __memcpy_mvcle.
2427 * sysdeps/s390/s390-64/memset.S
2428 (memset_z900): Rename to __memset_z900.
2429 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2430 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2431 and use prefixed functions.
2432 * sysdeps/s390/s390-64/multiarch/memcmp.S
2433 (memcmp_z196): Rename to __memcmp_z196.
2434 (memcmp_z10): Rename to __memcmp_z10.
2435 (memcmp): Set alias to __memcmp_z900.
2436 (bcmp): Set alias to __memcmp_z900.
2437 * sysdeps/s390/s390-64/multiarch/memcpy.S
2438 (memcpy_z196): Rename to __memcpy_z196.
2439 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2440 (memcpy_z10): Rename to __memcpy_z10.
2441 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2442 (memcpy): Set alias to __memcpy_z900.
2443 * sysdeps/s390/s390-64/multiarch/memset.S
2444 (memset_z196): Rename to __memset_z196.
2445 Jump to __memset_mvcle instead of memset_mvcle.
2446 (memset_z10): Rename to __memset_z10.
2447 Jump to __memset_mvcle instead of memset_mvcle.
2448 (memset_mvcle) Rename to __memset_mvcle.
2449 (memset): Set alias to __memset_z900.
2450
53fbd169
JM
24512015-01-14 Joseph Myers <joseph@codesourcery.com>
2452
2453 [BZ #17748]
2454 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2455 __fesetenv instead of fesetenv.
2456
d639a363
SP
24572015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2458
2459 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2460 macro.
2461
d3b00f46
AZ
24622015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
ce6615c9
AZ
2464 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2465 regression on LE.
2466
d3b00f46
AZ
2467 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2468 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2469 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2470 strncmp-power8 object.
2471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2472 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2473 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2474 * NEWS: Update.
2475
72607db0
RS
24762015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2477 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2478
2479 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2480 trailing byte check.
2481
54dc5461
DM
24822015-01-13 David S. Miller <davem@davemloft.net>
2483
2484 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2485
1c6e6f23
RM
24862015-01-13 Roland McGrath <roland@hack.frob.com>
2487
2488 * login/logout.c (logout): Use memset rather than bzero.
2489 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2490 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2491 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2492 (_gethtbyaddr): Likewise.
2493 * locale/programs/simple-hash.c (bcopy): Macro removed.
2494
96d6fd6c
AZ
24952015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2496
8bedcb5f
AZ
2497 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2498 Add strcmp-power8 object.
2499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2500 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2501 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2502 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2503 __strcmp_power8 implementation.
2504 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2505 * NEWS: Update.
2506
f06a4faf
AZ
2507 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2508 Add strncpy-power8 and stpncpy-power8 objects.
2509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2510 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2511 implementations.
2512 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2513 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2514 __stpncpy_power8 implementation.
2515 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2516 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2517 __strncpy_power8 implementation.
2518 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2519 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2520 * NEWS: Update.
2521
9f2f36e5
AZ
2522 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2523 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2524 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2525
96d6fd6c 2526 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2527 strncat-power8 object.
2528 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2529 __strcat_power8 implementation.
2530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2531 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2532 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2533 optimized strcat for power8.
2534
2535 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2536 strcpy-power8 and stpcpy-power8 objects.
2537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2538 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2539 implementations.
2540 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2541 multiarch stpcpy implementation for POWER8.
2542 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2543 multiarch strcpy implementation for POWER8.
2544 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2545 __strcpy_power8 function.
2546 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2547 stpcpy for POWER8.
2548 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2549 strcpy for POWER8.
2550 * NEWS: Update.
2551
0f9e5854
LH
25522015-01-13 Leonhard Holz <leonhard.holz@web.de>
2553
2554 [BZ #16009]
2555 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2556 weights and rules. Use do_xfrm_cached if data fits in cache,
2557 do_xfrm otherwise. Moved former main loop to...
2558 * (do_xfrm_cached): New function.
2559 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2560 find_idx, find_position and stack_push.
2561 * (find_idx): New function.
2562 * (find_position): Likewise.
2563 * localedata/sort-test.sh: Added test run for do_xfrm.
2564 * localedata/xfrm-test.c (main): Added command line option
2565 -nocache to run the test with strings that are too large for
2566 the STRXFRM cache.
2567
c60ec0e0
TR
25682015-01-13 Torvald Riegel <triegel@redhat.com>
2569
2570 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2571 variable to lll_futex_wake call, not the value itself.
2572
34e93d6c
JM
25732015-01-12 Joseph Myers <joseph@codesourcery.com>
2574
5a9e4c09
JM
2575 [BZ #17803]
2576 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2577 twom64. Adjust value to 0x1p-64L.
2578 (__scalblnl): Only return standard underflowing result for K <=
2579 -64 not K <= -63; adjust exponent for underflowing result by 64
2580 not 63.
2581 * math/libm-test.inc (scalbn_test_data): Add more tests.
2582 (scalbln_test_data): Likewise.
2583
34e93d6c
JM
2584 [BZ #17834]
2585 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2586 0x1p63L.
2587 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2588 not HX.
2589 * math/libm-test.inc (scalbn_test_data): Add more tests.
2590 (scalbln_test_data): Likewise.
2591
ca677d3c
AZ
25922015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593 Stefani Seibold <stefani@seibold.net>
2594
2595 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2596 (sysdep_routines): Add dl-vdso here, ...
2597 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2598 (sysdep_routines): ... not here.
2599 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2600 fallback when vDSO is not presented.
2601 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2602 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2603 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2604 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2605 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2606 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2607 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2608 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2609 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2611 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2612 fallback configurable symbol when vDSO is not available.
2613 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2614 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2615 be able to redefine fallback symbol when vDSO is not available.
2616 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2617 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2618
49a9f6ab 26192015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2620
56cf2763
AZ
2621 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2622 (TLS_INIT_TP): Add tm_capable initialization.
2623 (TLS_DEFINE_INIT_TP): Likewise.
2624 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2625 TCB.
2626 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2627 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2628 calculation.
2629 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2630 transactoion is lock elision is built and TCB tm_capable is set.
2631 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2633 (INTERNAL_SYSCALL_NCS): Likewise.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2635 (INTERNAL_SYSCALL_NCS): Likewise.
2636 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2637
4b45943a
AZ
2638 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2639 for powerpc.
2640 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2641 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2642 and remove it for 32 bits case.
2643 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2644 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2645 initialization.
2646 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2647 Disable lock elision with rdlocks if elision is not available.
2648
8d2c0a59
AZ
2649 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2650 (sysdep_routines): Add lock elision objects.
2651 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2652 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2653 [pthread_mutex_t] (__elision): Add field.
2654 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2655 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2656 elision definitions for powerpc.
2657 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2658 implementation of lock elision for powerpc.
2659 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2660 implementation of timed lock elision for powerpc.
2661 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2662 implementation of trylock with lock elision for powerpc.
2663 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2664 implementaion of unlock for lock elision for powerpc.
2665 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2666 automatic enable lock elision for mutexes.
2667 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2668 transaction execution definitions for powerpc.
2669 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2670 definitions.
2671 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2672 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2673 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2675 * NEWS: Update.
2676
bc0ed9f7
RM
26772015-01-09 Roland McGrath <roland@hack.frob.com>
2678
2679 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2680 for #include of <shm-directory.h>.
2681
585d9c18
CLT
26822015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2683
2684 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2685 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2686
aee6626c
MF
26872015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2688
2689 [BZ #17791]
2690 * NEWS: Mention bug fix.
2691 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2692 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2693 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2694
9e560f48
TR
26952015-01-09 Torvald Riegel <triegel@redhat.com>
2696
2697 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2698
e1cfbd0c
TR
26992015-01-09 Torvald Riegel <triegel@redhat.com>
2700
2701 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2702
cf71e44f
DH
27032015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2704
2705 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2706 pointer and cast to uintptr_t.
2707
b360ee62
DH
27082015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2709
2710 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2711 removed.
2712 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2713
caff764e
DH
27142015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2715
2716 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2717 of 0.
2718
59ff172f
RM
27192015-01-08 Roland McGrath <roland@hack.frob.com>
2720
c97d27f1
RM
2721 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2722 <nptl/pthreadP.h> instead.
2723 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2724
08734ccd
RM
2725 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2726 already defined.
2727 [__SIGRTMIN] (init): Function removed.
2728 [__SIGRTMIN] (initialized): Variable removed.
2729 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2730 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2731 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2732 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2733 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2734 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2735 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2736 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2737 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2738 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2739 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2740 * sysdeps/nptl/allocrtsig.c: New file.
2741 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2742 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2743 * sysdeps/generic/testrtsig.h: File removed.
2744
7b052e33
RM
2745 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2746 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2747
cc40d25e
RM
2748 * nptl/nptl-init.c (pthread_functions): Conditionalize
2749 .ptr__nptl_setxid initialization on [SIGSETXID].
2750
9287adf0
RM
2751 * sysdeps/nptl/sys/procfs.h: New file.
2752 * nptl_db/Makefile (headers): Add it.
2753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2754
59ff172f
RM
2755 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2756 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2757 * nptl/pthread_attr_setaffinity.c: Include it.
2758 * nptl/pthread_setattr_default_np.c: Likewise.
2759 * nptl/check-cpuset.h: New file.
2760
b9205857
RH
27612015-01-08 Richard Henderson <rth@redhat.com>
2762
2763 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2764 (CFLAGS-tst-execstack-prog.c): Likewise.
2765 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2766
1a0a8d15
CLT
27672015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2768 Sandra Loosemore <sandra@codesourcery.com>
2769 Andrew Jenner <andrew@codesourcery.com>
2770 Joseph Myers <joseph@codesourcery.com>
2771 Nathan Sidwell <nathan@codesourcery.com>
2772
2773 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2774 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2775 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2776 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2777 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2778 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2779 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2780 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2781 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2782 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2783 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2784 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2785 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2786 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2787 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2788 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2789 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2790
dd6e8af6
AZ
27912015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2792
2793 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2794 timespec struct member in syscall macro.
2795 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2796 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2797 first timeval struct member in syscall macro.
2798 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2799
8116321f
JM
28002015-01-07 Joseph Myers <joseph@codesourcery.com>
2801
2802 [BZ #17748]
2803 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2804 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2805 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2806 __feupdateenv and define as weak alias of __feupdateenv. Use
2807 libm_hidden_weak.
2808 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2809 libm_hidden_def.
2810 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2811 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2812 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2813 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2814 libm_hidden_def.
2815 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2816 __feupdateenv and define as weak alias of __feupdateenv. Use
2817 libm_hidden_weak.
2818 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2819 libm_hidden_def.
2820 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2821 __feupdateenv and define as weak alias of __feupdateenv. Use
2822 libm_hidden_weak.
2823 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2824 libm_hidden_def.
2825 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2826 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2827 (__feupdateenv): Likewise.
2828 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2829 __feupdateenv and define as weak alias of __feupdateenv. Use
2830 libm_hidden_weak.
2831 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2832 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2833 libm_hidden_def.
2834 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2835 function.
2836 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2837 libm_hidden_def.
2838 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2839 __feupdateenv instead of feupdateenv.
2840 (default_libc_feupdateenv_test): Likewise.
2841 (libc_feresetround_ctx): Likewise.
2842
882dfe18
AZ
28432015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2844
2845 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2846 prototype.
2847
39a12f8d
CM
28482015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2849
2850 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2851 COLL_SYM in a couple of places to avoid uninitialized variable
2852 wanings on tilegx gcc 4.8.2.
2853
dc400d7b
RE
28542015-01-07 Richard Earnshaw <rearnsha@arm.com>
2855
2856 * sysdeps/aarch64/strcpy.S: New file.
2857 * sysdeps/aarch64/stpcpy.S: New file.
2858 * NEWS: Updated.
2859
ec582ca0
RE
28602015-01-07 Richard Earnshaw <rearnsha@arm.com>
2861
2862 * sysdeps/aarch64/strrchr.S: New file.
2863 * NEWS: Updated.
2864
d5b1c5ed
EB
28652015-01-07 Eric Biggers <ebiggers3@gmail.com>
2866
2867 [BZ #17658]
2868 * stdlib/setenv.c: Fix memory leak when setting large,
2869 duplicate string.
2870
fb87ee96
VN
28712015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2872
60f046a8 2873 [BZ #17273]
fb87ee96
VN
2874 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2875 and tabs from buffer before parsing fstab entry.
2876 * misc/tst-mntent.c (main): Add test for mount entry with
2877 trailing spaces and tabs.
2878
cd42798a
JM
28792015-01-06 Joseph Myers <joseph@codesourcery.com>
2880
01238691
JM
2881 [BZ #17748]
2882 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2883 * math/fesetround.c (fesetround): Rename to __fesetround and
2884 define as weak alias of __fesetround. Use libm_hidden_weak.
2885 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2886 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2887 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2888 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2889 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2890 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2891 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2892 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2893 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2894 __fesetround_inline.
2895 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2896 __fesetround_inline instead of __fesetround.
2897 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2898 __fesetround and define as weak alias of __fesetround. Use
2899 libm_hidden_weak. Call __fesetround_inline instead of
2900 __fesetround.
2901 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2902 __fesetround and define as weak alias of __fesetround. Use
2903 libm_hidden_weak.
2904 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2905 Likewise.
2906 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2907 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2908 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2909 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2910 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2911 __fesetround and define as weak alias of __fesetround. Use
2912 libm_hidden_weak.
2913 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2914 __fesetround instead of fesetround.
2915 (default_libc_feholdexcept_setround): Likewise.
2916 (libc_feholdsetround_ctx): Likewise.
2917 (libc_feholdsetround_noex_ctx): Likewise.
2918
cd42798a
JM
2919 [BZ #17748]
2920 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2921 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2922 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2923 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2924 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2925 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2926 define as weak alias of __fesetenv. Use libm_hidden_weak.
2927 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2928 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2929 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2930 define as weak alias of __fesetenv. Use libm_hidden_weak.
2931 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2932 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2933 define as weak alias of __fesetenv. Use libm_hidden_weak.
2934 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2935 libm_hidden_def.
2936 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2937 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2938 Likewise.
2939 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2940 define as weak alias of __fesetenv. Use libm_hidden_weak.
2941 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2942 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2943 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2944 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2945 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2946 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2947 __fesetenv instead of fesetenv.
2948 (libc_feresetround_noex_ctx): Likewise.
2949 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2950 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2951 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2952 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2953 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2954 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2955 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2956 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2957 (__feupdateenv): Likewise.
2958 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2959 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2960 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2961 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2962
38949026
AJ
29632015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2964
1cf98e27 2965 [BZ #17806]
38949026
AJ
2966 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2967 addresses have been freed.
2968
5fe55e9c
AJ
29692015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2970
2971 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2972 and nservall.
2973
dc8ab018
OB
29742015-01-06 Ondřej Bílka <neleai@seznam.cz>
2975
2976 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2977 Clean up check_pf allocation pattern. addresses
2978
14bb4e57
AZ
29792015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2980
2981 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2982 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2983 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2984 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2985 * nptl/pthread_join.c (pthread_join): Likewise.
2986 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2987 * sysdeps/posix/waitid.c (__waitid): Likewise.
2988 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2989 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2990 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2991 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2992 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2993 Likewise.
2994 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2995 (__libc_pread64): Likewise.
2996 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2997 (__libc_pwrite): Likewise.
2998 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2999 (__libc_pwrite64): Likewsie.
3000 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3001 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3002 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3003 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3004 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3005 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3006 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3008 Likewise.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3010 (__libc_pread64): Likewise.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3012 Likewise.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3014 (__libc_pwrite64): Likewise.
3015 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3016 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3017 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3018 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3019 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3020 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3021 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3022 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3023 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3024 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3025 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3026 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3027 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3028 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3029 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3030 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3031 Likewise.
3032
10a5e112
AS
30332015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3034
3035 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3036 (CFLAGS-test-double.c): Likewise.
3037 (CFLAGS-test-ldouble.c): Likewise.
3038 (CPPFLAGS-test-ifloat.c): Likewise.
3039 (CPPFLAGS-test-idouble.c): Likewise.
3040 (CPPFLAGS-test-ildoubl.c): Likewise.
3041 (CFLAGS-test-test-fenv.c): Remove variable.
3042 (CFLAGS-test-misc.c): Likewise.
3043
57ada0e7
L
30442015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 [BZ #17797]
3047 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3048 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3049 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3050 CLOCKS_PER_SEC == 1000000.
3051 * time/clocktest.c (main): Replace %ld with %jd and cast to
3052 intmax_t.
3053
46abb64d
RM
30542015-01-05 Roland McGrath <roland@hack.frob.com>
3055
3056 * sysdeps/generic/unwind-resume.h: New file.
3057 * sysdeps/gnu/unwind-resume.c: Include it.
3058 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3059 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3060 argument list.
3061 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3062 global rather than static.
3063 (_Unwind_Resume): Update user.
3064 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3065 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3066 rather than static. Add __attribute__ ((cold)).
3067 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3068 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3069 * sysdeps/arm/arm-unwind-resume.S: New file.
3070 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3071 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3072 * sysdeps/arm/Makefile [$(subdir) = csu]
3073 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3074 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3075 Add rt-arm-unwind-resume.
3076 [$(subdir) = nptl]
3077 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3078 Add pt-arm-unwind-resume.
3079 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3080 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3081
ef9faf13
JM
30822015-01-05 Joseph Myers <joseph@codesourcery.com>
3083
3084 [BZ #17748]
3085 * include/fenv.h (__feholdexcept): Declare. Use
3086 libm_hidden_proto.
3087 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3088 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3089 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3090 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3091 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3092 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3093 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3094 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3095 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3096 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3097 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3098 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3099 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3100 (feholdexcept): Likewise.
3101 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3102 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3103 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3104 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3105 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3106 __feholdexcept instead of feholdexcept.
3107 (default_libc_feholdexcept_setround): Likewise.
3108
295a453e
SE
31092015-01-05 Steve Ellcey <sellcey@imgtec.com>
3110
3111 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3112 to avoid using stl/str to align destination.
3113
882c4b9f
SE
31142015-01-05 Steve Ellcey <sellcey@imgtec.com>
3115
3116 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3117
ac4c11f5
JM
31182015-01-05 Joseph Myers <joseph@codesourcery.com>
3119
3120 [BZ #17796]
3121 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3122 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3123 Define as weak alias not strong alias.
3124
03403e30
SE
31252015-01-05 Steve Ellcey <sellcey@imgtec.com>
3126
3127 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3128 bltzal with addiupc.
3129 (RTLD_START): Ditto.
3130
1dca195e
CM
31312015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3132
00b8b9ba
SP
3133 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3134 for __vdso_* functions in declarations.
3135 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3136 definitions.
3137 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3138 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3139
1dca195e
CM
3140 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3141 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3142 function with cast from llround().
3143 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3144 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3145 Define.
3146
a287953a
JM
31472015-01-05 Joseph Myers <joseph@codesourcery.com>
3148
ab70da77
JM
3149 [BZ #17793]
3150 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3151 Define as weak alias not strong alias.
3152
b8986484
JM
3153 [BZ #17635]
3154 * ctype/ctype-c99.c: New file. isblank implementation moved from
3155 ...
3156 * ctype/ctype-extn.c: ... here.
3157 (__isblank_l): Move to ...
3158 * ctype/ctype-c99_l.c: ... here. New file.
3159 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3160 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3161 Remove variable.
3162 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3163 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3164 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3165 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3166 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3167
a287953a
JM
3168 [BZ #17777]
3169 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3170 (posix_fadvise64): Define as weak alias not strong alias.
3171 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3172 (posix_fallocate64): Likewise.
3173 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3174 Remove variable.
3175 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3176 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3177 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3178 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3179 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3180
b1efe3bb
MF
31812015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3182
3183 [BZ #16191]
3184 * NEWS: Mention bug fix.
3185 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3186 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3187 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3188 (HOST_STACK_END_ADDR): Likewise.
3189
9706dc5f
JM
31902015-01-02 Joseph Myers <joseph@codesourcery.com>
3191
b93c2205
JM
3192 [BZ #17748]
3193 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3194 * math/fegetround.c (fegetround): Rename to __fegetround and
3195 define as weak alias of __fegetround. Use libm_hidden_weak.
3196 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3197 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3198 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3199 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3200 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3201 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3202 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3203 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3204 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3205 Undefine after rather than before function definition; use
3206 parentheses around function name in definition.
3207 (__fegetround): Also undefine macro after function definition.
3208 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3209 __fegetround and define as weak alias of __fegetround. Use
3210 libm_hidden_weak. Do not undefine as macro.
3211 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3212 Likewise.
3213 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3214 __fegetround and define as weak alias of __fegetround. Use
3215 libm_hidden_weak.
3216 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3217 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3218 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3219 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3220 __fegetround and define as weak alias of __fegetround. Use
3221 libm_hidden_weak.
3222 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3223 __fegetround instead of fegetround.
3224
253a59cc
JM
3225 [BZ #17782]
3226 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3227 Condition macro definition on [__USE_MISC].
3228
27dae011
JM
3229 [BZ #17781]
3230 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3231 (struct sigaction): Change type of sa_flags field to int.
3232
172019c0
JM
3233 [BZ #17780]
3234 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3235 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3236 __glibc_reserved0.
3237
522ad1d6
JM
3238 * nptl/version.c (banner): Use single year in copyright notice.
3239
9706dc5f
JM
3240 * NEWS: Update copyright dates.
3241 * catgets/gencat.c (print_version): Likewise.
3242 * csu/version.c (banner): Likewise.
3243 * debug/catchsegv.sh: Likewise.
3244 * debug/pcprofiledump.c (print_version): Likewise.
3245 * debug/xtrace.sh (do_version): Likewise.
3246 * elf/ldconfig.c (print_version): Likewise.
3247 * elf/ldd.bash.in: Likewise.
3248 * elf/pldd.c (print_version): Likewise.
3249 * elf/sotruss.sh: Likewise.
3250 * elf/sprof.c (print_version): Likewise.
3251 * iconv/iconv_prog.c (print_version): Likewise.
3252 * iconv/iconvconfig.c (print_version): Likewise.
3253 * locale/programs/locale.c (print_version): Likewise.
3254 * locale/programs/localedef.c (print_version): Likewise.
3255 * login/programs/pt_chown.c (print_version): Likewise.
3256 * malloc/memusage.sh (do_version): Likewise.
3257 * malloc/memusagestat.c (print_version): Likewise.
3258 * malloc/mtrace.pl: Likewise.
3259 * manual/libc.texinfo: Likewise.
3260 * nptl/version.c (banner): Likewise.
3261 * nscd/nscd.c (print_version): Likewise.
3262 * nss/getent.c (print_version): Likewise.
3263 * nss/makedb.c (print_version): Likewise.
3264 * posix/getconf.c (main): Likewise.
3265 * scripts/test-installation.pl: Likewise.
3266 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3267
b8607aac
WN
32682015-01-02 Will Newton <will.newton@linaro.org>
3269
3270 * sysdeps/arm/armv7/configure: Removed.
3271 * sysdeps/arm/armv7/configure.ac: Likewise.
3272
b168057a
JM
32732015-01-02 Joseph Myers <joseph@codesourcery.com>
3274
3275 * All files with FSF copyright notices: Update copyright dates
3276 using scripts/update-copyrights.
3277 * intl/plural.c: Regenerated.
3278 * locale/programs/charmap-kw.h: Likewise.
3279 * locale/programs/locfile-kw.h: Likewise.
3280
b217c15f
SP
32812015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3282
3283 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3284
73a268c7
JM
32852014-12-31 Joseph Myers <joseph@codesourcery.com>
3286
3287 [BZ #17748]
3288 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3289 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3290 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3291 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3292 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3293 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3294 define as weak alias of __fegetenv. Use libm_hidden_weak.
3295 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3296 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3297 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3298 define as weak alias of __fegetenv. Use libm_hidden_weak.
3299 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3300 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3301 define as weak alias of __fegetenv. Use libm_hidden_weak.
3302 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3303 libm_hidden_def.
3304 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3305 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3306 Likewise.
3307 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3308 define as weak alias of __fegetenv. Use libm_hidden_weak.
3309 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3310 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3311 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3312 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3313 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3314 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3315 __fegetenv instead of fegetenv.
3316 (libc_feholdsetround_noex_ctx): Likewise.
3317
0bd95672
MF
33182014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3319
3320 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3321 (Elf_MIPS_ABIFlags_v0): New structure.
3322 (EF_MIPS_FP64): Define.
3323 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3324 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3325 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3326 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3327 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3328 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3329 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3330 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3331 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3332 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3333 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3334 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3335 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3336 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3337 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3338 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3339 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3340 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3341 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3342 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3343 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3344 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3345 field.
3346 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3347 EF_MIPS_FP64.
3348 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3349 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3350 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3351 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3352 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3353 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3354 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3355 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3356 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3357 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3358 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3359 record the current FP ABI extension.
3360 (mips-mode-switch): Define to show if kernel headers support mode
3361 switching.
3362 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3363 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3364 supported SYSV ABI version to 3.
3365 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3366 feature.
3367
f59ad976
RS
33682014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3369 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370
3371 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3372 path.
3373 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3374
4a3d3999
JM
33752014-12-31 Joseph Myers <joseph@codesourcery.com>
3376
3377 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3378 __fegetround and redefine to call __fegetround. Remove condition
3379 on [!__NO_MATH_INLINES].
3380 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3381 function.
3382 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3383 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3384 Remove macro.
3385 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3386 instead of <fenv_libc.h>.
3387 (__llrintl): Call fegetround instead of __fegetround.
3388 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3389 instead of <fenv_libc.h>.
3390 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3391 (__lrintl): Call fegetround instead of __fegetround.
3392 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3393 instead of <fenv_libc.h>.
3394 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3395 (__rintl): Call fegetround instead of __fegetround.
3396
195f3afc
SP
33972014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3398
3399 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3400 arrays.
3401
7062bd42
L
34022014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 [BZ #17775]
3405 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3406 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3407 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3408
07256e18
AS
34092014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3410
3411 * sysdeps/i386/tls-macros.h: Include <features.h>.
3412 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3413 (TLS_IE): Likewise.
3414 (TLS_LD): Likewise.
3415 (TLS_GD): Likewise.
3416 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3417 define for GCC >= 5.0.
3418
1ff950ad
CM
34192014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3420
3421 * math/test-fenv.c (test_single_exception, set_single_exc,
3422 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3423 feexcp_mask_test, feenable_test, fe_single_test): Add
3424 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3425 case where they are not used.
3426 * math/libm-test.inc: Likewise.
3427 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3428 unused in the absence of FP rounding/exception support.
3429 * stdio-common/tst-printf-round.c: Likewise.
3430 * stdlib/tst-strtod-round.c: Likewise.
3431 * stdlib/tst-strtod-underflow.c: Likewise.
3432
0747f818
JM
34332014-12-30 Joseph Myers <joseph@codesourcery.com>
3434
3435 [BZ #17723]
3436 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3437 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3438 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3439 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3440 libm_hidden_weak.
3441 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3442 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3443 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3444 libm_hidden_def.
3445 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3446 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3447 libm_hidden_weak.
3448 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3449 Likewise.
3450 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3451 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3452 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3453 libm_hidden_weak.
3454 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3455 libm_hidden_def.
3456 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3457 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3458 (__feraiseexcept): Likewise.
3459 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3460 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3461 libm_hidden_weak.
3462 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3463 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3464 libm_hidden_def.
3465 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3466 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3467 Use libm_hidden_def.
3468 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3469 libm_hidden_def.
3470 (feraiseexcept): Define as weak not strong alias. Use
3471 libm_hidden_weak.
3472 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3473 New inline function. Factored out of ...
3474 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3475 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3476 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3477 feraiseexcept.
3478 * math/w_acos.c (__acos): Likewise.
3479 * math/w_asin.c (__asin): Likewise.
3480 * math/w_ilogb.c (__ilogb): Likewise.
3481 * math/w_j0.c (y0): Likewise.
3482 * math/w_j1.c (y1): Likewise.
3483 * math/w_jn.c (yn): Likewise.
3484 * math/w_log.c (__log): Likewise.
3485 * math/w_log10.c (__log10): Likewise.
3486 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3487 * sysdeps/aarch64/fpu/math_private.h
3488 (libc_feupdateenv_test_aarch64): Likewise.
3489 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3490 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3491 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3492 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3493 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3494 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3495 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3496 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3497 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3498 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3499
8d2b2763
L
35002014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3501
3502 [BZ #17732]
3503 * io/test-utime.c (main): Replace %ld with %jd and cast to
3504 intmax_t.
41fad830 3505 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3506 * nptl/tst-mutex5.c: Include <stdint.h>.
3507 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3508 * posix/tst-regex.c (run_test): Likewise.
3509 (run_test_backwards): Likewise.
5d619de4
L
3510 * rt/tst-clock.c: Include <stdint.h>.
3511 (clock_test): Replace %ld with %jd and cast to intmax_t.
3512 * rt/tst-cpuclock1.c: Include <stdint.h>.
3513 (do_test): Replace %lu with %ju and cast to uintmax_t.
3514 * rt/tst-cpuclock2.c: Include <stdint.h>.
3515 (do_test): Replace %lu with %ju and cast to uintmax_t.
3516 * rt/tst-mqueue1.c: Include <stdint.h>.
3517 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3518 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3519 intmax_t.
3520 * rt/tst-mqueue4.c (do_test): Likewise.
3521 * rt/tst-timer4.c: Include <stdint.h>.
3522 (check_ts): Replace %ld with %jd and cast to intmax_t.
3523 (do_test): Likewise.
ad86fbc3
L
3524 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3525 and cast to intmax_t.
37f46900 3526 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3527 * time/clocktest.c (main): Likewise.
3528 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3529 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3530
8b4416d8
AS
35312014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3532 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3535 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3539 version if bit_Fast_Unaligned_Load is set.
3540 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3547 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3548 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3549 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3550 to 4.
3551 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3552 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3553 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3554 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3555
e47b8d3b
CM
35562014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3557
6d6d7fde
CM
3558 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3559 instead of #if to avoid a Wundef warning.
3560 * stdlib/tst-limits.c (do_test): Likewise.
3561
cd2c37c9
CM
3562 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3563 parallel other exception macros.
3564 (fegetenv): Convert from macro to extern inline so that it applies
3565 retroactively to inline functions already seen by the compiler.
3566 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3567
e47b8d3b
CM
3568 * posix/Makefile (before-compile): Use $(objpfx) for
3569 posix-conf-vars-def.h.
3570
4a6aca7b
SP
35712014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3572
7910c2ae
SP
3573 * posix/getconf.c (main): Use size_t for type of I.
3574 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3575 NSPEC.
3576
50cbbaa9
SP
3577 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3578 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3579 * posix/posix-envs.def: Likewise.
3580 * sysdeps/posix/sysconf.c: Likewise.
3581 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3582 (specs): Remove array.
3583 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3584 array.
3585
3b566046
SP
3586 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3587 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3588 (__sysconf): Use CONF_IS_* macros.
3589
4a6aca7b
SP
3590 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3591 ($(objpfx)posix-conf-vars-def.h): New target.
3592 * posix/posix-conf-vars.list: New file.
3593 * posix/posix-conf-vars.h: New file.
3594 * posix/confstr.c: Include posix-conf-vars.h.
3595 (confstr): Use CONF_IS_* macros.
3596 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3597 CONF_IS_* macros.
3598 * scripts/gen-posix-conf-vars.awk: New file.
3599
7c1395a7
CM
36002014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3601
0025b4cc
CM
3602 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3603 fegetround): Add no-op macros to avoid linknamespace issues.
3604
d8aaf74b
CM
3605 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3606 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3607
5d24aa60
CM
3608 * sysdeps/unix/sysv/linux/tile/sysdep.h
3609 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3610 assembly-specific section to avoid a redefinition warning.
3611
7c1395a7
CM
3612 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3613 long before casting to pointer to avoid a cast warning.
3614
3c87c616
CM
36152014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3616
3617 * sysdeps/tile/tilegx/Implies: New file.
3618
f559d8cf
RE
36192014-12-23 Richard Earnshaw <rearnsha@arm.com>
3620
3621 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3622
7d81e8d6
FW
36232014-12-23 Florian Weimer <fweimer@redhat.com>
3624
3625 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3626
90aa3d09
JM
36272014-12-22 Joseph Myers <joseph@codesourcery.com>
3628
3629 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3630 not define.
3631 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3632 <kernel-features.h>.
3633 (__utimes) [__NR_utimes]: Make code unconditional.
3634 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3635 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3636 (__ASSUME_UTIMES): Do not undefine.
3637 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3638 (__ASSUME_UTIMES): Likewise.
3639 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3640 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3641 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3642 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3643
4c0c0e2a
SE
36442014-12-22 Steve Ellcey <sellcey@imgtec.com>
3645
3646 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3647
0dacd7a3
CM
36482014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3649
b638f96a
CM
3650 [BZ #17747]
3651 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3652 alias to weak alias for j0l, y0l.
3653 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3654 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3655
0dacd7a3
CM
3656 [BZ #17746]
3657 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3658 conversion.
3659
528479c4
SE
36602014-12-22 Steve Ellcey <sellcey@imgtec.com>
3661
3662 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3663 to zero if not already defined.
3664
f56f9124
JM
36652014-12-22 Joseph Myers <joseph@codesourcery.com>
3666
3667 [BZ #17724]
3668 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3669 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3670 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3671 (char *) casts added.
3672 * sysdeps/ieee754/k_standardf.c: New file.
3673 * sysdeps/ieee754/k_standardl.c: Likewise.
3674 * math/Makefile (libm-support): Remove k_standard.
3675 (libm-calls): Add k_standard.
3676
8622d556
WD
36772014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3678
3679 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3680 Optimize to avoid an unnecessary FPCR read.
3681
f3806bdb
WD
36822014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3683
3684 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3685 Optimize to reduce FPCR/FPSR accesses.
3686
9b47df58
WD
36872014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3688
3689 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3690 Call libc_fetestexcept_aarch64.
3691
97be3cac
WD
36922014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3693
3694 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3695 Call libc_fesetround_aarch64.
3696
935ab817
JM
36972014-12-22 Joseph Myers <joseph@codesourcery.com>
3698
3699 [BZ #17733]
3700 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3701 (__bind): Do not define as weak alias.
3702 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3703 define.
3704 (__getsockname): Do not define as weak alias.
3705
cc8623f1
WN
37062014-12-22 Will Newton <will.newton@linaro.org>
3707
3708 * manual/install.texi: Document that we require bison 2.7
3709 or above.
3710 * INSTALL: Regenerate.
3711 * configure.ac: Use AC_CHECK_PROG_VER instead of
3712 AC_PATH_PROG when checking for bison and check for
3713 version 2.7 or above.
3714 * configure: Regenerate.
3715
a19ca65a
CM
37162014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3717
92901170 3718 [BZ #17745]
e969965a
CM
3719 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3720 * sysdeps/tile/ffsll.c (ffsll): To here.
3721
a19ca65a
CM
3722 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3723
050f7298
L
37242014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3725
3726 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3727 if not defined.
3728 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3729 definition.
3730 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3731 hidden ___tls_get_addr.
3732 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3733 hidden __tls_get_addr.
3734 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3735 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3736 Likewise.
3737
6df5547e
AS
37382014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3739
3740 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3741 _dl_init call.
3742
7432d613
L
37432014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3744
3745 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3746 from "call _dl_init@PLT".
3747 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3748
98fe149e
AK
37492014-12-21 Anders Kaseorg <andersk@mit.edu>
3750
3751 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3752 guarantees.
3753
d12455f5
CM
37542014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3755
3756 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3757
95dee05f
CM
37582014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3759
92901170 3760 [BZ #17744]
95dee05f
CM
3761 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3762 strnlen.
3763
2ef4b74a
SE
37642014-12-19 Steve Ellcey <sellcey@imgtec.com>
3765
3766 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3767 of multu on MIPSr6.
3768 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3769 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3770 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3771 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3772 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3773
37742014-12-19 Steve Ellcey <sellcey@imgtec.com>
3775
3776 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3777 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3778 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3779 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3780 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3781 mips32r6/mips64r6.
3782 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3783
3eb38795
OB
37842014-12-19 Ondřej Bílka <neleai@seznam.cz>
3785
3786 * string/strncat.c (STRNCAT): Simplify implementation.
3787
6d4188dd
DM
37882014-12-19 David S. Miller <davem@davemloft.net>
3789
0d4ba8be
DM
3790 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3791 access the quad as both a long double and as a series of 4 words.
3792
6d4188dd
DM
3793 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3794 link_map->l_info array access.
3795
4ef91cdc
CM
37962014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3797
804c54f7
CM
3798 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3799
4ef91cdc
CM
3800 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3801 * math/atest-exp2.c (TIMEOUT): Likewise.
3802 * math/atest-sincos.c (TIMEOUT): Likewise.
3803
afd176d6
L
38042014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3805
3806 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3807 -Wno-error with -fno-builtin-lround.
3808
a4a43a90
TR
38092014-12-19 Torvald Riegel <triegel@redhat.com>
3810
3811 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3812 Contains futex constants and functions moved over from ...
3813 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3814 <lowlevellock-futex.h>.
3815 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3816 (lll_timedwait_tid): Add comments and parentheses around macro
3817 arguments.
3818
76f71081
TR
38192014-12-19 Torvald Riegel <triegel@redhat.com>
3820
3821 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3822 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3823 (__lll_private_flag): Remove.
3824 (lll_futex_wait): Likewise.
3825 (lll_futex_timed_wait): Likewise.
3826 (lll_futex_wake): Likewise.
3827 (lll_futex_requeue): Likewise.
3828 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3829 (__lll_timedwait_tid): Spell out argument names.
3830 (lll_timedwait_tid): Add comments and parentheses around macro
3831 arguments.
3832 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3833 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3834
6b814909
TR
38352014-12-19 Torvald Riegel <triegel@redhat.com>
3836
3837 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3838 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3839 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3840 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3841 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3842 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3843 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3844 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3845 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3846 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3848 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3849 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3850 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3851 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3852 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3853 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3854 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3855 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3856
9cd4d4ab
L
38572014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3858
3859 * sysdeps/x86_64/x32/Makefile: New file.
3860
c9c1a2d0
L
38612014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3862
3863 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3864 1L with (mp_limb_t) 1.
3865
af102d95
RM
38662014-12-17 Roland McGrath <roland@hack.frob.com>
3867
dd690454
RM
3868 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3869 * nptl/libc_pthread_init.c: ... here.
3870 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3871 * nptl/register-atfork.c: ... here.
3872
74eb826c
RM
3873 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3874 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3875 Use assert_perror to check its return value.
3876 (__gai_create_helper_thread): Likewise.
3877
c9ce306b
RM
3878 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3879
af102d95
RM
3880 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3881
8ac5a76a
JM
38822014-12-17 Joseph Myers <joseph@codesourcery.com>
3883
ea41469b
JM
3884 [BZ #17725]
3885 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3886 __profil_counter.
3887 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3888 Likewise.
3889 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3890 Likewise.
3891 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3892 Likewise.
3893 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3894 (profil_counter): Likewise.
3895 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3896 (profil_counter): Likewise.
3897 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3898 Likewise.
3899 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3900 Likewise.
3901 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3902 (profil_counter): Likewise.
3903 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3904 Likewise.
3905 [!__profil_counter] (profil_counter): Define as weak alias of
3906 __profil_counter.
3907 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3908 (profil_counter): Rename to __profil_counter.
3909 [!__profil_counter] (profil_counter): Define as weak alias of
3910 __profil_counter.
3911 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3912 (profil_counter): Rename to __profil_counter.
3913 [!__profil_counter] (profil_counter): Define as weak alias of
3914 __profil_counter.
3915 * sysdeps/posix/profil.c: Update comment referring to
3916 profil_counter.
3917 (__profil): Use __profil_counter instead of profil_counter.
3918 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3919 __profil_counter. Use __profil_counter_ushort and
3920 __profil_counter_uint in definitions.
3921 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3922 instead of profil_counter_uint and profil_counter_ushort.
3923
8ac5a76a
JM
3924 [BZ #17722]
3925 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3926 define as weak alias of __inet_makeaddr.
3927 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3928 as weak alias of __inet_addr.
3929 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3930 as weak alias of __inet_pton. Use libc_hidden_weak.
3931 * include/arpa/inet.h (__inet_pton): Declare. Use
3932 libc_hidden_proto.
3933 (inet_makeaddr): Don't use libc_hidden_proto.
3934 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3935 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3936 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3937 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3938 Remove variable.
3939 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3940 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3941
66ce3cb1
SE
39422014-12-17 Steve Ellcey <sellcey@imgtec.com>
3943
3944 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3945
d22ce01b
SL
39462014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3947
3948 * stdio-common/bug-vfprintf-nargs.c (do_test):
3949 Cast value to intptr_t to avoid format warning
3950 for usage with PRIdPTR printing macro.
3951
eca2772b
SL
39522014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3953
3954 * libio/tst-widetext.c (do_test):
3955 Use format type %td instead of %Zd for ptrdiff_t
3956 in order to avoid format warning.
3957
bdf079da
AS
39582014-12-17 Andreas Schwab <schwab@suse.de>
3959
3960 * nscd/mem.c (gc): Add size_t cast to match printf format.
3961
3eb5d2fc
RM
39622014-12-16 Roland McGrath <roland@hack.frob.com>
3963
3964 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3965 (init): Apply PTR_MANGLE to pointers before storing them.
3966 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3967 before using them.
3968
d003ada2
JM
39692014-12-16 Joseph Myers <joseph@codesourcery.com>
3970
380292ba
JM
3971 [BZ #17719]
3972 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3973 define as weak alias of __memrchr.
3974 (__memrchr): Do not define as strong alias of memrchr.
3975 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3976 Remove variable.
3977 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3978 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3979 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3980
9a44d530
JM
3981 [BZ #17717]
3982 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3983 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3984 (if_indextoname): Rename to __if_indextoname and define as weak
3985 alias of __if_indextoname. Use libc_hidden_weak.
3986 (if_freenameindex): Rename to __if_freenameindex and define as
3987 weak alias of __if_freenameindex.
3988 (if_nameindex): Rename to __if_nameindex and define as weak alias
3989 of __if_nameindex.
3990 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3991 __if_nametoindex and define as weak alias of __if_nametoindex.
3992 Use libc_hidden_weak.
3993 (if_freenameindex): Rename to __if_freenameindex and define as
3994 weak alias of __if_freenameindex.
3995 (if_nameindex): Rename to __if_nameindex and define as weak alias
3996 of __if_nameindex.
3997 (if_indextoname): Rename to __if_indextoname and define as weak
3998 alias of __if_indextoname. Use libc_hidden_weak.
3999 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4000 __if_nametoindex and define as weak alias of __if_nametoindex.
4001 Use libc_hidden_weak.
4002 (if_freenameindex): Rename to __if_freenameindex and define as
4003 weak alias of __if_freenameindex. Use libc_hidden_weak.
4004 (if_nameindex_netlink): Use __if_freenameindex instead of
4005 if_freenameindex.
4006 (if_nameindex): Rename to __if_nameindex and define as weak alias
4007 of __if_nameindex. Use libc_hidden_weak.
4008 (if_indextoname): Rename to __if_indextoname and define as weak
4009 alias of __if_indextoname. Use libc_hidden_weak.
4010 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4011 libc_hidden_proto.
4012 [!_ISOMAC] (__if_freenameindex): Likewise.
4013 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4014 if_nametoindex.
4015 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4016 variable.
4017 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4018 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4019 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4020 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4021 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4022 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4023 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4024
d003ada2
JM
4025 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4026 Remove variable.
4027 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4028 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4029
a0d424ef
SP
40302014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4031
0cd85520
SP
4032 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4033 subscript above bounds'
4034
a0d424ef
SP
4035 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4036 bounds.
4037
0e426475
AS
40382014-12-16 Arjun Shankar <arjun.is@lostca.se>
4039
8b460906
AS
4040 * libio/tst-fopenloc.c: Use test-skeleton.c.
4041
fa13e15b
AS
4042 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4043 (entry): Rename to ITEM.
4044 (do_test, comp): Adjust.
4045
0e426475
AS
4046 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4047
4f646bce
TR
40482014-12-16 Torvald Riegel <triegel@redhat.com>
4049
4050 * string/tester.c: Include <libc-internal.h>.
4051 (test_memset): Ignore -Wmemset-transposed-args.
4052
a07c4427
TR
40532014-12-16 Torvald Riegel <triegel@redhat.com>
4054
4055 * misc/tst-mntent2.c (do_test): Fix warning.
4056
1469f466
TR
40572014-12-16 Torvald Riegel <triegel@redhat.com>
4058
4059 * elf/tst-unique4lib.cc(a): Mark as used.
4060
11e3417a
FW
40612014-12-16 Florian Weimer <fweimer@redhat.com>
4062
4063 [BZ #17630]
4064 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4065 names.
4066
ae61fc7b
AM
40672014-12-16 Allan McRae <allan@archlinux.org>
4068
4069 * stdio-common/Makefile (tests): Re-add bug26.
4070
363a9899
OB
40712014-12-15 Ondřej Bílka <neleai@seznam.cz>
4072
4073 [BZ #17657]
4074 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4075 static array.
4076
d52c62df
TR
40772014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4078
4079 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4080 (__lll_lock_wait): Likewise.
4081 (__lll_timedlock_wait): Likewise.
4082 (__lll_timedwait_tid): Likewise.
4083 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4084 (__lll_robust_timedlock_wait): Likewise.
4085 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4086 (lll_cond_trylock): Likewise.
4087 (__lll_lock): Likewise.
4088 (__lll_robust_lock): Likewise.
4089 (__lll_cond_lock): Likewise.
4090 (lll_robust_cond_lock): Likewise.
4091 (__lll_timedlock): Likewise.
4092 (__lll_robust_timedlock): Likewise.
4093 (__lll_unlock): Likewise.
4094 (__lll_robust_unlock): Likewise.
4095 (lll_wait_tid): Likewise.
4096 (lll_timedwait_tid): Likewise.
4097
045a6bcd
TR
40982014-12-15 Torvald Riegel <triegel@redhat.com>
4099
4100 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4101
7f786dc1
TR
41022014-12-15 Torvald Riegel <triegel@redhat.com>
4103
4104 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4105
e7e21cba
AZ
41062014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4107
4108 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4109 * stdio-common/tst-sprintf.c: Likewise.
4110
bc89c0fc
TR
41112014-12-15 Torvald Riegel <triegel@redhat.com>
4112
4113 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4114
a5357b7c
JL
41152014-12-15 Jeff Law <law@redhat.com>
4116
4117 [BZ #16617]
4118 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4119 on the heap. (CVE-2012-3406)
4120 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4121 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4122 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4123
3a12c70f
WN
41242014-12-15 Will Newton <will.newton@linaro.org>
4125
4126 * manual/install.texi: Bump required version of texinfo
4127 to 4.7 from 4.5.
4128 * INSTALL: Regenerated.
4129 * configure.ac: Check for makeinfo version 4.7 and above.
4130 * configure: Regenerated.
4131
e4f639e4
RM
41322014-12-12 Roland McGrath <roland@hack.frob.com>
4133
4134 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4135 PREFIX, string constant to insert between directory and name.
4136 * sysdeps/posix/shm_open.c: Update caller.
4137 * sysdeps/posix/shm_unlink.c: Likewise.
4138 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4139 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4140 (SEM_SHM_PREFIX): New macro.
4141 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4142 [$(have-thread-library) = no].
4143 * nptl/Makefile (libpthread-routines): Add shm-directory.
4144 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4145 * sysdeps/nptl/shm-directory.h: New file.
4146 * sysdeps/posix/shm-directory.c
4147 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4148 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4149 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4150 INTERNAL_SYSCALL.
4151 (__where_is_shmfs): Function removed.
4152 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4153 Variables removed.
4154 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4155 Use SHM_GET_NAME.
4156 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4157
4158 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4159 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4160 unconditional for use inside libpthread.
4161 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4162
439c43f6
RM
41632014-12-12 Roland McGrath <roland@hack.frob.com>
4164
c76d1ff5
RM
4165 * nptl/pthread_getaffinity.c: New file.
4166 * nptl/pthread_setaffinity.c: New file.
4167 * nptl/pthread_getname.c: New file.
4168 * nptl/pthread_setname.c: New file.
4169
439c43f6
RM
4170 * nptl/pthread_create.c (START_THREAD_DEFN)
4171 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4172
48e435cd
SL
41732014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4174 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4175
4176 * resolv/res_send.c (send_vc): Disable warning resplen may
4177 be used uninitialized.
4178
9d9c0019
SL
41792014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4180
4181 * nptl/tst-mutex6.c
4182 (ATTR_NULL): New define checks ATTR against NULL.
4183 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4184 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4185
9173840b
JL
41862014-12-11 James Lemke <jwlemke@codesourcery.com>
4187
4188 [BZ #17581]
4189 * malloc/hooks.c
4190 (mem2mem_check): Revert my previous change.
4191 (malloc_check_get_size): Revert my previous change.
4192 (mem2chunk_check): Revert my previous change.
4193
78e21c5d
RM
41942014-12-11 Roland McGrath <roland@hack.frob.com>
4195
4196 * sysdeps/posix/shm-directory.c: New file.
4197 * sysdeps/posix/shm-directory.h: New file.
4198 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4199 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4200 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4201 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4202 Transmute EPERM to EACCES.
4203 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4204 from ...
4205 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4206 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4207
f82c43af
KK
42082014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4209
4210 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4211 pointer and cast to uintptr_t.
4212 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4213 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4214 Add cast to avoid warning.
4215 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4216
fc00cf7b
JM
42172014-12-11 Joseph Myers <joseph@codesourcery.com>
4218
4219 * nptl/semaphore.h: Move to ...
4220 * sysdeps/pthread/semaphore.h: ... here.
4221 * Makefile (installed-headers): Change nptl/semaphore.h to
4222 sysdeps/pthread/semaphore.h.
4223
1c4053db
RM
42242014-12-11 Roland McGrath <roland@hack.frob.com>
4225
73b0c1a1
RM
4226 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4227 generated error format strings.
4228
1c4053db
RM
4229 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4230 -Wformat-extra-args warnings for scanf formats.
4231 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4232 test of zero-length format (duh).
4233 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4234 corner-case scanf format test.
4235 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4236 generated fprintf format string.
4237 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4238 corner-case sprintf format tests.
4239 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4240 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4241 -Wformat-extra-args warnings throughout.
4242 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4243 (CFLAGS-scanf4.c): Likewise.
4244 (CFLAGS-scanf7.c): Likewise.
4245 (CFLAGS-tst-sprintf.c): Likewise.
4246 (CFLAGS-tst-printf.c): Likewise.
4247 (CFLAGS-tst-printfsz.c): Likewise.
4248
47d51f4f
JM
42492014-12-11 Joseph Myers <joseph@codesourcery.com>
4250
a1edbf3c
JM
4251 * include/cpio.h: New file.
4252 * include/fmtmsg.h: Likewise.
4253
47d51f4f
JM
4254 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4255 corresponding format argument to size_t.
4256 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4257 arguments.
4258 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4259 corresponding format argument to size_t.
4260 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4261 arguments.
4262 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4263 corresponding format argument to size_t.
4264 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4265 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4266 (CFLAGS-tst-mbswcs2.c): Likewise.
4267 (CFLAGS-tst-mbswcs3.c): Likewise.
4268 (CFLAGS-tst-mbswcs4.c): Likewise.
4269 (CFLAGS-tst-mbswcs5.c): Likewise.
4270 (CFLAGS-tst-trans.c): Likewise
4271
e9813cfb
RM
42722014-12-11 Roland McGrath <roland@hack.frob.com>
4273
4274 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4275 rather than assuming they won't contain any '%'s.
4276
f627ca82
CM
42772014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4278
4279 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4280 inhibit_loop_to_libcall to avoid recursive calls.
4281 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4282 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4283
7f296942
AZ
42842014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4285
4286 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4287 prototype.
4288
d0276e18
SE
42892014-12-11 Steve Ellcey <sellcey@imgtec.com>
4290
4291 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4292 integer value instead of boolean.
4293
fc56e970
SE
42942014-12-11 Steve Ellcey <sellcey@imgtec.com>
4295
4296 * malloc/malloc.c: Fix powerof2 check.
4297
40e53917
SL
42982014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4299
4300 * locale/programs/locfile.h (maybe_swap_uint32):
4301 Remove inline and add unused attribute.
4302
1ea166df
SL
43032014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4304
9d9c0019 4305 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4306 Truncating assembler expression to a .long expression.
4307
acf869f4
AS
43082014-12-11 Andreas Schwab <schwab@suse.de>
4309
4310 * elf/rtld.c (struct map_args): Constify str member.
4311 (do_preload): Constify fname argument.
4312
9d969099
AZ
43132014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4314
4315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4316 constants definition.
4317
da5bcaa4
AS
43182014-12-11 Andreas Schwab <schwab@suse.de>
4319
b0a3c164
AS
4320 [BZ #16657]
4321 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4322 FORCE_ELISION instead of DO_ELISION.
4323 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4324 Remove.
4325 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4326 Likewise.
4327
da5bcaa4
AS
4328 * iconvdata/gconv-modules: Remove duplicate entry.
4329
6d248857
WN
43302014-12-11 Will Newton <will.newton@linaro.org>
4331
4332 Merge gettext 0.19.3 into intl/.
4333
4334 This involves a number of cosmetic changes to comments
4335 and ANSI function definitions and prototypes throughout
4336 all the files. The gettext copyright header is used but
4337 with the date ranges taken from the glibc copy.
4338
4339 * NEWS: Add gettext merge to 2.21.
4340 * intl/bindtextdom.c: Switch to gettext copyright.
4341 Use ANSI definitions and prototypes.
4342 Use gl_* locking primitives rather than __libc_* ones.
4343 Use __builtin_expect rather than __glibc_likely/unlikely.
4344 * intl/dcgettext.c: Switch to gettext copyright.
4345 Use ANSI definitions and prototypes.
4346 * intl/dcigettext.c: Switch to gettext copyright.
4347 Use ANSI definitions and prototypes.
4348 (INTDIV0_RAISES_SIGFPE): New define.
4349 Use gl_* locking primitives rather than __libc_* ones.
4350 Include eval-plural.h instead of plural-eval.c.
4351 Use __builtin_expect rather than __glibc_likely/unlikely.
4352 * intl/dcngettext.c: Switch to gettext copyright.
4353 Use ANSI definitions and prototypes.
4354 * intl/dgettext.c: Likewise.
4355 * intl/dngettext.c: Likewise.
4356 * intl/plural-eval.c: Renamed to...
4357 * intl/eval-plural.h: ...this.
4358 * intl/explodename.c: Switch to gettext copyright.
4359 Use ANSI definitions and prototypes.
4360 (_nl_explode_name): Use strchr instead of __rawmemchr.
4361 * intl/finddomain.c: Switch to gettext copyright.
4362 Use ANSI definitions and prototypes.
4363 Use gl_* locking primitives rather than __libc_* ones.
4364 (_nl_find_domain): Use malloc rather than alloca for
4365 allocation of temporary locale name.
4366 * intl/gettext.c: Switch to gettext copyright.
4367 Use ANSI definitions and prototypes.
4368 * intl/gettextP.h: Switch to gettext copyright.
4369 Use ANSI definitions and prototypes.
4370 Use gl_* locking primitives rather than __libc_* ones.
4371 * intl/gmo.h: Switch to gettext copyright.
4372 (struct sysdep_string): Move struct segment_pair outside of
4373 struct definition.
4374 * intl/hash-string.c: Use ANSI definitions and prototypes.
4375 * intl/hash-string.h: Switch to gettext copyright.
4376 Use ANSI definitions and prototypes.
4377 * intl/l10nflist.c: Switch to gettext copyright.
4378 Use ANSI definitions and prototypes.
4379 (_nl_normalize_codeset): Avoid integer overflow.
4380 * intl/loadinfo.h: Switch to gettext copyright.
4381 Use ANSI definitions and prototypes.
4382 (LIBINTL_DLL_EXPORTED): New define.
4383 (PATH_SEPARATOR): New define.
4384 * intl/loadmsgcat.c: Switch to gettext copyright.
4385 * intl/localealias.c: Switch to gettext copyright.
4386 Use ANSI definitions and prototypes.
4387 (_nl_expand_alias): Use PATH_SEPARATOR.
4388 * intl/ngettext.c: Switch to gettext copyright.
4389 Use ANSI definitions and prototypes.
4390 * intl/plural-exp.c: Likewise.
4391 * intl/plural-exp.h: Switch to gettext copyright.
4392 Use ANSI definitions and prototypes.
4393 (struct expression): Move definition of enum operator outside
4394 of struct definition.
4395 * intl/plural.c: Regenerate.
4396 * intl/plural.y: Switch to gettext copyright.
4397 Use ANSI definitions and prototypes.
4398 Port to bison 3.0.
4399 * intl/textdomain.c: Switch to gettext copyright.
4400 Use ANSI definitions and prototypes.
4401 Use gl_* locking primitives rather than __libc_* ones.
4402
48c43298
SE
44032014-12-10 Steve Ellcey <sellcey@imgtec.com>
4404
4405 * debug/warning-nop.c: Add used atrribute.
4406
2b89bce9
JM
44072014-12-10 Joseph Myers <joseph@codesourcery.com>
4408
c153ac9f
JM
4409 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4410
2b89bce9
JM
4411 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4412 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4413 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4414
2cfbdb9a
JM
44152014-12-10 Joseph Myers <joseph@codesourcery.com>
4416 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417
4418 [BZ #17634]
4419 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4420 Undefine after defining function. Define as weak alias of
4421 __wcschr. Use libc_hidden_weak.
4422 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4423 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4424 (libc_hidden_def): Also define __GI___wcschr alias.
4425 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4426 __wcschr and define as weak alias of __wcschr.
4427 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4428 __wcschr.
4429 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4430 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4431 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4432 libc_hidden_weak. Do not use libc_hidden_def.
4433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4434 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4435 __GI___wcschr alias.
4436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4437 [IS_IN (libc)] (wcschr): Define as macro expanding to
4438 __redirect_wcschr.
4439 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4440 [IS_IN (libc)] (__wcschr_power6): Likewise.
4441 [IS_IN (libc)] (__wcschr_power7): Likewise.
4442 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4443 instead of wcschr.
4444 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4445 __libc_wcschr.
4446 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4447 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4448 __wcschr and define as weak alias of __wcschr. Use
4449 libc_hidden_builtin_def.
4450 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4451 as weak alias of __wcschr. Use libc_hidden_weak.
4452 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4453 wcschr.
4454 * time/era.c (_nl_init_era_entries): Likewise.
4455 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4456 variable.
4457 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4458 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4459
1b8bf351
JM
44602014-12-10 Joseph Myers <joseph@codesourcery.com>
4461
4462 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4463 format for long int variable.
4464
f5f46d51
AK
44652014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4466
4467 [BZ #10672]
07008f7d 4468 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4469 qsort stable.
4470
217a74a8
AS
44712014-12-10 Andreas Schwab <schwab@suse.de>
4472
4473 [BZ #12847]
4474 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4475 user-controlled locks.
4476
aa76a5c7
RE
44772014-12-10 Richard Earnshaw <rearnsha@arm.com>
4478
4479 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4480 register.
4481
2084e7ca
JM
44822014-12-10 Joseph Myers <joseph@codesourcery.com>
4483
a4ecc9eb
JM
4484 * configure.ac (--disable-werror): New configure option.
4485 (enable_werror): New AC_SUBST.
4486 * configure: Regenerated.
4487 * config.make.in (enable-werror): New variable.
4488 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4489 -Wno-error=undef.
4490 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4491 * manual/install.texi (Configuring and compiling): Document
4492 --disable-werror.
4493 * INSTALL: Regenerated.
4494 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4495 (CFLAGS-tst-chk2.c): Likewise.
4496 (CFLAGS-tst-chk3.c): Likewise.
4497 (CFLAGS-tst-chk4.cc): Likewise.
4498 (CFLAGS-tst-chk5.cc): Likewise.
4499 (CFLAGS-tst-chk6.cc): Likewise.
4500 (CFLAGS-tst-lfschk1.c): Likewise.
4501 (CFLAGS-tst-lfschk2.c): Likewise.
4502 (CFLAGS-tst-lfschk3.c): Likewise.
4503 (CFLAGS-tst-lfschk4.cc): Likewise.
4504 (CFLAGS-tst-lfschk5.cc): Likewise.
4505 (CFLAGS-tst-lfschk6.cc): Likewise.
4506
0f88636c
JM
4507 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4508 (main): Disable -Wdeprecated-declarations around calls to
4509 register_printf_function.
4510
c81e9deb
JM
4511 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4512 (do_test): Disable -Wdiv-by-zero around some calls to
4513 fwrite_unlocked and fread_unlocked.
4514
2084e7ca
JM
4515 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4516 (DIAG_POP_NEEDS_COMMENT): Likewise.
4517 (_DIAG_STR1): Likewise.
4518 (_DIAG_STR): Likewise.
4519 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4520 * stdio-common/bug21.c: Include <libc-internal.h>.
4521 (do_test): Disable -Wformat around call to sscanf.
4522 * stdio-common/scanf14.c: Include <libc-internal.h>.
4523 (main): Disable -Wformat around some calls to scanf functions.
4524
df7ecc6b
TR
45252014-12-09 Torvald Riegel <triegel@redhat.com>
4526
4527 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4528
2aa3862e
AZ
45292014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4530
4531 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4532 stack variable alignment.
4533
c5c2b7c3
JM
45342014-12-06 Joseph Myers <joseph@codesourcery.com>
4535
4536 [BZ #17682]
4537 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4538 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4539 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4540 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4541 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4542 __getrlimit instead of getrlimit.
4543 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4544 __gettimeofday instead of gettimeofday.
4545 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4546 Likewise.
4547 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4548 Likewise.
4549 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4550 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4551 Remove variable.
4552 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4553 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4554
9752c3cd
AZ
45552014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4556
4557 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4558 for wide-character tests.
4559
4bee4cd9
RM
45602014-12-04 Roland McGrath <roland@hack.frob.com>
4561
4562 * io/openat64.c: #include <libc-internal.h>
4563 (__openat64): Prototypify. Use ignore_value on MODE.
4564 * io/openat.c: Likewise.
4565 * misc/reboot.c: #include <libc-internal.h>
4566 (reboot): Prototypify. Use ignore_value on HOWTO.
4567 * misc/ptrace.c: #include <libc-internal.h>
4568 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4569
84dbedb6
JM
45702014-12-04 Joseph Myers <joseph@codesourcery.com>
4571
4572 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4573 XPG4, UNIX98 and XOPEN2K.
4574 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4575 Remove variable.
4576 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4577
b7a3e1c4 45782014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4579
af50dfc1 4580 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4581 * libio/iofopen.c: Likewise.
4582 * libio/wfileops.c: Likewise.
4583
fe8b4d98
SP
4584 [BZ #17653]
4585 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4586 offset on EOF.
4587 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4588 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4589 (fgets_func): Function pointer to fgets and fgetws.
4590 (do_ftell_test): Add test to verify ftell value after read
4591 EOF.
4592 (do_test): Set fgets_func.
4593
61b4f792
SP
4594 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4595 O_TRUNC flag for w and w+ modes.
4596 (do_rewind_test): Likewise.
4597 (do_ftell_test): Likewise.
4598 (do_write_test): Likewise.
4599
be349d70
SP
4600 [BZ #17647]
4601 * libio/fileops.c (do_ftell): Seek only when there are
4602 unflushed writes.
4603 * libio/wfileops.c (do_ftell_wide): Likewise.
4604 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4605 test case.
4606 (do_one_test): Call it.
4607
e3d6dba5
JM
46082014-12-03 Joseph Myers <joseph@codesourcery.com>
4609
4610 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4611 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4612 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4613 Remove variable.
4614 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4615 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4616 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4617
7f994279
JM
46182014-12-02 Joseph Myers <joseph@codesourcery.com>
4619
28a91e8f
JM
4620 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4621 Remove variable.
4622 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4623
7f994279
JM
4624 [BZ #17668]
4625 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4626 as weak alias of __getifaddrs. Use libc_hidden_weak.
4627 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4628 __freeifaddrs. Use libc_hidden_weak.
4629 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4630 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4631 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4632 __freeifaddrs. Use libc_hidden_weak.
4633 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4634 __getifaddrs and define as weak alias of __getifaddrs. Use
4635 libc_hidden_weak.
4636 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4637 __freeifaddrs. Use libc_hidden_weak.
4638 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4639 Remove variable.
4640 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4641 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4642
bbe4c142
PJ
46432014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4644
4645 [BZ #17601]
4646 * sysdeps/mips/start.S (__start): Use indirect jump to call
4647 __libc_start_main.
4648
66cadc05
JM
46492014-12-02 Joseph Myers <joseph@codesourcery.com>
4650
909e16d9
JM
4651 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4652
4e0b9016
JM
4653 * nptl/tst-mutex1.c: Include <stdbool.h>.
4654 [!ATTR] (ATTR_NULL): New macro.
4655 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4656 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4657 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4658
b1aff6a4
JM
4659 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4660 to char *.
4661
266865c0
JM
4662 [BZ #17665]
4663 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4664 Change conditional to [__USE_MISC].
4665
84e5e756
JM
4666 [BZ #17664]
4667 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4668 fgets_unlocked.
4669 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4670 __fgets_unlocked.
4671 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4672 fgets_unlocked.
4673 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4674 Remove variable.
4675 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4676 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4677 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4680 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4681 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4682 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4683 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4684
66cadc05
JM
4685 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4686
2e8a2de2 46872014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4688
4689 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4690 Remove strpbrk objects.
4691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4692 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4693 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4694 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4695 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4696 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4697
bb2542e0
AZ
4698 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4699 Remove strcspn objects.
4700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4701 (__libc_ifunc_impl_list): Remove strcspn implementation.
4702 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4703 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4704 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4705 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4706
4707 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4708 Remove strspn objetcs.
4709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4710 (__libc_ifunc_impl_list): Remove strspn implementation.
4711 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4712 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4713 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4714 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4715
08f1e1d2
JL
47162014-12-01 James Lemke <jwlemke@codesourcery.com>
4717
4718 [BZ #17581]
4719 * malloc/hooks.c
4720 (mem2mem_check): Add a terminator to the chain of checking blocks.
4721 (malloc_check_get_size): Use it here.
4722 (mem2chunk_check): Ditto.
4723
a8a7d7d2
RS
47242014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4725
4726 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4727 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4728
97114a38
CD
47292014-11-29 Carlos O'Donell <carlos@redhat.com>
4730
c8dc1727
CD
4731 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4732
6d03458e
CD
4733 * nptl/nptl-init.c: Include libc-internal.h.
4734 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4735
97114a38
CD
4736 * elf/ldconfig.c (search_dir): Expand comment.
4737
0e7e69ba
JM
47382014-11-29 Joseph Myers <joseph@codesourcery.com>
4739
4740 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4741 variable.
4742 (linknamespace-symlist-stdlibs-tests): Likewise.
4743 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4744 instead of $(objpfx)symlist-stdlibs.
4745 (linknamespace-libs-isoc): New variable.
4746 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4747 (linknamespace-libs-ISO): New variable.
4748 (linknamespace-libs-ISO99): Likewise.
4749 (linknamespace-libs-ISO11): Likewise.
4750 (linknamespace-libs-XPG3): Likewise.
4751 (linknamespace-libs-XPG4): Likewise.
4752 (linknamespace-libs-POSIX): Likewise.
4753 (linknamespace-libs-UNIX98): Likewise.
4754 (linknamespace-libs-XOPEN2K): Likewise.
4755 (linknamespace-libs-POSIX2008): Likewise.
4756 (linknamespace-libs-XOPEN2K8): Likewise.
4757 ($(objpfx)symlist-stdlibs): Replace by
4758 $(linknamespace-symlist-stdlibs-tests). Use
4759 $(linknamespace-libs-$*) as set of libraries.
4760 ($(linknamespace-header-tests)): Update dependencies. Use
4761 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4762 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4763 * conform/linknamespace.pl: Remove comment about considering
4764 definitions of symbols from irrelevant libraries.
4765
d8dd0080
L
47662014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4767
4768 [BZ #13862]
4769 * elf/dl-tls.c: Include <atomic.h>.
4770 (oom): Remove #ifdef SHARED/#endif.
4771 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4772 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4773 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4774 big enough.
4775 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4776 * nptl/Makefile (tests): Add tst-stack4.
4777 (modules-names): Add tst-stack4mod.
4778 ($(objpfx)tst-stack4): New.
4779 (tst-stack4mod.sos): Likewise.
4780 ($(objpfx)tst-stack4.out): Likewise.
4781 ($(tst-stack4mod.sos)): Likewise.
4782 (clean): Likewise.
4783 * nptl/tst-stack4.c: New file.
4784 * nptl/tst-stack4mod.c: Likewise.
4785
167da422
B
47862014-11-27 J. Brown <jb999@gmx.de>
4787
4788 * sysdeps/x86/bits/string.h: Add recent CPUs.
4789
9114625b
JM
47902014-11-27 Joseph Myers <joseph@codesourcery.com>
4791
6b5189eb
JM
4792 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4793 sigblock.
4794
49051f8e
JM
4795 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4796 feof.
4797
9114625b
JM
4798 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4799 variable.
4800
e7300fef
SL
48012014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4802
4803 * nscd/connections.c: Include libc-internal.h because of macro
4804 usage ignore_value.
4805
1721f0a4
SP
48062014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4807
4808 * string/bits/string3.h (__warn_memset_zero_len): Don't
4809 declare for gcc newer than 5.0.
4810 (memset): Don't test for zero-length __LEN for gcc newer than
4811 5.0.
4812
be970916
JM
48132014-11-27 Joseph Myers <joseph@codesourcery.com>
4814
d88548f4
JM
4815 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4816 size_t for %zu format.
4817
be970916
JM
4818 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4819 difference, not %ju.
4820
3b20fd5c
JM
48212014-11-26 Joseph Myers <joseph@codesourcery.com>
4822
8915eace
JM
4823 * include/libc-internal.h (ignore_value): New macro.
4824 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4825 with ignore_value.
4826
f1a5a0e3
JM
4827 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4828 definition.
4829
59ef1715
JM
4830 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4831 pthread_cleanup_push to void *.
4832
a6f3079b
JM
4833 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4834 Undefine.
4835
706688aa
JM
4836 [BZ #16619]
4837 [BZ #16740]
4838 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4839 instead of 1L << 52.
4840
12da14a5
JM
4841 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4842 * libio/bug-rewind2.c (do_test): Likewise.
4843
bd5dadac
JM
4844 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4845 * debug/test-strcpy_chk-ifunc.c: Likewise.
4846 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4847 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4848 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4849 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4850 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4851 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4852 * Rules [$(multi-arch) = no] (tests): Do not filter out
4853 $(tests-ifunc).
4854 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4855 * debug/Makefile (tests-ifunc): Remove variable.
4856 (tests): Do not add $(tests-ifunc).
4857 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4858 (tests): Do not add $(tests-ifunc).
4859 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4860 [TEST_IFUNC]: Remove conditionals.
4861 * string/test-string.h (TEST_IFUNC): Remove macro.
4862 [TEST_IFUNC]: Remove conditionals.
4863
3b20fd5c
JM
4864 * string/test-strchr.c [!WIDE] (L): New macro.
4865 [WIDE] (L): Likewise.
4866 (check1): Use CHAR instead of char. Use L on string and character
4867 constants.
4868
704f7947
AZ
48692014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4870
4871 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4872 tests.
4873 * sysdeps/powerpc/bits/atomic.h
4874 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4875 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4876 (atomic_exchange_and_add_acq): Likewise.
4877 (atomic_exchange_and_add_rel): Likewise.
4878 * sysdeps/powerpc/powerpc32/bits/atomic.h
4879 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4880 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4881 * sysdeps/powerpc/powerpc64/bits/atomic.h
4882 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4883 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4884
cdcb42d7
TR
48852014-11-26 Torvald Riegel <triegel@redhat.com>
4886
4887 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4888 Change synchronization of __sched_fifo_min_prio and
4889 __sched_fifo_max_prio.
4890 * nptl/pthread_mutexattr_getprioceiling.c
4891 (pthread_mutexattr_getprioceiling): Likewise.
4892 * nptl/pthread_mutexattr_setprioceiling.c
4893 (pthread_mutexattr_setprioceiling): Likewise.
4894 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4895 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4896 Likewise.
4897
c82f5c0c
JM
48982014-11-26 Joseph Myers <joseph@codesourcery.com>
4899
4900 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4901 void.
4902
439e1ad6
JM
49032014-11-25 Joseph Myers <joseph@codesourcery.com>
4904
4905 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4906 third argument const.
4907
b1eda10e
PE
49082014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4909
4910 fnmatch: work around GCC compiler warning bug with uninit var
4911 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4912 This works around a bug with x86-64 GCC 4.9.2 and earlier
4913 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4914 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4915 used uninitialized in this function [-Wmaybe-uninitialized]".
4916
bde2667a
JM
49172014-11-25 Joseph Myers <joseph@codesourcery.com>
4918
4919 * posix/bug-regex31.c (main): Return RES not 0.
4920
5fbb5691
AB
49212014-11-25 Anton Blanchard <anton@samba.org>
4922
4923 * sysdeps/powerpc/bits/atomic.h
4924 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4925
467fec0b
BM
49262014-11-24 Sterling Augustine <saugustine@google.com>
4927
4928 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4929
e9ff8efb
RC
49302014-11-24 Ryan Cumming <etaoins@gmail.com>
4931
4932 [BZ #17608]
4933 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4934
9744496f
JM
49352014-11-24 Joseph Myers <joseph@codesourcery.com>
4936
4937 [BZ #17633]
4938 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4939 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4940 variable.
4941 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4942 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4943
6423d475
WD
49442014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4945
4946 * string/strncpy.c (strncpy): Improve performance by using memset.
4947
49482014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4949
4950 * string/strcpy.c (strcpy):
4951 Improve performance by using strlen and memcpy.
4952
5d178c37
LH
49532014-11-24 Leonhard Holz <leonhard.holz@web.de>
4954
4955 * string/strcoll_l.c (get_next_seq): __always_inline.
4956 * string/strcoll_l.c (do_compare): __always_inline.
4957
279bc5b3
SP
49582014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4959
7a9ebfa1
SP
4960 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4961 defined.
4962 * include/mqueue.h: Likewise.
4963 * include/stdlib.h: Likewise.
4964
4f41c682
SP
4965 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4966 (get_null_defines): Adjust.
4967 * sunrpc/Makefile: Adjust comment.
4968 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4969 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4970 (CFLAGS-interp.c): Likewise.
4971 (CFLAGS-ldconfig.c): Likewise.
4972 (CPPFLAGS-.os): Likewise.
4973 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4974 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4975 * extra-modules.mk (extra-modules.mk): Likewise.
4976 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4977 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4978 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4979 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4980 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4981 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4982 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4983 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4984 * iconvdata/Makefile (CPPFLAGS): Likewise.
4985 (cpp-srcs-left): Add libof for all iconvdata routines.
4986 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4987 * include/assert.h: Likewise.
4988 * include/ctype.h: Likewise.
4989 * include/errno.h: Likewise.
4990 * include/libc-symbols.h: Likewise.
4991 * include/math.h: Likewise.
4992 * include/netdb.h: Likewise.
4993 * include/resolv.h: Likewise.
4994 * include/stdio.h: Likewise.
4995 * include/stdlib.h: Likewise.
4996 * include/string.h: Likewise.
4997 * include/sys/stat.h: Likewise.
4998 * include/wctype.h: Likewise.
4999 * intl/l10nflist.c: Likewise.
5000 * libidn/idn-stub.c: Likewise.
5001 * libio/libioP.h: Likewise.
5002 * nptl/libc_multiple_threads.c: Likewise.
5003 * nptl/pthreadP.h: Likewise.
5004 * posix/regex_internal.h: Likewise.
5005 * resolv/res_hconf.c: Likewise.
5006 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5007 * sysdeps/arm/memmove.S: Likewise.
5008 * sysdeps/arm/sysdep.h: Likewise.
5009 * sysdeps/generic/_itoa.h: Likewise.
5010 * sysdeps/generic/symbol-hacks.h: Likewise.
5011 * sysdeps/gnu/errlist.awk: Likewise.
5012 * sysdeps/gnu/errlist.c: Likewise.
5013 * sysdeps/i386/i586/memcpy.S: Likewise.
5014 * sysdeps/i386/i586/memset.S: Likewise.
5015 * sysdeps/i386/i686/memcpy.S: Likewise.
5016 * sysdeps/i386/i686/memmove.S: Likewise.
5017 * sysdeps/i386/i686/mempcpy.S: Likewise.
5018 * sysdeps/i386/i686/memset.S: Likewise.
5019 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5020 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5021 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5022 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5023 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5024 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5025 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5026 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5027 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5035 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5036 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5037 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5038 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5039 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5040 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5041 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5042 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5043 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5045 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5046 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5047 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5048 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5049 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5055 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5056 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5057 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5058 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5059 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5060 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5061 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5062 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5063 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5064 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5065 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5066 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5067 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5068 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5069 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5070 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5071 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5072 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5073 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5074 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5075 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5076 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5077 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5078 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5079 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5080 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5081 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5082 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5083 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5084 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5085 * sysdeps/posix/closedir.c: Likewise.
5086 * sysdeps/posix/opendir.c: Likewise.
5087 * sysdeps/posix/readdir.c: Likewise.
5088 * sysdeps/posix/rewinddir.c: Likewise.
5089 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5090 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5091 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5092 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5093 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5094 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5095 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5098 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5100 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5101 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5102 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5103 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5104 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5105 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5106 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5108 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5109 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5111 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5112 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5114 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5116 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5117 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5124 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5125 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5126 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5127 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5128 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5129 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5130 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5131 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5133 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5134 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5135 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5136 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5137 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5138 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5140 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5141 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5143 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5145 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5146 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5147 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5148 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5149 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5150 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5151 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5152 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5153 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5154 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5155 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5156 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5157 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5158 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5159 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5160 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5161 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5162 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5163 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5164 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5165 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5166 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5167 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5168 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5169 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5170 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5171 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5173 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5174 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5175 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5176 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5177 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5178 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5179 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5180 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5181 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5185 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5187 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5188 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5190 * sysdeps/unix/alpha/sysdep.S: Likewise.
5191 * sysdeps/unix/alpha/sysdep.h: Likewise.
5192 * sysdeps/unix/make-syscalls.sh: Likewise.
5193 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5195 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5196 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5197 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5198 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5199 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5200 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5201 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5202 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5203 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5204 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5206 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5207 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5208 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5209 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5210 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5211 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5212 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5213 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5214 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5215 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5216 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5217 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5218 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5219 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5222 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5223 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5226 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5227 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5229 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5231 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5232 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5233 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5234 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5235 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5236 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5237 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5243 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5244 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5245 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5246 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5247 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5248 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5249 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5251 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5252 * sysdeps/x86_64/memcpy.S: Likewise.
5253 * sysdeps/x86_64/memmove.c: Likewise.
5254 * sysdeps/x86_64/memset.S: Likewise.
5255 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5257 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5258 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5259 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5260 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5261 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5262 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5263 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5264 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5265 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5267 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5268 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5269 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5270 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5271 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5272 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5273 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5274 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5275 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5276 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5278 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5279 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5280 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5281 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5282 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5283 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5284 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5285 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5286 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5287 * sysdeps/x86_64/strcmp.S: Likewise.
5288
76ca86a5
SP
5289 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5290
a3848485
SP
5291 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5292 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5293 * elf/rtld-Rules: Likewise.
5294 * elf/setup-vdso.h: Likewise.
5295 * include/assert.h: Likewise.
5296 * include/bits/stdlib-float.h: Likewise.
5297 * include/errno.h: Likewise.
5298 * include/sys/stat.h: Likewise.
5299 * include/unistd.h: Likewise.
5300 * sysdeps/aarch64/setjmp.S: Likewise.
5301 * sysdeps/alpha/setjmp.S: Likewise.
5302 * sysdeps/arm/__longjmp.S: Likewise.
5303 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5304 * sysdeps/arm/setjmp.S: Likewise.
5305 * sysdeps/arm/sysdep.h: Likewise.
5306 * sysdeps/generic/_itoa.h: Likewise.
5307 * sysdeps/generic/dl-sysdep.h: Likewise.
5308 * sysdeps/generic/ldsodefs.h: Likewise.
5309 * sysdeps/i386/dl-tls.h: Likewise.
5310 * sysdeps/i386/setjmp.S: Likewise.
5311 * sysdeps/m68k/setjmp.c: Likewise.
5312 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5313 * sysdeps/mach/hurd/opendir.c: Likewise.
5314 * sysdeps/posix/getcwd.c: Likewise.
5315 * sysdeps/posix/opendir.c: Likewise.
5316 * sysdeps/posix/profil.c: Likewise.
5317 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5318 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5319 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5321 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5322 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5323 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5324 * sysdeps/s390/dl-tls.h: Likewise.
5325 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5326 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5327 * sysdeps/sh/sh3/setjmp.S: Likewise.
5328 * sysdeps/sh/sh4/setjmp.S: Likewise.
5329 * sysdeps/unix/alpha/sysdep.h: Likewise.
5330 * sysdeps/unix/arm/sysdep.S: Likewise.
5331 * sysdeps/unix/i386/sysdep.S: Likewise.
5332 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5333 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5334 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5335 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5336 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5337 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5338 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5339 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5340 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5341 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5342 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5343 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5344 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5347 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5348 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5350 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5351 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5352 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5353 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5355 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5356 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5357 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5359 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5360 * sysdeps/x86_64/setjmp.S: Likewise.
5361
a109996e
SP
5362 * include/math.h: Use IS_IN instead of IS_IN_libm.
5363 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5375 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5383 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5384 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5385 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5386 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5387 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5388 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5390 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5391 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5392 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5393 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5394 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5395 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5397 Likewise.
5398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5399 Likewise.
5400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5401 Likewise.
5402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5403 Likewise.
5404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5405 Likewise.
5406 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5407 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5408 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5409 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5410 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5411 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5417 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5418 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5419 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5420 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5421 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5422 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5423 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5424 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5425 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5426 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5427 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5430 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5432 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5433
ce9f10f7
SP
5434 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5435 * nptl/pthreadP.h: Likewise.
5436 * nptl_db/structs.def: Likewise.
5437 * sysdeps/arm/sysdep.h: Likewise.
5438 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5439 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5440 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5441 * sysdeps/unix/alpha/sysdep.h: Likewise.
5442 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5443 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5444 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5445 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5446 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5447 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5449 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5450 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5451 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5452 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5453 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5454 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5455 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5460 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5463 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5464 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5465 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5466 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5467 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5468
016afc75
SP
5469 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5470 * nptl/pthreadP.h: Likewise.
5471 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5472 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5473 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5474 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5475 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5476 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5477 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5478 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5479 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5480 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5481 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5482 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5484 Likewise.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5486 Likewise.
5487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5489 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5492 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5493 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5495
9b42a0b3
SP
5496 * dlfcn/dladdr.c: Use IS_IN.
5497 * dlfcn/dladdr1.c: Likewise.
5498 * dlfcn/dlclose.c: Likewise.
5499 * dlfcn/dlerror.c: Likewise.
5500 * dlfcn/dlinfo.c: Likewise.
5501 * dlfcn/dlmopen.c: Likewise.
5502 * dlfcn/dlopen.c: Likewise.
5503 * dlfcn/dlsym.c: Likewise.
5504 * dlfcn/dlvsym.c: Likewise.
5505
85f36372
SP
5506 * include/ifaddrs.h: Use IS_IN.
5507 * inet/check_pf.c: Likewise.
5508 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5509 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5510
fb6784e3
SP
5511 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5512 IS_IN_ldconfig.
5513 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5514 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5515
2886d2d1
SP
5516 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5517 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5518 IS_IN (libc).
5519
9a484857
SP
5520 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5521
a10178bd
SP
5522 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5523 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5524 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5525 * include/libc-symbols.h (IS_IN_LIB): New macro.
5526 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5527 * include/netdb.h: Likewise.
5528 * include/stap-probe.h: Remove all uses of IN_LIB.
5529
279bc5b3
SP
5530 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5531 instead of IN_MODULE.
5532 * include/libc-symbols.h (IN_MODULE): Define using
5533 MODULE_NAME.
5534 (PASTE_NAME, PASTE_NAME1): New macros.
5535 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5536 of IN_LIB.
5537 (STAP_PROBE_ASM): Likewise.
5538
e0cfa510
ST
55392014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5540
5541 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5542 __mach_init in dlopened libc.
5543
34d97d87
MF
55442014-11-22 Mike Frysinger <vapier@gentoo.org>
5545
5546 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5547 * sysdeps/arm/preconfigure: Regenerate.
5548
33cd1f74
RM
55492014-11-21 Roland McGrath <roland@hack.frob.com>
5550
5551 * nptl/pthread_create.c (__pthread_create_2_1): Set
5552 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5553 when copying values from IATTR into PD.
5554
8c230039
WN
55552014-11-21 Will Newton <will.newton@linaro.org>
5556 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5557
6d3db89b
AP
5558 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5559 Refactor inline-asm. Also add comment.
5560
01194ba1
WN
5561 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5562 ElfW macro instead of hardcoded Elf64 types.
5563 (la_aarch64_gnu_pltenter): Likewise.
5564 * sysdeps/aarch64/dl-machine.h
5565 (elf_machine_runtime_setup): Use ElfW(Addr).
5566
8c230039
WN
5567 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5568 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5569 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5570 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5571 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5572 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5573 (R_AARCH64_TLS_DTPMOD): This.
5574 (R_AARCH64_TLS_DTPREL64): Rename to ...
5575 (R_AARCH64_TLS_DTPREL): This.
5576 (R_AARCH64_TLS_TPREL64): Rename to ...
5577 (R_AARCH64_TLS_TPREL): This.
5578 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5579 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5580 R_AARCH64_TLS_TPREL64.
5581 (elf_machine_rela): Likewise.
5582
0d79fa53
TR
55832014-11-21 Torvald Riegel <triegel@redhat.com>
5584
5585 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5586 by setting it to 0. 64b atomics are not supported currently.
5587
b59d114b
AO
55882014-11-21 Alexandre Oliva <aoliva@redhat.com>
5589
5590 [BZ #16469]
5591 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5592 search domain names.
5593
f3d945d5
AO
55942014-11-21 Alexandre Oliva <aoliva@redhat.com>
5595
5596 [BZ #16469]
5597 * NEWS: Update.
5598 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5599 trailing dot.
5600 * posix/tst-getaddrinfo5.c: New.
5601 * posix/Makefile (tests): Add it.
5602
49698902
AO
56032014-11-21 Alexandre Oliva <aoliva@redhat.com>
5604
5605 [BZ #14498]
5606 * NEWS: Fixed.
5607 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5608 after parsing line but before break_if_match.
5609 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5610 if there is a protocol mismatch.
5611
81959214
MS
56122014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5613
5614 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5615 because the potential race is on the user-supplied stream.
5616
7729e0e9
AO
56172014-11-21 Alexandre Oliva <aoliva@redhat.com>
5618
5619 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5620 string literal if not passed a buffer.
5621 * manual/job.texi (ctermid): Update reasoning, note deviation
5622 from posix, suggest mtasurace when not passed a buffer, for
5623 future non-preliminary safety notes.
5624
a4ea5e28
AO
56252014-11-21 Alexandre Oliva <aoliva@redhat.com>
5626
5627 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5628 of not passing it a buffer.
5629 Reported by Peng Haitao.
5630
a2b581cb
AO
56312014-11-21 Alexandre Oliva <aoliva@redhat.com>
5632
5633 * manual/Makefile ($(objpfx)stamp-summary): Require
5634 check-safety.sh to pass.
5635 * manual/check-safety.sh: Wish for verification that every
5636 @deftypefn and @deftypefun is followed by a @safety remark.
5637
f214ff74
RM
56382014-11-20 Roland McGrath <roland@hack.frob.com>
5639
7f0dfae0
RM
5640 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5641
2f531bbb
RM
5642 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5643 PTHREAD_CANCEL_ASYNCHRONOUS.
5644 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5645 send SIGCANCEL.
5646
f214ff74
RM
5647 * nptl/default-sched.h: New file.
5648 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5649 * nptl/pthread_create.c: Include it.
5650 (__pthread_create_2_1): Use collect_default_sched instead of making
5651 Linux syscalls here directly.
5652
e37c91d4
TR
56532014-11-20 Torvald Riegel <triegel@redhat.com>
5654
5655 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5656 __pthread_once): Use C11 atomics.
5657
1eccfecd
TR
56582014-11-20 Torvald Riegel <triegel@redhat.com>
5659
5660 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5661
ff871426
TR
56622014-11-20 Torvald Riegel <triegel@redhat.com>
5663
5664 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5665 atomic_thread_fence_acquire, atomic_thread_fence_release,
5666 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5667 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5668 atomic_compare_exchange_weak_relaxed,
5669 atomic_compare_exchange_weak_acquire,
5670 atomic_compare_exchange_weak_release,
5671 atomic_exchange_acquire, atomic_exchange_release,
5672 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5673 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5674 atomic_fetch_and_acquire,
5675 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5676
1ea339b6
TR
56772014-11-20 Torvald Riegel <triegel@redhat.com>
5678
5679 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5680 USE_ATOMIC_COMPILER_BUILTINS): Define.
5681 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5683 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5684 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5685 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5687 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5689 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5691 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5693 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5694 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5695 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5696 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5697 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5699 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5700 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5701 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5702 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5703 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5704 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5706 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5707 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5708 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5709 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5710 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5711 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5712 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5713 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5714 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5715 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5716 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5717 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5718 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5719 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5720 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5721
cbd463e2
RM
57222014-11-19 Roland McGrath <roland@hack.frob.com>
5723
d960211f
RM
5724 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5725 the sched_priority value here. It was already checked when the user
5726 called pthread_attr_setschedparam.
5727
cbd463e2
RM
5728 * nptl/tst-bad-schedattr.c: New file.
5729 * nptl/Makefile (tests): Add it.
5730
a39208bd
CD
57312014-11-19 Carlos O'Donell <carlos@redhat.com>
5732 Florian Weimer <fweimer@redhat.com>
5733 Joseph Myers <joseph@codesourcery.com>
5734 Adam Conrad <adconrad@0c3.net>
5735 Andreas Schwab <schwab@suse.de>
5736 Brooks <bmoses@google.com>
5737
5738 [BZ #17625]
5739 * wordexp-test.c (__dso_handle): Add prototype.
5740 (__register_atfork): Likewise.
5741 (__app_register_atfork): New function.
5742 (registered_forks): New global.
5743 (register_fork): New function.
5744 (test_case): Add 3 new tests for WRDE_CMDSUB.
5745 (main): Call __app_register_atfork.
5746 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5747 fork count is non-zero fail the test.
5748 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5749 is set.
5750 (parse_dollars): Remove check for WRDE_NOCMD.
5751 (parse_dquote): Likewise.
5752
9cd47470
SP
57532014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5754
130ac68c
SP
5755 * Makeconfig (built-modules): List non-library modules to be
5756 built.
5757 (module-cppflags): Include libc-modules.h for
5758 everything except shlib-versions.v.i.
5759 (CPPFLAGS): Use it.
5760 (before-compile): Add libc-modules.h.
5761 ($(common-objpfx)libc-modules.h,
5762 $(common-objpfx)libc-modules.stmp): New targets.
5763 (common-generated): Add libc-modules.h and libc-modules.stmp.
5764 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5765 * include/libc-symbols.h: Don't include libc-modules.h.
5766 * include/libc-modules.h: Remove file.
5767 * scripts/gen-libc-modules.awk: New script to generate
5768 libc-modules.h.
5769 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5770 Depend on libc-modules.stmp.
5771
286663c3
SP
5772 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5773
9cd47470
SP
5774 * Makeconfig (in-module): Get value of libof set for the
5775 translation unit.
5776 (CPPFLAGS): Use $(in-module).
5777 * Makerules: Don't suffix routine names for nonlib.
5778 * include/libc-modules.h: New file.
5779 * include/libc-symbols.h: Include libc-modules.h
5780 (IS_IN): New macro to replace IS_IN_* macros.
5781 * elf/Makefile: Set libof-* for each routine.
5782 * elf/rtld-Rules: Likewise.
5783 * extra-modules.mk: Likewise.
5784 * iconv/Makefile: Likewise.
5785 * iconvdata/Makefile: Likewise.
5786 * locale/Makefile: Likewise.
5787 * malloc/Makefile: Likewise.
5788 * nss/Makefile: Likewise.
5789 * sysdeps/gnu/Makefile: Likewise.
5790 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5791 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5792 * sysdeps/s390/s390-64/Makefile: Likewise.
5793 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5794 CPPFLAGS for nscd instead of nonlib.
5795
32fed10f
RM
57962014-11-18 Roland McGrath <roland@hack.frob.com>
5797
d71035bd
RM
5798 * nptl/createthread.c: New file.
5799
6540b991
RM
5800 * nptl/createthread.c: Moved ...
5801 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5802
32fed10f
RM
5803 * nptl/createthread.c: Add proper top-line comment.
5804 (do_clone): Folded into ...
5805 (create_thread): ... here. Take new arguments STOPPED_START and
5806 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5807 increment __nptl_threads, do event-reporting logic, do
5808 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5809 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5810 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5811 just send SIGCANCEL.
5812 * nptl/pthread_create.c: Forward-declare create_thread before
5813 including createthread.c.
5814 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5815 declaration, and new macro START_THREAD_SELF to replace argument.
5816 Remove return statement.
5817 (report_thread_creation): New function.
5818 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5819 synchronization logic, and __nptl_nthreads increment here, around
5820 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5821 PD->parent_cancelhandling here, before create_thread. When
5822 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5823 __deallocate_stack, and ENOMEM translation here.
5824
107a5bf0
JM
58252014-11-18 Joseph Myers <joseph@codesourcery.com>
5826
5827 [BZ #17616]
5828 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5829 (mptwo): Rename to __mptwo.
5830 (__inv): Use __mptwo instead of mptwo.
5831 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5832 (mptwo): Rename to __mptwo.
5833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5834 of mpone and __mptwo instead of mptwo.
5835 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5836 instead of mpone.
5837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5838 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5839 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5840 of mpone and __mptwo instead of mptwo.
5841 (__mpranred): Use __mpone instead of mpone.
5842 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5843 variable.
5844 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5845 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5846 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5847 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5848 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5849 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5850 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5851 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5852 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5853 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5854 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5855 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5856 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5857 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5858 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5859 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5860 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5861 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5862 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5863
3b679ab3
TV
58642014-11-18 Tom de Vries <tom@codesoucery.com>
5865
5866 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5867 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5868
58692014-11-17 Richard Henderson <rth@redhat.com>
5870
5871 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5872 (_FP_PACK_RAW_2): Remove.
5873 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5874 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5875 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5876 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5877 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5878 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5879 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5880 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5881 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5882 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5883 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5884 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5885 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5886 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5887 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5888 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5889
0781a777
RM
58902014-11-14 Roland McGrath <roland@hack.frob.com>
5891
5892 * signal/signal.h [__USE_MISC]
5893 (struct sigvec): Remove type.
5894 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5895 (sigvec): Remove declaration.
5896 * sysdeps/posix/sigvec.c: Moved ...
5897 * signal/sigvec.c: ... here, replacing old file.
5898 (struct sigvec): New type, copied from old signal.h definition.
5899 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5900 (__sigvec): Convert definition to prototype.
5901 (sigvec): Replace weak_alias with compat_symbol.
5902 * signal/Versions (libc: GLIBC_2.21): New version set.
5903 * include/signal.h: Remove __sigvec declaration.
5904 * sysdeps/unix/bsd/sigvec.c: Remove file.
5905 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5906 * manual/signal.texi (BSD Handler): Remove subsection.
5907 Move siginterrupt up to ...
5908 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5909 (Blocking in BSD): Fold subsection into its parent.
5910 * NEWS: Mention sigvec removal.
5911
a4733812
JM
59122014-11-14 Joseph Myers <joseph@codesourcery.com>
5913
5ae4fe60
JM
5914 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5915 (DLA_FMS): Make definition conditional only on [__FMA4__].
5916 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5917 definition.
5918
6a0dd472
JM
5919 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5920 Make definition conditional only on [PROF].
5921 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5922 definition.
5923 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5924 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5925
a4733812
JM
5926 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5927 !__GNUC__].
5928 * include/signal.h (__sigpause): Move declaration above call to
5929 libc_hidden_proto.
5930 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5931 variable.
5932 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5933 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5934
cf7246dd
DM
59352014-11-14 David S. Miller <davem@davemloft.net>
5936
5937 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5938 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5939
c1b0aadc
JM
59402014-11-14 Joseph Myers <joseph@codesourcery.com>
5941
4863355a
JM
5942 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5943 * configure: Regenerated.
5944 * manual/install.texi (Tools for Compilation): Document a
5945 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5946 compiler verified to work.
5947 * INSTALL: Regenerated.
5948
c1b0aadc
JM
5949 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5950 redeclare with asm name.
5951 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5952 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5953 including <string.h>.
5954 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5955 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5956 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5957 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5958 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5959 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5960 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5961
2a1cfd94
JM
59622014-11-13 Joseph Myers <joseph@codesourcery.com>
5963
bf438382
JM
5964 * stdlib/strtol.c (__strtol): Use prototype definition.
5965
2a1cfd94
JM
5966 [BZ #17594]
5967 * stdlib/strtol.c (SYM__): New macro.
5968 (SYM__1): Likewise.
5969 (__strtol): Likewise.
5970 (strtol): Rename to __strtol and define as weak alias of
5971 __strtol. Use libc_hidden_weak.
5972
20ed0d26
SL
59732014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5974
5975 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5976 Use numbered labels in inline assembly.
5977
53244a4e
SL
59782014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5979
5980 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5981 Add setjmp LIBC_PROBE.
5982 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5983 Likewise.
5984 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5985 Add longjmp, longjmp_target LIBC_PROBE.
5986 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5987 Likewise.
5988
47df8251
SL
59892014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5990
5991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5992 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5993 to get rid of unused variable warning.
5994
618cebef
SL
59952014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5996
5997 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5998 Check for unwind_backtrace == NULL only in SHARED case.
5999 (__backchain_backtrace): Compile only in SHARED case.
6000 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6001 Likewise.
6002 (__backchain_backtrace): Declare as static.
6003
c6aab2cb
RM
60042014-11-12 Roland McGrath <roland@hack.frob.com>
6005
6006 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6007 (__libc_multiple_threads_ptr): Variable moved ...
6008 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6009
5a6fa4d7
JM
60102014-11-12 Joseph Myers <joseph@codesourcery.com>
6011
24f4f825
JM
6012 * conform/GlibcConform.pm: New file.
6013 * conform/conformtest.pl: Use GlibcConform module.
6014 * conform/linknamespace.pl: New file.
6015 * conform/list-header-symbols.pl: Likewise.
6016 * conform/Makefile (linknamespace-symlists-base): New variable.
6017 (linknamespace-symlists-tests): Likewise.
6018 (linknamespace-header-base): Likewise.
6019 (linknamespace-header-tests): Likewise.
6020 (tests-special): Add new tests.
6021 ($(linknamespace-symlists-tests)): New rule.
6022 (linknamespace-libs): New variable.
6023 ($(objpfx)symlist-stdlibs): New rule.
6024 ($(linknamespace-header-tests)): Likewise.
6025 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6026 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6027 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6028 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6029 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6030 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6031 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6032 (test-xfail-ISO/math.h/linknamespace): Likewise.
6033 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6034 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6035 (test-xfail-ISO/time.h/linknamespace): Likewise.
6036 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6037 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6038 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6039 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6040 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6041 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6042 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6043 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6044 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6045 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6046 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6047 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6048 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6049 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6050 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6051 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6052 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6053 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6054 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6055 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6056 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6057 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6058 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6059 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6060 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6061 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6062 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6063 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6064 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6065 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6066 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6067 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6068 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6069 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6070 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6071 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6072 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6073 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6074 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6075 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6076 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6077 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6078 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6079 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6080 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6081 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6082 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6083 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6084 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6085 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6086 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6087 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6088 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6089 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6090 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6091 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6092 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6093 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6094 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6095 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6096 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6097 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6098 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6099 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6100 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6101 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6102 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6103 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6104 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6105 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6106 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6107 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6108 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6109 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6110 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6111 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6112 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6113 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6114 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6115 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6116 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6117 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6118 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6119 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6120 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6121 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6122 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6123 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6124 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6125 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6126 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6127 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6128 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6129 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6130 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6131 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6132 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6133 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6134 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6135 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6136 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6137 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6138 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6139 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6140 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6141 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6142 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6143 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6144 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6145 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6146 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6147 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6148 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6149 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6150 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6151 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6152 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6153 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6154 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6155 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6156 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6157 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6158 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6159 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6160 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6161 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6162 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6163 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6164 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6165 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6166 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6167 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6168 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6169 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6170 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6171 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6172 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6173 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6174 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6175 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6176 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6177 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6178 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6179 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6180 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6181 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6182 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6183 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6184 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6185 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6186
cc67478e
JM
6187 [BZ #17589]
6188 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6189 of fgets_unlocked.
6190
9975e3d3
JM
6191 [BZ #17585]
6192 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6193 (memmem): Rename to __memmem and define as weak alias of
6194 __memmem. Use libc_hidden_weak.
6195 (__memmem): Use libc_hidden_def.
6196 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6197 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6198 memmem.
6199
c4eae752
JM
6200 [BZ #17582]
6201 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6202 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6203 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6204 and define as weak alias of __fgets_unlocked. Use
6205 libc_hidden_weak.
6206 (__fgets_unlocked): Use libc_hidden_def.
6207 * include/stdio.h (__fgets_unlocked): Declare. Use
6208 libc_hidden_proto.
6209 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6210 __fgets_unlocked instead of fgets_unlocked.
6211 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6212 (GET_NPROCS_CONF_PARSER): Likewise.
6213 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6214 (GET_NPROCS_CONF_PARSER): Likewise.
6215
01cad84e
JM
6216 [BZ #17574]
6217 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6218 weak alias of __wmemset. Use libc_hidden_weak.
6219 (__wmemset): Use libc_hidden_def.
6220 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6221 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6222 of wmemset.
6223
939da411
JM
6224 [BZ #17573]
6225 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6226 with asm name __mempcpy.
6227 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6228
293d9a41
JM
6229 [BZ #17572]
6230 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6231 and define as weak alias of __rawmemchr.
6232 (__rawmemchr): Do not define as strong alias of rawmemchr.
6233
bef8fd60
JM
6234 [BZ #17571]
6235 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6236 alias of __qsort_r.
6237 (qsort): Call __qsort_r instead of qsort_r.
6238 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6239 (__qsort_r): Declare. Call libc_hidden_proto.
6240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6241 instead of qsort_r.
6242 * nscd/gai.c (__qsort_r): Define to qsort_r.
6243 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6244 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6245 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6246
c52ff39e
JM
6247 [BZ #17570]
6248 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6249 define as weak alias of __malloc_info.
6250
2f5c1b00
JM
6251 [BZ #17584]
6252 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6253 as weak alias of __rewinddir. Don't use libc_hidden_def.
6254 (__rewinddir): Use libc_hidden_def.
6255 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6256 as weak alias of __rewinddir. Don't use libc_hidden_def.
6257 (__rewinddir): Use libc_hidden_def.
6258 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6259 weak alias of __rewinddir. Don't use libc_hidden_def.
6260 (__rewinddir): Use libc_hidden_def.
6261 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6262 (__rewinddir): Use libc_hidden_proto.
6263 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6264 rewinddir.
6265 (__getcwd): Use __rewinddir instead of rewinddir.
6266
5a6fa4d7
JM
6267 [BZ #17583]
6268 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6269 alias of __fileno. Use libc_hidden_weak.
6270 (__fileno): Use libc_hidden_def.
6271 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6272 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6273 alias of __ftello.
6274 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6275 __ftello.
6276 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6277 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6278 libc_hidden_def.
6279 (fread_unlocked): Don't use libc_hidden_ver.
6280 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6281 and define as weak alias of __fread_unlocked. Don't use
6282 libc_hidden_def.
6283 (__fread_unlocked): Use libc_hidden_def.
6284 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6285 (ftello): Don't use libc_hidden_proto.
6286 (__ftello): Declare. Use libc_hidden_proto.
6287 (fread_unlocked): Don't use libc_hidden_proto.
6288 (__fread_unlocked): Declare. Use libc_hidden_proto.
6289 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6290 and __ftello instead of fileno, fread_unlocked and ftello.
6291
2581b98e
SP
62922012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6293
6294 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6295 GOT12.
6296 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6297 Likewise.
6298 (_dl_start_user): Likewise.
6299 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6300
533bb7c2
SP
63012014-11-12 Carlos O'Donell <carlos@redhat.com>
6302 Siddhesh Poyarekar <siddhesh@redhat.com>
6303
6304 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6305 Move argv and envp down instead of moving argc up.
6306 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6307
fffa1cf8
LH
63082014-11-12 Leonhard Holz <leonhard.holz@web.de>
6309
6310 [BZ #17506]
6311 * test-skeleton.c (main): Return successful if one of
6312 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6313 * string/tst-strcoll-overflow.c: Define expected status.
6314
fb89b46d
TU
63152014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6316
6317 [BZ #17475]
6318 * locale/iso-639.def: Define Bhili and Tulu language codes.
6319
5c40c3ba
AH
63202014-11-11 Alan Hayward <alan.hayward@arm.com>
6321
6322 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6323
b17fe01b 63242014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6325
6326 [BZ #17555]
6327 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6328
bd805071
AS
63292014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6330
6331 * configure.ac: Updated check of minimal required version to
6332 2.22.
6333 * manual/install.texi (Tools for Compilation): Updated version
6334 number.
6335 * configure: Regenerated.
6336 * INSTALL: Likewise.
6337
1400983e
AS
63382014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6339
6340 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6341 __tls_get_addr.
6342
2c46a66a
JM
63432014-11-07 Joseph Myers <joseph@codesourcery.com>
6344
6345 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6346 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6347 (__waitpid): Don't define as alias. Use libc_hidden_def not
6348 libc_hidden_weak.
6349 (waitpid): Define as alias of __waitpid.
6350 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6351 __waitpid.
6352 (__waitpid): Don't define as alias. Use libc_hidden_def not
6353 libc_hidden_weak.
6354 (waitpid): Define as alias of __waitpid.
6355 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6356 __libc_waitpid alias.
6357 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6358 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6359 Likewise.
6360 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6361 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6362 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6363 alias.
6364 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6365 __waitpid.
6366 (__waitpid): Don't define as alias. Use libc_hidden_def not
6367 libc_hidden_weak.
6368 (waitpid): Define as alias of __waitpid.
6369
da53d6db
CD
63702014-11-06 Carlos O'Donell <carlos@redhat.com>
6371
a2887bdb
CD
6372 * manual/llio.texi: Add comment that write safety has been
6373 fixed in Linux.
6374
da53d6db
CD
6375 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6376 (localplt-build-dso): Add elf/ld.so.
6377 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6378 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6379 and free for ld.so.
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6381 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6383 Likewise.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6385 Likewise.
6386 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6387 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6388 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6389 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6390 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6391 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6392 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6393 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6394 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6395 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6396 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6397
9cf27b8d
JM
63982014-11-05 Joseph Myers <joseph@codesourcery.com>
6399
6400 [BZ #14132]
6401 * include/libc-symbols.h (INTUSE): Remove macro.
6402 (INTDEF): Likewise.
6403 (INTVARDEF): Likewise.
6404 (_INTVARDEF): Likewise.
6405 (INTDEF2): Likewise.
6406 (INTVARDEF2): Likewise.
6407 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6408 rtld_hidden_def instead of INTVARDEF.
6409 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6410 (_dl_starting_up_internal): Remove declaration.
6411 (_dl_starting_up): Use rtld_hidden_proto.
6412 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6413 declaration.
6414 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6415 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6416 _dl_starting_up.
6417 * elf/dl-writev.h (_dl_writev): Likewise.
6418 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6419 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6420 _dl_starting_up_internal.
6421
af83568d
AZ
64222014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6423
6424 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6425 test-skeleton.c.
6426
b01ee67c
WN
64272014-11-05 Will Newton <will.newton@linaro.org>
6428
6429 * benchtests/Makefile: (bench-malloc): Add malloc thread
6430 scalability benchmark.
6431 * benchtests/bench-malloc-threads.c: New file.
6432
be9d4ccc
RE
64332014-11-05 Richard Earnshaw <rearnsha@arm.com>
6434
6435 * sysdeps/aarch64/strchrnul.S: New file.
6436
7110166d
AZ
64372014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6438
6439 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6440 definition.
6441 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6442 Likwise.
6443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6444 Likewise.
6445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6446 Likewise.
6447 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6448 Likewise.
6449 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6450 Likewise.
6451
64522014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6453
6454 * catgets/test-gencat.c: Use test-skeleton.c.
6455 * catgets/tst-catgets.c: Likewise.
6456 * csu/tst-empty.c: Likewise.
6457 * elf/tst-audit2.c: Likewise.
6458 * elf/tst-global1.c: Likewise.
6459 * elf/tst-pathopt.c: Likewise.
6460 * elf/tst-piemod1.c: Likewise.
6461 * elf/tst-tls10.c: Likewise.
6462 * elf/tst-tls11.c: Likewise.
6463 * elf/tst-tls12.c: Likewise.
6464 * gnulib/tst-gcc.c: Likewise.
6465 * iconvdata/tst-e2big.c: Likewise.
6466 * iconvdata/tst-loading.c: Likewise.
6467 * iconv/tst-iconv1.c: Likewise.
6468 * iconv/tst-iconv2.c: Likewise.
6469 * inet/test-inet6_opt.c: Likewise.
6470 * inet/tst-gethnm.c: Likewise.
6471 * inet/tst-network.c: Likewise.
6472 * inet/tst-ntoa.c: Likewise.
6473 * intl/tst-codeset.c: Likewise.
6474 * intl/tst-gettext2.c: Likewise.
6475 * intl/tst-gettext3.c: Likewise.
6476 * intl/tst-ngettext.c: Likewise.
6477 * intl/tst-translit.c: Likewise.
6478 * io/test-stat.c: Likewise.
6479 * libio/test-fmemopen.c: Likewise.
6480 * libio/tst-freopen.c: Likewise.
6481 * libio/tst-sscanf.c: Likewise.
6482 * libio/tst-ungetwc1.c: Likewise.
6483 * libio/tst-ungetwc2.c: Likewise.
6484 * libio/tst-widetext.c: Likewise.
6485 * localedata/tst-ctype.c: Likewise.
6486 * localedata/tst-digits.c: Likewise.
6487 * localedata/tst-leaks.c: Likewise.
6488 * localedata/tst-mbswcs1.c: Likewise.
6489 * localedata/tst-mbswcs2.c: Likewise.
6490 * localedata/tst-mbswcs3.c: Likewise.
6491 * localedata/tst-mbswcs4.c: Likewise.
6492 * localedata/tst-mbswcs5.c: Likewise.
6493 * localedata/tst-setlocale.c: Likewise.
6494 * localedata/tst-trans.c: Likewise.
6495 * localedata/tst-wctype.c: Likewise.
6496 * localedata/tst-xlocale1.c: Likewise.
6497 * login/tst-grantpt.c: Likewise.
6498 * malloc/tst-calloc.c: Likewise.
6499 * malloc/tst-malloc.c: Likewise.
6500 * malloc/tst-mallocstate.c: Likewise.
6501 * malloc/tst-mcheck.c: Likewise.
6502 * malloc/tst-mtrace.c: Likewise.
6503 * malloc/tst-obstack.c: Likewise.
6504 * math/atest-exp2.c: Likewise.
6505 * math/atest-exp.c: Likewise.
6506 * math/atest-sincos.c: Likewise.
6507 * math/test-matherr.c: Likewise.
6508 * math/test-misc.c: Likewise.
6509 * math/test-powl.c: Likewise.
6510 * math/tst-definitions.c: Likewise.
6511 * misc/tst-dirname.c: Likewise.
6512 * misc/tst-efgcvt.c: Likewise.
6513 * misc/tst-fdset.c: Likewise.
6514 * misc/tst-hsearch.c: Likewise.
6515 * misc/tst-mntent2.c: Likewise.
6516 * nptl/tst-sem7.c: Likewise.
6517 * nptl/tst-sem8.c: Likewise.
6518 * nptl/tst-sem9.c: Likewise.
6519 * nss/test-netdb.c: Likewise.
6520 * posix/tst-fnmatch.c: Likewise.
6521 * posix/tst-getlogin.c: Likewise.
6522 * posix/tst-gnuglob.c: Likewise.
6523 * posix/tst-mmap.c: Likewise.
6524 * pwd/tst-getpw.c: Likewise.
6525 * resolv/tst-inet_ntop.c: Likewise.
6526 * rt/tst-timer.c: Likewise.
6527 * stdio-common/test-fseek.c: Likewise.
6528 * stdio-common/test-popen.c: Likewise.
6529 * stdio-common/test-vfprintf.c: Likewise.
6530 * stdio-common/tst-cookie.c: Likewise.
6531 * stdio-common/tst-fileno.c: Likewise.
6532 * stdio-common/tst-gets.c: Likewise.
6533 * stdio-common/tst-obprintf.c: Likewise.
6534 * stdio-common/tst-perror.c: Likewise.
6535 * stdio-common/tst-sprintf2.c: Likewise.
6536 * stdio-common/tst-sprintf3.c: Likewise.
6537 * stdio-common/tst-sprintf.c: Likewise.
6538 * stdio-common/tst-swprintf.c: Likewise.
6539 * stdio-common/tst-tmpnam.c: Likewise.
6540 * stdio-common/tst-unbputc.c: Likewise.
6541 * stdio-common/tst-wc-printf.c: Likewise.
6542 * stdlib/tst-environ.c: Likewise.
6543 * stdlib/tst-fmtmsg.c: Likewise.
6544 * stdlib/tst-limits.c: Likewise.
6545 * stdlib/tst-rand48-2.c: Likewise.
6546 * stdlib/tst-rand48.c: Likewise.
6547 * stdlib/tst-random2.c: Likewise.
6548 * stdlib/tst-random.c: Likewise.
6549 * stdlib/tst-strtol.c: Likewise.
6550 * stdlib/tst-strtoll.c: Likewise.
6551 * stdlib/tst-tls-atexit.c: Likewise.
6552 * stdlib/tst-xpg-basename.c: Likewise.
6553 * string/test-ffs.c: Likewise.
6554 * string/tst-bswap.c: Likewise.
6555 * string/tst-inlcall.c: Likewise.
6556 * string/tst-strtok.c: Likewise.
6557 * string/tst-strxfrm.c: Likewise.
6558 * sysdeps/x86_64/tst-audit10.c: Likewise.
6559 * sysdeps/x86_64/tst-audit3.c: Likewise.
6560 * sysdeps/x86_64/tst-audit4.c: Likewise.
6561 * sysdeps/x86_64/tst-audit5.c: Likewise.
6562 * time/tst-ftime_l.c: Likewise.
6563 * time/tst-getdate.c: Likewise.
6564 * time/tst-mktime3.c: Likewise.
6565 * time/tst-mktime.c: Likewise.
6566 * time/tst-posixtz.c: Likewise.
6567 * time/tst-strptime2.c: Likewise.
6568 * time/tst-strptime3.c: Likewise.
6569 * wcsmbs/tst-btowc.c: Likewise.
6570 * wcsmbs/tst-mbrtowc.c: Likewise.
6571 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6572 * wcsmbs/tst-wchar-h.c: Likewise.
6573 * wcsmbs/tst-wcpncpy.c: Likewise.
6574 * wcsmbs/tst-wcrtomb.c: Likewise.
6575 * wcsmbs/tst-wcsnlen.c: Likewise.
6576 * wcsmbs/tst-wcstof.c: Likewise.
6577
2004e7fb
JM
65782014-11-04 Joseph Myers <joseph@codesourcery.com>
6579
ab97ee8f
JM
6580 [BZ #14132]
6581 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6582 INTDEF.
6583 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6584 declaration.
6585 (_dl_mcount): Use rtld_hidden_proto.
6586 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6587 _dl_mcount.
6588 * elf/rtld.c (_rtld_global_ro): Likewise.
6589
c5684fdb
JM
6590 [BZ #14132]
6591 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6592 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6593 of _dl_init_internal.
6594 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6595 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6596 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6597 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6598 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6599 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6600 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6601 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6602 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6603 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6604 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6605 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6606 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6607 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6608 * sysdeps/tile/dl-start.S (_start): Likewise.
6609 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6610 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6611
4243cbea
JM
6612 [BZ #14132]
6613 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6614 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6615 (rtld_progname): Make macro definition unconditional.
6616 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6617 INTDEF.
6618 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6619 (dl_main): Likewise.
6620 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6621 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6622 instead of _dl_argv_internal.
6623 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6624 __GI__dl_argv instead of INTUSE(_dl_argv).
6625 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6626 __GI__dl_argv instead of _dl_argv_internal.
6627
2004e7fb
JM
6628 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6629 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6630 macro.
6631 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6632 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6633 New macro.
6634 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6635 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6636 macro.
6637 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6638 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6639
97827bfc
AS
66402014-11-04 Andreas Schwab <schwab@suse.de>
6641
6642 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6643
5e4df284
AZ
66442014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6645
6646 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6647 mtvsrd instruction in binary form.
6648
04b76b5a
AS
66492014-11-03 Andreas Schwab <schwab@suse.de>
6650
6651 [BZ #17522]
6652 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6653 for less than MB_LEN_MAX use a local buffer of that size.
6654 * libio/tst-fputws.c: New file.
6655 * libio/Makefile (tests): Add tst-fputws.
6656
4c6da7da
JM
66572014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6658
6659 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6660 the size of the fpu_fr.fpu_dregs[] array.
6661
1679ba8e
JM
66622014-11-01 Joseph Myers <joseph@codesourcery.com>
6663
6664 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6665 (__nanosleep): Do not define as alias.
6666 (nanosleep): Define as alias of __nanosleep.
6667 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6668 __libc_nanosleep name.
6669
2626c183
JM
66702014-10-31 Joseph Myers <joseph@codesourcery.com>
6671
6672 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6673 install.texi in comment.
6674
7f981fc2
TR
66752014-10-31 Torvald Riegel <triegel@redhat.com>
6676
6677 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6678 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6679 ... add here and use lwsync or sync ...
6680 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6681 ... and add here using lwsync.
6682
d6f373d2
MF
66832014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6684
6685 * elf/dl-machine-reject-phdr.h: New file.
6686 * elf/dl-load.c: #include that.
6687 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6688 if that returned true.
6689
67c37987
RM
66902014-10-31 Roland McGrath <roland@hack.frob.com>
6691
6692 [BZ #17496]
6693 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6694 gen-as-const-headers chunk. Add a big scare comment after the last
6695 safe place to touch before-compile.
6696
94a42455 66972014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6698
f3f5d895
JM
6699 * manual/install.texi (Tools for Compilation): Update autoconf
6700 version requirements.
6701 * INSTALL: Regenerated.
6702
f62ff286
JM
6703 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6704 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6705 (__libc_pselect): Likewise.
94a42455
JM
6706
6707 [BZ #14138]
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6712
ff9dbdc0
TR
67132014-10-31 Torvald Riegel <triegel@redhat.com>
6714
6715 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6716 correct barrier instruction.
6717 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6718 Likewise.
6719 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6720 Likewise.
6721
b4f66884
RM
67222014-10-30 Roland McGrath <roland@hack.frob.com>
6723
6724 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6725 after defining inlines. Instead, just use parens to defeat macro
6726 expansion of __isctype in its declaration.
6727
e19c95fd
JM
67282014-10-30 Joseph Myers <joseph@codesourcery.com>
6729
6730 * include/sys/uio.h (__libc_readv): Remove declaration.
6731 (__libc_writev): Likewise.
6732 * misc/readv.c (__libc_readv): Rename to __readv.
6733 (__readv): Do not define as alias.
6734 (readv): Define as alias of __readv.
6735 * misc/writev.c (__libc_writev): Rename to __writev.
6736 (__writev): Do not define as alias.
6737 (writev): Define as alias of __writev.
6738 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6739 (__readv): Do not define as alias.
6740 (readv): Define unconditionally as alias of __readv.
6741 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6742 (__writev): Do not define as alias.
6743 (writev): Define unconditionally as alias of __writev.
6744 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6745 name.
6746 (writev): Do not define __libc_writev name.
6747
65b00b6c
RM
67482014-10-30 Roland McGrath <roland@hack.frob.com>
6749
6750 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6751 (convert_charseq): New function, broken out of ...
6752 (use_from_charmap): ... here. Call it.
6753 (use_to_charmap): Use convert_charseq and free instead of duplicating
6754 its code with a variable-length stack struct.
6755
d4e157aa
JM
67562014-10-30 Joseph Myers <joseph@codesourcery.com>
6757
6758 * include/fcntl.h (__libc_creat): Remove declaration.
6759 * io/creat.c (__libc_creat): Rename to creat.
6760 (creat): Do not define as alias.
6761 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6762 of creat instead of __libc_creat.
6763 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6764 to creat.
6765 (creat): Do not define as alias.
6766 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6767 __libc_creat.
6768 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6769 __libc_creat name.
6770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6771 Likewise.
6772
0c6891a0
CD
67732014-10-29 Carlos O'Donell <carlos@redhat.com>
6774
6775 * manual/llio.texi: Add comments discussing why write() may be
6776 considered MT-unsafe on Linux.
6777
cc00cece
CD
67782014-10-28 Carlos O'Donell <carlos@redhat.com>
6779
6780 * dl-load.c (local_strdup): Remove.
6781 (expand_dynamic_string_token): Use __strdup.
6782 (decompose_rpath): Likewise.
6783 (_dl_map_object): Likewise.
6784
51e623f2
JM
67852014-10-28 Joseph Myers <joseph@codesourcery.com>
6786
6787 [BZ #14132]
6788 * sysdeps/generic/unwind-dw2-fde.c
6789 (__register_frame_info_bases_internal): Do not declare.
6790 (__register_frame_info_table_bases_internal): Likewise.
6791 (__deregister_frame_info_bases_internal): Likewise.
6792 (__register_frame_info_bases): Declare and use hidden_proto before
6793 definition. Use hidden_def instead of INTDEF.
6794 (__register_frame_info_table_bases): Likewise.
6795 (__deregister_frame_info_bases): Likewise.
6796 (__register_frame_info): Do not use INTUSE.
6797 (__register_frame): Likewise.
6798 (__register_frame_info_table): Likewise.
6799 (__register_frame_table): Likewise.
6800 (__deregister_frame_info): Likewise.
6801 (__deregister_frame): Likewise.
6802
03d41216
GC
68032014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6804
6805 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6806 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6807 not undefine.
6808 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6809 Likewise.
6810 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6811 Likewise.
6812
a4b3624d
JM
68132014-10-27 Joseph Myers <joseph@codesourcery.com>
6814
6815 [BZ #14138]
6816 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6817 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6818 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6819 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6820 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6821 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6822 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6823 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6824 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6825 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6826 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6828 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6829 syscall.
6830 (setfsuid): Likewise.
6831 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6832 (setfsuid): Likewise.
6833 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6834 (setfsuid): Likewise.
6835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6836 Likewise.
6837 (setfsuid): Likewise.
6838 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6839 (setfsuid): Likewise.
6840 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6841 Likewise.
6842 (setfsuid): Likewise.
6843
3574f2fd
AS
68442014-10-27 Andreas Schwab <schwab@suse.de>
6845
6846 [BZ #17501]
6847 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6848 check for Slow_SSE4_2 feature bit.
6849 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6850 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6851 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6852 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6853
70996a37
RM
68542014-10-24 Roland McGrath <roland@hack.frob.com>
6855
461a7b1e
RM
6856 * configure.ac: Validate compiler version with a empirical test of
6857 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6858 $CC -v output.
6859 * configure: Regenerated.
6860
70996a37
RM
6861 * inet/htons.c (htons): Prototypify.
6862 * inet/htonl.c (htonl): Likewise.
6863
e80514b5
WD
68642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6865
6866 * string/strncat.c (strncat): Improve performance by using strlen.
6867
6e46de42
WD
68682014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6869
6870 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6871
6a9ad2fa
WD
68722014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6873
6874 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6875 Call libc_fetestexcept_aarch64.
6876
1c8810ed
WD
68772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6878
6879 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6880 Call libc_feholdexcept_aarch64.
6881
8b1af712
WD
68822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6883
6884 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6885 Call get_rounding_mode.
6886
a7b00c11
WD
68872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6888
6889 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6890 Simplify logic.
6891
3a84f1a6
WD
68922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6893
6894 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6895 Simplify logic.
6896
48eb7a94
JM
68972014-10-24 Joseph Myers <joseph@codesourcery.com>
6898
c8bc4038
JM
6899 [BZ #14138]
6900 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6901 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6902 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6903 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6904 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6905 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6906 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6907 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6908 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6909 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6910 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6911 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6912 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6913 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6914 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6915 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6916 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6917 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6918 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6919 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6920 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6921 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6922 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6923 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6924 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6925 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6926 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6927 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6928 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6929 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6930 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6931 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6932 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6933 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6934 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6935 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6936 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6937 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6939 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6940 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6941 syscall.
6942 (geteuid): Likewise.
6943 (getgid): Likewise.
6944 (getuid): Likewise.
6945 (getresgid): Likewise.
6946 (getresuid): Likewise.
6947 (getgroups): Likewise.
6948 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6949 (geteuid): Likewise.
6950 (getgid): Likewise.
6951 (getuid): Likewise.
6952 (getresgid): Likewise.
6953 (getresuid): Likewise.
6954 (getgroups): Likewise.
6955 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6956 (geteuid): Likewise.
6957 (getgid): Likewise.
6958 (getuid): Likewise.
6959 (getresgid): Likewise.
6960 (getresuid): Likewise.
6961 (getgroups): Likewise.
6962 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6963 Likewise.
6964 (geteuid): Likewise.
6965 (getgid): Likewise.
6966 (getuid): Likewise.
6967 (getresgid): Likewise.
6968 (getresuid): Likewise.
6969 (getgroups): Likewise.
6970 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6971 (geteuid): Likewise.
6972 (getgid): Likewise.
6973 (getuid): Likewise.
6974 (getresgid): Likewise.
6975 (getresuid): Likewise.
6976 (getgroups): Likewise.
6977 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6978 Likewise.
6979 (geteuid): Likewise.
6980 (getgid): Likewise.
6981 (getuid): Likewise.
6982 (getgroups): Likewise.
6983
48eb7a94
JM
6984 [BZ #14138]
6985 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6986 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6987 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6988 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6989 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6990 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6991 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6992 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6993 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6995 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6996 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6997 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6998 __chown.
6999 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7000 (lchown): Likewise.
7001 (fchown): Likewise.
7002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7003 Likewise.
7004 (lchown): Likewise.
7005 (fchown): Likewise.
7006 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7007 (lchown): Likewise.
7008 (fchown): Likewise.
7009 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7010 Likewise.
7011 (lchown): Likewise.
7012 (fchown): Likewise.
7013
ea9a7c8b
WD
70142014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7015
7016 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7017 Simplify logic.
7018
e226de33
WD
70192014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7020
7021 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7022 Cleanup logic.
7023
6e3d8ed3
WD
70242014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7025
7026 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7027 Remove unused include.
7028
eb04247d
WD
70292014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7030
7031 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7032 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7033 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7034 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7035
13d84554
CD
70362014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7037 Helge Deller <deller@gmx.de>
7038
7039 [BZ #17508]
7040 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7041 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7042 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7043
15f9c5df
JM
70442014-10-23 Joseph Myers <joseph@codesourcery.com>
7045
7046 [BZ #14132]
7047 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7048 Remove macro definition.
7049 (__ashrdi3_v_glibc20): Likewise.
7050 (__lshrdi3_v_glibc20): Likewise.
7051 (__cmpdi2_v_glibc20): Likewise.
7052 (__ucmpdi2_v_glibc20): Likewise.
7053 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7054 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7055 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7056 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7057 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7058 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7059
c6dfed24
RM
70602014-10-22 Roland McGrath <roland@hack.frob.com>
7061
7062 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7063 old GNU extension [0] syntax.
7064 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7065 alloca rather than an array member with variable length.
7066 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7067 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7068 (parse_opt): ... here. Likewise use alloca there.
7069 Validate the -i argument before checking for rootness.
7070 (send_shutdown): New function, broken out of ...
7071 (parse_opt): ... here.
7072
8c2b1ed8
RM
70732014-10-22 Roland McGrath <roland@hack.frob.com>
7074
7075 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7076 macro to get at the _rt_local_ro field.
7077 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7078 ([PIC] case) or _dl_hwcap ([!PIC] case).
7079 * sysdeps/arm/setjmp.S: Likewise.
7080
7081 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7082 * sysdeps/arm/configure.ac: New check to define it.
7083 * sysdeps/arm/configure: Regenerated.
7084 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7085 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7086 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7087 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7088 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7089 Use move/movt pair instead of a load.
7090 (LDST_GLOBAL): Macro removed.
7091 (LDR_GLOBAL): New macro replaces it.
7092 (LDR_HIDDEN): New macro.
7093 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7094 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7095
7096 * setjmp/tst-setjmp-static.c: New file.
7097 * setjmp/Makefile (tests): Add it.
7098 (tests-static): New variable.
7099
b5af9297
MR
71002014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7101
7102 [BZ #17485]
7103 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7104
a13d0d74
JM
71052014-10-21 Joseph Myers <joseph@codesourcery.com>
7106
7107 [BZ #14132]
7108 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7109
f05e73f6
RM
71102014-10-21 Roland McGrath <roland@hack.frob.com>
7111
7112 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7113
6ab1d1ea
RM
71142014-10-20 Roland McGrath <roland@hack.frob.com>
7115
7116 * io/fts.c (dirent_not_directory): New function.
7117 (fts_build): Call it.
7118
ab49e763
RM
71192014-10-20 Roland McGrath <roland@hack.frob.com>
7120
e436eb79
RM
7121 * nptl/version.c (__nptl_main): Use normal __write rather than
7122 INTERNAL_SYSCALL.
7123 (banner): Update copyright years.
7124
6af246cf
RM
7125 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7126 gettimeofday.
7127 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7128 * nptl/pthread_cond_timedwait.c: Likewise.
7129 * nptl/pthread_mutex_timedlock.c: Likewise.
7130 * nptl/sem_timedwait.c: Likewise.
7131
ab49e763
RM
7132 * sysdeps/nptl/bits/libc-lock.h
7133 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7134 (__libc_lock_init_recursive): Return void, not 0.
7135 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7136 (__libc_rwlock_init): Likewise.
7137 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7138
f50277c1
TR
71392014-10-20 Torvald Riegel <triegel@redhat.com>
7140
7141 [BZ #15215]
7142 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7143 (__pthread_once_slow): ... here.
7144 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7145 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7146
63668b70
TR
71472014-10-20 Torvald Riegel <triegel@redhat.com>
7148
7149 [BZ #15215]
7150 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7151 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7152 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7153 * nptl/pthread_once.c (__pthread_once): Likewise.
7154 Update comments.
7155
42b7f5d4
JM
71562014-10-20 Joseph Myers <joseph@codesourcery.com>
7157
7158 [BZ #14138]
7159 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7160 name.
7161 (writev): Use __libc_writev as strong name.
7162 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7163 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7164
b0643088
RM
71652014-10-17 Roland McGrath <roland@hack.frob.com>
7166
114c4e09
RM
7167 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7168
674b8978
RM
7169 * sysdeps/i386/nptl/tls.h
7170 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7171 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7172 New macros.
7173 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7174 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7175 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7176 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7177 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7178 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7179
184ee940
RM
7180 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7181 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7182 on [__NR_futex].
7183 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7184 broken out of ...
7185 (__pthread_mutex_init): ... here. Call it.
7186 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7187 Conditionalize PI cases on [__NR_futex].
7188 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7189 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7190 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7191
327ae257
RM
7192 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7193 conditional on [SIGSETXID].
7194 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7195 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7196 is defined. Likewise for SIGSETXID.
7197 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7198 Conditionalize definitions on [SIGSETXID].
7199 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7200 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7201 unblocking on [SIGCANCEL].
7202
b0643088
RM
7203 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7204 [__NR_set_robust_list].
7205
33cc770b
SP
72062014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7207
7208 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7209 (do_compare): Likewise.
7210
0742aef6
LH
72112014-10-17 Leonhard Holz <leonhard.holz@web.de>
7212
7213 [BZ #15884]
7214 * string/strcoll_l.c: Don't include stdio.h.
7215 (coll_seq): Remove members idxarr and rulearr.
7216 (get_next_seq_cached): Remove function.
7217 (get_next_seq): Likewise.
7218 (get_next_seq_nocache): Rename to get_next_seq.
7219 (do_compare): Remove function.
7220 (do_compare_nocache): Rename to do_compare.
7221 (STRCOLL): Remove weight and rules cache.
7222
ee54ce44
RM
72232014-10-16 Roland McGrath <roland@hack.frob.com>
7224
7225 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7226 * sysdeps/arm/sfp-machine.h: ... to here.
7227 * sysdeps/arm/Implies: Remove arm/soft-fp.
7228
a75d3b02
JM
72292014-10-14 Joseph Myers <joseph@codesourcery.com>
7230
7231 * conform/data/sys/utsname.h-data (*_t): Allow.
7232 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7233 [POSIX] (WEXITED): Do not expect constant.
7234 [POSIX] (WSTOPPED): Likewise.
7235 [POSIX] (WNOHANG): Likewise.
7236 [POSIX] (WNOWAIT): Likewise.
7237 [POSIX] (siginfo_t): Do not expect type or elements.
7238 [POSIX] (pid_t): Do not expect type.
7239 [POSIX] (signal.h): Do not allow header.
7240 [POSIX] (sys/resource.h): Likewise.
7241 [POSIX] (si_*): Do not allow pattern.
7242 [POSIX] (W*): Likewise.
7243 [POSIX] (P_*): Likewise.
7244 [POSIX] (BUS_*): Likewise.
7245 [POSIX] (CLD_*): Likewise.
7246 [POSIX] (FPE_*): Likewise.
7247 [POSIX] (ILL_*): Likewise.
7248 [POSIX] (POLL_*): Likewise.
7249 [POSIX] (SEGV_*): Likewise.
7250 [POSIX] (SI_*): Likewise.
7251 [POSIX] (TRAP_*): Likewise.
7252 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7253 variable.
7254
fda389c8
SP
72552014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7256
7257 [BZ #12926]
7258 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7259 infinite loop when __recvmsg returns 0.
7260
6bc6bd3b
JM
72612014-10-10 Joseph Myers <joseph@codesourcery.com>
7262
fcb32af1
JM
7263 * CANCEL-FCT-WAIVE: Remove file.
7264 * CANCEL-FILE-WAIVE: Likewise.
7265
6bc6bd3b
JM
7266 [BZ #14132]
7267 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7268 instead of INTVARDEF.
7269 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7270 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7271 rtld_hidden_data_def instead of INTVARDEF.
7272 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7273 * elf/dl-deps.c (expand_dst): Likewise.
7274 * elf/dl-load.c (_dl_dst_count): Likewise.
7275 (_dl_dst_substitute): Likewise.
7276 (decompose_rpath): Likewise.
7277 (_dl_init_paths): Likewise.
7278 (open_path): Likewise.
7279 (_dl_map_object): Likewise.
7280 * elf/rtld.c (dl_main): Likewise.
7281 (process_dl_audit): Likewise.
7282 (process_envvars): Likewise.
7283 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7284 Remove declaration.
7285 (__libc_enable_secure): Use rtld_hidden_proto.
7286
b8c80a7e
KS
72872014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7288
7289 * elf/dl-load.c
7290 (add_path): New function broken out of _dl_rtld_di_serinfo.
7291 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7292
ff12c11f
JM
72932014-10-09 Joseph Myers <joseph@codesourcery.com>
7294
5c0508a3
JM
7295 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7296 parentheses around macro arguments.
7297 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7300 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7301 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7302 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7303 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7304 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7305 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7306 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7307 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7308 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7309 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7310 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7311 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7312 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7313 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7314 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7315 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7317 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7320 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7321 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7322 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7323 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7324 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7325 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7326 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7327 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7328 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7329 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7330 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7331 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7332 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7333 Likewise.
7334 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7335 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7336 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7340 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7341 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7342 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7343 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7344 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7345 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7346 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7347 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7348 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7349 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7351 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7352 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7353 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7355 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7356 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7357 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7358 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7359 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7360 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7361 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7362 (_FP_FRAC_SRS_1): Likewise.
7363 (_FP_FRAC_CLZ_1): Likewise.
7364 (_FP_MUL_MEAT_1_imm): Likewise.
7365 (_FP_MUL_MEAT_1_wide): Likewise.
7366 (_FP_MUL_MEAT_1_hard): Likewise.
7367 (_FP_SQRT_MEAT_1): Likewise.
7368 (_FP_FRAC_ASSEMBLE_1): Likewise.
7369 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7370 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7371 (__FP_CLZ_2): Likewise.
7372 (_FP_MUL_MEAT_2_wide): Likewise.
7373 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7374 (_FP_MUL_MEAT_2_gmp): Likewise.
7375 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7376 (_FP_SQRT_MEAT_2): Likewise.
7377 (_FP_FRAC_ASSEMBLE_2): Likewise.
7378 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7379 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7380 (_FP_FRAC_CLZ_4): Likewise.
7381 (_FP_MUL_MEAT_4_wide): Likewise.
7382 (_FP_MUL_MEAT_4_gmp): Likewise.
7383 (_FP_SQRT_MEAT_4): Likewise.
7384 (_FP_FRAC_ASSEMBLE_4): Likewise.
7385 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7386 * soft-fp/op-common.h (_FP_CMP): Likewise.
7387 (_FP_CMP_EQ): Likewise.
7388 (_FP_CMP_UNORD): Likewise.
7389 (_FP_TO_INT): Likewise.
7390 (_FP_FROM_INT): Likewise.
7391 [!__FP_CLZ] (__FP_CLZ): Likewise.
7392 (_FP_DIV_HELP_imm): Likewise.
7393 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7394 Likewise.
7395 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7398 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7399 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7400 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7401 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7402 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7403 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7404 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7405 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7406 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7407 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7408 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7409 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7410 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7411 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7413 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7416 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7417 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7418 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7419 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7420 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7421 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7422 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7423 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7424 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7425 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7426 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7427 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7428 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7429 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7430 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7431 (FP_UNPACK_RAW_SP): Likewise.
7432 (FP_PACK_RAW_S): Likewise.
7433 (FP_PACK_RAW_SP): Likewise.
7434 (FP_UNPACK_S): Likewise.
7435 (FP_UNPACK_SP): Likewise.
7436 (FP_UNPACK_SEMIRAW_S): Likewise.
7437 (FP_UNPACK_SEMIRAW_SP): Likewise.
7438 (FP_PACK_S): Likewise.
7439 (FP_PACK_SP): Likewise.
7440 (FP_PACK_SEMIRAW_S): Likewise.
7441 (FP_PACK_SEMIRAW_SP): Likewise.
7442 (_FP_SQRT_MEAT_S): Likewise.
7443 (FP_CMP_S): Likewise.
7444 (FP_CMP_EQ_S): Likewise.
7445 (FP_CMP_UNORD_S): Likewise.
7446 (FP_TO_INT_S): Likewise.
7447 (FP_FROM_INT_S): Likewise.
7448
a736ec37
JM
7449 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7450
ff12c11f
JM
7451 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7452 (FP_EX_INVALID_IMZ): Likewise.
7453 (FP_EX_INVALID_IMZ_FMA): Likewise.
7454 (FP_EX_INVALID_ISI): Likewise.
7455 (FP_EX_INVALID_ZDZ): Likewise.
7456 (FP_EX_INVALID_IDI): Likewise.
7457 (FP_EX_INVALID_SQRT): Likewise.
7458 (FP_EX_INVALID_CVI): Likewise.
7459 (FP_EX_INVALID_VC): Likewise.
7460 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7461 "invalid" exceptions.
7462 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7463 (_FP_ADD_INTERNAL): Likewise.
7464 (_FP_MUL): Likewise.
7465 (_FP_FMA): Likewise.
7466 (_FP_DIV): Likewise.
7467 (_FP_CMP_CHECK_NAN): Likewise.
7468 (_FP_SQRT): Likewise.
7469 (_FP_TO_INT): Likewise.
7470 (FP_EXTEND): Likewise.
7471
b6dcfe8c
AM
74722014-10-09 Allan McRae <allan@archlinux.org>
7473
7474 * po/fr.po: Update French translation from translation project.
7475
2d6a47ba
JM
74762014-10-09 Joseph Myers <joseph@codesourcery.com>
7477
cb831245
JM
7478 [BZ #14132]
7479 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7480 of INTDEF.
7481 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7482 (__cxa_atexit): Use libc_hidden_proto.
7483 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7484
5deeb190
JM
7485 [BZ #14132]
7486 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7487 declaration.
7488 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7489 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7490 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7491 [!_ISOMAC] (__iswctype_internal): Likewise.
7492 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7493 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7494 alias.
7495 (fcntl): Remove __fcntl_internal alias.
7496 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7497 __connect_internal alias.
7498 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7499 Likewise.
7500
454ac701
JM
7501 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7502 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7503 FP_DENORM_ZERO.
7504 (_FP_CHECK_FLUSH_ZERO): New macro.
7505 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7506 (_FP_CMP): Likewise.
7507 (_FP_CMP_EQ): Likewise.
7508 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7509 FP_DENORM_ZERO.
7510 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7511 (FP_TRUNC): Likewise.
7512
0022e688
JM
7513 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7514 treated as invalid conversion, not as normal exponent.
7515
73e28d9c
JM
7516 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7517 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7518 (_FP_CMP_EQ): Likewise.
7519 (_FP_CMP_UNORD): Likewise.
7520 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7521 (FP_CMP_EQ_D): Likewise.
7522 (FP_CMP_UNORD_D): Likewise.
7523 * soft-fp/extended.h (FP_CMP_E): Likewise.
7524 (FP_CMP_EQ_E): Likewise.
7525 (FP_CMP_UNORD_E): Likewise.
7526 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7527 (FP_CMP_EQ_Q): Likewise.
7528 (FP_CMP_UNORD_Q): Likewise.
7529 * soft-fp/single.h (FP_CMP_S): Likewise.
7530 (FP_CMP_EQ_S): Likewise.
7531 (FP_CMP_UNORD_S): Likewise.
7532 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7533 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7534 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7535 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7536 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7537 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7538 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7539 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7540 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7541 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7542 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7543 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7544 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7545 to FP_CMP_Q.
7546 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7547 FP_CMP_Q.
7548 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7549 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7550 FP_CMP_EQ_Q.
7551 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7552 FP_CMP_Q.
7553 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7554 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7555 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7556 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7557 FP_CMP_EQ_Q.
7558 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7559 FP_CMP_Q.
7560 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7561 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7562 FP_CMP_EQ_Q.
7563 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7564 FP_CMP_Q.
7565 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7566 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7567 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7568 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7569 FP_CMP_EQ_Q.
7570
43059f42
JM
7571 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7572 a subnormal result, set the underflow exception if trapping on
7573 underflow is enabled.
7574 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7575 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7576 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7577 redefine to 0.
7578 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7579 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7580 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7581 * soft-fp/extendxftf2.c (__extendxftf2): Use
7582 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7583
2d6a47ba
JM
7584 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7585 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7586 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7587 FP_HANDLE_EXCEPTIONS.
7588 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7589 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7590 FP_HANDLE_EXCEPTIONS.
7591 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7592 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7593 FP_HANDLE_EXCEPTIONS.
7594 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7595 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7596 FP_HANDLE_EXCEPTIONS.
7597
620f462e
JM
75982014-10-08 Joseph Myers <joseph@codesourcery.com>
7599
7600 [BZ #14132]
7601 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7602 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7603 use INTUSE.
7604 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7605 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7606 Remove alias.
7607 (__adjtimex): Define using libc_hidden_ver.
7608 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7609 Remove declaration.
7610 (ntp_gettime): Call __adjtimex directly.
7611 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7612 Remove declaration.
7613 (ntp_gettimex): Call __adjtimex directly.
7614 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7615 __adjtimex_internal alias.
7616
c763c5d2
RM
76172014-10-08 Roland McGrath <roland@hack.frob.com>
7618
7619 [BZ #17460]
7620 * nscd/nscd.c (more_help): Rewrite list of tables collection
7621 using xstrdup and asprintf.
7622
7623 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7624
7b8fb2b8
RM
76252014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7626 Roland McGrath <roland@hack.frob.com>
7627
7628 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7629 (do_lookup_unique): ... local function 'enter' here; update callers.
7630
abb280f7
JM
76312014-10-06 Joseph Myers <joseph@codesourcery.com>
7632
f7b42517
JM
7633 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7634 compat_symbol calls on [SHARED].
7635 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7636 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7637 Remove.
7638 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7639 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7640 (oldsetrlimit): Remove.
7641 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7643 (lchown): New syscall entry.
7644 (oldsetrlimit): Remove.
7645 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7646 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7647 (oldsetrlimit): Remove.
7648 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7649
abb280f7
JM
7650 [BZ #14138]
7651 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7652 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7653 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7654 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7655 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7656 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7657 (fchown): Likewise.
7658 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7659 (fchown): Likewise.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7661 Likewise.
7662
47d46237
AZ
76632014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7664
7665 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7666 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7667 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7668 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7669 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7670 Likewise.
7671 (__old_sem_post): Likewise.
7672
76732014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7674
845a7343
CM
7675 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7676 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7677 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7678 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7679 Use INLINE_VSYSCALL macro.
7680 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7681 __vdso_clock_gettime.
7682 * sysdeps/unix/sysv/linux/tile/init-first.c
7683 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7684 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7685 __vdso_clock_gettime.
7686
83d641ef
CM
7687 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7688 to set up frame more cleanly.
7689
d9cd52e6
CM
7690 * sysdeps/tile/memcmp.c: New file.
7691
4b68ea11
CM
7692 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7693
c86f7b80
CM
7694 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7695 * sysdeps/tile/tilegx/strcasestr.c: New file.
7696 * sysdeps/tile/tilegx/strnlen.c: New file.
7697 * sysdeps/tile/tilegx/strstr.c: New file.
7698
1c4c1a6f
CM
7699 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7700
99d86ea3
AS
77012014-10-06 Arjun Shankar <arjun.is@lostca.se>
7702
7703 * nptl/tst-setuid3.c: Write errors to stdout.
7704
06210a44
KS
77052014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7706
7707 * elf/dl-deps.c
7708 (preload): New functions broken out of _dl_map_object_deps.
7709 (_dl_map_object_deps): Remove a nested function. Update call sites.
7710
6268f532
JM
77112014-10-01 Joseph Myers <joseph@codesourcery.com>
7712
7713 [BZ #14138]
7714 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7715 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7716
b925285f
SE
77172014-10-01 Steve Ellcey <sellcey@mips.com>
7718
7719 * sysdeps/mips/strcmp.S: New.
7720
754a15c6
JM
77212014-09-30 Joseph Myers <joseph@codesourcery.com>
7722
7723 [BZ #14138]
7724 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7725 (linkat): Likewise.
7726 (mkdirat): Likewise.
7727 (readlinkat): Likewise.
7728 (renameat): Likewise.
7729 (symlinkat): Likewise.
7730 (unlinkat): Likewise.
7731 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7732 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7733 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7734 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7735 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7736 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7737 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7738
85bb81c9
WN
77392014-09-30 Will Newton <will.newton@linaro.org>
7740
dc6fe23b
WN
7741 * math/math.h: Define long double math functions if
7742 _LIBC_TEST is defined.
7743 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7744
85bb81c9
WN
7745 * localedata/Makefile: Move assignment to tests-special
7746 into an ifdef testing run-built-tests.
7747 * timezone/Makefile: Likewise.
7748
b7e02da4
JM
77492014-09-29 Joseph Myers <joseph@codesourcery.com>
7750
7751 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7752 with $(BASH) not $(SHELL).
7753
62058ce6
CD
77542014-09-29 Carlos O'Donell <carlos@redhat.com>
7755 Matthew LeGendre <legendre1@llnl.gov>
7756
7757 [BZ #17411]
7758 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7759 l_reloc_result.
7760
8e257a29
KS
77612014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7762
7763 * stdio-common/printf_fp.c
7764 (hack_digit): New function, broken out of ...
7765 (__printf_fp): ... local function here. Update call sites.
7766 hack_digit now takes an additional parameter that is a pointer
7767 to a struct of the referenced locals. Those locals moved inside
7768 the struct and references updated.
7769
f4a58f0d
L
77702014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7771
7772 * aclocal.m4: Require autoconf 2.69.
7773 * configure: Regenerated.
7774 * sysdeps/aarch64/configure: Likewise.
7775 * sysdeps/alpha/configure: Likewise.
7776 * sysdeps/arm/armv7/configure: Likewise.
7777 * sysdeps/arm/configure: Likewise.
7778 * sysdeps/ia64/configure: Likewise.
7779 * sysdeps/mach/configure: Likewise.
7780 * sysdeps/mips/configure: Likewise.
7781 * sysdeps/s390/configure: Likewise.
7782 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7784
7785 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7786 file.
7787 * sysdeps/ia64/configure.ac: Likewise.
7788
93ae1eba
JM
77892014-09-26 Joseph Myers <joseph@codesourcery.com>
7790
1810d3ab
JM
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7792 specify symbol version for ld.so. Do not include entry for
7793 libpthread.
7794 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7795 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7796 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7797
93ae1eba
JM
7798 [BZ #14171]
7799 * Makeconfig [$(build-shared) = yes]
7800 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7801 makefiles.
7802 [$(build-shared) = yes && $(soversions.mk-done) = t]
7803 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7804 [$(build-shared) = yes && $(soversions.mk-done) = t]
7805 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7806 to Makerules.
7807 [$(build-shared) = yes && $(soversions.mk-done) = t]
7808 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7809 here.
7810 [$(build-shared) = yes && $(soversions.mk-done) = t]
7811 (common-generated): Don't append gnu/lib-names.h and
7812 gnu/lib-names.stmp here.
7813 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7814 (lib-names-h-abi): New variable.
7815 [$(build-shared) = yes && $(soversions.mk-done) = t]
7816 (lib-names-stmp-abi): Likewise.
7817 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7818 abi-variants] (before-compile): Append
7819 $(common-objpfx)$(lib-names-h-abi).
7820 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7821 abi-variants] (common-generated): Append gnu/lib-names.h.
7822 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7823 abi-variants] (install-others-nosubdir): Depend on
7824 $(inst_includedir)/$(lib-names-h-abi).
7825 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7826 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7827 [$(build-shared) = yes && $(soversions.mk-done) = t]
7828 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7829 [$(build-shared) = yes && $(soversions.mk-done) = t]
7830 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7831 [$(build-shared) = yes && $(soversions.mk-done) = t]
7832 (common-generated): Append $(lib-names-h-abi) and
7833 $(lib-names-stmp-abi).
7834 * scripts/lib-names.awk: Do not handle multi being set.
7835 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7836 Remove variable.
7837 (abi-lp64_be-ld-soname): Likewise.
7838 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7839 Likewise.
7840 (abi-hard-ld-soname): Likewise.
7841 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7842 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7843 Remove variable.
7844 (abi-o32_hard-ld-soname): Likewise.
7845 (abi-o32_soft_2008-ld-soname): Likewise.
7846 (abi-o32_hard_2008-ld-soname): Likewise.
7847 (abi-n32_soft-ld-soname): Likewise.
7848 (abi-n32_hard-ld-soname): Likewise.
7849 (abi-n32_soft_2008-ld-soname): Likewise.
7850 (abi-n32_hard_2008-ld-soname): Likewise.
7851 (abi-n64_soft-ld-soname): Likewise.
7852 (abi-n64_hard-ld-soname): Likewise.
7853 (abi-n64_soft_2008-ld-soname): Likewise.
7854 (abi-n64_hard_2008-ld-soname): Likewise.
7855 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7856 Likewise.
7857 (abi-64-v2-ld-soname): Likewise.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7859 ld.so entries.
7860 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7861 variable.
7862 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7863 entry.
7864 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7865 variable.
7866 (abi-64-ld-soname): Likewise.
7867 (abi-x32-ld-soname): Likewise.
7868 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7869 entry.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7871
68870f12
JM
78722014-09-23 Joseph Myers <joseph@codesourcery.com>
7873
7874 [BZ #14138]
7875 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7876 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7877 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7878 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7879 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7880 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7881 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7882 syscall entry for GLIBC_2.2 symbol version.
7883 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7884 Likewise.
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7886 (setrlimit): Likewise.
7887 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7888 Likewise.
7889
ea58f202
WN
78902014-09-23 Will Newton <will.newton@linaro.org>
7891
7892 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7893 _LINUX_ARM_SYSDEP_H include guard too.
7894 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7895 define.
7896
69eb9a18
RV
78972014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7898
7899 * sysdeps/unix/sysv/linux/eventfd.c:
7900 Make first argument unsigned.
7901 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7902 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7903
20e5a5f7
OB
79042014-09-20 Ondřej Bílka <neleai@seznam.cz>
7905
7906 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7907 * socket/sys/socket.h: Likewise
7908 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7909
d3c827e7
AK
79102014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7911
7912 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7913
fe1cc35a
AS
79142014-09-17 Arjun Shankar <arjun.is@lostca.se>
7915
7916 * time/tst-ftime.c: New test.
7917 * time/Makefile (tests): Add tst-ftime.
7918
4e8afe69
JM
79192014-09-17 Joseph Myers <joseph@codesourcery.com>
7920
c4fe3ea7
JM
7921 * soft-fp/extended.h: Fix comment formatting.
7922 * soft-fp/op-1.h: Likewise.
7923 * soft-fp/op-2.h: Likewise.
7924 * soft-fp/op-4.h: Likewise.
7925 * soft-fp/op-8.h: Likewise.
7926 * soft-fp/op-common.h: Likewise.
7927 * soft-fp/soft-fp.h: Likewise.
7928
4e8afe69
JM
7929 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7930
af296fcd
JM
79312014-09-16 Joseph Myers <joseph@codesourcery.com>
7932
7933 [BZ #6652]
7934 * Makeconfig (soversions-default-setname): Remove variable.
7935 ($(common-objpfx)soversions.i): Don't pass default_setname to
7936 soversions.awk.
7937 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7938 oldest_abi to abi-versions.awk.
7939 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7940 * config.make.in (oldest-abi): Remove variable.
7941 * configure.ac (--enable-oldest-abi): Remove configure option.
7942 * configure: Regenerated.
7943 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7944 text.
7945 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7946 * scripts/soversions.awk: Do not handle default_setname variable.
7947 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7948 variable.
7949 * sysdeps/mach/hurd/configure: Regenerated.
7950 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7951 variable.
7952 * sysdeps/unix/sysv/linux/configure: Regenerated.
7953
545583d6
SP
79542014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7955
d330b980
SP
7956 * elf/Makefile (CFLAGS-interp.c): Remove.
7957 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7958 path string.
7959 * elf/interp.c: Include generated runtime-linker.h
7960
02657da2
SP
7961 * Makerules (lib%.so): Don't include $(+interp) in
7962 prerequisites.
7963 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7964 * dlfcn/eval.c: Remove file.
7965
653b1080
SP
7966 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7967 macros.
7968
602f80ec
SP
7969 [BZ #17266]
7970 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7971 4.2 and newer.
7972
545583d6
SP
7973 [BZ #17370]
7974 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7975
884ddc50
SP
79762014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7977 Jakub Jelinek <jakub@redhat.com>
7978
7979 [BZ #17266]
7980 * libio/stdio.h: Check definition of __fortify_function
7981 instead of __extern_always_inline to include bits/stdio2.h.
7982 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7983 check if __extern_always_inline is defined.
7984 [__USE_MISC || __USE_XOPEN]: Likewise.
7985 [__USE_ISOC99] Likewise.
7986 * misc/sys/cdefs.h (__fortify_function): Define only if
7987 __extern_always_inline is defined.
7988 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7989 __extern_always_inline and __extern_inline only for g++-4.3
7990 and newer or a compatible gcc.
7991
a7b87268
AS
79922014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7993
7994 [BZ #17371]
7995 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7996 last change to handle zero prefix length.
7997
3f41521d
SP
79982014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7999
61fe374a
SP
8000 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8001 _SC_REGEX_VERSION.
8002
3f41521d
SP
8003 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8004 _POSIX_RAW_SOCKETS.
8005
d8f879ee
AM
80062014-09-13 Allan McRae <allan@archlinux.org>
8007
8008 * po/ru.po: Update Russian translation from translation project.
8009
c079afb7
RM
80102014-09-12 Roland McGrath <roland@hack.frob.com>
8011
a62b3c15
RM
8012 * locale/programs/locale.c (show_locale_vars): Inline local function
8013 into its sole call site. Clean up some style nits.
8014 (print_item): New function, broken out of ...
8015 (show_info): ... local function here. Clean up style nits.
8016
d7e49b19
RM
8017 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8018 out of ...
8019 (set_class_defaults): ... local function set_default here.
8020 Define set_default as a macro locally to pass constant parameters.
8021 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8022 rather than a shared local.
8023
c079afb7
RM
8024 * stdlib/rpmatch.c (try): New function, broken out of ...
8025 (rpmatch): ... local function here. Also, prototypify definition.
8026
0bd72468
JM
80272014-09-12 Joseph Myers <joseph@codesourcery.com>
8028
ba90e050
JM
8029 * scripts/soversions.awk: Do not handle configuration names.
8030 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8031 vendor and os variables to soversions.awk.
8032 * configure.ac: Do not modify gnu-* host_os.
8033 * configure: Regenerated
8034 * shlib-versions: Remove first column with configuration names.
8035 * nptl/shlib-versions: Likewise.
8036 * nptl_db/shlib-versions: Likewise.
8037 * sysdeps/hppa/shlib-versions: Likewise.
8038 * sysdeps/m68k/shlib-versions: Likewise.
8039 * sysdeps/mach/hurd/shlib-versions: Likewise.
8040 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8041 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8042 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8043 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8044 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8045 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8046 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8047 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8049 Likewise.
8050 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8051 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8052 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8054 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8055 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8056 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8057 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8058
73a39112
JM
8059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8060 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8062 Regenerated.
8063 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8065 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8066
c729e7c1
JM
8067 * shlib-versions: Remove OS-specific entries. Moved to files in
8068 sysdeps.
8069 * sysdeps/mach/hurd/shlib-versions: New file.
8070 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8071
dc932a24
JM
8072 * nptl/shlib-versions: Remove architecture-specific entries.
8073 Moved to files in sysdeps.
8074 * shlib-versions: Likewise.
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8076 file.
8077 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8078 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8079 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8080 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8081
0bd72468
JM
8082 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8083 (UDP_NO_CHECK6_RX): Likewise.
8084
920238e0
SP
80852014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8086
8087 * sysdeps/posix/sysconf.c (__sysconf): Spell
8088 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8089
ba7b4d29
FW
80902014-08-12 Florian Weimer <fweimer@redhat.com>
8091
8092 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8093 loading.
8094 * iconv/Versions (__gconv_transliterate): Export for use from
8095 gconv modules.
8096 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8097 (struct __gconv_trans_data, __gconv_trans_fct,
8098 __gconv_trans_context_fct, __gconv_trans_query_fct,
8099 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8100 definitions.
8101 (struct __gconv_step_data): Remove __trans member.
8102 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8103 longer hidden. Remove unused trans_data argument.
8104 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8105 (__gconv_translit_find): Remove declaration.
8106 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8107 prototype.
8108 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8109 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8110 trans_data argument. Add hidden definition.
8111 (__gconv_translit_find): Remove.
8112 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8113 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8114 * iconv/skeleton.c: Remove transliteration initialization.
8115 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8116 __gconv_step_data initialization.
8117 * libio/iofwide.c (__libio_translit_): Remove.
8118 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8119 * wcsmbs/btowc.c (__btowc): Likewise.
8120 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8121 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8122 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8123 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8124 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8125 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8126 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8127 * wcsmbs/wctob.c (wctob): Likewise.
8128
5379aebd
SP
81292014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8130
8131 [BZ #16194]
8132 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8133 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8134 register usage.
8135 * sysdeps/x86/Makefile: Adjust.
8136
8c0ab919
RM
81372014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8138 Roland McGrath <roland@hack.frob.com>
8139
8140 * locale/weight.h: Add include guard.
8141 (findidx): Make static rather than auto; take new parameters
8142 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8143 * locale/weightwc.h: Likewise.
8144 * posix/fnmatch_loop.c
8145 (FCT): Change type of EXTRA from int32_t to wint_t.
8146 Don't include either header inside the function.
8147 Call FINDIDX rather than findidx, and pass new arguments.
8148 #undef FINDIDX at the end of the file.
8149 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8150 FINDIDX before including fnmatch_loop.c for the non-wide version.
8151 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8152 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8153 for the wide version.
8154 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8155 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8156 Pass new arguments to findidx.
8157 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8158 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8159 Don't #include it inside the function. Pass new arguments to findidx.
8160 * posix/regex_internal.h
8161 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8162 (re_string_elem_size_at): Don't #include it inside the function.
8163 Pass new arguments to findidx.
8164 * string/strcoll_l.c: #include WEIGHT_H at top level.
8165 (get_next_seq): Don't #include it inside the function.
8166 Pass new arguments to findidx.
8167 (get_next_seq_nocache): Likewise.
8168 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8169 (STRXFRM): Don't #include it inside the function.
8170 Pass new arguments to findidx.
8171
52ffbdf2
FW
81722014-09-11 Florian Weimer <fweimer@redhat.com>
8173
8174 [BZ #17344]
8175 * malloc/malloc.c (unlink): Turn asserts into a call to
8176 malloc_printerr.
8177
984c0ea9
TL
81782014-09-11 Tim Lammens <tim.lammens@gmail.com>
8179
8180 [BZ #17370]
8181 * libio/wfileops (do_ftell_wide): Free OUT.
8182
3daee107
CM
81832014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8184
8185 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8186
58b930ae
SP
81872014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8188
8189 [BZ #17363]
8190 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8191 group if the current group is empty.
8192
3b473fec
AZ
81932014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8194
71ae8647
AZ
8195 * benchtests/bench-memset.c (test_main): Add more test from size
8196 from 32 to 512 bytes.
8197 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8198 Add POWER8 memset object.
8199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8200 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8201 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8202 implementation.
8203 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8204 Likewise.
8205 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8206 multiarch POWER8 memset optimization.
8207 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8208 POWER8 memset optimization.
8209
3b473fec
AZ
8210 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8211 Remove bzero multiarch objects.
8212 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8213 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8214 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8215 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8216 Remove define.
8217 [__bzero]: Redefine to specific name.
8218 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8219 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8220 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8221 define.
8222 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8223 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8224
e6fb9587
FW
82252014-09-10 Florian Weimer <fweimer@redhat.com>
8226
8227 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8228 warnings into errors.
8229
8230 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8231 __cxa_thread_atexit_impl prototype.
8232
9d3a350b
SE
82332014-09-09 Steve Ellcey <sellcey@mips.com>
8234
8235 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8236 Fix capitalization of error message.
8237
0febba23
SE
82382014-09-09 Steve Ellcey <sellcey@mips.com>
8239
8240 * sysdeps/mips/preconfigure: Modify ABI tests.
8241
645a0e9c
CD
82422014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8243
8244 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8245
d83f0734
CD
82462014-09-07 Roland McGrath <roland@hack.frob.com>
8247 Carlos O'Donell <carlos@systemhalted.org>
8248
8249 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8250 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8251 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8252 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8253 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8254 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8255 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8256 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8257 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8258 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8259 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8260 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8261 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8262 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8263 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8264 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8265 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8266 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8267 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8268 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8269 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8270 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8271 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8272 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8273 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8274 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8275 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8276 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8277 Deconditionalize the code that was previously under [RESET_PID].
8278 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8279 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8280 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8281 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8282 include sysdep.h.
8283
21c83793
AM
82842014-09-08 Allan McRae <allan@archlinux.org>
8285
8286 * version.h (RELEASE): Set to "development".
8287 (VERSION): Set to "2.20.90"
8288
1cd9b65c
AM
82892014-09-07 Allan McRae <allan@archlinux.org
8290
b8079dd0
AM
8291 * version.h (RELEASE): Set to "stable".
8292 (VERSION): Set to "2.20"
8293 * include/features.h (__GLIBC_MINOR__): Set to 20.
8294
c46303ef
AM
8295 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8296 Liebler.
8297
1cd9b65c
AM
8298 * po/ko.po: Update Korean translation from translation project.
8299
8622092d
CM
83002014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8301
8302 [BZ #17354]
8303 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8304 macro for handling signed relocations.
8305
41488498
FW
83062014-09-03 Florian Weimer <fweimer@redhat.com>
8307
8308 [BZ #17325]
8309 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8310 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8311 assert.
8312 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8313 * iconvdata/ibm935.c (BODY): Likewise.
8314 * iconvdata/ibm937.c (BODY): Likewise.
8315 * iconvdata/ibm939.c (BODY): Likewise.
8316 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8317 assert.
8318 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8319 script.
8320 * iconvdata/run-iconv-test.sh: New test loop for checking for
8321 decoder crashers.
8322
a78b712d
KR
83232014-09-02 Khem Raj <raj.khem@gmail.com>
8324
8325 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8326 libm_hidden_ver.
8327
cb08abc6
AM
83282014-09-01 Allan McRae <allan@archlinux.org>
8329
2c31e102
AM
8330 * po/eo.po: Update Esperanto translation from translation project.
8331
cb08abc6
AM
8332 * po/ca.po: Update Catalan translation from translation project.
8333
17a62de1
ST
83342014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8335
8336 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8337 __proc_dostop call.
8338
9570bc53
MW
83392014-08-27 Mark Wielaard <mjw@redhat.com>
8340
8341 [BZ #17319]
8342 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8343 to call set_thread_area instead of hand written asm.
8344 (__NR_set_thread_area): Removed define.
8345 (TLS_FLAG_WRITABLE): Likewise.
8346 (__ASSUME_SET_THREAD_AREA): Remove check.
8347 (TLS_EBX_ARG): Remove define.
8348 (TLS_LOAD_EBX): Likewise.
8349
b0f955c9
ST
83502014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8351
8352 Simplify atomicity of socket creation in bind.
8353
8354 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8355 looking up the name after linking the file.
8356
529bf515
AM
83572014-08-27 Allan McRae <allan@archlinux.org>
8358
8359 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8360
a1a6a401
FW
83612014-08-26 Florian Weimer <fweimer@redhat.com>
8362
8363 [BZ #17187]
8364 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8365 trans_compare, open_translit, __gconv_translit_find):
8366 Remove module loading code.
8367
686ab290
AM
83682014-08-26 Allan McRae <allan@archlinux.org>
8369
e4e7cfd2
AM
8370 * po/vi.po: Update Vietnamese translation from translation project.
8371
6aa09f71
AM
8372 * po/uk.po: Update Ukrainian translation from translation project.
8373
edc0660e
AM
8374 * po/fr.po: Update French translation from translation project.
8375
7eea72ac
AM
8376 * po/ru.po: Update Russian translation from translation project.
8377
93c49eff
AM
8378 * po/pl.po: Update Polish translation from translation project.
8379
46acaf63
AM
8380 * po/cs.po: Update Czech translation from translation project.
8381
a9f5ce98
AM
8382 * po/de.po: Update German translation from translation project.
8383
373f2b78
AM
8384 * po/bg.po: Update Bulgarian translation from translation project.
8385
e7548bd8
AM
8386 * po/sv.po: Update Sweedish translation from translation project.
8387
c526bf4d
AM
8388 * po/nl.po: Update Dutch translation from translation project.
8389
686ab290
AM
8390 * po/es.po: Update Spanish translation from translation project.
8391
eb72478a
SP
83922014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8393
dd763fdb
SP
8394 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8395
318c7a58
SP
8396 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8397 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8398 (CPPFLAGS-iconvconfig): Likewise.
8399 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8400
eb72478a
SP
8401 * include/libc-symbols.h: Remove unnecessary check for
8402 NOT_IN_libc.
8403 * nptl/pthreadP.h: Likewise.
8404 * sysdeps/aarch64/setjmp.S: Likewise.
8405 * sysdeps/alpha/setjmp.S: Likewise.
8406 * sysdeps/arm/sysdep.h: Likewise.
8407 * sysdeps/i386/setjmp.S: Likewise.
8408 * sysdeps/m68k/setjmp.c: Likewise.
8409 * sysdeps/posix/getcwd.c: Likewise.
8410 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8411 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8412 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8413 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8414 * sysdeps/sh/sh3/setjmp.S: Likewise.
8415 * sysdeps/sh/sh4/setjmp.S: Likewise.
8416 * sysdeps/unix/alpha/sysdep.h: Likewise.
8417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8418 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8419 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8420 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8423 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8425 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8428 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8430 * sysdeps/x86_64/setjmp.S: Likewise.
8431
d44a052c
JM
84322014-08-13 Joseph Myers <joseph@codesourcery.com>
8433
8434 [BZ #17263]
8435 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8436 <stdint.h>.
8437 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8438 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8439
508ce3ac
SP
84402014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8441
e44c8b0e
SP
8442 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8443
508ce3ac
SP
8444 [BZ #17262]
8445 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8446 and __x86_64__ when disabling x87 inline functions.
8447
b4acef1f
L
84482014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8449
8450 [BZ #17259]
8451 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8452 asm statement with __cpuid_count.
8453
61b1ef6e
MF
84542014-08-12 Mike Frysinger <vapier@gentoo.org>
8455
8456 * configure.ac: Change __ehdr_start code to dereference the struct.
8457 Run readelf on the output to look for relocations.
8458 * configure: Regenerated.
8459
898c62f4
JM
84602014-08-12 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #17261]
8463 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8464 value to 0.
8465 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8466
9a8a5720
RM
84672014-08-12 Roland McGrath <roland@hack.frob.com>
8468
8469 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8470
4e75751c
BO
84712014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8472
8473 [BZ #16892]
8474 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8475 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8476
bb2ce416
SA
84772014-08-12 Sean Anderson <seanga2@gmail.com>
8478
8479 * malloc/malloc.c: Fix typo in comment.
8480
7950a4ee
AM
84812014-08-09 Allan McRae <allan@archlinux.org>
8482
8483 * Regenerate libc.po.
8484
f469c49f
MF
84852014-08-08 Mike Frysinger <vapier@gentoo.org>
8486
8487 * intl/tst-gettext2.sh: Check every lang file for creation.
8488
656b84c2
WD
84892014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8490
8491 * sysdeps/aarch64/fpu/math_private.h
8492 (libc_feholdsetround_noex_aarch64_ctx): New function.
8493
538e9e45
W
84942014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8495
8496 * sysdeps/arm/armv6/strcpy.S (strcpy):
8497 Fix performance issue in misaligned cases.
8498
d4795e4a
AZ
84992014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8500
8501 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8502 Move definition from termios.h.
8503 (struct termio): Likewise.
8504 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8505 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8506 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8507 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8508 Likewise.
8509 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8510 Move definition to ioctl-types.h
8511 (struct termio): Likewise.
8512 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8513 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8514 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8515 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8516 Likewise.
8517
64accb62
RH
85182014-08-05 Richard Henderson <rth@redhat.com>
8519
27bb6dc0
RH
8520 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8521 exceptions.
8522 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8523 Add fraiseexcpt.
8524 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8525 Use __feraiseexcept.
8526 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8527 Protect libm symbols with IS_IN_libm.
8528
64accb62
RH
8529 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8530
e5292691
BO
85312014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8532
8533 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8534
5b4bd2d4
WN
85352014-08-04 Will Newton <will.newton@linaro.org>
8536
8537 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8538 file.
8539
fcadaeef
MF
85402014-08-04 Mike Frysinger <vapier@gentoo.org>
8541
8542 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8543 variants for each function.
8544
43a94c64
RM
85452014-08-04 Roland McGrath <roland@hack.frob.com>
8546
8547 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8548 appended ...
8549 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8550 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8551 appended ...
8552 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8553 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8554 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8555 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8556 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8557 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8558 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8559 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8560 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8561 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8562 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8563 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8564 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8565 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8566 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8568 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8569 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8570 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8572 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8576 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8577 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8578 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8580 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8582 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8583 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8584 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8585 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8586 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8588 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8589 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8590 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8591 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8592 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8594 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8595 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8596 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8597 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8598 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8599 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8600 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8601 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8602 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8603 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8604 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8605 Update #include.
8606 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8607 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8608
8f3c1fa4
RM
86092014-08-04 Roland McGrath <roland@hack.frob.com>
8610
8611 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8612 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8613 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8614 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8615 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8616 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8617
ca08746f
RM
86182014-08-04 Roland McGrath <roland@hack.frob.com>
8619
8620 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8621 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8622 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8623 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8624
9c925ff9
RM
86252014-08-04 Roland McGrath <roland@hack.frob.com>
8626
8627 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8628 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8629 (__libc_vfork): Define function under this name.
8630 (__vfork): Define as an alias.
8631 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8632 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8633
e641054c
RM
86342014-08-04 Roland McGrath <roland@hack.frob.com>
8635
8636 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8637 that was previously under [RESET_PID].
8638 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8639
dacdc867
AS
86402014-08-04 Andreas Schwab <schwab@suse.de>
8641
8642 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8643
41f725ff
MF
86442014-08-03 Mike Frysinger <vapier@gentoo.org>
8645
8646 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8647 (main): Likewise.
8648
277cfb31
RM
86492014-08-01 Roland McGrath <roland@hack.frob.com>
8650
8651 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8652
4896f049
RH
86532014-08-01 Richard Henderon <rth@redhat.com>
8654
8655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8656 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8657 typo in exact zero test.
8658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8659 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8661
6f64e7d7
RM
86622014-08-01 Roland McGrath <roland@hack.frob.com>
8663
8664 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8665 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8666 * sysdeps/arm/sysdep.h: ... here.
8667 [!__ASSEMBLER__]: Include <stdint.h>.
8668
3f3dd810
SP
86692014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8670
a476ac4b
SP
8671 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8672 (HAVE_WCTYPE_H): Likewise.
8673 (HAVE_ISWCTYPE): Likewise.
8674 (ENABLE_NLS): Likewise.
8675 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8676 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8677
78dd658a
SP
8678 * posix/regex_internal.c: Check if DEBUG is defined and is
8679 set.
8680
3f3dd810
SP
8681 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8682 (HAVE_MBSRTOWCS): Likewise.
8683 * posix/fnmatch.c: Include string.h unconditionally.
8684
95ee7fb1
SL
86852014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8686
8687 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8688 reversal.
8689
23fe486b
RM
86902014-07-31 Roland McGrath <roland@hack.frob.com>
8691
f61a113f
RM
8692 * sysdeps/generic/safe-fatal.h: New file.
8693 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8694 * nptl/forward.c: Include it.
8695 (__pthread_unwind): Use __safe_fatal as default action, rather
8696 than a bogus use of INTERNAL_SYSCALL that could never work.
8697
9fe7e787
RM
8698 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8699 * configure.ac (libc_cv_builtin_trap): New test.
8700 * configure: Regenerated.
8701 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8702 (ABORT_INSTRUCTION): Define using __builtin_trap.
8703
23fe486b
RM
8704 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8705 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8706 * sysdeps/nptl/nptl-signals.h: New file.
8707 * nptl/pthreadP.h: Include <nptl-signals.h>.
8708
f349489e
SL
87092014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8710
8711 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8712 (ONE_DIRECTION): Define.
8713 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8714 (ONE_DIRECTION): Define.
8715 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8716 (ONE_DIRECTION): Define.
8717
2f438e20
SL
87182014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8719
8720 * sysdeps/s390/Makefile: Delete file.
8721 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8722 * sysdeps/s390/__longjmp.c: Delete file.
8723 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8724 Remove fields __flags and __reserved.
8725 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8726 and add versioning.
8727 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8728 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8729 * sysdeps/s390/rtld-setjmp.S: Likewise.
8730 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8731 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8732 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8733 * sysdeps/s390/s390-32/setjmp.S: ... here.
8734 Add versioning.
8735 (__sigsetjmp): Remove setting __flags field.
8736 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8737 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8738 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8739 * sysdeps/s390/s390-64/setjmp.S: ... here.
8740 Add versioning.
8741 (__sigsetjmp): Remove setting __flags field.
8742 * sysdeps/s390/setjmp.S: Delete file.
8743 * sysdeps/s390/sigjmp.c: Likewise.
8744 * sysdeps/s390/v1-longjmp.c: Likewise.
8745 * sysdeps/s390/v1-setjmp.h: Likewise.
8746 * sysdeps/s390/v1-sigjmp.c: Likewise.
8747 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8748 Remove v1-longjmp_chk.
8749 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8750 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8751 Include debug/longjmp_chk.c and add versioning.
8752 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8753 Include nptl/pt-longjmp.c and add versioning.
8754 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8755 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8756 Include __longjmp.c.
8757 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8758 Move to ...
8759 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8760 (__getcontext): Remove setting __flags field.
8761 Add versioning.
8762 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8763 Don't restore upper high grps.
8764 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8765 Likewise.
8766 (__swapcontext): Remove setting uc_flags field.
8767 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8768 Delete file.
8769 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8770 Include __longjmp.c.
8771 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8772 Move to ...
8773 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8774 (__getcontext): Remove setting __flags field.
8775 Add versioning.
8776 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8777 (__swapcontext): Remove setting uc_flags field.
8778 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8779 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8780 Remove fields uc_high_gprs and __reserved.
8781 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8782 New file with reverted content.
8783 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8785 Regenerated.
8786 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8787 Regenerated.
8788
6c9578a2
AS
87892014-07-31 Andreas Schwab <schwab@suse.de>
8790
8791 * config.h.in (HAVE_IFUNC): Define to 0.
8792 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8793 definedness.
8794
05f3633d
LM
87952014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8796
8797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8798 memmove-avx-unaligned, memcpy-avx-unaligned and
8799 mempcpy-avx-unaligned.
8800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8801 Add tests for AVX memcpy functions.
8802 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8803 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8804 memcpy_chk.
8805 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8806 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8807 memmove_chk.
8808 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8809 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8810 mempcpy_chk.
8811 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8812 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8813 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8814
a53fbd8e
AZ
88152013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8816
8817 [BZ #17213]
8818 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8819 powerpc64le.
8820
0961f7e1
JL
88212014-07-29 Jeff Layton <jlayton@poochiereds.net>
8822
8823 [BZ #16839]
8824 * manual/llio.texi: Add section about open file description locks.
8825 * manual/examples/ofdlocks.c: Example of open file description
8826 lock usage.
8827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8828 F_OFD_SETLK, and F_OFD_SETLKW.
8829
cc5fb300
AM
88302014-07-23 Allan McRae <allan@archlinux.org>
8831
8832 * po/es.po: Update Spanish translation from translation project.
8833
23329dca
AS
88342014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8835
8836 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8837
9c82da17
MR
88382014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8839
8840 [BZ #17078]
8841 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8842 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8843 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8844
29c4f53e
JM
88452014-07-17 Joseph Myers <joseph@codesourcery.com>
8846
831b9896
JM
8847 [BZ #17088]
8848 * math/fesetenv.c (__fesetenv)
8849 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8850 * math/feupdateenv.c (__feupdateenv)
8851 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8852
b21c2d50
JM
8853 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8854 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8855 (__ASSUME_SOCKETCALL): Do not define.
8856
067764ef
JM
8857 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8858 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8859 (__ASSUME_SOCKETCALL): Do not define.
8860 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8861 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8862 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8863 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8864 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8865 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8866 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8867 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8868
642530c1
JM
8869 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8870 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8871 (__ASSUME_SOCKETCALL): Do not define.
8872 (__ASSUME_IPC64): Define unconditionally.
8873 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8874 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8875 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8876 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8877 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8878 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8879 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8880 Likewise.
8881
03f77315
JM
8882 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8883 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8884 (__ASSUME_SOCKETCALL): Do not define.
8885 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8886 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8887 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8888 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8889 (__ASSUME_REQUEUE_PI): Define unconditionally.
8890 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8891 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8892 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8893 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8894 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8895 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8896
083b1f7c
JM
8897 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8898 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8899 (__ASSUME_SOCKETCALL): Do not define.
8900 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8901 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8902 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8903 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8904 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8905 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8906
5be44ea6
JM
8907 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8908 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8909 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8910 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8911 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8912 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8913 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8914 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8915 (__ASSUME_GETCPU_SYSCALL): Likewise.
8916
d95ffd4c
JM
8917 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8918 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8919 cases for individual architectures.
8920 * sysdeps/gnu/configure: Regenerated.
8921 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8922 LIBC_SLIBDIR_RTLDDIR.
8923 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8924 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8925 LIBC_SLIBDIR_RTLDDIR.
8926 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8928 LIBC_SLIBDIR_RTLDDIR.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8930 Regenerated.
8931 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8932 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8933 file.
8934 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8935 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8936 file.
8937 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8938 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8939 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8940 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8941
29c4f53e
JM
8942 * sysdeps/aarch64/shlib-versions: Move to ...
8943 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8944 * sysdeps/alpha/shlib-versions: Move to ...
8945 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8946 * sysdeps/arm/shlib-versions: Move to ...
8947 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8948 * sysdeps/hppa/shlib-versions: Move all contents except for
8949 libgcc_s entry to ...
8950 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8951 entry from ...
8952 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8953 * sysdeps/ia64/shlib-versions: Move to ...
8954 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8955 entry from ...
8956 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8957 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8958 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8959 * sysdeps/microblaze/shlib-versions: Move to ...
8960 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8961 * sysdeps/mips/shlib-versions: Move to ...
8962 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8963 entry from ...
8964 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8965 * sysdeps/tile/shlib-versions: Move to ...
8966 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8967 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8968 from ...
8969 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8970 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8971 entry from ...
8972 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8973
32bead5b
WN
89742014-07-17 Will Newton <will.newton@linaro.org>
8975
57977c4b
WN
8976 * sysdeps/arm/bits/atomic.h
8977 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8978 (__arch_compare_and_exchange_bool_16_int): Likewise.
8979 (__arch_compare_and_exchange_bool_64_int): Likewise.
8980
32bead5b
WN
8981 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8982 into an #else block.
8983
37fccd41
RM
89842014-07-16 Roland McGrath <roland@hack.frob.com>
8985
8986 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8987 just Linux configurations. Test empirically that the compiler sets
8988 __ARM_EABI__, rather than using the tuple to decide.
8989 * sysdeps/arm/preconfigure: Regenerated.
8990 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8991 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8992 contents appended ...
8993 * sysdeps/arm/configure.ac: ... here.
8994 * sysdeps/arm/configure: Regenerated.
8995
b365f3ec
RM
89962014-07-15 Roland McGrath <roland@hack.frob.com>
8997
8badf496
RM
8998 * nptl/pthread_kill.c: New file.
8999 * nptl/pthread_sigmask.c: New file.
9000 * nptl/pthread_sigqueue.c: New file.
9001
3df6f22e
RM
9002 * sysdeps/nptl/lowlevellock.h: New file.
9003 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9004 * sysdeps/nptl/lowlevellock-futex.h: New file.
9005
b365f3ec
RM
9006 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9007 Remove dead declarations.
9008
f2fef657
L
90092014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9010
9011 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9012 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9013 config-cflags-avx2.
9014 * sysdeps/x86_64/configure.ac: Likewise.
9015 * sysdeps/i386/configure: Regenerated.
9016 * sysdeps/x86_64/configure: Likewise.
9017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9018 memset-avx2 only if config-cflags-avx2 is yes.
9019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9020 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9021 defined.
9022 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9023 only if HAVE_AVX2_SUPPORT is defined.
9024 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9025
f6c44d47
AM
90262014-07-14 Alan Modra <amodra@gmail.com>
9027
9028 [BZ #17153]
9029 * elf/elf.h (DT_PPC64_NUM): Correct value.
9030 * NEWS: Add to fixed bug list.
9031
7ee03f00
JM
90322014-07-13 Jim Meyering <meyering@fb.com>
9033
9034 [BZ 17150]
9035 regex: don't deref NULL upon heap allocation failure
9036 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9037 failure in one more place.
9038 To trigger the segfault, configure grep -with-included-regex,
9039 build it, and run these commands:
9040 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9041
9d39d517
AS
90422014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9043
9044 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9045
a75b89b7
RH
90462014-07-11 Richard Henderson <rth@redhat.com>
9047
9048 * sysdeps/aarch64/libm-test-ulps: Update.
9049
771eb141
FW
90502014-07-10 Florian Weimer <fweimer@redhat.com>
9051
9052 [BZ #17135]
9053 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9054 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9055 (__nptl_setxid): Initialize error member. Call
9056 __nptl_setxid_error.
9057 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9058 * nptl/descr.h (struct xid_command): Add error member.
9059 * nptl/tst-setuid3.c: New file.
9060 * nptl/Makefile (tests): Add it.
9061
bc1da176
AZ
90622014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9063
9064 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9065 New define.
9066 (__lll_trylock): Use __lll_base_trylock.
9067 (__lll_cond_trylock): Likewise.
9068
887865fc
RM
90692014-07-10 Roland McGrath <roland@hack.frob.com>
9070
c0c6bac9
RM
9071 * nptl/pthread_create.c (start_thread): Use atomic_or and
9072 lll_futex_wake directly rather than lll_robust_dead.
9073 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9074 (lll_robust_dead): Macro removed.
6a42be57 9075 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9076 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9077 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9078 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9079 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9080 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9081 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9082 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9083 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9085 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9086 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9087 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9088 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9089 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9090
887865fc
RM
9091 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9092 Use atomic_compare_and_exchange_val_acq directly rather than
9093 lll_robust_trylock.
9094 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9095 (__lll_robust_trylock, lll_robust_trylock): Removed.
9096 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9097 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9098 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9099 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9100 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9101 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9102 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9103 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9104 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9105 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9106 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9107 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9108 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9109 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9110
58536726
FW
91112014-07-02 Florian Weimer <fweimer@redhat.com>
9112
9113 * manual/locale.texi (Locale Names): New section documenting
9114 locale name syntax. Adjust menu and node chaining accordingly.
9115 (Choosing Locale): Reference Locale Names, Locale Categories.
9116 Mention setting LC_ALL=C. Reflect that name syntax is now
9117 documented.
9118 (Locale Categories): New section title. Reference Locale Names.
9119 LC_ALL is an environment variable, but not a category.
9120 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9121 description, now in Locale Name. Reference that section. Locale
9122 name syntax is now documented.
9123
4e8f95a0
FW
91242014-07-02 Florian Weimer <fweimer@redhat.com>
9125
9126 [BZ #17137]
9127 * locale/findlocale.c (name_present, valid_locale_name): New
9128 functions.
9129 (_nl_find_locale): Use the loc_name variable to store name
9130 candidates. Call name_present and valid_locale_name to check and
9131 validate locale names. Return an error if the locale is invalid.
9132
d1836456
FW
91332014-07-02 Florian Weimer <fweimer@redhat.com>
9134
9135 * locale/setlocale.c (setlocale): Use strdup for allocating
9136 composite name copy.
9137
d69b7f5a
SP
91382014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9139
888c679b
SP
9140 Sync up with gnulib.
9141 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9142 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9143 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9144 and _GL_ARG_NONNULL.
9145 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9146 [!_LIBC]: Include code for Windows and Cygwin.
9147 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9148 Include prototype for int strerror_r.
9149 [!_LIBC] (is_open): New function.
9150 (flush_stdout): New function.
9151 (print_errno_message): Use it.
9152 (error): Likewise.
9153 (error_at_line): Likewise.
9154 (error_tail) Add function attribute macros. Use
9155 __builtin_expect.
9156
180e0e4b
SP
9157 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9158
d22f1fe2
SP
9159 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9160
12f2254b
SP
9161 * io/ftw.c: Include sys/param.h unconditionally.
9162
c3c7c360
SP
9163 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9164
d62aa75a
SP
9165 [BZ #17125]
9166 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9167 libc_freeres_ptr.
9168 (freecache): New function to free CACHE on exit.
9169
d69b7f5a
SP
9170 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9171 initialization.
9172
5efe06a1
DM
91732014-07-09 David S. Miller <davem@davemloft.net>
9174
9175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9176
7000d82e
DM
9177 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9178 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9179 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9180 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9181 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9182 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9183 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9184 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9185 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9186 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9187 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9188 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9189 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9190
c213442d
AS
91912014-07-09 Andreas Schwab <schwab@suse.de>
9192
4a2552c3
AS
9193 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9194 output.
9195 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9196 (do_test): Likewise.
9197
c213442d
AS
9198 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9199
82374e65
WN
92002014-07-09 Will Newton <will.newton@linaro.org>
9201
9202 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9203 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9204 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9205 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9206 * sysdeps/hppa/start.S (_start): Likewise.
9207
6680738a
SP
92082014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9209
6ee3eab4
SP
9210 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9211
6680738a
SP
9212 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9213 defined.
9214
80b5c505
SP
92152014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9216
e35c53e3
SP
9217 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9218 after checking that it is non-NULL.
9219
80b5c505
SP
9220 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9221
91f4b564
AZ
92222014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9223
27b75f56
AZ
9224 * sysdeps/powerpc/memmove.c: Remove file.
9225 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9226 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9227 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9228 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9229 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9230 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9231 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9232 string memmove instead of removed powerpc one.
9233
e7f95bb5
AZ
9234 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9235 [weak_alias]: Fix compiler warning due trailing data.
9236 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9237 [weak_alias]: Likewise.
9238 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9239 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9240
91f4b564
AZ
9241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9242 (__libc_ifunc_impl_list): Add memmove functions.
9243
7c33f1e5
SP
92442014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9245
9246 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9247 Remove code.
9248 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9249 Likewise
9250 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9251 Likewise
9252 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9253 Likewise
9254 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9255 Likewise
9256 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9257 Likewise
9258 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9259 Likewise
9260 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9261 Likewise
9262 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9263 Likewise
9264 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9265 Likewise
9266 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9267 Likewise
9268 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9269 Likewise
9270 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9271 Likewise
9272 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9273 Likewise
9274 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9275 Likewise
9276 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9277 Likewise
9278 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9279 Likewise
9280
3f17b03b
AZ
92812014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9282
87868c24
AZ
9283 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9284 to avoid alignment traps in non-cacheable memory.
9285 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9286
07aedd78
AZ
9287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9288 multiarch objects.
9289 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9290 file: multiarch power7 memmove.
9291 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9292 multiarch default memmove.
9293 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9294 multiarch memove for powerpc32/power4.
9295
17762f66
AZ
9296 * string/bcopy.c: Use full path to include memmove.c.
9297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9298 multiarch objects.
9299 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9300 bcopy for powerpc64.
9301 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9302 bcopy for powerpc64.
9303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9304 and memmove implementations.
9305 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9306 optimized multiarch memmove for POWER7/powerpc64.
9307 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9308 default multiarch memmove for powerpc64.
9309 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9310 multiarch for powerpc64.
9311 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9312 for POWER7/powerpc64.
9313 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9314 memmove for POWER7/powerpc64.
9315
d6f68bbe
AZ
9316 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9317 glibc default one.
9318
3f17b03b
AZ
9319 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9320 __ELF_NATIVE_CLASS equal to 64.
9321
08192659
RM
93222014-07-07 Roland McGrath <roland@hack.frob.com>
9323
f4c4021b
RM
9324 * sysdeps/nptl/lowlevellock.h: File removed.
9325
f083450f
RM
9326 * NEWS: NPTL is no longer an add-on!
9327 * nptl/internaltypes.h: Moved ...
9328 * sysdeps/nptl/internaltypes.h: ... here.
9329 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9330 * sysdeps/nptl/fork.c: Likewise.
9331 * sysdeps/nptl/gai_misc.h: Likewise.
9332 * sysdeps/nptl/librt-cancellation.c: Likewise.
9333 * sysdeps/nptl/jmp-unwind.c: Likewise.
9334 * sysdeps/nptl/setxid.h: Likewise.
9335 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9336 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9337 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9338 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9339 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9340 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9341 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9342 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9343 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9344 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9345 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9346 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9347 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9348 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9349 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9350 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9351 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9352 * nptl/Makeconfig: Moved ...
9353 * sysdeps/nptl/Makeconfig: ... here.
9354 * nptl/configure: File removed.
9355 * nptl/ANNOUNCE: File removed.
9356 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9357 * sysdeps/unix/sysv/linux/configure: Regenerated.
9358
08192659
RM
9359 * nptl/Makefile (routines): Add libc_pthread_init,
9360 libc_multiple_threads, register-atfork and unregister-atfork.
9361 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9362 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9363 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9364 pthread-pi-defines.sym, structsem.sym.
9365 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9366 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9367 [$(subdir) = nptl] (tests): Add tst-setgetname.
9368 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9369 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9370 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9371 [!LIBC_SIGACTION]: Remove aliases.
9372 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9373 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9374 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9375 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9376 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9377 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9380 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9381 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9382 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9383 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9384 __libc_allocate_rtsig_private.
9385 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9386 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9387 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9388 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9389 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9390 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9391 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9392 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9393 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9394 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9395 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9396 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9397 * nptl/internaltypes.h: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9399 * sysdeps/nptl/jmp-unwind.c: ... here.
9400 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9401 * nptl/libc-lowlevellock.c: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9403 * nptl/libc_multiple_threads.c: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9405 * nptl/libc_pthread_init.c: ... here.
9406 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9407 * nptl/lowlevelbarrier.sym: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9409 * nptl/lowlevelcond.sym: ... here.
9410 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9411 * nptl/lowlevellock.c: ... here.
9412 * nptl/lowlevellock.h: Moved ...
9413 * sysdeps/nptl/lowlevellock.h: ... here.
9414 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9415 * nptl/lowlevelrobustlock.c: ... here.
9416 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9417 * nptl/lowlevelrobustlock.sym: ... here.
9418 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9419 * nptl/lowlevelrwlock.sym: ... here.
9420 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9421 * nptl/pt-fork.c: ... here.
9422 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9423 * nptl/pthread-pi-defines.sym: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9425 * nptl/pthread_attr_getaffinity.c: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9427 * nptl/pthread_attr_setaffinity.c: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9429 * nptl/pthread_mutex_cond_lock.c: ... here.
9430 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9431 Update #include.
9432 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9433 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9434 * nptl/pthread_once.c: ... here, replacing old file.
9435 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9436 * nptl/pthread_yield.c: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9438 * nptl/register-atfork.c: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9440 * nptl/sem_post.c: ... here.
9441 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9442 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9443 * nptl/sem_timedwait.c: ... here.
9444 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9445 * nptl/sem_trywait.c: ... here.
9446 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9447 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9448 * nptl/sem_wait.c: ... here.
9449 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9450 * nptl/structsem.sym: ... here.
9451 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9452 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9453 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9454 * nptl/unregister-atfork.c: ... here.
9455 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9456 * nptl/unwindbuf.sym: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9458 * sysdeps/nptl/fork.c: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9460 * sysdeps/nptl/fork.h: ... here.
9461 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9462 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9463 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9464 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9465 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9466 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9467 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9468 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9469 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9470 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9471 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9472 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9473 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9474 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9475 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9477 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9478 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9479 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9480 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9481 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9482 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9483 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9484 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9485 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9486 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9487 * sysdeps/unix/sysv/linux/raise.c: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9489 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9491 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9493 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9495 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9497 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9498 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9499 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9500 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9501 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9502 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9503
96baf6ff
SP
95042014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9505
9506 * sysdeps/generic/memcopy.h: Add comment for
9507 MEMCPY_OK_FOR_FWD_MEMMOVE.
9508
6b7b14b2
WN
95092014-07-04 Will Newton <will.newton@linaro.org>
9510
1570a72b
WN
9511 * string/memchr.c: Merge from gnulib.
9512 [_LIBC]: Remove conditionals.
9513 (__ptr_t): Remove define.
9514 (LONG_MAX_32_BITS): Likewise.
9515 (LONG_MAX): Likewise.
9516 (MEMCHR): Use ANSI prototype and optimize algorithm.
9517
6b7b14b2
WN
9518 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9519
38851324
SP
95202014-07-03 Roland McGrath <roland@hack.frob.com>
9521
3d9eb57c
RM
9522 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9523 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9524
78b984ae
RM
9525 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9526 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9527 in a bare environment with no <stdlib.h> installed.
9528 * sysdeps/nptl/configure: Regenerated.
9529
2d5976a5
RM
9530 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9531
c1f5acd4
RM
9532 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9533 AC_EGREP_CPP for kernel header checks, so they only succeed if
9534 including <linux/version.h> actually works right.
9535 * sysdeps/unix/sysv/linux/configure: Regenerated.
9536
4d614fe5
RM
9537 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9538 value so it's not diagnosed as unused.
9539
38851324
SP
9540 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9541 thing) with "ifeq ($(subdir),rt)".
9542
b3ec00e5
RH
95432014-07-03 Richard Henderson <rth@redhat.com>
9544
69862e25
RH
9545 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9546 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9547 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9548
d5e16ade
RH
9549 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9550 (math_force_eval): New.
9551
ca7b945c
RH
9552 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9553 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9554
cd1175a3
RH
9555 * sysdeps/alpha/fpu/s_round.c: Remove file.
9556 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9557
b3ec00e5
RH
9558 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9559 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9560 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9561 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9562 (_dl_start, print_statistics): Likewise.
9563 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9564 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9565
9566 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9567 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9568 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9569 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9570 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9571 (HP_SMALL_TIMING_AVAIL): Define.
9572 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9573 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9574 (HP_SMALL_TIMING_AVAIL): Define.
9575 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9576 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9577
9578 * sysdeps/aarch64/hp-timing.h: New file.
9579
9580 * sysdeps/generic/hp-timing.h: Remove dead comment.
9581 * sysdeps/generic/hp-timing-common.h: New file.
9582 * sysdeps/alpha/hp-timing.h: Include it.
9583 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9584 * sysdeps/i386/i686/hp-timing.h: Likewise.
9585 * sysdeps/ia64/hp-timing.h: Likewise.
9586 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9587 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9589 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9590 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9591 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9592 (hp_timing_t): New.
9593
9594 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9595 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9596 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9597 * elf/rtld.c (_dl_start_final): Likewise.
9598 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9599 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9600 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9601 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9602 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9604 (HP_TIMING_DIFF_INIT): Remove.
9605 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9606 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9607 (HP_TIMING_DIFF_INIT): Remove.
9608 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9609 * sysdeps/i386/i686/hp-timing.c: Remove file.
9610 * sysdeps/x86_64/hp-timing.c: Remove file.
9611 * sysdeps/ia64/hp-timing.c: Remove file.
9612 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9613 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9614 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9615 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9616
9617 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9618 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9619 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9620 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9621 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9622 (HP_TIMING_ACCUM): Remove.
9623 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9624 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9625 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9626
9627 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9628 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9629 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9630 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9631 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9632 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9633 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9634 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9635
9636 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9637
225f410f
MR
96382014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9639
9640 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9641
3247f285
SP
96422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9643
9644 Sync up with gettext.
9645 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9646 [_MSC_VER]: Include malloc.h
9647 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9648 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9649 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9650 TEMP_FAILURE_RETRY. Cast return of alloca.
9651 [!_LIBC] Call gl_rwlock_init.
9652 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9653
d12704c7
SP
96542014-07-02 Roland McGrath <roland@hack.frob.com>
9655
9656 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9657 before checking its value.
9658
99f8dc92
SP
96592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9660
05fdac77
SP
9661 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9662
99f8dc92
SP
9663 * debug/memcpy_chk.c: Don't include pagecopy.h.
9664 * debug/mempcpy_chk.c: Likewise.
9665 * string/memcpy.c: Likewise.
9666 * string/memmove.c: Likewise.
9667 * sysdeps/powerpc/memmove.c: Likewise.
9668 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9669 definition of PAGE_COPY_FWD_MAYBE here...
9670 * sysdeps/generic/pagecopy.h: ... from here.
9671 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9672
bc8ea385
VR
96732014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9674 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9675
9676 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9678 optimizations.
9679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9680 (__libc_ifunc_impl_list): Likewise.
9681 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9682 multiarch strcat for PPC64.
9683 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9684 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9685
fe5f34e4
RM
96862014-07-02 Roland McGrath <roland@hack.frob.com>
9687
9688 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9689
256aa665
SP
96902014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9691
d4eb8195
SP
9692 * intl/loadmsgcat.c: Remove declaration of
9693 get_sysdep_segment_value.
9694 (get_sysdep_segment_value): Use ISO C style.
9695 (_nl_load_domain): Use ISO C style. Get rid of redundant
9696 semicolon. Fix typo and formatting in comment.
9697 (_nl_unload_domain): Use ISO C style.
9698
256aa665
SP
9699 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9700
b100f9aa
WN
97012014-07-02 Will Newton <will.newton@linaro.org>
9702
9703 * malloc/obstack.c: Merge from gnulib master.
9704 [HAVE_CONFIG_H]: Remove conditional code.
9705 [!_LIBC]: Include config.h.
9706 [!ELIDE_CODE]: Don't include inttypes.h, include
9707 stdint.h unconditionally.
9708 (print_and_abort): Mark as _Noreturn.
9709 (_obstack_allocated_p): Mark as __attribute_pure__.
9710 (obstack_free): Rename to __obstack_free.
9711 [!__attribute__]: Remove conditional code.
9712 * malloc/obstack.h: Merge from gnulib master.
9713 [__cplusplus]: Move conditional down.
9714 [!__attribute_pure__]: Define __attribute_pure__ here
9715 if it is not already defined.
9716 (_obstack_memory_used): Mark as __attribute_pure__.
9717 [!__obstack_free]: Define as obstack_free.
9718 [__GNUC__]: Remove check for ancient NeXT gcc.
9719
c4c41244
PE
97202014-07-02 Will Newton <will.newton@linaro.org>
9721 Paul Eggert <eggert@cs.ucla.edu>
9722
9723 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9724
e1e041c4
SP
97252014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9726
9727 * resolv/gethnamaddr.c: Add comment warning that the file is
9728 not maintained.
9729
ccf431ff
CD
97302014-07-01 Carlos O'Donell <carlos@redhat.com>
9731
d34570a6
CD
9732 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9733 entries.
9734
ccf431ff
CD
9735 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9736 entry for aio_cancel and aio_cancel64.
9737 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9738 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9739 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9740 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9741 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9742 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9743 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9744 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9745 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9746 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9747 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9748 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9749 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9750
ca06321d
RM
97512014-07-01 Roland McGrath <roland@hack.frob.com>
9752
9753 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9754 * nptl/pthread_mutex_lock.c: Likewise.
9755 * nptl/pthread_mutex_timedlock.c: Likewise.
9756 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9757
a1ac3184
RH
97582014-07-01 Richard henderson <rth@redhat.com>
9759
631021e0
RH
9760 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9761 (__isnan, __isnanl): Remove.
9762 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9763
a1ac3184
RH
9764 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9765
0c1d731f
SL
97662014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9767
9768 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9769
76985d3e
SP
97702014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9771
9772 * resolv/nss_dns/dns-host.c (getanswer_r)
9773 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9774
b0cb3096
JM
97752014-07-01 Joseph Myers <joseph@codesourcery.com>
9776
9777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9778 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9779 undefine.
9780 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9781 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9782
4d76cb39
RM
97832014-07-01 Roland McGrath <roland@hack.frob.com>
9784
9785 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9786 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9787
9788 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9789 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9790
9791 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9792 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9793 ... here.
9794 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9795 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9796
9797 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9798 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9799 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9800 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9801
9802 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9803 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9804 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9805 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9806 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9807 Moved ...
9808 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9809 ... here.
9810 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9815 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9817 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9818 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9819 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9821 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9825 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9830 ... here.
9831 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9832 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9834 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9835 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9836 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9837 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9838 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9839
0cdcad17
DH
98402014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9841
9842 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9843 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9844 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9845 Add sysdep.
9846
9b71d0e3
AZ
98472014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9848
9849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9850
665390c2
JM
98512014-06-30 Joseph Myers <joseph@codesourcery.com>
9852
ae05a9d7
JM
9853 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9854 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9855
a7672a2f
JM
9856 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9857
665390c2
JM
9858 * sysdeps/arm/libm-test-ulps: Regenerated.
9859
d7a05d07
MR
98602014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9861 Roland McGrath <roland@hack.frob.com>
9862
9863 * test-skeleton.c (signal_handler): Kill the whole process group
9864 before killing the child individually.
9865 (main): Report any failure on `setpgid'.
9866
46f1d8a6
RM
98672014-06-30 Roland McGrath <roland@hack.frob.com>
9868
9869 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9870 from _TLS_H to _ARM_NPTL_TLS_H.
9871 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9872 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9873
9c37ec0b
JM
98742014-06-30 Joseph Myers <joseph@codesourcery.com>
9875
ce9c5b3e
JM
9876 [BZ #16539]
9877 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9878 (__expm1l): Return argument unchanged when small but not
9879 subnormal.
9880
3a6e9887
JM
9881 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9882 include macro name.
9883 (_FP_UNPACK_RAW_1_P): Likewise.
9884 (_FP_PACK_RAW_1): Likewise.
9885 (_FP_PACK_RAW_1_P): Likewise.
9886 (_FP_MUL_MEAT_1_wide): Likewise.
9887 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9888 (_FP_MUL_MEAT_1_hard): Likewise.
9889 (_FP_DIV_MEAT_1_imm): Likewise.
9890 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9891 (_FP_DIV_MEAT_1_udiv): Likewise.
9892 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9893 (_FP_UNPACK_RAW_2): Likewise.
9894 (_FP_UNPACK_RAW_2_P): Likewise.
9895 (_FP_PACK_RAW_2): Likewise.
9896 (_FP_PACK_RAW_2_P): Likewise.
9897 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9898 (_FP_MUL_MEAT_2_wide): Likewise.
9899 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9900 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9901 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9902 (_FP_MUL_MEAT_2_gmp): Likewise.
9903 (_FP_DIV_MEAT_2_udiv): Likewise.
9904 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9905 (_FP_FRAC_SRL_4): Likewise.
9906 (_FP_FRAC_SRST_4): Likewise.
9907 (_FP_FRAC_SRS_4): Likewise.
9908 (_FP_UNPACK_RAW_4): Likewise.
9909 (_FP_UNPACK_RAW_4_P): Likewise.
9910 (_FP_PACK_RAW_4): Likewise.
9911 (_FP_PACK_RAW_4_P): Likewise.
9912 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9913 (_FP_MUL_MEAT_4_wide): Likewise.
9914 (_FP_MUL_MEAT_4_gmp): Likewise.
9915 (umul_ppppmnnn): Likewise.
9916 (_FP_DIV_MEAT_4_udiv): Likewise.
9917 (__FP_FRAC_ADD_4): Likewise.
9918 (__FP_FRAC_SUB_3): Likewise.
9919 (__FP_FRAC_SUB_4): Likewise.
9920 (__FP_FRAC_DEC_3): Likewise.
9921 (__FP_FRAC_DEC_4): Likewise.
9922 (__FP_FRAC_ADDI_4): Likewise.
9923 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9924 (_FP_FRAC_SRL_8): Likewise.
9925 (_FP_FRAC_SRS_8): Likewise.
9926
9c37ec0b
JM
9927 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9928 include macro name.
9929 (FP_UNPACK_RAW_EP): Likewise.
9930 (FP_PACK_RAW_E): Likewise.
9931 (FP_PACK_RAW_EP): Likewise.
9932 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9933 (_FP_ISSIGNAN): Likewise.
9934 (_FP_ADD_INTERNAL): Likewise.
9935 (_FP_FMA): Likewise.
9936 (_FP_CMP): Likewise.
9937 (_FP_SQRT): Likewise.
9938 (_FP_TO_INT): Likewise.
9939 (_FP_FROM_INT): Likewise.
9940 (FP_EXTEND): Likewise.
9941 (_FP_DIV_MEAT_N_loop): Likewise.
9942
2125f674
MR
99432014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9944
9945 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9946 throughout.
9947
edea4028
JM
99482014-06-29 Joseph Myers <joseph@codesourcery.com>
9949
9950 [BZ #17097]
9951 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9952 result with correct sign in case of exponents that produce
9953 overflow except for X very close to 1.
9954
dd0ba018
PE
99552014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9956
9957 mktime: merge #if/#ifdef usage from glibc
9958 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9959 as that works with both Glibc's and Gnulib's style.
9960 See thread starting at Siddhesh Poyarekar's bug report at:
9961 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9962
64df73c2
SP
99632014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9964
9965 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9966 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9967 * sysdeps/tile/tilegx/memmove.c: Remove file.
9968
f1eafb41
JM
99692014-06-27 Joseph Myers <joseph@codesourcery.com>
9970
9971 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9972 abi-name definition.
9973 * scripts/soversions.awk: Do not handle or generate ABI lines.
9974 * shlib-versions: Remove ABI entries.
9975 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9976 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9977
58eb0862
RM
99782014-06-27 Roland McGrath <roland@hack.frob.com>
9979
37caf178
RM
9980 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9981 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9982 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9983 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9985 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9987 Moved ...
9988 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9989 ... here.
9990 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9991 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9992 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9993 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9995 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9997 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9999 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10001 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10003 Moved ...
10004 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10006 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10008 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10010 Moved ...
10011 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10012 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10013 Moved ...
10014 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10016 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10018 Moved ...
10019 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10021 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10023 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10025 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10027 Moved ...
10028 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10029 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10030 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10031 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10032 Moved ...
10033 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10034 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10035 Moved ...
10036 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10037 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10038 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10039 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10040 Moved ...
10041 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10042 ... here.
10043 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10044 Identical file removed.
10045 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10046 Moved ...
10047 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10049 Identical file removed.
10050 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10051 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10052 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10053 Moved ...
10054 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10056 Identical file removed.
10057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10058 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10059 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10060 Identical file removed.
10061 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10062 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10063 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10064 Identical file removed.
10065 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10066 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10067 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10068 Identical file removed.
10069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10070 Moved ...
10071 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10073 Identical file removed.
10074 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10075 Moved ...
10076 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10077 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10078 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10079 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10080 Identical file removed.
10081 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10082 Moved ...
10083 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10084 ... here.
10085 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10086 Identical file removed.
10087 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10088 Moved ...
10089 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10090 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10091 Identical file removed.
10092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10093 Moved ...
10094 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10096 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10097 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10098 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10099 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10100 Moved ...
10101 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10102 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10103 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10104
58eb0862
RM
10105 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10106 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10107 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10108 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10109 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10110
6f12d062
AS
101112014-06-27 Arjun Shankar <arjun.is@lostca.se>
10112
10113 [BZ #17092]
10114 * nscd/nscd.c (monitor_child): Return exit status of child
10115 instead of return value from wait syscall.
10116
be254932
JM
101172014-06-27 Joseph Myers <joseph@codesourcery.com>
10118
cb403c34
JM
10119 * configure.ac (libc_commonpagesize): Remove variable.
10120 (libc_relro_required): Likewise.
10121 (libc_cv_z_relro): Remove configure test.
10122 * configure: Regenerated.
10123 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10124 variable.
10125 (libc_relro_required): Likewise.
10126 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10127 (libc_relro_required): Likewise.
10128 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10129 (libc_relro_required): Likewise.
10130 * sysdeps/arm/preconfigure: Regenerated.
10131 * sysdeps/ia64/preconfigure: Remove file.
10132 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10133 variable.
10134 (libc_relro_required): Likewise.
10135
be254932
JM
10136 [BZ #16561]
10137 [BZ #16562]
10138 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10139 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10140 recompute overflowing results in original rounding mode.
10141 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10142 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10143 recompute overflowing results in original rounding mode.
10144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10145 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10146 recompute overflowing results in original rounding mode.
10147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10148 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10149 recompute overflowing results in original rounding mode.
10150 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10151 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10152 recompute overflowing results in original rounding mode.
10153 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10154 (libc_feholdsetround_ctx): New macro.
10155 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10158
b351d85a
JM
101592014-06-26 Joseph Myers <joseph@codesourcery.com>
10160
10161 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10162 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10163 corresponding .cpsetup call.
10164
3cb4de47
RM
101652014-06-26 Roland McGrath <roland@hack.frob.com>
10166
10167 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10168 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10169 * sysdeps/arm/Makefile [$(subdir) = csu]
10170 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10171 (static-only-routines): Add aeabi_read_tp here.
10172 (shared-only-routines): Add libc-aeabi_read_tp here.
10173 (CFLAGS-libc-start.c): Add -fexceptions here.
10174 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10175 (sysdep_routines, static-only-routines, shared-only-routines):
10176 Don't add to these here.
10177 (CFLAGS-libc-start.c): Likewise.
10178
10179 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10180 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10181 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10182 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10183 * sysdeps/arm/Makefile [$(subdir) = rt]
10184 (librt-sysdep_routines, librt-shared-only-routines):
10185 Append rt-aeabi_unwind_cpp_pr1 here.
10186 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10187 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10188 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10189 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10190 Append nptl-aeabi_unwind_cpp_pr1 here.
10191 (tests): Filter out tst-cleanupx4 here.
10192 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10193 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10194 Don't do those here.
10195
354426bb
JM
101962014-06-26 Joseph Myers <joseph@codesourcery.com>
10197
10198 * scripts/list-sources.sh: Do not handle ports specially.
10199
28b0a8c9
RM
102002014-06-26 Roland McGrath <roland@hack.frob.com>
10201
a3dd035d
RM
10202 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10203 * sysdeps/arm/feupdateenv.c: Likewise.
10204
28b0a8c9
RM
10205 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10206
e66a8203
JM
102072014-06-26 Joseph Myers <joseph@codesourcery.com>
10208
10209 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10210 trailing whitespace removed.
10211 * scripts/config.guess: Update to version 2014-03-23.
10212 * scripts/config.sub: Update to version 2014-05-01
10213 * scripts/install-sh: Update to version 2013-12-25.23.
10214 * scripts/move-if-change: Update from gnulib.
10215
74171115
SP
102162014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10217
b97c9ce5
SP
10218 * debug/memmove_chk.c: Remove pagecopy.h include.
10219
4000f892
SP
102202014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10221
74171115
SP
10222 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10223 identical to gnulib mktime.
10224
a8779c28
JM
102252014-06-26 Joseph Myers <joseph@codesourcery.com>
10226
e64708de
JM
10227 * configure.ac: Do not test for machine being rs6000. Do not test
10228 for powerpc*-*soft.
10229 * configure: Regenerated.
10230
6a9350c8 10231 [BZ #11505]
a8779c28
JM
10232 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10233 test.
10234 * configure: Regenerated.
10235 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10236 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10237 Remove configure test.
10238 * sysdeps/arm/configure: Regenerated.
10239 * sysdeps/nptl/configure.ac: Do not check
10240 libc_cv_asm_cfi_directives.
10241 * sysdeps/nptl/configure: Regenerated.
10242 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10243 * sysdeps/x86_64/nptl/configure: Remove generated file.
10244 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10245 unconditional.
10246 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10247
2aac0a86
SP
102482014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10249
059bf913
SP
10250 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10251 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10252 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10253 it is defined.
10254
4cf5b6d0
SP
10255 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10256 instead of whether it is defined.
10257 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10258 * sysdeps/hppa/dl-machine.h: Likewise.
10259 * sysdeps/ia64/dl-machine.h: Likewise.
10260 * sysdeps/m68k/dl-machine.h: Likewise.
10261 * sysdeps/microblaze/dl-machine.h: Likewise.
10262 * sysdeps/mips/dl-machine.: Likewise.
10263 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10264 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10265 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10266 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10267 * sysdeps/sh/dl-machine.h: Likewise.
10268 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10269 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10270 * sysdeps/tile/dl-machine.h: Likewise.
10271 * sysdeps/x86_64/dl-machine.h: Likewise.
10272
2aac0a86
SP
10273 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10274 code.
10275 (verify_persistent_db): Likewise.
10276
6ad2df0b
RM
102772014-06-26 Roland McGrath <roland@hack.frob.com>
10278
d8a483f3
RM
10279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10280 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10282 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10284 Moved ...
10285 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10286 ... here.
10287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10288 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10290 Identical file removed.
10291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10292 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10294 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10296 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10298 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10300 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10302 Moved ...
10303 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10305 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10307 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10309 Moved ...
10310 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10314 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10316 Identical file removed.
10317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10318 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10322 Moved ...
10323 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10324 ... here.
10325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10326 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10328 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10330 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10332 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10336 Moved ...
10337 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10339 Moved ...
10340 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10344 Moved ...
10345 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10347 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10348
52ae23b4
RM
10349 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10350 folded into ...
10351 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10352 * sysdeps/unix/sysv/linux/s390/Versions
10353 (libpthread: GLIBC_2.19): New version set.
10354 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10355 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10356 (librt: GLIBC_2.3.3): New version set.
10357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10358 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10359 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10360 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10361 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10362 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10363 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10364 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10365 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10366 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10367 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10368 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10369 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10370 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10371 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10372 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10373 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10374 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10375 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10376 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10377 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10378 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10379 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10380 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10381 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10382 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10383 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10384 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10385 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10386 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10387 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10388 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10393 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10395 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10397 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10399 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10401 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10402
39507e4a
RM
10403 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10404 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10405 (__libc_vfork): Define the function under this name.
10406 [!NOT_IN_libc] (__vfork): Make this an alias.
10407 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10409 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10410 (__libc_vfork): Define the function under this name.
10411 [!NOT_IN_libc] (__vfork): Make this an alias.
10412 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10413 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10414 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10415 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10416 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10417 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10418
e549ee56
RM
10419 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10420 code that was previously under [RESET_PID].
10421 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10422 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10424
6ad2df0b
RM
10425 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10426 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10427 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10428 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10429 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10430 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10431 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10432 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10433 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10434 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10435 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10436 Moved ...
10437 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10438 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10439 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10440 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10441 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10442 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10443 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10444 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10445 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10447 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10448 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10449 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10450 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10451 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10453 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10454 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10455 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10456 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10457 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10458 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10459 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10460 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10461 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10462 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10463 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10465 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10466
7c1c1d8e
RM
104672014-06-25 Roland McGrath <roland@hack.frob.com>
10468
10469 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10470 that was previously under [RESET_PID].
10471 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10472
3e239be6
JM
104732014-06-25 Joseph Myers <joseph@codesourcery.com>
10474
74385da5
JM
10475 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10476 not undefine and redefine.
10477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10478 [O_CLOEXEC]: Make code unconditional.
10479 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10480 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10481 <kernel-features.h>.
10482 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10483 conditional variable definition.
10484 (shm_open) [O_CLOEXEC]: Make code unconditional.
10485 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10486 code.
10487
c2570a0b
JM
10488 * configure.ac (USE_REGPARMS): Don't define here.
10489 * configure: Regenerated.
10490 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10491 * sysdeps/i386/configure: Regenerated.
10492
11b076bb
JM
10493 * nptl/createthread.c: Don't include kernel-features.h.
10494 * nptl/pthread_cancel.c: Likewise.
10495 * nptl/pthread_condattr_setclock.c: Likewise.
10496 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10497 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10498 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10499 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10500 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10501 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10502 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10505 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10506 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10507 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10508 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10509 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10510 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10511 * nscd/gai.c: Likewise.
10512 * nss/nss_db/db-open.c: Likewise.
10513 * sysdeps/generic/ldsodefs.h: Likewise.
10514 * sysdeps/sh/nptl/tls.h: Likewise.
10515 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10516 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10517 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10518 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10519 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10520 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10521 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10522 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10523 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10524 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10525 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10526 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10527 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10528 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10529 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10530 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10531 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10532 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10533 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10534 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10535 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10536 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10537 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10538 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10539 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10540 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10541 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10542 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10543 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10544 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10545 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10546 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10547 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10548 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10549 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10550 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10551 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10552 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10553 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10554 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10555 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10556 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10557 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10558 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10559 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10560 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10561 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10562 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10563 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10564 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10565 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10566 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10567 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10568 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10569 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10570 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10571 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10572 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10595 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10596 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10597 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10598 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10599 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10600 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10601 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10602 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10603 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10604 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10605 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10606 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10607 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10608 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10609 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10610 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10611 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10612 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10613 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10614 * sysdeps/unix/sysv/linux/system.c: Likewise.
10615 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10616 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10617 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10618 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10619 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10621 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10622
92072d57
JM
10623 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10624 * configure: Regenerated.
10625 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10626
3e239be6
JM
10627 * configure.ac (base_machine): Do not set specially for particular
10628 machines here.
10629 * configure: Regenerated.
10630 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10631 settings from configure.ac.
10632 * sysdeps/i386/preconfigure: New file.
10633 * sysdeps/s390/preconfigure: Likewise.
10634 * sysdeps/sh/preconfigure: Likewise.
10635 * sysdeps/sparc/preconfigure: Likewise.
10636
06d50baa
RM
106372014-06-25 Roland McGrath <roland@hack.frob.com>
10638
74836003
RM
10639 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10640 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10641 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10642 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10643 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10644 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10645 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10646 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10647 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10648 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10649 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10650 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10651 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10652 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10653 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10654 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10655 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10656 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10657 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10658
10659 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10660 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10661 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10662 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10663 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10664 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10665 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10666 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10667 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10668 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10669 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10670 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10671 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10672 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10673 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10674 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10675 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10676 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10677 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10678 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10679 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10680 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10681 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10682 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10683 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10684 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10685 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10686 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10687 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10688 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10689 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10690 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10691 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10692 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10693 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10694 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10695 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10696 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10697
06d50baa
RM
10698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10699 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10701 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10703 Moved ...
10704 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10705 ... here.
10706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10707 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10709 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10711 Moved ...
10712 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10714 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10716 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10718 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10720 Moved ...
10721 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10723 Moved ...
10724 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10726 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10728 Moved ...
10729 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10735 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10737 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10739 Moved ...
10740 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10741 ... here.
10742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10743 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10745 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10747 Moved ...
10748 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10750 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10752 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10756 Moved ...
10757 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10759 Moved ...
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10762 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10764 Moved ...
10765 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10767 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10769 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10770
a4ccbc9b
JM
107712014-06-25 Joseph Myers <joseph@codesourcery.com>
10772
0828edbf
JM
10773 * timezone/checktab.awk: Update from tzcode 2014e.
10774 * timezone/private.h: Likewise.
10775 * timezone/tzfile.h: Likewise.
10776 * timezone/zdump.c: Likewise.
10777 * timezone/zic.c: Likewise.
10778
a4ccbc9b
JM
10779 * sysdeps/unix/sysv/linux/kernel-features.h
10780 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10781 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10782 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10783 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10784 Remove conditional code.
10785
9aea0cb8
WN
107862014-06-25 Will Newton <will.newton@linaro.org>
10787
10788 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10789 (_dl_arm_cap_flags): Add HWCAP2 values.
10790 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10791 (_DL_HWCAP_COUNT): Increase to 37.
10792 (_DL_HWCAP_LAST): New define.
10793 (_DL_HWCAP2_LAST): New define.
10794 (_dl_procinfo): Add support for printing
10795 AT_HWCAP2 entries.
10796 (_dl_string_hwcap): Use _dl_hwcap_string.
10797
6eaa65ce
AZ
107982014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10799
10800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10801
0f5b7185
JM
108022014-06-25 Joseph Myers <joseph@codesourcery.com>
10803
cfd2ea50
JM
10804 * README: Do not mention ports directory.
10805
cecf2ed4
JM
10806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10807 Remove macro.
10808 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10809 <kernel-features.h>.
10810 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10811 conditional variable definition.
10812 (__futimes): Update comment.
10813 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10814 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10815
a638de82
JM
10816 [BZ #16560]
10817 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10818 arguments close to 0.
10819 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10820 Likewise.
10821 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10822 Likewise.
10823 * math/auto-libm-test-in: Add more tests of exp10.
10824 * math/auto-libm-test-out: Regenerated.
10825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10826
0f5b7185
JM
10827 * sysdeps/unix/sysv/linux/kernel-features.h
10828 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10829 * sysdeps/unix/sysv/linux/readv.c: Do not include
10830 <kernel-features.h>.
10831 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10832 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10833 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10834 unconditional.
10835 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10836 conditional code.
10837 * sysdeps/unix/sysv/linux/writev.c: Do not include
10838 <kernel-features.h>.
10839 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10840 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10841 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10842 unconditional.
10843 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10844 conditional code.
10845
c7aec4be
WN
108462014-06-25 Will Newton <will.newton@linaro.org>
10847
10848 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10849 comment changes throughout the file. Remove checks
10850 for HAVE_*_H definitions that are not required.
10851 (__gen_tempname): Call abort if an unknown kind value is
10852 passed.
10853
c5241f95
AS
108542014-06-25 Andreas Schwab <schwab@suse.de>
10855
10856 [BZ #17086]
10857 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10858 scalbln, scalblnf, scalblnl in libc.
10859
911422da
SP
108602014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10861
10862 [BZ #17086]
10863 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10864 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10865 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10866
0d749bbe
RM
108672014-06-24 Roland McGrath <roland@hack.frob.com>
10868
10869 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10870 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10871 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10872 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10873 Update #include.
10874 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10875 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10876 Update #include.
10877 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10878 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10879 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10880 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10881 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10882 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10883 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10884 * sysdeps/x86/bits/semaphore.h: ... here.
10885 * sysdeps/x86/nptl/elide.h: Moved ...
10886 * sysdeps/x86/elide.h: ... here.
10887 * sysdeps/x86_64/nptl/Implies: File removed.
10888 * sysdeps/i386/nptl/Implies: File removed.
10889
0ea5d373
JM
108902014-06-24 Joseph Myers <joseph@codesourcery.com>
10891
4060283d
JM
10892 [BZ #16539]
10893 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10894 return the argument for normal arguments with exponent below -64.
10895 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10896 Likewise.
10897 * math/auto-libm-test-in: Add another test of expm1.
10898 * math/auto-libm-test-out: Regenerated.
10899
e7dd3c8c
JM
10900 [BZ #16287]
10901 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10902 calling __erfcl for arguments at least 16.
10903 * math/auto-libm-test-in: Add more tests of erf.
10904 * math/auto-libm-test-out: Regenerated.
10905
0ea5d373
JM
10906 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10907 individual architectures.
10908 * sysdeps/unix/sysv/linux/configure: Regenerated.
10909 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10910 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10911 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10912 (ldd_rewrite_script): Define variable.
10913 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10915 file.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10917 generated file.
10918 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10919 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10920 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10921 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10922 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10923 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10924 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10925 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10926
2307e126
SP
109272014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10928
10929 [BZ #17084]
10930 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10931 Rename member __data.d to __data.__elision_data.
10932
c0a4ed77
W
109332014-06-24 Wilco <wdijkstr@arm.com>
10934
10935 * NEWS: Add 16918 to fixed bug list.
10936
b8c00573
W
109372014-06-24 Wilco <wdijkstr@arm.com>
10938
10939 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10940
b5570d92
W
109412014-06-24 Wilco <wdijkstr@arm.com>
10942
10943 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10944 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10945 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10946 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10947 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10948 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10949 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10950 Use _FPU_MASK_RM.
10951
947bdca2
W
109522014-06-24 Wilco <wdijkstr@arm.com>
10953
10954 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10955
00f669ed
W
109562014-06-24 Wilco <wdijkstr@arm.com>
10957
10958 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10959 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10960 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10961 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10962
db59bad3
W
109632014-06-24 Wilco <wdijkstr@arm.com>
10964
10965 [BZ #16918]
10966 * sysdeps/arm/feupdateenv.c (feupdateenv):
10967 Rewrite to reduce FPSCR accesses and fix return value.
10968
001f7b77
W
109692014-06-24 Wilco <wdijkstr@arm.com>
10970
10971 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10972 Optimize to avoid unnecessary FPSCR writes.
10973 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10974 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10975 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10976 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10977
4841e6a6
W
109782014-06-24 Wilco <wdijkstr@arm.com>
10979
10980 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10981 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10982 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10983 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10984 Call libc_fetestexcept_vfp.
10985 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10986 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10987 __SOFTFP__ ifdef so that they can be built for softfp.
10988
0813022c
SP
109892014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10990
08e5862f
SP
10991 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10992 argument type signed char.
10993
0813022c
SP
10994 * Makerules (check-abi): Dump diff of symlist if the test
10995 fails.
10996
3fc7236a
RM
109972014-06-23 Roland McGrath <roland@hack.frob.com>
10998
aba8ef95
RM
10999 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11000 using abort.
11001
3fc7236a
RM
11002 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11003 Remove unused variable ST.
11004
4da6db51
JM
110052014-06-23 Joseph Myers <joseph@codesourcery.com>
11006
4648909d
JM
11007 [BZ #16354]
11008 [BZ #17061]
11009 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11010 small arguments before calling __expm1.
11011 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11012 small arguments before calling __expm1f.
11013 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11014 small arguments before calling __expm1l.
11015 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11016 Likewise.
11017 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11018 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11019 spurious underflow for some cosh tests.
11020 * math/auto-libm-test-out: Regenerated.
11021 * sysdeps/i386/fpu/libm-test-ulps: Update.
11022
46a3d3c7
JM
11023 [BZ #17050]
11024 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11025 (__ieee754_y1): Set errno if return value overflows.
11026 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11027 (__ieee754_y1f): Set errno if return value overflows.
11028 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11029 (__ieee754_y1l): Set errno if return value overflows.
11030 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11031 (__ieee754_y1l): Set errno if return value overflows.
11032 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11033 * math/auto-libm-test-out: Regenerated.
11034
863893ec
JM
11035 * math/gen-auto-libm-tests.c: Document use of
11036 ignore-zero-inf-sign.
11037 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11038 (input_flags): Add ignore-zero-inf-sign.
11039 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11040 * math/gen-libm-test.pl (generate_testfile): Handle
11041 ignore-zero-inf-sign.
11042 * math/auto-libm-test-in: Mark some cpow tests with
11043 ignore-zero-inf-sign and some with xfail-rounding.
11044 * math/auto-libm-test-out: Regenerated.
11045 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11046 * sysdeps/i386/fpu/libm-test-ulps: Update.
11047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11048
4da6db51
JM
11049 [BZ #16315]
11050 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11051 overflowing or underflowing operations take place with sign of
11052 result.
11053 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11054 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11055 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11056 (__ieee754_pow): Recompute overflowing and underflowing results in
11057 original rounding mode.
11058 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11059 (__powl_helper): Allow negative argument X and scale negated value
11060 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11061 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11062 overflowing or underflowing operations take place with sign of
11063 result.
11064 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11065 Include <math.h>.
11066 * math/auto-libm-test-in: Add more tests of pow.
11067 * math/auto-libm-test-out: Regenerated.
11068 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11069 (pow_tonearest_test_data): Remove.
11070 (pow_test_tonearest): Likewise.
11071 (pow_towardzero_test_data): Likewise.
11072 (pow_test_towardzero): Likewise.
11073 (pow_downward_test_data): Likewise.
11074 (pow_test_downward): Likewise.
11075 (pow_upward_test_data): Likewise.
11076 (pow_test_upward): Likewise.
11077 (main): Don't call removed functions.
11078 * sysdeps/i386/fpu/libm-test-ulps: Update.
11079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11080
5686b236
RM
110812014-06-23 Roland McGrath <roland@hack.frob.com>
11082
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11084 Moved ...
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11087 Moved ...
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11090 Moved ...
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11093 Moved ...
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11096 File removed.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11098 File removed.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11100 File removed.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11102 File removed.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11104 File removed.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11106 File removed.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11108 File removed.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11110 File removed.
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11112 File removed.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11114 File removed.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11116 File removed.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11118 File removed.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11120 Moved ...
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11123 Moved ...
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11125 ... here.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11127 Moved ...
11128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11130 Moved ...
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11133 Moved ...
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11136 Moved ...
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11139 Moved ...
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11142 Moved ...
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11145 Moved ...
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11149 ... here.
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11151 Moved ...
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11154 Moved ...
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11156 ... here.
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11158 Moved ...
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11160 ... here.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11162 Moved ...
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11164 ... here.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11166 Moved ...
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11169 Moved ...
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11174 Moved ...
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11176 ... here.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11178 Moved ...
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11180 ... here.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11182 Moved ...
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11188 Moved ...
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11191 Moved ...
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11194 Moved ...
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11196 ... here.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11198 Moved ...
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11201 Moved ...
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11204 Moved ...
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11207 Moved ...
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11212 Moved ...
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11215 Moved ...
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11218 Moved ...
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11220 ... here.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11222 Moved ...
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11224 ... here.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11226 Moved ...
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11228 ... here.
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11230 Moved ...
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11233 Moved ...
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11236 Moved ...
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11239 Moved ...
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11241 ... here.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11243 Moved ...
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11245 ... here.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11247 Moved ...
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11249 ... here.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11251 Moved ...
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11254 Moved ...
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11256
e6d90d67
WD
112572014-06-23 Will Newton <will.newton@linaro.org>
11258 Wilco <wdijkstr@arm.com>
11259
11260 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11261 implementation. Include get-rounding-mode.h.
11262 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11263 [!libc_feholdsetround_noex_ctx]: Define
11264 libc_feholdsetround_noex_ctx.
11265 [!libc_feholdsetround_noexf_ctx]: Define
11266 libc_feholdsetround_noexf_ctx.
11267 [!libc_feholdsetround_noexl_ctx]: Define
11268 libc_feholdsetround_noexl_ctx.
11269 (libc_feholdsetround_ctx): New function.
11270 (libc_feresetround_ctx): New function.
11271 (libc_feholdsetround_noex_ctx): New function.
11272 (libc_feresetround_noex_ctx): New function.
11273
d42df555
RM
112742014-06-23 Roland McGrath <roland@hack.frob.com>
11275
88a46474
RM
11276 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11277 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11278 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11279 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11280 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11281 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11282
15bed472
RM
11283 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11284 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11285 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11286 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11287 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11288 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11290 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11291 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11292 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11293 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11294 Moved ...
11295 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11296 ... here.
11297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11298 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11299 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11300 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11301 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11302 Moved ...
11303 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11304 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11305 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11306 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11307 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11308 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11309 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11310 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11311 Moved ...
11312 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11314 Moved ...
11315 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11316 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11317 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11318 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11319 Moved ...
11320 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11321 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11322 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11323 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11324 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11325 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11326 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11328 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11329 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11330 Moved ...
11331 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11332 ... here.
11333 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11334 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11335 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11336 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11337 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11338 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11339 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11340 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11341 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11342 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11343 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11344 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11345 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11346 Moved ...
11347 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11348 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11349 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11350 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11351 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11352 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11353 Moved ...
11354 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11355 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11356 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11357 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11358 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11359
d42df555
RM
11360 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11361 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11362 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11363 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11364 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11365 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11366 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11367 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11369 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11370 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11371 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11372 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11373 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11374 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11375 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11376 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11377 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11378 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11379 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11380 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11381 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11383 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11384 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11385 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11386 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11387 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11388
76e5216e
JM
113892014-06-23 Joseph Myers <joseph@codesourcery.com>
11390
11391 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11392 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11393 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11394 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11395 (IPV6_PMTUDISC_INTERFACE): Likewise.
11396 (IPV6_PMTUDISC_OMIT): Likewise.
11397
7a81cbcc
AS
113982014-06-23 Andreas Schwab <schwab@suse.de>
11399
11400 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11401 Remove unused errout label.
11402
db224009
AZ
114032014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11404
11405 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11406 macro: hardware supports Vector Crypto instructions.
11407
f393b4aa
WN
114082014-06-23 Will Newton <will.newton@linaro.org>
11409
cc7d0447
WN
11410 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11411 rather than __builtin_expect.
11412
d6d06225
WN
11413 * elf/dl-lookup.c (undefined_msg): Remove variable.
11414 (_dl_lookup_symbol_x): Replace undefined_msg with string
11415 literal.
11416
f393b4aa
WN
11417 * elf/dl-lookup.c (do_lookup_unique): New function.
11418 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11419 to a separate function.
11420
ac60763e
AS
114212014-06-23 Andreas Schwab <schwab@suse.de>
11422
11423 [BZ #17079]
11424 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11425 before reading the next line.
11426
c5c13355
WN
114272014-06-23 Will Newton <will.newton@linaro.org>
11428
11429 * test-skeleton.c (signal_handler): Use printf and %m
11430 rather than perror. Use printf rather than fprintf to
11431 stderr. Use puts rather than fputs to stderr.
11432 (main): Likewise.
11433
bd3675f9
LC
114342014-06-22 Ludovic Courtès <ludo@gnu.org>
11435
11436 * nscd/nscd.c (thread_info_t): Remove typedef.
11437 (thread_info): Remove variable.
11438
d03efb2f
AM
114392014-06-21 Allan McRae <allan@archlinux.org>
11440
11441 * NEWS: Mention CVE-2014-4043.
11442
bc4a86fa
RM
114432014-06-20 Roland McGrath <roland@hack.frob.com>
11444
dc9a54f8
RM
11445 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11446 * nptl/smp.h: ... here.
11447
bd7022c4
RM
11448 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11449
26ffd5e6
RM
11450 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11451 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11452 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11453 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11454
93a6d082
RM
11455 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11456 * nptl/stack-aliasing.h: New file.
11457 * sysdeps/i386/i686/stack-aliasing.h: New file.
11458 * sysdeps/i386/i686/nptl/Makefile: File removed.
11459 * sysdeps/x86_64/stack-aliasing.h: New file.
11460 * sysdeps/x86_64/nptl/Makefile
11461 (CFLAGS-pthread_create.c): Variable removed.
11462
bc4a86fa
RM
11463 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11464 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11465 old file.
11466 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11467 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11468 old file.
11469
2272ffc1
JM
114702014-06-21 Joseph Myers <joseph@codesourcery.com>
11471
11472 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11473 (__ASSUME_SIGFRAME_V2): Remove macro.
11474 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11475 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11476 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11477 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11478 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11479 Declare as function. Remove conditional macro definitions.
11480 (__default_rt_sa_restorer): Likewise.
11481 (__default_sa_restorer_v1): Remove declaration.
11482 (__default_sa_restorer_v2): Likewise.
11483 (__default_rt_sa_restorer_v1): Likewise.
11484 (__default_rt_sa_restorer_v2): Likewise.
11485 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11486 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11487 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11488
4b88139b
RM
114892014-06-20 Roland McGrath <roland@hack.frob.com>
11490
11491 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11492 (libpthread-routines): Add sysdep.
11493 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11494 * sysdeps/unix/sysv/linux/sparc/Versions
11495 (libpthread: GLIBC_2.3.3): New version set.
11496 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11497 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11498 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11499 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11500 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11501 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11502 Moved ...
11503 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11504 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11505 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11506 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11507 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11508 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11509 * sysdeps/sparc/nptl/sem_init.c: ... here.
11510 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11511 * sysdeps/sparc/nptl/sem_post.c: ... here.
11512 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11513 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11514 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11515 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11516 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11517 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11518 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11519 (libpthread-routines): Add cpu_relax.
11520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11521 File removed.
11522 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11523 (librt: GLIBC_2.3.3): New version set.
11524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11525 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11526 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11527 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11530 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11532 Moved ...
11533 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11535 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11537 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11539 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11541 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11543 Moved ...
11544 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11545 Update #include.
11546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11547 Moved ...
11548 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11549 Update #include.
11550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11551 Moved ...
11552 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11553 Update #include.
11554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11555 Moved ...
11556 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11557 Update #include.
11558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11559 Moved ...
11560 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11561 Update #include.
11562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11563 Moved ...
11564 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11565 Update #include.
11566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11567 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11569 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11573 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11575 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11577 Moved ...
11578 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11580 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11582 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11583
d7109027
JM
115842014-06-20 Joseph Myers <joseph@codesourcery.com>
11585
9bc6103d
JM
11586 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11587 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11588 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11589 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11590 * nscd/nscd.c: Likewise.
11591 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11592 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11593 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11594 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11595
d7109027
JM
11596 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11597 <kernel-features.h>.
11598 (init_mq_netlink): Remove conditional have_sock_cloexec
11599 definitions. Remove code conditional on have_sock_cloexec < 0.
11600 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11601 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11602 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11603 <kernel-features.h>.
11604 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11605 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11606
d92d8f8a
L
116072014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11608
11609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11610 Add tests for memset_chk and memset.
11611
11612 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11613 with AVX2_Usable.
11614
4e6d2347
MR
116152014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11616
257ce712
MR
11617 [BZ #16046]
11618 * elf/tst-dl-iter-static.c: New file.
11619 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11620
4e6d2347
MR
11621 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11622 error.
11623
a2a76afe
JM
116242014-06-20 Joseph Myers <joseph@codesourcery.com>
11625
7fd00f99
JM
11626 * sysdeps/unix/sysv/linux/kernel-features.h
11627 (__ASSUME_F_GETOWN_EX): Remove macro.
11628 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11629 <kernel-features.h>.
11630 (miss_F_GETOWN_EX): Remove variable or macro.
11631 (do_fcntl): Do not check miss_F_GETOWN_EX.
11632 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11633
4a103975
JM
11634 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11635 Remove macro.
11636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11637 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11638 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11639
a2a76afe
JM
11640 * sysdeps/unix/sysv/linux/kernel-features.h
11641 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11642 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11643 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11644 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11645
90e5dd48
MR
116462014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11647
11648 [BZ #17075]
11649 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11650 Fix calculation of the symbol's value.
11651 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11652 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11653 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11654 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11655 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11656 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11657 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11658 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11659 (modules-names): Add `tst-armtlsdescmod',
11660 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11661 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11662 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11663 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11664 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11665 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11666 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11667 ($(objpfx)tst-armtlsdescloc): New dependency.
11668 ($(objpfx)tst-armtlsdescextnow): Likewise.
11669 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11670 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11671 TLS scheme support.
11672 * sysdeps/arm/configure: Regenerate.
11673
809fdf0d
JM
116742014-06-20 Joseph Myers <joseph@codesourcery.com>
11675
11676 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11677 (__atfct_seterrno_2): Likewise.
11678 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11679 <kernel-features.h>.
11680 (__ASSUME_ATFCTS): Do not undefine and redefine.
11681 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11682 (__have_atfcts): Remove conditional definition.
11683 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11684 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11685 unreachable if [__ASSUME_ATFCTS].
11686 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11687 not undefine and redefine.
11688 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11689 <kernel-features.h>.
11690 (faccessat) [__NR_faccessat]: Make code unconditional.
11691 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11692 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11693 <kernel-features.h>.
11694 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11695 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11696 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11697 <kernel-features.h>.
11698 (fchownat) [__NR_fchownat]: Make code unconditional.
11699 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11700 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11701 <kernel-features.h>.
11702 (futimesat) [__NR_futimesat]: Make code unconditional.
11703 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11704 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11705 <kernel-features.h>.
11706 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11707 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11708 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11709 <kernel-features.h>.
11710 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11711 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11712 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11713 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11714 <kernel-features.h>.
11715 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11716 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11717 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11718 <kernel-features.h>.
11719 (linkat) [__NR_linkat]: Make code unconditional.
11720 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11721 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11722 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11723 <kernel-features.h>.
11724 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11725 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11726 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11727 <kernel-features.h>.
11728 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11729 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11730 * sysdeps/unix/sysv/linux/openat.c: Do not include
11731 <kernel-features.h>.
11732 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11733 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11734 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11735 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11736 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11737 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11738 <kernel-features.h>.
11739 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11740 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11741 result of INLINE_SYSCALL directly, not via int variable.
11742 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11743 <kernel-features.h>.
11744 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11745 (renameat) [__NR_renameat]: Make code unconditional.
11746 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11747 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11748 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11749 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11750 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11751 (__ASSUME_ATFCTS): Do not undefine and redefine.
11752 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11753 <kernel-features.h>.
11754 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11755 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11756 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11757 <kernel-features.h>.
11758 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11759 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11760 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11761 (__ASSUME_ATFCTS): Do not undefine and redefine.
11762 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11763 <kernel-features.h>.
11764 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11765 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11766 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11767 <kernel-features.h>.
11768 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11769 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11770
224c6c51
L
117712014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11772
11773 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11774
aa6ec754
AS
117752014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11776
11777 [BZ #17069]
11778 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11779 constructed tree before returning error.
11780 * posix/bug-regexp36.c: Expand test case.
11781
d8c2869d
SL
117822014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11783
3ef6b850
SL
11784 [BZ #6803]
11785 * math/libm-test.inc (scalbln_test_date):
11786 Add errno expectations.
11787 * math/w_scalblnf.c: New File.
11788 Add wrapper which checks for setting errno to ERANGE.
11789 Add weak_alias for corresponding scalbln function.
11790 * math/w_scalbln.c: Likewise.
11791 * math/w_scalblnl.c: Likewise.
11792 * math/Makefile (libm-calls): Add w_scalbln.
11793 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11794 Remove weak_alias for corresponding scalbln function.
11795 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11799 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11800 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11801 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11802 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11803 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11804 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11805 Remove long_double_symbol for scalblnl function in libm, libc.
11806 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11807 Add wrapper which checks for setting errno to ERANGE.
11808 Add long_double_symbol for scalblnl function in libm, libc.
11809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11810 Remove long_double_symbol for scalblnl in libm.
11811 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11812 Add wrapper which checks for setting errno to ERANGE.
11813 Add long_double_symbol for scalblnl function in libm.
11814 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11815 Do not use wrapper because of own implementation.
11816
c8daec5c
L
118172014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11820 3 bytes for __pad1 for x32.
11821 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11822
5c74e47c
LM
118232014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11824 H.J. Lu <hongjiu.lu@intel.com>
11825
11826 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11827 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11828 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11829 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11830 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11831
4d43ef1e
AS
118322014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11833
11834 [BZ #17069]
11835 * posix/regcomp.c (parse_expression): Deallocate partially
11836 constructed tree before returning error.
11837 * posix/Makefile.c (tests): Add bug-regex36.
11838 (generated): Add bug-regex36.mtrace.
11839 (tests-special): Add $(objpfx)bug-regex36-mem.out
11840 (bug-regex36-ENV): New variable.
11841 ($(objpfx)bug-regex36-mem.out): New rule.
11842 * posix/bug-regex36.c: New file.
11843
51a7380b
WN
118442014-06-19 Will Newton <will.newton@linaro.org>
11845
11846 * malloc/malloc.c (systrim): If extra is zero then return
11847 early.
11848
91b84fe5
SP
118492014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11850
11851 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11852
f940b965
RE
118532014-06-19 Richard Earnshaw <rearnsha@arm.com>
11854
11855 * sysdeps/aarch64/strchr.S: New file.
11856
4ba7a00f
JM
118572014-06-18 Joseph Myers <joseph@codesourcery.com>
11858
11859 [BZ #17022]
11860 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11861 from arguments -2 or below.
11862 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11863 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11864
b3a9f56b
AS
118652014-06-18 Andreas Schwab <schwab@suse.de>
11866
11867 [BZ #17062]
11868 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11869 of a bracket expr not to run off the end of the string.
11870 * posix/Makefile (tests): Add tst-fnmatch3.
11871 * posix/tst-fnmatch3.c: New file.
11872
85d89278
JM
118732014-06-18 Joseph Myers <joseph@codesourcery.com>
11874
11875 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11876 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11877 [$(cross-compiling) = no]: Likewise.
11878 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11879 [$(cross-compiling) = no]: Likewise.
11880
754c5a08
RS
118812014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11882
11883 [BZ #17031]
11884 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11885 double, adjusted for any remainder from the high double.
11886 * math/libm-test.inc (nearbyint): Add tests.
11887 (rint): Likewise.
11888
556f529d
AZ
118892014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11890
11891 * nptl/sysdeps/powerpc/Makefile: Moved ...
11892 * sysdeps/powerpc/nptl/Makefile: ... here.
11893 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11894 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11895 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11896 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11897 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11898 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11899 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11900 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11901 * nptl/sysdeps/powerpc/tls.h: Moved ...
11902 * sysdeps/powerpc/nptl/tls.h: ... here.
11903
91c03c53
JM
119042014-06-16 Joseph Myers <joseph@codesourcery.com>
11905
11906 [BZ #16681]
11907 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11908 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11909 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11910 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11911 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11912 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11913 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11914 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11915 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11916
a76e63c5
AS
119172014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11918
11919 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11920
f2f6d82f
AS
119212014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11922
ea8a15f6
AS
11923 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11924 defined operator.
11925
f2f6d82f
AS
11926 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11927 $TIMEOUTFACTOR.
11928
a7291117
FW
119292014-06-16 Florian Weimer <fweimer@redhat.com>
11930
11931 [BZ #17058]
11932 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11933 non-executed part of the test.
11934
3d7c00e3
AS
119352014-06-16 Andreas Schwab <schwab@suse.de>
11936
11937 * string/bits/string2.h (strdup, strndup): Update feature guard.
11938
6957fb31
DM
119392014-06-14 David S. Miller <davem@davemloft.net>
11940
11941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11942
11b9e55b
AS
119432014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11944
1d2a0492
AS
11945 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11946 that was previously under [RESET_PID].
11947 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11948
11b9e55b
AS
11949 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11950 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11951 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11952 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11953 (__libc_vfork): New strong alias.
11954 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11955
0f6901d0
AK
119562014-06-14 Andi Kleen <ak@linux.intel.com>
11957
11958 * sysdeps/generic/elide.h: New file.
11959
38bbbb9f
SL
119602014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11961
11962 * Makefile (installed-headers): Adjust path of pthread.h header.
11963
45193bb8
RM
119642014-06-13 Roland McGrath <roland@hack.frob.com>
11965
9a25fd1e
RM
11966 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11967 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11968 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11969 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11970
4004f7e4
RM
11971 * nptl/sysdeps/s390/Makefile: Moved ...
11972 * sysdeps/s390/nptl/Makefile: ... here.
11973 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11974 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11975 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11976 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11977 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11978 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11979 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11980 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11981 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11982 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11983 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11984 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11985 * nptl/sysdeps/s390/tls.h: Moved ...
11986 * sysdeps/s390/nptl/tls.h: ... here.
11987
45193bb8
RM
11988 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11989 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11990
f6fdf533
DM
119912014-06-13 David S. Miller <davem@davemloft.net>
11992
11993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11996 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12000 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12001 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12002 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12003 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12004 Remove RESET_PID cpp guards.
12005 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12006 Remove RESET_PID cpp guards.
12007 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12008
f5d71e14
AS
120092014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12010
12011 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12012 __sp to uintptr_t.
12013
b7aa8caa
AK
120142014-06-13 Andi Kleen <ak@linux.intel.com>
12015
4b266200
AZ
12016 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12017 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12018 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12019 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12020 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12021 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12022 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12023 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12024 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12025 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12026 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12027 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12029 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12030 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12031 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12032 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12033 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12034 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12035 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
12036
12037 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
12038 (pthread_rwlock_rdlock): Add elision.
12039 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12040 (pthread_rwlock_wrlock): Add elision.
12041 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12042 (pthread_rwlock_trywrlock): Add elision.
12043 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12044 (pthread_rwlock_tryrdlock): Add elision.
12045 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12046 (pthread_rwlock_tryrdlock): Add elision unlock.
12047 * nptl/sysdeps/pthread/pthread.h:
12048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12049 (PTHREAD_RWLOCK_INITIALIZER,
12050 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12051 Handle new elision field.
12052 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12053 * sysdeps/arm/nptl/bits/pthreadtypes.h
12054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12055 * sysdeps/sh/nptl/bits/pthreadtypes.h
12056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12057 * sysdeps/tile/nptl/bits/pthreadtypes.h
12058 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12059 * sysdeps/a/nptl/bits/pthreadtypes.h
12060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12061 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12062 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12063 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12065 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12067 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12068 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12069 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12071 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12073 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12074 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12075 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12076 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12077 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12078 (elision_init): Set try_xbegin to zero when no RTM.
12079 * sysdeps/x86/nptl/bits/pthreadtypes.h
12080 (pthread_rwlock_t): Change __pad1 to __rwelision.
12081 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12082
a832bdd3
AK
120832014-06-13 Andi Kleen <ak@linux.intel.com>
12084
12085 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12086 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12087 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12088 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12089
995a46bb
MI
120902014-06-13 Meador Inge <meadori@codesourcery.com>
12091
12092 [BZ #16996]
03ed7738 12093 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12094 that the cached result has been set before returning it.
12095
45262aee
RM
120962014-06-12 Roland McGrath <roland@hack.frob.com>
12097
febf6cc5
RM
12098 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12099 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12100 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12101 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12102 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12103 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12104
e2682246
RM
12105 * nptl/sysdeps/sparc/Makefile: Moved ...
12106 * sysdeps/sparc/nptl/Makefile: ... here.
12107 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12108 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12109 * nptl/sysdeps/sparc/tls.h: Moved ...
12110 * sysdeps/sparc/nptl/tls.h: ... here.
12111 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12112 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12113 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12114 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12115 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12116 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12117 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12118 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12119 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12120 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12121 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12122 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12123 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12124 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12125 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12126 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12127 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12128 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12129 Update #include.
12130 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12131 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12132 Update #include.
12133 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12134 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12135 Update #include.
12136 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12137 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12138 Update #include.
12139
b0725f43
RM
12140 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12141
b14368b8
RM
12142 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12143 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12144
c5620eb3
RM
12145 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12146 (struct list_links): Type removed.
12147 (struct thread_node, struct timer_node): Replace struct list_links
12148 with struct list_head.
12149 (list_unlink_ip): Likewise.
12150 * sysdeps/pthread/timer_routines.c
12151 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12152 (list_append, list_insbefore): Likewise.
12153 (list_init): Function removed.
12154 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12155 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12156 * sysdeps/pthread/Makefile: ... here, new file.
12157
12158 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12159 * sysdeps/nptl/Implies: ... here.
12160 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12161 * nptl/sysdeps/pthread/list.h: Moved ...
12162 * include/list.h: ... here.
12163 * nptl/sysdeps/pthread/createthread.c: Moved ...
12164 * nptl/createthread.c: ... here.
12165 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12166 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12167 * nptl/pt-longjmp.c: ... here.
12168 * nptl/sysdeps/pthread/Makefile: Moved ...
12169 * sysdeps/nptl/Makefile: ... here.
12170 * nptl/sysdeps/pthread/Subdirs: Moved ...
12171 * sysdeps/nptl/Subdirs: ... here.
12172 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12173 * sysdeps/nptl/aio_misc.h: ... here.
12174 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12175 * sysdeps/nptl/bits/libc-lock.h: ... here.
12176 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12177 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12178 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12179 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12180 * nptl/sysdeps/pthread/configure: Moved ...
12181 * sysdeps/nptl/configure: ... here.
12182 * nptl/sysdeps/pthread/configure.ac: Moved ...
12183 * sysdeps/nptl/configure.ac: ... here.
12184 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12185 * sysdeps/nptl/gai_misc.h: ... here.
12186 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12187 * sysdeps/nptl/librt-cancellation.c: ... here.
12188 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12189 * sysdeps/nptl/malloc-machine.h: ... here.
12190 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12191 * sysdeps/nptl/pthread-functions.h: ... here.
12192 * nptl/sysdeps/pthread/pthread.h: Moved ...
12193 * sysdeps/nptl/pthread.h: ... here.
12194 * nptl/sysdeps/pthread/setxid.h: Moved ...
12195 * sysdeps/nptl/setxid.h: ... here.
12196 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12197 * sysdeps/nptl/sigfillset.c: ... here.
12198 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12199 * sysdeps/nptl/tcb-offsets.h: ... here.
12200 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12201 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12202 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12203 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12204 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12205 * sysdeps/pthread/allocalim.h: ... here.
12206 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12207 * sysdeps/pthread/bits/sigthread.h: ... here.
12208 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12209 * sysdeps/pthread/flockfile.c: ... here.
12210 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12211 * sysdeps/pthread/ftrylockfile.c: ... here.
12212 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12213 * sysdeps/pthread/funlockfile.c: ... here.
12214 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12215 * sysdeps/pthread/posix-timer.h: ... here.
12216 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12217 * sysdeps/pthread/timer_create.c: ... here.
12218 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12219 * sysdeps/pthread/timer_delete.c: ... here.
12220 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12221 * sysdeps/pthread/timer_getoverr.c: ... here.
12222 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12223 * sysdeps/pthread/timer_gettime.c: ... here.
12224 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12225 * sysdeps/pthread/timer_routines.c: ... here.
12226 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12227 * sysdeps/pthread/timer_settime.c: ... here.
12228 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12229 * sysdeps/pthread/tst-timer.c: ... here.
12230 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12231 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12232
e876b090
RM
12233 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12234 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12235
f6b07b3d
RM
12236 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12237 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12238 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12239 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12240 Update #include target.
12241 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12242 * sysdeps/i386/i686/nptl/Makefile: ... here.
12243 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12244 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12245 Update #include target.
12246 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12247 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12248 * nptl/sysdeps/i386/Makefile: Moved ...
12249 * sysdeps/i386/nptl/Makefile: ... here.
12250 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12251 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12252 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12253 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12254 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12255 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12256 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12257 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12258 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12259 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12260 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12261 * nptl/sysdeps/i386/tls.h: Moved ...
12262 * sysdeps/i386/nptl/tls.h: ... here.
12263
45262aee
RM
12264 * sysdeps/sh/Makefile [$(subdir) = csu]
12265 (gen-as-const-headers): Add tcb-offsets.sym.
12266 * nptl/sysdeps/sh/Makefile: File removed.
12267 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12268 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12269 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12270 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12271 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12272 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12273 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12274 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12275 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12276 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12277 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12278 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12279 * nptl/sysdeps/sh/tls.h: Moved ...
12280 * sysdeps/sh/nptl/tls.h: ... here.
12281 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12282 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12283 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12284 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12285 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12286 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12287 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12288 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12289 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12290 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12292 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12293 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12294 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12296 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12298 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12299 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12300 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12301 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12302 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12305 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12306 Moved ...
12307 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12308 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12309 Moved ...
12310 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12311 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12312 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12313 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12314 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12316 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12318 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12320 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12322 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12324 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12326 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12328 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12329
35a5e3e3
SL
123302014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12331
12332 * posix/spawn_faction_addopen.c: Include string.h.
12333
14642b85
RM
123342014-06-11 Roland McGrath <roland@hack.frob.com>
12335
12336 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12337 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12338 * nptl/sysdeps/x86_64/Makefile: Moved ...
12339 * sysdeps/x86_64/nptl/Makefile: ... here.
12340 * nptl/sysdeps/x86_64/configure: Moved ...
12341 * sysdeps/x86_64/nptl/configure: ... here.
12342 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12343 * sysdeps/x86_64/nptl/configure.ac: ... here.
12344 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12345 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12346 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12347 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12348 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12349 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12350 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12351 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12352 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12353 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12354 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12355 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12356 * nptl/sysdeps/x86_64/tls.h: Moved ...
12357 * sysdeps/x86_64/nptl/tls.h: ... here.
12358 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12359 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12360 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12361 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12362
12363 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12364
31c44fea
AZ
123652014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12366
12367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12368
e81a4f9a
JM
123692014-06-11 Joseph Myers <joseph@codesourcery.com>
12370
12371 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12372 type.
12373 [POSIX] (off_t): Likewise.
12374 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12375 [POSIX] (S_ISBLK): Require macro.
12376 [POSIX] (S_ISCHR): Likewise.
12377 [POSIX] (S_ISDIR): Likewise.
12378 [POSIX] (S_ISFIFO): Likewise.
12379 [POSIX] (S_ISREG): Likewise.
12380 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12381 optional-macro.
12382 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12383 type.
12384 [POSIX] (time_t): Likewise.
12385 [POSIX] (timer_t): Likewise.
12386
89e435f3
FW
123872014-06-11 Florian Weimer <fweimer@redhat.com>
12388
12389 [BZ #17048]
12390 * posix/spawn_int.h (struct __spawn_action): Make the path string
12391 non-const to support deallocation.
12392 * posix/spawn_faction_addopen.c
12393 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12394 * posix/spawn_faction_destroy.c
12395 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12396 path in all spawn_do_open actions.
12397 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12398 posix_spawn_file_actions_addopen.
12399
c3a2ebe1
CM
124002014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12401
12402 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12403 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12404 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12405 conditional code always true.
12406 (__libc_vfork): New alias.
12407
9503784a
RM
124082014-06-11 Roland McGrath <roland@hack.frob.com>
12409
c9cab3d2
RM
12410 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12411 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12412
d3996c79
RM
12413 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12414
ba5ec611
RM
12415 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12416 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12417
f12b4814
RM
12418 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12419 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12420
9503784a
RM
12421 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12422 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12423
e23d3d26
VR
124242014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12425
12426 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12427 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12428 multiarch strcmp for PPC64.
12429 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12430 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12432 multiarch optimizations.
12433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12434 (__libc_ifunc_impl_list): Likewise.
12435
42b1161e
SP
124362014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12437
12438 * benchtests/scripts/validate_benchout.py: New script.
12439 * benchtests/Makefile (bench-func): Call it.
12440 * benchtests/scripts/benchout.schema.json: New file.
12441
2d0fc4dc
CM
124422014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12443
4a594c34
AZ
12444 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12445 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12446 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12447 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12448 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12449 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12450 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12451 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12452 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12453 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12454 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12455 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12456 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12457 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12458 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12459 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12461 Moved ...
4a594c34 12462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12463 ... here.
4a594c34 12464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12465 Moved ...
4a594c34
AZ
12466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12468 Moved ...
4a594c34 12469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12470 ... here.
4a594c34 12471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12472 Moved ...
4a594c34 12473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12474 ... here.
4a594c34 12475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12476 Moved ...
4a594c34
AZ
12477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12479 Moved ...
4a594c34 12480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12481 ... here.
4a594c34 12482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12483 Moved ...
4a594c34 12484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12485 ... here.
4a594c34 12486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12487 Moved ...
4a594c34
AZ
12488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12490 Moved ...
4a594c34 12491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12492 ... here.
4a594c34 12493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12494 Moved ...
4a594c34 12495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12496 ... here.
4a594c34 12497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12498 Moved ...
4a594c34 12499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12500 ... here.
4a594c34 12501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12502 Moved ...
4a594c34
AZ
12503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12505 Moved ...
4a594c34 12506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12507 ... here.
4a594c34 12508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12509 Moved ...
4a594c34 12510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12511 ... here.
4a594c34 12512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12513 Moved ...
4a594c34 12514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12515 ... here.
4a594c34 12516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12517 Moved ...
4a594c34
AZ
12518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12520 Moved ...
4a594c34 12521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12522 ... here.
4a594c34 12523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12524 Moved ...
4a594c34 12525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12526 ... here.
4a594c34 12527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12528 Moved ...
4a594c34
AZ
12529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12531 Moved ...
4a594c34 12532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12533 ... here.
4a594c34 12534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12535 Moved ...
4a594c34
AZ
12536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12538 Moved ...
4a594c34
AZ
12539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12541 Moved ...
4a594c34 12542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12543 ... here.
4a594c34 12544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12545 Moved ...
4a594c34 12546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12547 ... here.
4a594c34 12548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12549 Moved ...
4a594c34 12550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12551 ... here.
4a594c34 12552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12553 Moved ...
4a594c34
AZ
12554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12556 Moved ...
4a594c34 12557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12558 ... here.
4a594c34 12559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12560 Moved ...
4a594c34 12561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12562 ... here.
4a594c34
AZ
12563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12564 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12566 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12568 Moved ...
4a594c34 12569 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12570 ... here.
4a594c34
AZ
12571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12572 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12574 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12576 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12577 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12578 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12580 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12582 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12584 Moved ...
4a594c34
AZ
12585 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12586 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12587 Moved ...
4a594c34
AZ
12588 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12590 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12591 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12592 Moved ...
4a594c34
AZ
12593 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12594 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12595 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12596 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12597 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12598 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12599 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12600
0570cfed
W
126012014-06-10 Wilco <wdijkstr@arm.com>
12602
12603 * math/test-fenv-return.c: New file.
12604 * math/Makefile: Add new test test-fenv-return.
12605
f8ba1b56
JM
126062014-06-10 Joseph Myers <joseph@codesourcery.com>
12607
12608 [BZ #17042]
12609 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12610 when x - 1 is zero.
12611 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12612 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12613 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12614 0.0L for an argument of 1.0L.
12615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12616 Likewise.
12617 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12618 value when x - 1 is zero.
12619 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12620 * sysdeps/i386/fpu/libm-test-ulps: Update.
12621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12622
2c3520d9
BO
126232014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12624
12625 [BZ #15119]
12626 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12627
acaa4d24
RM
126282014-06-09 Roland McGrath <roland@hack.frob.com>
12629
12630 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12631 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12632
962b744d
RM
126332014-06-09 Roland McGrath <roland@hack.frob.com>
12634
d752f0cc
RM
12635 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12636 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12637
34eda6d1
RM
12638 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12639 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12640
50f0a637
RM
12641 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12642 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12643
08f41f04
RM
12644 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12645 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12646
962b744d
RM
12647 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12648 if not already defined.
12649 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12650 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12651 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12652 (TLS_INIT_TP): Use it.
12653 (TLS_DEFINE_INIT_TP): New macro.
12654 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12655
09f19b05
JM
126562014-06-09 Joseph Myers <joseph@codesourcery.com>
12657
12658 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12659 constant.
12660 [POSIX] (IXANY): Likewise.
12661 [POSIX] (OLCUC): Likewise.
12662 [POSIX || POSIX2008] (CBAUD): Do not allow.
12663 [POSIX || POSIX2008] (DEFECHO): Likewise.
12664 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12665 [POSIX || POSIX2008] (ECHOKE): Likewise.
12666 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12667 [POSIX || POSIX2008] (EXTA): Likewise.
12668 [POSIX || POSIX2008] (EXTB): Likewise.
12669 [POSIX || POSIX2008] (FLUSHO): Likewise.
12670 [POSIX || POSIX2008] (LOBLK): Likewise.
12671 [POSIX || POSIX2008] (PENDIN): Likewise.
12672 [POSIX || POSIX2008] (SWTCH): Likewise.
12673 [POSIX || POSIX2008] (VDISCARD): Likewise.
12674 [POSIX || POSIX2008] (VDSUSP): Likewise.
12675 [POSIX || POSIX2008] (VLNEXT): Likewise.
12676 [POSIX || POSIX2008] (VREPRINT): Likewise.
12677 [POSIX || POSIX2008] (VSTATUS): Likewise.
12678 [POSIX || POSIX2008] (VWERASE): Likewise.
12679 (B*): Change to B[0123456789]*.
12680 * conform/data/time.h-data [POSIX || UNIX98]
12681 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12682 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12683 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12684 [POSIX] (tm_*): Do not allow.
12685
686554bf
JM
126862014-06-07 Joseph Myers <joseph@codesourcery.com>
12687
12688 * Makefile (install): Don't set LANGUAGE.
12689 * Makefile.in (install): Likewise.
12690 * assert/Makefile (test-assert-ENV): Remove variable.
12691 (test-assert-perr-ENV): Likewise.
12692 * elf/Makefile (neededtest4-ENV): Likewise.
12693 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12694 [$(cross-compiling) = no]: Don't set LANGUAGE.
12695 * io/ftwtest-sh (LANG): Remove variable.
12696 * libio/Makefile (tst-widetext-ENV): Likewise.
12697 * manual/install.texi (Running make install): Don't refer to
12698 environment settings for make install.
12699 * INSTALL: Regenerated.
12700 * nptl/tst-tls6.sh: Don't set LANG.
12701 * posix/globtest.sh (LANG): Remove variable.
12702 * string/Makefile (tester-ENV): Likewise.
12703 (inl-tester-ENV): Likewise.
12704 (noinl-tester-ENV): Likewise.
12705 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12706 [$(cross-compiling) = no]: Don't set LANGUAGE.
12707 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12708 without explicit environment settings.
12709
68e6b6b1
RM
127102014-06-06 Roland McGrath <roland@hack.frob.com>
12711
12712 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12713 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12714 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12715 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12716
4d3ae034
CM
127172014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12718
12719 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12720 other files in the crypt directory.
12721 * crypt/crypt.c: Remove duplicate includes.
12722 * crypt/crypt-entry.c: Likewise.
12723 * crypt/crypt_util.c: Likewise.
12724
8540f6d2
JM
127252014-06-06 Joseph Myers <joseph@codesourcery.com>
12726
12727 * Makeconfig (run-program-env): New variable.
12728 (run-program-prefix-before-env): Likewise.
12729 (run-program-prefix-after-env): Likewise.
12730 (run-program-prefix): Define in terms of new variables.
12731 (built-program-cmd-before-env): New variable.
12732 (built-program-cmd-after-env): Likewise.
12733 (built-program-cmd): Define in terms of new variables.
12734 (test-program-prefix-before-env): New variable.
12735 (test-program-prefix-after-env): Likewise.
12736 (test-program-prefix): Define in terms of new variables.
12737 (test-program-cmd-before-env): New variable.
12738 (test-program-cmd-after-env): Likewise.
12739 (test-program-cmd): Define in terms of new variables.
12740 * Rules (make-test-out): Use $(run-program-env).
12741 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12742 (help): Do not mention environment variables. Mention
12743 --timeoutfactor option.
12744 (timeoutfactor): New variable.
12745 (blacklist_exports): Remove function.
12746 (exports): Remove variable.
12747 (command): Do not include ${exports}.
12748 * manual/install.texi (Configuring and compiling): Do not mention
12749 test wrappers preserving environment variables. Mention that last
12750 assignment to a variable must take precedence.
12751 * INSTALL: Regenerated.
12752 * benchtests/Makefile (run-bench): Use $(run-program-env).
12753 * catgets/Makefile ($(objpfx)test1.cat): Use
12754 $(built-program-cmd-before-env), $(run-program-env) and
12755 $(built-program-cmd-after-env).
12756 ($(objpfx)test2.cat): Do not specify environment variables
12757 explicitly.
12758 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12759 $(run-program-env) and $(built-program-cmd-after-env).
12760 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12761 $(run-program-env) and $(test-program-cmd-after-env).
12762 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12763 explicitly.
12764 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12765 run_program_env and test_program_cmd_after_env arguments.
12766 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12767 * elf/tst-pathopt.sh: Use run_program_env argument.
12768 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12769 $(test-wrapper-env) and $(run-program-env).
12770 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12771 run_program_env arguments.
12772 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12773 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12774 $(test-program-prefix-before-env), $(run-program-env) and
12775 $(test-program-prefix-after-env).
12776 ($(objpfx)tst-gettext2.out): Likewise.
12777 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12778 run_program_env and test_program_prefix_after_env arguments.
12779 * intl/tst-gettext2.sh: Likewise.
12780 * intl/tst-gettext4.sh: Do not set environment variables
12781 explicitly.
12782 * intl/tst-gettext6.sh: Likewise.
12783 * intl/tst-translit.sh: Likewise.
12784 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12785 $(test-program-prefix-before-env), $(run-program-env) and
12786 $(test-program-prefix-after-env).
12787 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12788 run_program_env and test_program_prefix_after_env arguments.
12789 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12790 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12791 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12792 explicitly with each use of ${test_wrapper_env}.
12793 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12794 $(test-program-prefix-before-env), $(run-program-env) and
12795 $(test-program-prefix-after-env).
12796 * posix/tst-getconf.sh: Do not set environment variables
12797 explicitly.
12798 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12799 run_program_env and test_program_prefix_after_env arguments.
12800 * stdio-common/tst-printf.sh: Do not set environment variables
12801 explicitly.
12802 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12803 $(test-program-prefix-before-env), $(run-program-env) and
12804 $(test-program-prefix-after-env).
12805 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12806 run_program_env and test_program_prefix_after_env arguments.
12807 Split $test calls into $test_pre and $test.
12808 * timezone/Makefile (build-testdata): Use
12809 $(built-program-cmd-before-env), $(run-program-env) and
12810 $(built-program-cmd-after-env).
12811
ed36bfa1
AZ
128122014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12813
12814 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12815 strlen for non SHARED builds.
12816
fc75bf46
SP
128172014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12818
12819 * nptl/allocatestack.c (check_list): Inlined function...
12820 (__reclaim_stacks): ... here.
12821
d89b3d80
OB
128222014-06-05 Ondřej Bílka <neleai@seznam.cz>
12823
12824 [BZ #15698]
12825 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12826 memory overrun.
12827
2bf18041
JM
128282014-06-05 Joseph Myers <joseph@codesourcery.com>
12829
12830 * Rules (make-test-out): Include
12831 LOCPATH=$(common-objpfx)localedata in default environment.
12832 * debug/Makefile (tst-chk1-ENV): Remove variable.
12833 (tst-chk2-ENV): Likewise.
12834 (tst-chk3-ENV): Likewise.
12835 (tst-chk4-ENV): Likewise.
12836 (tst-chk5-ENV): Likewise.
12837 (tst-chk6-ENV): Likewise.
12838 (tst-lfschk1-ENV): Likewise.
12839 (tst-lfschk2-ENV): Likewise.
12840 (tst-lfschk3-ENV): Likewise.
12841 (tst-lfschk4-ENV): Likewise.
12842 (tst-lfschk5-ENV): Likewise.
12843 (tst-lfschk6-ENV): Likewise.
12844 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12845 (tst-iconv7-ENV): Likewise.
12846 * intl/Makefile (LOCPATH-ENV): Likewise.
12847 (tst-codeset-ENV): Likewise.
12848 (tst-gettext3-ENV): Likewise.
12849 (tst-gettext5-ENV): Likewise.
12850 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12851 (tst-fopenloc-ENV): Likewise.
12852 (tst-fgetws-ENV): Remove variable.
12853 (tst-ungetwc1-ENV): Likewise.
12854 (tst-ungetwc2-ENV): Likewise.
12855 (bug-ungetwc2-ENV): Likewise.
12856 (tst-swscanf-ENV): Likewise.
12857 (bug-ftell-ENV): Likewise.
12858 (tst-fgetwc-ENV): Likewise.
12859 (tst-fseek-ENV): Likewise.
12860 (tst-ftell-partial-wide-ENV): Likewise.
12861 (tst-ftell-active-handler-ENV): Likewise.
12862 (tst-ftell-append-ENV): Likewise.
12863 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12864 (tst-regexloc-ENV): Likewise.
12865 (bug-regex1-ENV): Likewise.
12866 (tst-regex-ENV): Likewise.
12867 (tst-regex2-ENV): Likewise.
12868 (bug-regex5-ENV): Likewise.
12869 (bug-regex6-ENV): Likewise.
12870 (bug-regex17-ENV): Likewise.
12871 (bug-regex18-ENV): Likewise.
12872 (bug-regex19-ENV): Likewise.
12873 (bug-regex20-ENV): Likewise.
12874 (bug-regex22-ENV): Likewise.
12875 (bug-regex23-ENV): Likewise.
12876 (bug-regex25-ENV): Likewise.
12877 (bug-regex26-ENV): Likewise.
12878 (bug-regex30-ENV): Likewise.
12879 (bug-regex32-ENV): Likewise.
12880 (bug-regex33-ENV): Likewise.
12881 (bug-regex34-ENV): Likewise.
12882 (bug-regex35-ENV): Likewise.
12883 (tst-rxspencer-ENV): Likewise.
12884 (tst-rxspencer-no-utf8-ENV): Likewise.
12885 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12886 (tst-sscanf-ENV): Likewise.
12887 (tst-swprintf-ENV): Likewise.
12888 (tst-swscanf-ENV): Likewise.
12889 (test-vfprintf-ENV): Likewise.
12890 (scanf13-ENV): Likewise.
12891 (bug14-ENV): Likewise.
12892 (tst-grouping-ENV): Likewise.
12893 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12894 (tst-strtod3-ENV): Likewise.
12895 (tst-strtod4-ENV): Likewise.
12896 (tst-strtod5-ENV): Likewise.
12897 (testmb2-ENV): Likewise./
12898 * string/Makefile (tst-strxfrm-ENV): Likewise.
12899 (tst-strxfrm2-ENV): Likewise.
12900 (bug-strcoll1-ENV): Likewise.
12901 (test-strcasecmp-ENV): Likewise.
12902 (test-strncasecmp-ENV): Likewise.
12903 * time/Makefile (tst-strptime-ENV): Likewise.
12904 (tst-ftime_l-ENV): Likewise.
12905 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12906 (tst-mbrtowc-ENV): Likewise.
12907 (tst-wcrtomb-ENV): Likewise.
12908 (tst-mbrtowc2-ENV): Likewise.
12909 (tst-c16c32-1-ENV): Likewise.
12910 (tst-mbsnrtowcs-ENV): Likewise.
12911
cd1fb604
OB
129122014-06-05 Ondřej Bílka <neleai@seznam.cz>
12913
12914 * manual/resource.texi (How to get information about the memory
12915 subsystem?): Fix typo.
12916 Reported by Peon de la Parra Ivan <peon@keba.com>
12917
b42eca7d
GY
129182014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12919
12920 [BZ #16882]
12921 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12922 (pthread_spin_lock): Branch out of spin loop to proper location.
12923 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12924 (pthread_spin_lock): Likewise.
12925
902b71f9
DM
12926 * nptl/tst-spin4.c: New test.
12927 * nptl/Makefile (tests): Add tst-spin4.
12928
f9d2d032
AS
129292014-06-03 Andreas Schwab <schwab@suse.de>
12930
12931 [BZ #15946]
12932 * resolv/res_send.c (send_dg): Reload file descriptor after
12933 calling reopen.
12934
cf7bfd28
SL
129352014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12936
12937 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12938
111cc714
RH
129392014-06-03 Richard Henderson <rth@redhat.com>
12940
89b4bd6b
RH
12941 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12942 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12943 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12944 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12945 in the SAVE_PID block.
12946 (__libc_vfork): New alias.
71840409 12947 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12948
111cc714
RH
12949 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12950 child in registers, not on the stack. Remove RESET_PID conditionals.
12951 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12952
ccc39911
MS
129532014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12954
12955 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12956
693096cc
W
129572014-06-03 Wilco <wdijkstr@arm.com>
12958
12959 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12960 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12961 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12962 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12963 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12964 Likewise.
12965
0b4366bc
W
129662014-06-03 Wilco <wdijkstr@arm.com>
12967
12968 * sysdeps/aarch64/fpu/math_private.h
12969 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12970 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12971 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12972 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12973 Fix declarations.
12974
8747cd03
KS
129752014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12976
12977 * crypt/crypt-private.h: Include ufc-crypt.h.
12978 (__b64_from_24bit): Declare extern.
12979 * crypt/crypt_util.c(__b64_from_24bit): New function.
12980 (b64t): New static const variable.
12981 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12982 (b64t): Remove variable.
12983 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12984 * crypt/sha256-crypt.c: Include crypt-private.h.
12985 (b64t): Remove variable.
12986 (__sha256_crypt_r): Remove b64_from_24bit and replace
12987 with __b64_from_24bit.
12988 * crypt/sha512-crypt.c: Likewise.
12989
d936d379
RM
129902014-06-02 Roland McGrath <roland@hack.frob.com>
12991
12992 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12993 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12994 Label the code __libc_vfork rather than __vfork.
12995 [!NOT_IN_libc] (vfork): Define as weak alias.
12996 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12997 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12998 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12999
9fa76613
SP
130002014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13001
13002 * malloc/malloc.c (malloc_info): Fix format specifier for
13003 n_mmaps.
13004
a88dadbe
W
130052014-06-02 Wilco <wdijkstr@arm.com>
13006
13007 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13008 FPCR write.
13009
c95b3011
W
130102014-06-02 Wilco <wdijkstr@arm.com>
13011
13012 [BZ #17009]
13013 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13014 Rewrite to reduce FPCR/FPSR accesses.
13015
6b4d7a90
DM
130162014-06-01 David S. Miller <davem@davemloft.net>
13017
13018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13019
30f3d07c
DM
130202014-05-31 David S. Miller <davem@davemloft.net>
13021
13022 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13023 to occur in round to nearest mode when |x| >= 2.0
13024
74f31c18
RH
130252014-05-30 Richard Henderson <rth@twiddle.net>
13026
f0712b54
RH
13027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13028 (PSEUDO_RET_NOERRNO): Remove.
13029 (ret): Don't redefine.
13030 (ret_NOERRNO): Define in terms of ret.
13031 (ret_ERRVAL): Likewise.
13032
74f31c18
RH
13033 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13034 use of PSEUDO_RET; perform the error check directly.
13035
30477995
MM
130362014-05-30 Marko Myllynen <myllynen@redhat.com>
13037
13038 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13039 with __int128_t.
13040
62a58816
SP
130412014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13042
13043 * malloc/malloc (malloc_info): Fix formatting.
13044
4d653a59
SP
130452014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13046 Roland McGrath <roland@hack.frob.com>
13047
13048 * malloc/malloc (malloc_info): Also print mmapped statistics.
13049
5190c17f
RM
130502014-05-30 Roland McGrath <roland@hack.frob.com>
13051
13052 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13053 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13054
987c0269
OB
130552014-05-30 Ondřej Bílka <neleai@seznam.cz>
13056
13057 * malloc/malloc.c (malloc_info): Inline mi_arena.
13058
af4e8ef9
RH
130592014-05-29 Richard Henderson <rth@twiddle.net>
13060
1670e207
RH
13061 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13062 Remove comma before expanding ASM_ARGS_##nr.
13063 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13064 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13065 of ASM_ARGS_##nr.
13066 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13067 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13068 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13069 (ASM_ARGS_1): Add leading comma.
13070
11a28aee
RH
13071 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13072 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13073 to __errno_location.
13074 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13075 Remove the expected plt for __errno_location.
13076
a17e5ffb 13077 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13078 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13079 call to __read_tp.
13080
b5be4597
RH
13081 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13082 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13083 it and break it down.
13084 (DOCARGS_0, DOCARGS_1): Do nothing.
13085 (DOCARGS_2): Update to store into the new stack frame.
13086 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13087 (UNDOCARGS_1): Update to restore from the new stack frame.
13088 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13089 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13090
645d44ab
RH
13091 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13092 (SINGLE_THREAD_P): New parameter for result regno.
13093 (PSEUDO): Update to match; use cbz instead of beq.
13094
a8b4f04a
RH
13095 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13096 Use ENTRY to define the _nocancel entry point. Share the syscall
13097 and syscall error check paths with the cancel path.
13098 (PSEUDO_END): New.
13099
af4e8ef9
RH
13100 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13101 whitespace; tabs before and after asm mnemonics.
13102
26b0d2e1
EW
131032014-05-29 Eric Wong <normalperson@yhbt.net>
13104
13105 [BZ #15132]
13106 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13107 Call fstat64 or stat64 internally, depending on arguments passed.
13108 Replace stat buffer argument with file descriptor argument.
13109 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13110 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13111 Pass fd to __internal_statvfs instead of calling fstat64.
13112 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13113 Pass fd to __internal_statvfs64 instead of calling fstat64.
13114 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13115 Pass -1 to __internal_statvfs instead of calling stat64.
13116 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13117 Pass -1 to __internal_statvfs64 instead of calling stat64.
13118
1efe2bd9
RM
131192014-05-28 Roland McGrath <roland@hack.frob.com>
13120
0d3b7a19
RM
13121 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13122 that was previously under [RESET_PID].
13123 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13124
1efe2bd9
RM
13125 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13126 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13127
a6bea3ca
RM
131282014-05-27 Roland McGrath <roland@hack.frob.com>
13129
30b6629e
RM
13130 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13131
a6bea3ca
RM
13132 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13133 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13134
3dfb9a5c
OB
131352014-05-27 Ondřej Bílka <neleai@seznam.cz>
13136
13137 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13138
774f9285
AS
131392014-05-27 Andreas Schwab <schwab@suse.de>
13140
13141 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13142 TLS_INIT_TP macro.
13143 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13144 * elf/rtld.c (init_tls, dl_main): Likewise.
13145 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13146 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13147 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13148 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13149 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13150 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13151 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13152 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13153 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13154 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13155 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13156 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13157 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13158 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13159 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13160 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13161 * sysdeps/generic/tls.h: Update description.
13162
36ffe739
WN
131632014-05-27 Will Newton <will.newton@linaro.org>
13164
13165 [BZ #16990]
13166 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13167 and restore r2 rather than just restoring.
13168
2482ae43
SP
131692014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13170
13171 [BZ #16724]
13172 * libio/tst-ftell-append.c: New test case.
13173 * libio/Makefile (tests): Add test case.
13174 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13175 append mode.
13176 * libio/wfileops.c (do_ftell_wide): Likewise.
13177
3d1024e8
AZ
131782014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13179
bab90016
AZ
13180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13181
c7a8d667
AZ
13182 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13183 ...
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13186 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13187 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13188 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13189 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13190 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13191 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13193 Moved ...
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13196 Moved ...
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13198 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13199 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13200 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13201 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13202 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13203 ...
13204 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13205 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13206 Moved ...
13207 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13208 here.
13209 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13210 ...
13211 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13212 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13213 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13214
daee7851
AZ
13215 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13216 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13217 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13218 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13219
50a40819
AZ
13220 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13221 merge into ...
13222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13224 ...
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13227 ...
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13230 Moved ...
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13232 here.
13233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13234 Moved ...
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13237 Moved ...
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13239
8464c2a1
AZ
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13241 conditional [RESET_PID].
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13244 removed.
13245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13246 removed.
13247
3d1024e8
AZ
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13249 <tcb-offsets.h>.
13250 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13251 (__libc_vfork): New strong alias.
13252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13253 removed.
13254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13255 Removed.
13256
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13258 <tcb-offsets.h>.
13259 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13260 (__libc_vfork): New strong alias.
13261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13262 removed.
13263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13264 removed.
13265
fdfd175d
CD
132662014-05-26 Carlos O'Donell <carlos@redhat.com>
13267
13268 * malloc/malloc.c (mi_arena): New function.
13269 (malloc_info): Remove nested function mi_arena. Call non-nosted
13270 function mi_arena.
13271
d298c416
AZ
132722014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13273
13274 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13275 by insrwi.
13276 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13277 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13278 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13279 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13281 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13283
b60ea6ff
AS
132842014-05-26 Andreas Schwab <schwab@suse.de>
13285
13286 [BZ #16984]
13287 * locale/programs/repertoire.c (repertoire_read): Add slash
13288 between I18NPATH element and file name.
13289 * locale/programs/locfile.c (locfile_read): Likewise.
13290
67365926
SL
132912014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13292
13293 * nptl/pthread_mutexattr_settype.c
13294 (__pthread_mutexattr_settype):
13295 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13296
f8bdf1f0
SL
132972014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13298
13299 * nptl/tst-mutex5 (do_test):
13300 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13301
15eaf6ff
SP
133022014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13303
13304 * benchtests/README: Document 'init' directive.
13305 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13306 BENCH_INIT.
13307 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13308 (parse_file): Recognize 'init' directive.
13309
75f11331
KM
133102014-05-26 Kyle McMartin <kyle@redhat.com>
13311
13312 [BZ #16796]
13313 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13314 alignment of struct pthread.
13315
c3ec475c
SP
133162014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13317
13318 [BZ #16878]
13319 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13320 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13321 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13322 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13323
82aab97c
RH
133242014-05-25 Richard Henderson <rth@twiddle.net>
13325
aa2f176d
RH
13326 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13327 (SINGLE_THREAD_P_PIC): Remove.
13328 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13329 (SINGLE_THREAD_P_PIC): Remove.
13330
ca3cfa40
RH
13331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13332 branch to syscall error ...
13333 (PSEUDO): ... here.
13334 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13335 from __local_syscall_error to .Lsyscall_error.
13336 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13337 (SYSCALL_ERROR): Update label name.
13338
6e6c2d01
RH
13339 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13340 Do not use DOARGS/UNDOARGS.
13341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13342 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13343 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13344 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13345 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13346
c69abcee
RH
13347 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13348 block comment.
13349
82aab97c
RH
13350 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13351 define if !NOT_IN_libc.
13352 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13353 define with non-default symbol versions.
13354
8820e3ac
RH
133552014-05-23 Richard Henderson <rth@twiddle.net>
13356
900e445f
RH
13357 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13358 (vfork, __vfork): Define via compat_symbol.
13359
8820e3ac
RH
13360 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13361 [!HAVE_IFUNC] (vfork_compat): Remove.
13362 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13363
e59252a5
JM
133642014-05-23 Joseph Myers <joseph@codesourcery.com>
13365
13366 [BZ #16978]
13367 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13368 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13369 variable.
13370
132c7f5f
RH
133712014-05-23 Richard Henderson <rth@twiddle.net>
13372
bc89e962
RH
13373 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13374 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13375 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13376 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13377
13378 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13379 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13380 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13381 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13382 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13383 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13384 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13385 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13386 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13387 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13388 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13389 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13390 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13391 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13393 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13394 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13395 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13396 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13397 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13398 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13399 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13400 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13401 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13402 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13403 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13404 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13405 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13406 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13407 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13408 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13409 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13410 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13411 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13413 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13414 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13415 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13416 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13417 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13418 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13419 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13420 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13421 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13422 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13423 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13425 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13426 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13427 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13428 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13429 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13430 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13431 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13432 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13433 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13434
e2fa4bc2
RH
13435 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13436 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13437 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13438 before exiting on error.
13439 (__libc_vfork): New strong alias.
13440 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13441 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13442
279b24e2
RH
13443 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13444 that was previously under [RESET_PID].
13445 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13446
132c7f5f
RH
13447 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13448
b72592e7
JM
134492014-05-23 Joseph Myers <joseph@codesourcery.com>
13450
13451 [BZ #16977]
13452 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13453 value when x - 1 is zero.
13454 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13455 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13456 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13457 0.0L for an argument of 1.0L.
13458 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13459 Likewise.
13460 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13461 value when x - 1 is zero.
13462 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13463 * sysdeps/i386/fpu/libm-test-ulps: Update.
13464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13465
2302d679
RV
134662014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13467
13468 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13469 alphasort and versionsort.
13470
32999d63
AZ
134712014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13472
13473 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13474 macro.
13475 [copysignf]: Likewise.
13476
019324d0
SP
134772014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13478
13479 * crypt/md5-crypt.c: Fix formatting.
13480
34fff5c2
KS
134812014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13482
13483 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13484 (b64_from_24bit): New function.
13485
3d2badac
AZ
134862014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13487
13488 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13489 libc_hidden_builtin_def to ifunc.
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13491 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13492
f7bb179f 134932014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13494
13495 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13496 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13497
4134b50d
JM
134982014-05-21 Joseph Myers <joseph@codesourcery.com>
13499
bb7d0337
JM
13500 * nscd/Depend (linuxthreads): Remove.
13501 (nptl): Add.
13502 * resolv/Depend (linuxthreads): Remove.
13503 * rt/Depend (linuxthreads): Remove.
13504
4134b50d
JM
13505 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13506 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13507 $(common-objpfx)elf/.
13508 (link-libc-before-gnulib): Likewise.
13509 (elfobjdir): Remove variable.
13510 * Makefile (install): Use $(elf-objpfx) instead of
13511 $(common-objpfx)elf/.
13512 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13513 $(elfobjdir)/.
13514 (link-libc-deps): Likewise.
13515 ($(common-objpfx)libc.so): Likewise.
13516 ($(common-objpfx)linkobj/libc.so): Likewise.
13517 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13518 instead of $(common-objpfx)elf/.
13519 (symbolic-link-list): Likewise.
13520 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13521 [$(cross-compiling) = no]: Likewise.
13522 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13523 $(elfobjdir)/.
13524 (static-gnulib-arch): Likewise.
13525 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13526 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13527 $(common-objpfx)elf/.
13528
3612eb8f
RH
135292014-05-21 Richard Henderson <rth@redhat.com>
13530
a6b3657b
RH
13531 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13532 (SINGLE_THREAD_P): Use the correct width load. Fold
13533 into the ldr offset.
13534
3612eb8f
RH
13535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13536 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13537
175cef41
JM
135382014-05-20 Joseph Myers <joseph@codesourcery.com>
13539
13540 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13541 (libgcc_s_resume): Use __attribute_used__.
13542 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13543 Likewise.
13544
e13bccd3
AZ
135452014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13546
13547 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13548 optimization when used with float constants.
13549
7c112a38
AZ
13550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13551
ae75a883
AJ
135522014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13553
13554 [BZ #16915]
13555 * locale/nl_langinfo_l.c: Make direct reference to every
13556 _nl_current_CATEGORY symbol.
13557 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13558 (tests-static): Add tst-langinfo-static.
13559 (tests-special): Add tst-langinfo-static.out.
13560 ($(objpfx)tst-langinfo.out): Redirect output.
13561 ($(objpfx)tst-langinfo-static.out): New.
13562 * localedata/tst-langinfo.sh: Send output to stdout.
13563 * localedata/tst-langinfo-static.c: New file.
13564
4406c41c
AJ
13565 [BZ #16965]
13566 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13567 when the shift amount is modulo the limb size.
13568
4c0a1e63
RH
135692014-05-20 Richard Henderson <rth@redhat.com>
13570
de9d8f20
RH
13571 [BZ #16967]
13572 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13573 Change type of sa_flags from unsigned int to int.
13574
4c0a1e63
RH
13575 [BZ #16966]
13576 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13577
13578 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13579
a60339aa
WN
135802014-05-20 Will Newton <will.newton@linaro.org>
13581
13582 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13583 Test the return value of the system call in the nocancel case.
13584
7d05a816
YR
135852014-05-20 Will Newton <will.newton@linaro.org>
13586 Yvan Roux <yvan.roux@linaro.org>
13587
13588 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13589 #include of asm/ptrace.h.
13590 (PTRACE_GET_THREAD_AREA): Remove #undef.
13591 (PTRACE_GETHBPREGS): Likewise.
13592 (PTRACE_SETHBPREGS): Likewise.
13593 (struct user_regs_struct): New structure.
13594 (struct user_fpsimd_struct): New structure.
13595 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13596 #include of asm/ptrace.h and second #include of sys/user.h.
13597 (PTRACE_GET_THREAD_AREA): Remove #undef.
13598 (PTRACE_GETHBPREGS): Likewise.
13599 (PTRACE_SETHBPREGS): Likewise.
13600 (ELF_NGREG): Use new struct user_regs_struct.
13601 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13602
af121e37
AZ
136032014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13604
13605 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13606 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13607
834caf06
JM
136082014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13609
13610 [BZ #16958]
13611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13612 membar to avoid block loads/stores to overlap previous stores.
13613
e184a918
RH
136142014-05-17 Richard Henderson <rth@redhat.com>
13615
13616 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13617 Create the __##syscall_name##_nocancel entry point.
13618 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13619 Remove; let the sysdep-cancel.h code create it.
13620
f56c7a6a
DM
136212014-05-17 David S. Miller <davem@davemloft.net>
13622
13623 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13624 Protect with __USE_GNU.
13625 (TIOCSET_TEMPT): Likewise.
13626 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13627 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13628 these are already provided in bits/ioctl-types.h
13629
f75616b2
RM
136302014-05-16 Roland McGrath <roland@hack.frob.com>
13631
3edeca86
RM
13632 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13633 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13634
f75616b2
RM
13635 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13636 Use wait4 regardless of [__NR_waitpid].
13637
deb0f7f6
MR
136382014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13639
13640 PR libgcc/60166
13641 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13642 (_FP_NANSIGN_Q): Set the quiet bit.
13643
79520f4b
JM
136442014-05-16 Joseph Myers <joseph@codesourcery.com>
13645
13646 * benchtests/Makefile
13647 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13648 not $(common-objpfx)math/libm.so.
13649 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13650 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13651 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13652 $(common-objpfx)dlfcn/libdl.so.
13653 ($(objpfx)tst-audit8): Depend on $(libm), not
13654 $(common-objpfx)math/libm.so.
13655 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13656 not $(common-objpfx)dlfcn/libdl.so.
13657 * math/Makefile
13658 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13659 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13660 [$(build-shared) = yes].
13661 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13662 $(common-objpfx)nptl/libpthread.so.
13663 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13664 $(common-objpfx)math/libm.so$(libm.so-version) or
13665 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13666 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13667 $(common-objpfx)dlfcn/libdl.so.
13668 * setjmp/Makefile (link-libm): Remove variable.
13669 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13670 * stdio-common/Makefile (link-libm): Remove variable.
13671 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13672 * stdlib/Makefile (link-libm): Remove variable.
13673 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13674 ($(objpfx)tst-strtod-round): Likewise.
13675 ($(objpfx)tst-tininess): Likewise.
13676 ($(objpfx)tst-strtod-underflow): Likewise.
13677 ($(objpfx)tst-strtod6): Likewise.
13678 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13679 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13680 $(common-objpfx)dlfcn/libdl.so.
13681
026b0fe4
AZ
136822014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13683
13684 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13685 BSD terminal modes definitions.
13686
def4bcb2
RM
136872014-05-16 Roland McGrath <roland@hack.frob.com>
13688
fe39b021
RM
13689 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13690 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13691
1d1fc46e 13692 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13693 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13694 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13695 Don't do #include_next.
13696 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13697 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13698 Don't do #include_next.
13699 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13700 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13701 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13702 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13703
c72399fb
AM
137042014-05-16 Allan McRae <allan@archlinux.org>
13705
d51d659d
AM
13706 * po/sv.po: Update Swedish translation from translation project.
13707
c72399fb
AM
13708 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13709 in sed expression.
13710
d0583c40
AJ
137112014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13712
13713 [BZ #16917]
13714 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13715 errno if the TIOCGPTN ioctl fails with an error different than
13716 EINVAL.
13717 * login/tst-ptsname.c: New file.
13718 * login/Makefile (tests): Add tst-ptsname.
13719
d16e6ec7
AJ
13720 [BZ #16943]
13721 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13722 and prlimit64.
13723
cf26a0cb
SP
137242014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13725
13726 [BZ #16849]
13727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13728 herrno to return EAI_AGAIN.
13729
5675da1e
RM
137302014-05-14 Roland McGrath <roland@hack.frob.com>
13731
a5d87b3d
RM
13732 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13733 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13734 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13735 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13736 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13737 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13738 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13739 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13741 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13742 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13743 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13744 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13745 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13746 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13747 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13748 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13749 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13750 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13751 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13752 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13753 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13754 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13755 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13756 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13757 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13758 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13759 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13760 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13761 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13763 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13765 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13767 Moved ...
13768 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13770 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13772 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13774 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13776 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13778 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13780 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13782 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13784 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13786 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13788 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13790 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13792 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13796 Moved ...
13797 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13799 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13803 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13805 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13807 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13809 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13811 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13813 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13815 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13817 Moved ...
13818 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13820 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13821
039890a6
RM
13822 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13823 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13824 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13825 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13826 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13827 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13828 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13829 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13830 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13831 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13832 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13833 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13834 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13835 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13836 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13837 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13838 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13839 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13840 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13841 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13842 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13843 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13844 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13846 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13847 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13848 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13849 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13850 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13851 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13852 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13853
65c89320
RM
13854 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13855 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13856
348f8e8c
RM
13857 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13858 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13859 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13861 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13863 Moved ...
13864 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13866 Moved ...
13867 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13868 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13869 Moved ...
13870 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13872 Moved ...
13873 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13874 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13875 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13876 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13877 Moved ...
13878 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13879 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13880 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13881 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13882 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13883 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13884 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13886 Moved ...
13887 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13888 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13889 Moved ...
13890 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13891 ... here.
13892 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13893 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13894 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13895 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13897 Moved ...
13898 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13899 ... here.
13900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13901 Moved ...
13902 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13903 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13904 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13905 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13906 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13907 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13908 Moved ...
13909 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13911 Moved ...
13912 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13913 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13914 Moved ...
13915 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13916 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13917 Moved ...
13918 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13919 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13920 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13921 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13922 Moved ...
13923 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13924 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13925 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13927 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13928 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13929 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13930 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13931 Moved ...
13932 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13933 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13934 Moved ...
13935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13936 ... here.
13937 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13938 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13939 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13940 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13941 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13942 Moved ...
13943 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13944 ... here.
13945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13946 Moved ...
13947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13948 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13949 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13950 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13951 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13952 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13953 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13954 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13955 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13956 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13957 Moved ...
13958 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13960 Moved ...
13961 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13962 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13963 Moved ...
13964 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13966 Moved ...
13967 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13968 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13969 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13970 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13971 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13972 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13973 Moved ...
13974 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13975 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13976 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13977 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13978 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13979 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13980 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13981 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13982 Moved ...
13983 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13985 Moved ...
13986 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13987 ... here.
13988 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13989 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13990 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13991 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13992 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13993 Moved ...
13994 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13995 ... here.
13996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13997 Moved ...
13998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13999 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14000 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14001 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14002 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14003 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14004 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14005 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14006 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14007 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14008 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14009
5085af05
RM
14010 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14011 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14012
708f0813
RM
14013 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14014 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14015
c96067bc
RM
14016 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14017 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14018 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14019 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14020 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14021 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14022 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14023 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14024 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14025 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14026 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14027 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14028 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14029 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14030 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14032 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14034 Moved ...
14035 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14036 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14037 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14038 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14039 Moved ...
14040 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14042 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14043 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14044 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14046 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14048 Moved ...
14049 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14050 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14051 Moved ...
14052 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14053 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14054 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14056 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14058 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14059 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14060 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14061 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14062 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14063 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14064 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14065 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14066 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14067 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14068 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14069
ec136444
RM
14070 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14071 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14072 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14073 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14074 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14075
2fbdf533
RM
14076 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14077 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14078 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14079 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14080 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14081 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14082 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14083 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14084 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14085 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14086
4c68138b
RM
14087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14089
4eaae765
RM
14090 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14091 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14092 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14093 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14094 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14095 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14096 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14097 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14098 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14099 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14100 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14101 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14102 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14103 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14105 Update #include.
14106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14107 Likewise.
14108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14109 Likewise.
14110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14111 Likewise.
14112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14113 Likewise.
14114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14115 Likewise.
14116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14117 Likewise.
14118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14119 Likewise.
14120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14121 Likewise.
14122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14123 Likewise.
4ef6befa
RM
14124 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14126 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14128 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14129 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14130 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14131 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14132 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14133 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14134 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14135 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14136 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14137 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14138 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14139
941d7dfd
RM
14140 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14141 that was previously under [RESET_PID].
14142 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14143 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14144 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14145
1b731c35
RM
14146 * sysdeps/i386/nptl/Implies: New file.
14147 * sysdeps/x86_64/nptl/Implies: New file.
14148 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14149 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14150 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14151 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14152
e2787137
RM
14153 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14154 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14155 (__libc_vfork): New strong alias.
14156 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14157 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14158
14159 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14160 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14161 (__libc_vfork): New strong alias.
14162 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14163 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14164
5675da1e
RM
14165 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14166 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14167 (__libc_vfork): New strong alias.
14168 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14169 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14170 * nptl/pt-vfork.c: New file.
14171 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14172 (libpthread: GLIBC_2.20): New version set (empty).
14173
4f02e2b8
WN
141742014-05-14 Will Newton <will.newton@linaro.org>
14175
14176 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14177 rather than #if.
14178
0bf061d3
JM
141792014-05-14 Joseph Myers <joseph@codesourcery.com>
14180
1a84c3d6
JM
14181 [BZ #16564]
14182 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14183 arguments with exponent 65 or above.
14184 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14185 arguments 0x1p113L or above.
14186 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14187 to arguments 0x1p107L or above.
14188 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14189 positive arguments with exponent 65 or above.
14190 * math/auto-libm-test-in: Add more tests of log1p.
14191 * math/auto-libm-test-out: Regenerated.
14192
01dbacd2
JM
14193 [BZ #16928]
14194 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14195 non-finite arguments is +0.
14196 * math/s_cacosf.c (__cacosf): Likewise.
14197 * math/s_cacosl.c (__cacosl): Likewise.
14198 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14199 * sysdeps/i386/fpu/libm-test-ulps: Update.
14200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14201
913d03c8
JM
14202 [BZ #16927]
14203 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14204 value.
14205 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14206 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14207 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14208 for explicit high bit of mantissa when testing for argument equal
14209 to 1.
14210 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14211 * sysdeps/i386/fpu/libm-test-ulps: Update.
14212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14213
0bf061d3
JM
14214 [BZ #16516]
14215 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14216 (__erf): Scale by 16 instead of 8 in potentially underflowing
14217 case. Ensure exception if result actually underflows.
14218 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14219 (__erff): Scale by 16 instead of 8 in potentially underflowing
14220 case. Ensure exception if result actually underflows.
14221 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14222 (efx8): Remove variable.
14223 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14224 case. Ensure exception if result actually underflows.
14225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14226 (efx8): Remove variable.
14227 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14228 case. Ensure exception if result actually underflows.
14229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14230 (efx8): Remove variable.
14231 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14232 case. Ensure exception if result actually underflows.
14233 * math/auto-libm-test-in: Add more tests of erf.
14234 * math/auto-libm-test-out: Regenerated.
14235
73ba67cb
AS
142362014-05-14 Andreas Schwab <schwab@suse.de>
14237
3d8c8bff
AS
14238 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14239 Remove code conditionalized on USE___THREAD.
14240
73ba67cb
AS
14241 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14242 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14243 not definedness.
14244
5c521ecd
JM
142452014-05-14 Joseph Myers <joseph@codesourcery.com>
14246
5e7698c6
JM
14247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14248 Define unconditionally.
14249 (__ASSUME_O_CLOEXEC): Likewise.
14250 (__ASSUME_SOCK_CLOEXEC): Likewise.
14251 (__ASSUME_IN_NONBLOCK): Likewise.
14252 (__ASSUME_PIPE2): Likewise.
14253 (__ASSUME_EVENTFD2): Likewise.
14254 (__ASSUME_SIGNALFD4): Likewise.
14255 (__ASSUME_DUP3): Likewise.
14256 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14257 (__ASSUME_DUP3): Do not define.
14258 (__ASSUME_EVENTFD2): Likewise.
14259 (__ASSUME_IN_NONBLOCK): Likewise.
14260 (__ASSUME_O_CLOEXEC): Likewise.
14261 (__ASSUME_PIPE2): Likewise.
14262 (__ASSUME_SIGNALFD4): Likewise.
14263 (__ASSUME_SOCK_CLOEXEC): Likewise.
14264 (__ASSUME_UTIMES): Undefine.
14265 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14266 (__ASSUME_UTIMES): Do not define.
14267 (__ASSUME_O_CLOEXEC): Likewise.
14268 (__ASSUME_SOCK_CLOEXEC): Likewise.
14269 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14270 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14271 0x020621].
14272 (__ASSUME_PIPE2): Likewise.
14273 (__ASSUME_EVENTFD2): Likewise.
14274 (__ASSUME_SIGNALFD4): Likewise.
14275 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14276 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14277 Do not define.
14278 (__ASSUME_EVENTFD2): Likewise.
14279 (__ASSUME_SIGNALFD4): Likewise.
14280 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14281 (__ASSUME_32BITUIDS): Likewise.
14282 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14283 (__ASSUME_IPC64): Likewise.
14284 (__ASSUME_ST_INO_64_BIT): Likewise.
14285 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14286 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14287 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14288 (__ASSUME_UTIMES): Do not define.
14289 (__ASSUME_PSELECT): Likewise.
14290 (__ASSUME_PPOLL): Likewise.
14291 (__ASSUME_O_CLOEXEC): Likewise.
14292 (__ASSUME_SOCK_CLOEXEC): Likewise.
14293 (__ASSUME_IN_NONBLOCK): Likewise.
14294 (__ASSUME_PIPE2): Likewise.
14295 (__ASSUME_EVENTFD2): Likewise.
14296 (__ASSUME_SIGNALFD4): Likewise.
14297 (__ASSUME_DUP3): Likewise.
14298 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14299 (__ASSUME_UTIMES): Likewise.
14300 (__ASSUME_O_CLOEXEC): Likewise.
14301 (__ASSUME_SOCK_CLOEXEC): Likewise.
14302 (__ASSUME_IN_NONBLOCK): Likewise.
14303 (__ASSUME_PIPE2): Likewise.
14304 (__ASSUME_EVENTFD2): Likewise.
14305 (__ASSUME_SIGNALFD4): Likewise.
14306 (__ASSUME_DUP3): Likewise.
14307 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14308 (__ASSUME_UTIMES): Likewise.
14309 (__ASSUME_O_CLOEXEC): Likewise.
14310 (__ASSUME_SOCK_CLOEXEC): Likewise.
14311 (__ASSUME_IN_NONBLOCK): Likewise.
14312 (__ASSUME_PIPE2): Likewise.
14313 (__ASSUME_EVENTFD2): Likewise.
14314 (__ASSUME_SIGNALFD4): Likewise.
14315 (__ASSUME_DUP3): Likewise.
14316 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14317 Likewise.
14318 (__ASSUME_UTIMES): Likewise.
14319 (__ASSUME_EVENTFD2): Likewise.
14320 (__ASSUME_SIGNALFD4): Likewise.
14321 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14322 (__ASSUME_O_CLOEXEC): Likewise.
14323 (__ASSUME_SOCK_CLOEXEC): Likewise.
14324 (__ASSUME_IN_NONBLOCK): Likewise.
14325 (__ASSUME_PIPE2): Likewise.
14326 (__ASSUME_EVENTFD2): Likewise.
14327 (__ASSUME_SIGNALFD4): Likewise.
14328 (__ASSUME_DUP3): Likewise.
14329 (__ASSUME_UTIMES): Undefine.
14330
5c521ecd
JM
14331 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14332 feclearexcept. Remove symbol versioning code.
14333 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14334 symbol versioning code.
14335 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14336 symbol versioning code.
14337 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14338 feupdateenv. Remove symbol versioning code.
14339 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14340 fegetexceptflag. Remove symbol versioning code.
14341 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14342 fesetexceptflag. Remove symbol versioning code.
14343 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14344 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14345 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14346 (__posix_fadvise64_l32): Remove prototype.
14347 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14348 code.
14349
5da9dfad
RM
143502014-05-13 Roland McGrath <roland@hack.frob.com>
14351
14352 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14353 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14354 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14355 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14356
893b4f37
SK
143572014-05-13 Sami Kerola <kerolasa@iki.fi>
14358
14359 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14360 current working directory
14361
e0db6517
RM
143622014-05-13 Roland McGrath <roland@hack.frob.com>
14363
58aa195d
RM
14364 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14365 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14366 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14367 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14368 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14369 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14370 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14371 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14372 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14373 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14374 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14375 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14376 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14377 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14378 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14379 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14380 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14381 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14382 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14383 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14384 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14385 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14386 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14387 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14388 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14389 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14390 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14391 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14392 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14393 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14394 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14395 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14397 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14398 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14399 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14400 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14401 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14402 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14403 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14404 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14405 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14406
8c6d01f0
RM
14407 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14408 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14409
14410 * sysdeps/unix/sysv/linux/arm/Makefile
14411 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14412 Add rt-aeabi_unwind_cpp_pr1.
14413 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14414 Add nptl-aeabi_unwind_cpp_pr1.
14415 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14416 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14417 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14418 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14419 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14420 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14421
14422 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14423 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14424 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14425 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14426
bba6da4e
RM
14427 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14428 Deconditionalize the code that was previously under [RESET_PID].
14429 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14430
e0db6517
RM
14431 * sysdeps/generic/exit-thread.h: New file.
14432 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14433 * include/unistd.h (__exit_thread): Remove declaration.
14434 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14435 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14436 * csu/libc-start.c: Include <exit-thread.h>.
14437 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14438 * nptl/pthread_create.c: Include <exit-thread.h>.
14439 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14440 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14441 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14442 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14443 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14444 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14445 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14446 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14447 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14448 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14449 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14450 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14451 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14452 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14453 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14454 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14455 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14456
01eb16fd
AS
144572014-05-13 Andreas Schwab <schwab@suse.de>
14458
14459 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14460
637461d9
JM
144612014-05-12 Joseph Myers <joseph@codesourcery.com>
14462
14463 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14464 (__ASSUME_UTIMES): Do not condition on kernel version.
14465 (__ASSUME_PSELECT): Define unconditionally.
14466 (__ASSUME_PPOLL): Likewise.
14467 (__ASSUME_ATFCTS): Likewise.
14468 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14469 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14470 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14471 (__ASSUME_UTIMENSAT): Define unconditionally.
14472 (__ASSUME_PRIVATE_FUTEX): Likewise.
14473 (__ASSUME_FALLOCATE): Likewise.
14474 (__ASSUME_O_CLOEXEC): Likewise.
14475 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14476 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14477 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14478 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14479 (__ASSUME_IN_NONBLOCK): Likewise.
14480 (__ASSUME_PIPE2): Likewise.
14481 (__ASSUME_EVENTFD2): Likewise.
14482 (__ASSUME_SIGNALFD4): Likewise.
14483 (__ASSUME_DUP3): Likewise.
14484 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14485 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14486 (__ASSUME_AT_RANDOM): Likewise.
14487 (__ASSUME_PREADV): Likewise.
14488 (__ASSUME_PWRITEV): Likewise.
14489 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14490 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14491 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14492 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14493 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14494 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14495 (__ASSUME_O_CLOEXEC): Define unconditionally.
14496 (__ASSUME_PSELECT): Do not undefine conditionally.
14497 (__ASSUME_PPOLL): Likewise.
14498 (__ASSUME_ATFCTS): Likewise.
14499 (__ASSUME_SET_ROBUST_LIST): Likewise.
14500 (__ASSUME_UTIMENSAT): Likewise.
14501 (__ASSUME_FDATASYNC): Define unconditionally.
14502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14503 (__ASSUME_SIGFRAME_V2): Likewise.
14504 )__ASSUME_EVENTFD2): Likewise.
14505 (__ASSUME_SIGNALFD4): Likewise.
14506 (__ASSUME_PSELECT): Do not undefine conditionally.
14507 (__ASSUME_PPOLL): Likewise.
14508 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14509 (__ASSUME_PSELECT): Define unconditionally.
14510 (__ASSUME_PPOLL): Likewise.
14511 (__ASSUME_O_CLOEXEC): Likewise.
14512 (__ASSUME_SOCK_CLOEXEC): Likewise.
14513 (__ASSUME_IN_NONBLOCK): Likewise.
14514 (__ASSUME_PIPE2): Likewise.
14515 (__ASSUME_EVENTFD2): Likewise.
14516 (__ASSUME_SIGNALFD4): Likewise.
14517 (__ASSUME_DUP3): Likewise.
14518 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14519 (__ASSUME_O_CLOEXEC): Likewise.
14520 (__ASSUME_SOCK_CLOEXEC): Likewise.
14521 (__ASSUME_IN_NONBLOCK): Likewise.
14522 (__ASSUME_PIPE2): Likewise.
14523 (__ASSUME_EVENTFD2): Likewise.
14524 (__ASSUME_SIGNALFD4): Likewise.
14525 (__ASSUME_DUP3): Likewise.
14526 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14527 (__ASSUME_EVENTFD2): Likewise.
14528 (__ASSUME_SIGNALFD4): Likewise.
14529 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14530
315eb1d8
AS
145312014-05-12 Andreas Schwab <schwab@suse.de>
14532
14533 [BZ #16932]
14534 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14535 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14536 than maximum RPC packet size.
14537 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14538 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14539 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14540 (_nss_nis_getservbyport_r): Likewise.
14541
91df99f7
WN
145422014-05-12 Will Newton <will.newton@linaro.org>
14543
14544 * malloc/Makefile (tests): Add tst-mallopt.
14545 * malloc/tst-mallopt.c: New file.
14546
0a982a29
RM
145472014-05-09 Roland McGrath <roland@hack.frob.com>
14548
14549 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14550 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14551
0ded08a5
AZ
145522014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14553
14554 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14555 (tst-tlsmod6.so): Likewise.
14556
55d4d550
RM
145572014-05-09 Roland McGrath <roland@hack.frob.com>
14558
14559 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14560
77d08aca
JM
145612014-05-09 Joseph Myers <joseph@codesourcery.com>
14562
14563 [BZ #16064]
14564 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14565 and <dl-procinfo.h>.
14566 (__fegetenv): Save SSE state in envp->__eip if supported.
14567 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14568 envp->__eip if supported.
14569 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14570 and <dl-procinfo.h>.
14571 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14572 __data_offset and __data_selector in environment to 0. Set SSE
14573 state if supported.
14574 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14575 test-fenv-sse.
14576 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14577 -mfpmath=sse.
14578 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14579
28162f4d
WN
145802014-05-09 Will Newton <will.newton@linaro.org>
14581
14582 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14583 and libc_relro_required for ARM.
14584 * sysdeps/arm/preconfigure: Regenerate.
14585
5a414ff7
DV
145862014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14587 Stefan Liebler <stli@linux.vnet.ibm.com>
14588
14589 * config.make.in (enable-lock-elision): New Makefile variable.
14590 * configure.ac: Likewise.
14591 * configure: Regenerate.
14592 * sysdeps/s390/configure.ac:
14593 Add check for gcc transactions support.
14594 * sysdeps/s390/configure: Regenerate.
14595 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14596 Build elision files if enabled.
14597 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14598 Add lock elision support for s390.
14599 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14600 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14601 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14602 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14603 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14604 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14605 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14606 Likewise.
14607 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14608 Likewise.
14609 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14610 Likewise.
14611 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14612 Likewise.
14613 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14614 (__lll_timedlock_elision, __lll_lock_elision)
14615 (__lll_unlock_elision, __lll_trylock_elision)
14616 (lll_timedlock_elision, lll_lock_elision)
14617 (lll_unlock_elision, lll_trylock_elision): Add.
14618 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14619 (pthread_mutex_t): Add lock elision support for s390.
14620
1a2f40e5
W
146212014-05-14 Wilco <wdijkstr@arm.com>
14622
14623 * sysdeps/arm/fclrexcpt.c: Cleanup.
14624 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14625 * sysdeps/arm/feenablxcpt.c: Cleanup.
14626 * sysdeps/arm/fegetenv.c: Cleanup.
14627 * sysdeps/arm/fegetexcept.c: Cleanup.
14628 * sysdeps/arm/fegetround.c: Cleanup.
14629 * sysdeps/arm/feholdexcpt.c: Cleanup.
14630 * sysdeps/arm/fesetenv.c: Cleanup.
14631 * sysdeps/arm/fesetround.c: Cleanup.
14632 * sysdeps/arm/feupdateenv.c: Cleanup.
14633 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14634 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14635 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14636 * sysdeps/arm/ftestexcept.c: Cleanup.
14637 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14638 * sysdeps/arm/setfpucw.c: Cleanup.
14639
f63c86fe
WN
146402014-05-09 Will Newton <will.newton@linaro.org>
14641
14642 * sysdeps/arm/armv7/strcmp.S: New file.
14643 * NEWS: Mention addition of ARMv7 optimized strcmp.
14644
7a1a51b5
RM
146452014-05-08 Roland McGrath <roland@hack.frob.com>
14646
95afbbe5
RM
14647 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14648 look for %.ac rather than %.in.
14649
14650 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14651 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14652 * sysdeps/mach/hurd/configure: Regenerated.
14653 * sysdeps/unix/sysv/linux/configure: Regenerated.
14654
7a1a51b5
RM
14655 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14656
5057ad3b
SE
146572014-05-07 Steve Ellcey <sellcey@mips.com>
14658
14659 [BZ# 16922]
14660 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14661 (LONG_SUB): Ditto.
14662 (PTR_SUB): Ditto.
14663
8dc97517
AS
146642014-05-07 Andreas Schwab <schwab@suse.de>
14665
14666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14667 when skipping over non-matching result from nscd.
14668
ce0c5b8f
OB
146692014-05-07 Ondřej Bílka <neleai@seznam.cz>
14670
14671 [BZ #16876]
14672 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14673
a1189263
OB
14674 [BZ #16877]
14675 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14676 nscd security class.
ce0c5b8f 14677
0f58d252
RM
146782014-05-06 Roland McGrath <roland@hack.frob.com>
14679
14680 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14681 * sysdeps/arm/unwind.h: ... here.
14682
83df9ad0
AJ
146832014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14684
ce0c5b8f
OB
14685 [BZ# 16916]
14686 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14687 Define.
83df9ad0 14688
f360f94a
VR
146892014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14690
14691 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14692 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14693 multiarch strncpy for PPC64.
14694 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14695 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14697 multiarch optimizations.
14698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14699 (__libc_ifunc_impl_list): Likewise.
14700 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14701 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14702 multiarch stpncpy for PPC64.
14703 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14704 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14705
978a41c3
AS
147062014-05-06 Andreas Schwab <schwab@suse.de>
14707
14708 [BZ #16912]
14709 * gmon/mcount.c (_MCOUNT_DECL): Use
14710 atomic_compare_and_exchange_bool_acq instead of
14711 catomic_compare_and_exchange_bool_acq.
14712
eb1ed03d
RM
147132014-05-05 Roland McGrath <roland@hack.frob.com>
14714
fe658845
RM
14715 * elf/Makefile (others, install-bin): Remove pldd.
14716 (pldd-modules): Variable removed.
14717 ($(objpfx)pldd): Target removed.
14718 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14719 (others, install-bin): Append pldd here.
14720 ($(objpfx)pldd): New target.
14721
eb1ed03d
RM
14722 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14723 to 0, so the first #if test emitted later doesn't see it undefined.
14724 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14725 * sysdeps/gnu/errlist.c: Regenerated.
14726
19c4bec0
AZ
147272014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14728
14729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14730 [libc_hidden_builtin_def]: Define to empty value.
14731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14732 [libc_hidden_builtin_def]: Likewise.
14733 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14734 [libc_hidden_builtin_def]: Likewise.
14735 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14736 [libc_hidden_builtin_def]: Likewise.
14737 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14738 __redirect_memcpy and define ifunc as default hidden symbol.
14739 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14740 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14741
7776e669
AC
147422014-05-04 Adam Conrad <adconrad@0c3.net>
14743
14744 * locale/iso-4217.def: Reintroduce XDR currency.
14745
d69aeb12
AM
147462014-05-04 Allan McRae <allan@archlinux.org>
14747
14748 * po/eo.po: Update Esperanto translation from translation project.
14749
8f1df5cf
CD
147502014-05-02 Carlos O'Donell <carlos@redhat.com>
14751
14752 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14753 and FEATURE_INDEX_MAX to 1.
14754 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14755
13e402e7
SE
147562014-05-01 Steve Ellcey <sellcey@mips.com>
14757
14758 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14759 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14760 * iconvdata/big5.c (ONE_DIRECTION): Define.
14761 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14762 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14763 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14764 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14765 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14766 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14767 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14768 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14769 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14770 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14771 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14772 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14773 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14774 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14775 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14776 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14777 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14778 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14779 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14780 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14781 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14782 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14783 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14784 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14785 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14786 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14787 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14788 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14789 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14790 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14791 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14792 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14793 * iconvdata/johab.c (ONE_DIRECTION): Define.
14794 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14795 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14796 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14797 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14798 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14799 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14800 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14801 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14802 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14803 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14804
c727f032
RM
148052014-05-01 Roland McGrath <roland@hack.frob.com>
14806
8f2f08d0
RM
14807 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14808 (_IO_JUMPS_OFFSET): Define to 0.
14809
c727f032
RM
14810 * nptl/sysdeps/pthread/bits/libc-lock.h
14811 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14812 (__libc_lock_define_initialized_recursive): Always define using
14813 initializer. Modern compilers treat uninitialized (implicit zero) and
14814 explicit zero initializers the same (i.e. put the datum in bss).
14815
a849e800
AS
148162014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14817
14818 * nscd/nscd-client.h: Include <string.h>.
14819
5331255b
DM
148202014-05-01 David S. Miller <davem@davemloft.net>
14821
14822 [BZ #16885]
14823 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14824 multiple zero bytes exist at the end of a string.
14825 Reported by Aurelien Jarno <aurelien@aurel32.net>
14826
14827 * string/test-strcmp.c (check): Add explicit test for situations where
14828 there are multiple zero bytes after the first.
14829
4fdfe821
AS
148302014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14831
14832 [BZ #16890]
14833 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14834 when compiling wprintf.
14835 * stdio-common/tstdiomisc.c (t3): New function.
14836 (main): Call it.
14837
0cdddc25
SE
148382014-05-01 Steve Ellcey <sellcey@mips.com>
14839
14840 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14841 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14842 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14843 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14844
6426d77e
SE
148452014-05-01 Steve Ellcey <sellcey@mips.com>
14846
14847 * stdlib/longlong.h: Updated from GCC.
14848
6d96f5e4
WN
148492014-05-01 Will Newton <will.newton@linaro.org>
14850 Bernard Ogden <bernie.ogden@linaro.org>
14851
7470db0c
WN
14852 * NEWS: Update fixed bug list.
14853
6d96f5e4
WN
14854 [BZ #15119]
14855 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14856
211d653c
DM
148572014-04-30 David S. Miller <davem@davemloft.net>
14858
4fa262fa
DM
14859 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14860 (libc_feholdexcept_setround_sparc_ctx): New function.
14861 (libc_fesetenv_sparc_ctx): Likewise.
14862 (libc_feupdateenv_sparc_ctx): Likewise.
14863 (libc_feholdsetround_sparc_ctx): Likewise.
14864 (libc_feholdexcept_setround_ctx): Define.
14865 (libc_feholdexcept_setroundf_ctx): Likewise.
14866 (libc_feholdexcept_setroundl_ctx): Likewise.
14867 (libc_fesetenv_ctx): Likewise.
14868 (libc_fesetenvf_ctx): Likewise.
14869 (libc_fesetenvl_ctx): Likewise.
14870 (libc_feupdateenv_ctx): Likewise.
14871 (libc_feupdateenvf_ctx): Likewise.
14872 (libc_feupdateenvl_ctx): Likewise.
14873 (libc_feresetround_ctx): Likewise.
14874 (libc_feresetroundf_ctx): Likewise.
14875 (libc_feresetroundl_ctx): Likewise.
14876 (libc_feholdsetround_ctx): Likewise.
14877 (libc_feholdsetroundf_ctx): Likewise.
14878 (libc_feholdsetroundl_ctx): Likewise.
14879
1d3d93ef
DM
14880 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14881 with __USE_GNU instead of XOPEN cpp guards.
14882
8aa583c3
DM
14883 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14884 0.
14885
211d653c
DM
14886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14887 with XOPEN cpp guards.
14888
60c8f1f6
JB
148892014-04-30 Julian Brown <julian@codesourcery.com>
14890
14891 [BZ #16888]
14892 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14893 handling.
14894
9a461d46
JM
148952014-04-30 Joseph Myers <joseph@codesourcery.com>
14896
d0f5b3f8
JM
14897 [BZ #9894]
14898 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14899 Change to 2.6.32.
14900 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14901 * sysdeps/unix/sysv/linux/configure: Regenerated.
14902 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14903 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14904 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14905 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14906 * README: Update reference to required Linux kernel version.
14907 * manual/install.texi (Linux): Update reference to required Linux
14908 kernel headers version.
14909 * INSTALL: Regenerated.
14910
9a461d46
JM
14911 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14912 header inclusion.
14913 [POSIX] (limits.h): Likewise.
14914 [POSIX] (math.h): Likewise.
14915 [POSIX] (sys/wait.h): Likewise.
14916 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14917 function.
14918 [POSIX] (stddef.h): Do not allow header inclusion.
14919
1775babf
AZ
149202014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14921
57f41c40 14922 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14923
8f630cca
YY
149242014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14925
14926 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14927 Return immediately after lll_futex_wake.
14928
1cdeb237
SP
149292014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14930
bc8f194c
SP
14931 [BZ #16791]
14932 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14933 structure.
14934 (datahead_init_pos): Call datahead_init_common early.
14935 (datahead_init_neg): Likewise.
14936
1cdeb237
SP
14937 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14938 datahead_init_neg): New functions.
14939 * nscd/aicache.c (addhstaiX): Use them.
14940 * nscd/grpcache.c (cache_addgr): Likewise.
14941 * nscd/hstcache.c (cache_addhst): Likewise.
14942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14943 * nscd/netgroupcache.c (do_notfound): Likewise.
14944 (addgetnetgrentX): Likewise.
14945 (addinnetgrX): Likewise.
14946 * nscd/pwdcache.c (cache_addpw): Likewise.
14947 * nscd/servicescache.c (cache_addserv): Likewise.
14948
16b293a7
SP
149492014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14950 Atsushi Onoe <atsushi@onoe.org>
14951
14952 [BZ #14308]
14953 [BZ #12994]
14954 [BZ #13651]
14955 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14956 one response is valid.
14957 * resolv/res_send.c (send_dg): Check for validity of other
14958 response if the current response is a referral.
14959
a28a9b94
SE
149602014-04-29 Steve Ellcey <sellcey@mips.com>
14961
14962 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14963
2ca180e9
SL
149642014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14965
14966 [BZ #16823]
14967 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14968 Always divide by positive zero when computing -Inf result.
14969 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14970 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14971
18f2945a
AZ
149722014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14973
14974 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14975 FPSCR if value do not change.
14976 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14977 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14978 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14979 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14980 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14981 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14982 function.
14983
5abebba4
CD
149842014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14985
14986 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14987 * sysdeps/unix/sysv/linux/hppa: Move directory from
14988 ports/systeps/unix/sysv/linux/hppa.
14989 * README: Update listing for hppa-*-linux-gnu.
14990
f7ed60c2
OB
149912014-04-28 Ondřej Bílka <neleai@seznam.cz>
14992
fff763a5
OB
14993 [BZ #16754]
14994 * manual/stdio.texi (Hook functions): Fix types of stream hook
14995 functions.
f7ed60c2
OB
14996 [BZ #16854]
14997 * socket/sys/socket.h: Fix typo in comment.
14998
df639d73
WD
149992014-04-28 Wilco <wdijkstr@arm.com>
15000
f7ed60c2 15001 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
15002 * sysdeps/arm/math_private.h: New file.
15003 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15004
48332d82
L
150052014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15006
15007 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15008 with __int128_t.
15009 (La_x86_64_retval): Likewise.
15010
e5e0d9a4
IB
150112014-04-24 Ian Bolton <ian.bolton@arm.com>
15012
15013 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15014 fpsr if value didn't change.
15015 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15016 to fpcr if value didn't change.
15017 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15018 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15019 fpsr or fpcr if value didn't change.
15020 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15021 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15022 fpcr if value didn't change.
15023 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15024 to fpsr if value didn't change.
15025
bacc75f7
SP
150262014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15027
15028 * nptl/tst-sem3.c: Use test-skeleton.c
15029 (main): Rename to do_test. Use return instead of
15030 exit.
15031 * nptl/tst-sem4.c: Use test-skeleton.c
15032 (main): Rename to do_test.
15033
a059d359
DM
150342014-04-22 David S. Miller <davem@davemloft.net>
15035
15036 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15037 (struct sigaction): New struct member __glibc_reserved0, change
15038 type of sa_flags to int.
15039
ea6c92f3
YZ
150402014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15041
15042 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15043 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15044
766c4a36
SP
150452014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15046
15047 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15048 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15049
140cc7ab
VK
150502014-04-22 Will Newton <will.newton@linaro.org>
15051 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15052
15053 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15054 (__longjmp): Add longjmp and longjmp_target SystemTap
15055 probes.
15056 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15057 (__sigsetjmp): Add setjmp SystemTap probe.
15058
c54e5cf7
CD
150592014-04-17 Carlos O'Donell <carlos@redhat.com>
15060
15061 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15062 match manual order.
15063
75ffb047
AZ
150642014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15065
15066 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15067
2cd925f7
AZ
15068 * sysdeps/powerpc/fpu/fenv_private.h
15069 (libc_feholdexcept_setroundl_ctx): Define to
15070 libc_feholdexcept_setround_ppc_ctx.
15071 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15072 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15073 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15074 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15075
39e6cd8d
IB
150762014-04-17 Ian Bolton <ian.bolton@arm.com>
15077
15078 * sysdeps/aarch64/math-tests.h: New file.
15079
f9281df9
SY
150802014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15081
15082 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15083 New.
15084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15085 Check and set bit_AVX2_Usable.
15086 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15087 macro.
15088 (bit_AVX2): Likewise.
15089 (index_AVX2_Usable): Likewise.
15090 (CPUID_AVX2): Likewise.
15091 (HAS_AVX2): Likewise.
15092
37d35007
WN
150932014-04-17 Will Newton <will.newton@linaro.org>
15094
7c677662
WN
15095 * manual/setjmp.texi (System V contexts): Add note that
15096 calling setcontext on a context created by a call to a
15097 signal handler is undefined. Update text to note that
15098 setcontext from a signal handler is possible but not
15099 recommended.
15100
37d35007 15101 [BZ #16629]
e04a4e9d
WN
15102 * stdlib/tst-setcontext.c: Include signal.h.
15103 (main): Check that the signal stack before and
15104 after swapcontext is the same.
15105
37d35007
WN
15106 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15107 Re-implement to restore registers in user code and avoid
15108 rt_sigreturn system call.
15109
423a7160
W
151102014-04-17 Wilco <wdijkstr@arm.com>
15111
15112 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15113 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15114 * math/test-fenv.c: Skip exception trap tests on targets which only
15115 support non-stop mode.
15116
bc93ab29
IB
151172014-04-17 Ian Bolton <ian.bolton@arm.com>
15118 Wilco Dijkstra <wilco.dijkstra@arm.com>
15119
15120 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15121 (libc_feholdsetround_aarch64_ctx)
15122 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15123 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15124 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15125 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15126 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15127 (libc_feresetround_noexl_ctx): Define.
15128
95fc5fa3
RH
151292014-04-16 Richard Henderson <rth@redhat.com>
15130
ddb04724
RH
15131 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15132
d77c0899
RH
15133 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15134 unwind tables.
15135
a3df56fc
RH
15136 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15137 const from the non-libc, non-ldso copy.
15138
95fc5fa3
RH
15139 * sysdeps/alpha/libm-test-ulps: Regenerate.
15140
7e0b6763
IB
151412014-04-16 Ian Bolton <ian.bolton@arm.com>
15142 Wilco Dijkstra <wilco.dijkstra@arm.com>
15143
15144 * sysdeps/aarch64/fpu/math_private.h: New file.
15145
a9ea2e0c
MS
151462014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15147
15148 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15149
ea8ba7cd
IZ
151502014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15151
7e54fd04 15152 [BZ #16275]
ea8ba7cd
IZ
15153 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15154 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15156 Intel MPX bound registers before _dl_profile_fixup.
15157 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15158 registers after _dl_profile_fixup. Save and restore bound
15159 registers bnd0/bnd1 when calling _dl_call_pltexit.
15160 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15161 (LR_BND_OFFSET): Likewise.
15162 (LRV_BND0_OFFSET): Likewise.
15163 (LRV_BND1_OFFSET): Likewise.
15164
9f2a4fbc
ST
151652014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15166
15167 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15168 to...
15169 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15170 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15171 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15172 fields.
9f2a4fbc 15173
fd15a59b
ST
151742014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15175
15176 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15177
f19dfa0a
SL
151782014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15179
15180 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15181
4fa8bc3b
SL
151822014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15183
15184 [BZ #14770]
15185 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15186 * sysdeps/s390/configure: Regenerate.
15187
8ea587db
SL
15188 [BZ #16824]
15189 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15190 Set round-to-nearest internally to reduce error accumulation.
15191
aa5f0ff1
AM
151922014-04-16 Alan Modra <amodra@gmail.com>
15193
15194 [BZ #16740]
15195 [BZ #16619]
15196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15197 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15198 * NEWS: Update fixed bug list.
aa5f0ff1 15199
bb9c256f
SP
152002014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15201
15202 * benchtests/Makefile: Depend on libraries in build directory.
15203 (bench-math): Separate out math tests.
15204 (bench-pthread): Separate out pthread tests.
15205 (bench): Include math and pthread tests.
15206
f737dfd0
CD
152072014-04-14 Carlos O'Donell <carlos@redhat.com>
15208
15209 [BZ #16831]
15210 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15211 _dl_debug_initialize.
15212
0699f766
CD
15213 * configure.ac: Remove SELinux header check.
15214 * configure: Regenerate.
15215 * nscd/selinux.c (perms): Array of const char* to permission names.
15216 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15217 default policy. Call string_to_security_class and string_to_av_perm to
15218 translate strings. Enforce default policy and call avs_has_perm with
15219 results of translated strings.
15220
809bd45f
DM
152212014-04-13 David S. Miller <davem@davemloft.net>
15222
15223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15224
89e691f2
AM
152252014-04-12 Allan McRae <allan@archlinux.org>
15226
15227 [BZ #16838]
15228 * manual/string.texi (Collation Functions): Fix qsort argument
15229 order in example.
15230 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15231
9c9daaeb
CM
152322014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15233
15234 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15235 Make the test a no-op if there are no exceptions defined.
15236
95561fb9
PP
152372014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15238
fe8d072c 15239 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15240 enable-hardcoded-path-in-tests
15241
970c602a
WN
152422014-04-11 Will Newton <will.newton@linaro.org>
15243
15244 * benchtests/Makefile (extra-objs): Add json-lib.o.
15245 (bench-func): Tidy up JSON output.
15246 * benchtests/bench-skeleton.c: Include json-lib.h.
15247 (main): Use JSON library functions to do output of
15248 benchmark results.
15249 * benchtests/bench-timing-type.c (main): Output the
15250 timing type simply, leaving formatting to the user.
15251 * benchtests/json-lib.c: New file.
15252 * benchtests/json-lib.h: Likewise.
15253
36875b06
TR
152542014-04-11 Torvald Riegel <triegel@redhat.com>
15255
15256 [BZ #15215]
15257 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15258 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15259 memory barriers. Add comments.
15260 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15261 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15262 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15263 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15264 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15265 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15266
579db35a
SL
152672014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15268
15269 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15270 * sysdeps/s390/s390-64/configure.ac: ... this ...
15271 * sysdeps/s390/configure.ac: ... to here.
15272 * sysdeps/s390/s390-32/configure: Delete file.
15273 * sysdeps/s390/s390-64/configure: Delete file.
15274 * sysdeps/s390/configure: Regenerate.
15275
c12e9f37
JAPH
152762014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15277
15278 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15279
439bda32
WN
152802014-04-11 Will Newton <will.newton@linaro.org>
15281
15282 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15283 to zero if it is not defined elsewhere. (mtrim): Test
15284 the value of MALLOC_DEBUG with #if rather than #ifdef.
15285
6a5d6ea1
TR
152862014-04-10 Torvald Riegel <triegel@redhat.com>
15287
15288 * benchtests/pthread_once-inputs: New file.
15289 * benchtests/pthread_once-source.c: New file.
15290 * benchtests/README: Update documentation.
15291
a4c75cfd
IZ
152922014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15293 H.J. Lu <hongjiu.lu@intel.com>
15294
7e54fd04 15295 [BZ #16275]
a4c75cfd
IZ
15296 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15297 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15298 * sysdeps/x86_64/configure: Regenerated.
15299 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15300 macro.
15301 (REGISTER_SAVE_RAX): Likewise.
15302 (REGISTER_SAVE_RCX): Likewise.
15303 (REGISTER_SAVE_RDX): Likewise.
15304 (REGISTER_SAVE_RSI): Likewise.
15305 (REGISTER_SAVE_RDI): Likewise.
15306 (REGISTER_SAVE_R8): Likewise.
15307 (REGISTER_SAVE_R9): Likewise.
15308 (REGISTER_SAVE_BND0): Likewise.
15309 (REGISTER_SAVE_BND1): Likewise.
15310 (REGISTER_SAVE_BND2): Likewise.
15311 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15312 bound registers when calling _dl_fixup.
15313
27822ce6
AZ
153142014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15315
15316 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15317 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15318 of its definition.
27822ce6
AZ
15319 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15320 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15321 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15322 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15323 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15324 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15325 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15326
a88ddc90
PTB
153272014-04-09 Peter Brett <peter@peter-b.co.uk>
15328
15329 [BZ #15514]
15330 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15331 pathconf(_PC_NAME_MAX).
15332
01f8eac2
AZ
153332014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15334
15335 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15336 Remove macro usage.
15337 (__PTHREAD_SPINS): Move definition to ...
15338 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15339 (__PTHREAD_SPINS): ... here.
15340 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15341 (__PTHREAD_SPIN): Likewise.
15342 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15343 (__PTHREAD_SPIN): Likewise.
15344 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15345 (__PTHREAD_SPIN): Likewise.
15346 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15347 (__PTHREAD_SPIN): Likewise.
15348 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15349 (__PTHREAD_SPIN): Likewise.
15350 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15351 (__PTHREAD_SPIN): Likewise.
15352 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15353 (__PTHREAD_SPIN): Likewise.
15354 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15355 (__PTHREAD_SPIN): Likewise.
15356 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15357 (__PTHREAD_SPIN): Likewise.
15358 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15359 (__PTHREAD_SPIN): Likewise.
15360 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15361 (__PTHREAD_SPIN): Likewise.
15362 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15363 (__PTHREAD_SPIN): Likewise.
15364
de21c33c
AZ
15365 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15367 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15368 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15369 imply folder.
15370 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15371 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15372 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15373 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15374 correct imply path.
15375 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15376 strlen symbol for non multi-arch builds.
15377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15378 missing hidden_def and weak_alias.
15379
862c472e
CD
153802014-04-08 Carlos O'Donell <carlos@redhat.com>
15381
15382 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15383
8667f90e
WN
153842014-04-07 Will Newton <will.newton@linaro.org>
15385
15386 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15387 and contents. [!_LIBC] Remove #ifndef and contents.
15388 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15389 * string/memccpy.c (__memccpy): Use ANSI prototype.
15390 * string/memfrob.c (memfrob): Likewise.
15391 * string/strcoll.c (STRCOLL): Likewise.
15392 * string/strlen.c (strlen): Likewise.
15393 * string/strtok.c (STRTOK): Likewise.
15394 * string/strcat.c: Remove unused #include of memcopy.h.
15395 (strcat): Use ANSI prototype.
15396 * string/strchr.c: Remove unused #include of memcopy.h.
15397 (strchr): Use ANSI prototype.
15398 * string/strcmp.c: Remove unused #include of memcopy.h.
15399 (strcmp): Use ANSI prototype.
15400 * string/strcpy.c: Remove unused #include of memcopy.h.
15401 (strcpy): Use ANSI prototype.
15402
7ffa9423
AZ
154032014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15404
15405 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15406 * config.make.in (config-extra-cppflags): Set it from
15407 libc_extra_cppflags.
15408 * configure.ac (libc_extra_cflags): Make it accumulate over
15409 configure fragments.
15410 (libc_extra_cppflags): New flag.
15411 * configure. Regenerate.
15412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15413 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15414 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15416
8bd70862
AZ
15417 [BZ #16815]
15418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15419 result for FE_DOWNWARD rounding mode.
15420 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15421 Likewise.
15422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15423
d42f3448
CM
154242014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15425
15426 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15427 in function argument name.
15428
1c21d115
DS
154292014-04-03 David Svoboda <svoboda@cert.org>
15430
15431 [BZ #5666]
15432 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15433 explicitly.
15434
fcccd512
RM
154352014-04-03 Roland McGrath <roland@hack.frob.com>
15436
15437 * elf/dl-unmap-segments.h: New file.
15438 * sysdeps/generic/ldsodefs.h
15439 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15440 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15441 * elf/dl-fptr.c: Likewise.
15442 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15443 * sysdeps/aarch64/tlsdesc.c: Likewise.
15444 * sysdeps/arm/tlsdesc.c: Likewise.
15445 * sysdeps/i386/tlsdesc.c: Likewise.
15446 * sysdeps/tile/dl-runtime.c: Likewise.
15447 * sysdeps/x86_64/tlsdesc.c: Likewise.
15448 * elf/dl-load.h: New file.
15449 * elf/dl-load.c: Include it.
15450 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15451 Macros moved to dl-load.h.
15452 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15453 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15454 Use _dl_unmap_segments in place of __munmap.
15455 Break out segment-mapping loop into ...
15456 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15457
f6488e2b
WN
154582014-04-03 Will Newton <will.newton@linaro.org>
15459
15460 * elf/dl-lookup.c (do_lookup_x): Remove comment
15461 referring to nested function and move variable
15462 declarations down to before first use.
15463
6f05bafe
JM
154642014-04-02 Joseph Myers <joseph@codesourcery.com>
15465
a84e78c8
JM
15466 [BZ #16799]
15467 [BZ #16800]
15468 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15469 with 0 numerator.
15470 * math/s_catanf.c (__catanf): Likewise.
15471 * math/s_catanh.c (__catanh): Likewise.
15472 * math/s_catanhf.c (__catanhf): Likewise.
15473 * math/s_catanhl.c (__catanhl): Likewise.
15474 * math/s_catanl.c (__catanl): Likewise.
15475 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15476 by positive zero when computing -Inf result.
15477 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15478 (catanh_test): Likewise.
15479 * sysdeps/i386/fpu/libm-test-ulps: Update.
15480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15481
6f05bafe
JM
15482 [BZ #16789]
15483 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15484 instead of using underflowing value in computing result.
15485 * math/s_clog10.c (__clog10): Likewise.
15486 * math/s_clog10f.c (__clog10f): Likewise.
15487 * math/s_clog10l.c (__clog10l): Likewise.
15488 * math/s_clogf.c (__clogf): Likewise.
15489 * math/s_clogl.c (__clogl): Likewise.
15490 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15491 (clog10_test): Likewise.
15492 * sysdeps/i386/fpu/libm-test-ulps: Update.
15493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15494
b0abbc21
AM
154952014-04-02 Alan Modra <amodra@gmail.com>
15496
15497 [BZ #16739]
15498 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15499 output when value is near a power of two. Use int64_t for lx and
15500 remove casts. Use decimal rather than hex exponent constants.
15501 Don't use long double multiplication when double will suffice.
15502 * math/libm-test.inc (nextafter_test_data): Add tests.
15503 * NEWS: Add 16739 and 16786 to bug list.
15504
af6b1797
AM
15505 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15506
483818d7
AM
15507 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15508
f6c55796
WN
155092014-04-01 Will Newton <will.newton@linaro.org>
15510
15511 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15512 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15513
13f7fe35
FW
155142014-04-01 Florian Weimer <fweimer@redhat.com>
15515
15516 [BZ #13347]
15517 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15518 * nptl/tst-setuid2.c: New file.
15519 * nptl/Makefile (xtests): Add tst-setuid2.
15520
c859b32e
AM
155212014-04-01 Alan Modra <amodra@gmail.com>
15522
15523 [BZ #16786]
15524 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15525
54fa2475
JM
155262014-03-31 Joseph Myers <joseph@codesourcery.com>
15527
8795b4a4
JM
15528 [BZ #6803]
15529 [BZ #6804]
15530 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15531 set errno as appropriate.
15532 * math/w_scalbf.c (__scalbf): Likewise.
15533 * math/w_scalbl.c (__scalbl): Likewise.
15534 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15535 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15536 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15537 Add more NaN tests.
15538
54fa2475
JM
15539 [BZ #16349]
15540 * math/w_atan2.c: Include <errno.h>.
15541 (__atan2): Set errno for result underflowing to zero.
15542 * math/w_atan2f.c: Include <errno.h>.
15543 (__atan2f): Set errno for result underflowing to zero.
15544 * math/w_atan2l.c: Include <errno.h>.
15545 (__atan2l): Set errno for result underflowing to zero.
15546 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15547 tests.
15548 * math/auto-libm-test-out: Regenerated.
15549
757d9dd5
AZ
155502014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15551
15552 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15553 Encode instruction correctly in little endian.
15554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15555 Likewise.
15556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15557 Likewise.
15558 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15559 Likewise.
15560 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15561 Likewise.
15562
d7a68734
JM
155632014-03-31 Joseph Myers <joseph@codesourcery.com>
15564
47c5adeb
JM
15565 [BZ #9894]
15566 * sysdeps/unix/sysv/linux/kernel-features.h
15567 [__sparc__ && !__arch64__ && !__sparc_v9__]
15568 (__ASSUME_SET_ROBUST_LIST): Do not define.
15569 [__sparc__ && !__arch64__ && !__sparc_v9__]
15570 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15571 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15572 Likewise.
15573 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15574 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15575 (__ASSUME_REQUEUE_PI): Likewise.
15576 (__ASSUME_SET_ROBUST_LIST): Likewise.
15577 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15578 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15579 Undefine.
15580 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15581 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15582 Likewise.
15583 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15584 Likewise.
15585 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15586 Likewise.
15587 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15588 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15589 Undefine.
15590 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15591 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15592 Likewise.
15593
d7a68734
JM
15594 [BZ #16648]
15595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15597 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15598
c760f5c2
WN
155992014-03-31 Will Newton <will.newton@linaro.org>
15600
15601 * benchtests/Makefile (bench): Add ffs and ffsll to list
15602 of tests.
15603 * benchtests/ffs-inputs: New file.
15604 * benchtests/ffsll-inputs: Likewise.
15605
ea6029b1
JM
156062014-03-29 Joseph Myers <joseph@codesourcery.com>
15607
15608 [BZ #16770]
15609 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15610 too large before casting to int.
15611 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15612 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15613 * math/libm-test.inc (scalb_test_data): Add more tests.
15614
cf806aff
SP
156152014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15616
56737508
SP
15617 * benchtests/Makefile (DETAILED_OPT): New make option.
15618 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15619 set.
15620 * benchtests/bench-skeleton.c: Include stdbool.h.
15621 (main): Store and print timings per input.
15622 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15623 member to each argument value.
15624 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15625 (_print_arg_data): Initialize per-input timing to 0.
15626
cb5e4aad
SP
15627 * benchtests/Makefile (timing-type): New binary.
15628 (bench-clean): Also remove bench-timing-type.
15629 (bench): New target for timing-type.
15630 (bench-func): Print output in JSON format.
15631 * benchtests/bench-skeleton.c (main): Print output in JSON
15632 format.
15633 * benchtests/bench-timing-type.c: New file.
15634 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15635 (TIMING_PRINT_STATS): Remove.
15636 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15637 name separately.
15638
cf806aff
SP
15639 * benchtests/bench-modf.c: Remove.
15640 * benchtests/modf-inputs: New inputs file.
15641
289e0779
JM
156422014-03-28 Joseph Myers <joseph@codesourcery.com>
15643
15644 [BZ #16362]
15645 * math/s_clog10.c (M_PI_LOG10E): New macro.
15646 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15647 imaginary parts are 0.
15648 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15649 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15650 imaginary parts are 0.
15651 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15652 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15653 imaginary parts are 0.
15654 * math/libm-test.inc (clog10_test_data): Update expected results
15655 for when real and imaginary parts are 0.
15656
277ae3f1
PP
156572014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15658
15659 * elf/dl-load.c: Finish conversion of __builtin_expect into
15660 __glibc_{un}likely.
15661
03a7091f
JM
156622014-03-27 Joseph Myers <joseph@codesourcery.com>
15663
15664 [BZ #16348]
15665 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15666 1+x for argument with exponent below -67.
15667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15668 Likewise.
15669 * math/auto-libm-test-in: Add more tests of exp.
15670 * math/auto-libm-test-out: Regenerated.
15671
ea7d8b95
SP
156722014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15673
dd3022d7
SP
15674 [BZ #16759]
15675 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15676 (nscd_getnetgrent): Use it.
15677
ea7d8b95
SP
15678 [BZ #16760]
15679 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15680 of stpcpy.
15681
df5b85da
AK
156822014-03-27 Andi Kleen <ak@linux.intel.com>
15683
57f41c40
AS
15684 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15685 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15686 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15687 (lll_robust_unlock): Remove out of line section. Use cfi
15688 intrinsics.
df5b85da 15689 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15690 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15691 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15692 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15693 (lll_robust_unlock): Remove out of line section. Use cfi
15694 intrinsics.
df5b85da
AK
15695 (LLL_STUB_UNWIND_INFO*): Remove.
15696
fbd6b5a4
SP
156972014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15698
15699 [BZ #16758]
15700 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15701 blank values.
15702
1b26b855
PP
157032014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15704
15705 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15706
9be36fb8
JM
157072014-03-26 Joseph Myers <joseph@codesourcery.com>
15708
15709 [BZ #16198]
15710 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15711 fnstenv.
15712 * math/test-fenv-preserve.c: New file.
15713 * math/Makefile (tests): Add test-fenv-preserve.
15714
60a2f3c1
WN
157152014-03-26 Will Newton <will.newton@linaro.org>
15716
15717 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15718
a5e5f1e2
RM
157192014-03-25 Roland McGrath <roland@hack.frob.com>
15720
15721 * scripts/versionlist.awk: Partition the version sets and emit all
15722 GLIBC_* (sorted) before all others (sorted).
15723
00f4012a
JM
157242014-03-25 Joseph Myers <joseph@codesourcery.com>
15725
15726 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15727 GLIBC_2.2.5 version.
15728
7bc5a741
AZ
157292014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15730
15731 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15732 calls.
15733
7578473b
AZ
15734 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15735 previous change.
15736
f3f1dab3
AZ
15737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15738
6da36183
AS
157392014-03-25 Andreas Schwab <schwab@suse.de>
15740
15741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15742 label to be used after in6ailist is initialized.
15743
f3f1dab3 157442014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15745
7578473b 15746 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15747 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15748
046651c1
JM
157492014-03-25 Joseph Myers <joseph@codesourcery.com>
15750
15751 [BZ #16357]
15752 [BZ #16599]
15753 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15754 min_plus_half.
15755 (fp_formats): Update initializers.
15756 (init_fp_formats): Initialize new field.
15757 (output_for_one_input_case): Allow underflow for results up to
15758 min_plus_half.
15759 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15760 * math/auto-libm-test-in: Don't mark some underflows from asin and
15761 atanh as spurious.
15762 * math/auto-libm-test-out: Regenerated.
15763 * sysdeps/i386/fpu/libm-test-ulps: Update.
15764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15765
003e49ed
AS
157662014-03-25 Andreas Schwab <schwab@suse.de>
15767
15768 * libio/Makefile (tst-ftell-partial-wide-ENV)
15769 (tst-ftell-active-handler-ENV): Define.
15770
de031874
SL
157712014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15772
15773 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15774
55a81e3b
PP
157752014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15776
15777 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15778
f3426898
JM
157792014-03-24 Joseph Myers <joseph@codesourcery.com>
15780
15781 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15782 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15783 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15784
a42faf59
PP
157852014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15786
15787 [BZ #16634]
a42faf59 15788 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15789 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15790 (open_path): Change from boolean 'secure' to complete flag 'mode'
15791 (_dl_map_object): Adjust.
a42faf59
PP
15792 * elf/Makefile (tests): Add tst-dlopen-aout.
15793 * elf/tst-dlopen-aout.c: New test.
15794
50936127
SL
157952014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15796
15797 [BZ #16714]
15798 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15799 (struct stat): Rename member pad0 to __glibc_reserved0.
15800
26011b5c
SL
15801 [BZ #16712]
15802 * sysdeps/s390/s390-32/bits/wordsize.h
15803 (__WORDSIZE32_SIZE_ULONG): New define.
15804 * sysdeps/s390/s390-64/bits/wordsize.h
15805 (__WORDSIZE32_SIZE_ULONG): Likewise.
15806 * sysdeps/generic/stdint.h (SIZE_MAX):
15807 Define as UL if __WORDSIZE32_SIZE_ULONG.
15808
a2d86bf1
SL
15809 [BZ #16713]
15810 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15811 (__glibc_reserved0): New variable.
15812 (sa_flags): Change type to int.
15813
78b6eebc
SL
15814 * posix/Makefile (before-compile): Use += before-compile instead
15815 of a :=.
15816
f1399b5a
SL
15817 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15818 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15819
a071766e
AS
158202014-03-20 Andreas Schwab <schwab@suse.de>
15821
15822 [BZ #16743]
15823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15824 non-matching result from nscd.
15825
27c673b8
SP
158262014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15827
15828 * scripts/bench.py: Moved to ...
15829 * benchtests/scripts/bench.py: ... here.
15830 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15831
44152e4b
AS
158322014-03-24 Andreas Schwab <schwab@suse.de>
15833
15834 [BZ #16002]
15835 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15836 alloca_account and account alloca use for struct in6ailist.
15837
b376a11a
JM
158382014-03-24 Joseph Myers <joseph@codesourcery.com>
15839
15840 [BZ #16284]
15841 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15842 rounding mode to recompute results that overflow to infinity or
15843 underflow to zero.
15844 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15845 bug 16284.
15846 * math/auto-libm-test-out: Regenerated.
15847 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15848 (ccosh_test): Likewise.
15849 (csin_test_data): Use plus_oflow.
15850 (csin_test): Use ALL_RM_TEST.
15851 (csinh_test_data): Use plus_oflow.
15852 (csinh_test): Use ALL_RM_TEST.
15853 * sysdeps/i386/fpu/libm-test-ulps: Update.
15854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15855
f7be7376
JM
158562014-03-21 Joseph Myers <joseph@codesourcery.com>
15857
1ca2d03e
JM
15858 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15859 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15860 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15861
f7be7376
JM
15862 [BZ #16731]
15863 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15864 when x - 1 is zero.
15865 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15866 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15867 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15869 argument is 1.
15870 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15871 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15872 zero.
15873 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15874 * sysdeps/i386/fpu/libm-test-ulps: Update.
15875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15876
fdf4534d
SP
158772014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15878
df26ea53
SP
15879 * scripts/bench.pl: Remove file.
15880 * scripts/bench.py: New benchmark script.
15881 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15882 * benchtests/README: Mention python dependency.
15883 * scripts/pylintrc: New file.
15884 * scripts/pylint: New file.
15885
fdf4534d
SP
15886 * bits/mathdef.h: Use #ifdef instead of #if.
15887 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15888 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15889 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15890 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15891 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15892 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15893
6f23d093
AZ
158942014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15895 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15896
15897 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15899 and strpbrk-ppc64 objects.
15900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15901 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15902 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15903 multiarch strpbrk for POWER7.
15904 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15905 multiarch strpbrk for PPC64.
15906 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15907 ifunc selector.
15908 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15909 strpbrk for POWER7.
15910
8c92dfff
JM
159112014-03-20 Joseph Myers <joseph@codesourcery.com>
15912
15913 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15914 (atan_test): Likewise.
15915 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15916 (atanh_test): Use ALL_RM_TEST.
15917 (atan2_test_data): Likewise.
15918 (cabs_test): Likewise.
15919 (cacosh_test): Likewise.
15920 (carg_test): Likewise.
15921 (casin_test): Likewise.
15922 (casinh_test): Likewise.
15923 (cbrt_test): Likewise.
15924 (csqrt_test): Likewise.
15925 (erf_test): Likewise.
15926 (erfc_test): Likewise.
15927 (pow10_test): Likewise.
15928 (exp2_test): Likewise.
15929 (hypot_test): Likewise.
15930 (j0_test): Likewise.
15931 (j1_test): Likewise.
15932 (lgamma_test): Likewise.
15933 (gamma_test): Likewise.
15934 (sincos_test): Likewise.
15935 (tanh_test): Likewise.
15936 (y0_test): Likewise.
15937 (y1_test): Likewise.
15938 * sysdeps/i386/fpu/libm-test-ulps: Update.
15939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15940
6eaf95cb
AZ
159412014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15942
a387428c
SP
15943 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15945 and strcspn-ppc64 objects.
15946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15947 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15948 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15949 multiarch strcspn for POWER7.
15950 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15951 multiarch strcspn for PPC64.
15952 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15953 ifunc selector.
15954 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15955 strcspn for POWER7.
15956
ae3a5dff
JM
159572014-03-20 Joseph Myers <joseph@codesourcery.com>
15958
15959 * math/gen-libm-test.pl (generate_testfile): Expect only function
15960 name as argument to AUTO_TESTS_* and pass results for all rounding
15961 modes to parse_args.
15962 (parse_auto_input): Separate inputs of automatic tests from
15963 outputs before storing in %auto_tests.
15964 * math/libm-test.inc (acos_test_data): Update call to
15965 AUTO_TESTS_f_f.
15966 (acos_test): Use ALL_RM_TEST.
15967 (acos_tonearest_test_data): Remove.
15968 (acos_test_tonearest): Likewise.
15969 (acos_towardzero_test_data): Likewise.
15970 (acos_test_towardzero): Likewise.
15971 (acos_downward_test_data): Likewise.
15972 (acos_test_downward): Likewise.
15973 (acos_upward_test_data): Likewise.
15974 (acos_test_upward): Likewise.
15975 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15976 (asin_test_data): Likewise.
15977 (asin_test): Use ALL_RM_TEST.
15978 (asin_tonearest_test_data): Remove.
15979 (asin_test_tonearest): Likewise.
15980 (asin_towardzero_test_data): Likewise.
15981 (asin_test_towardzero): Likewise.
15982 (asin_downward_test_data): Likewise.
15983 (asin_test_downward): Likewise.
15984 (asin_upward_test_data): Likewise.
15985 (asin_test_upward): Likewise.
15986 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15987 (atan_test_data): Likewise.
15988 (atanh_test_data): Likewise.
15989 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15990 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15991 (carg_test_data): Likewise.
15992 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15993 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15994 (ccosh_test_data): Likewise.
15995 (cexp_test_data): Likewise.
15996 (clog_test_data): Likewise.
15997 (clog10_test_data): Likewise.
15998 (cos_test_data): Update call to AUTO_TESTS_f_f.
15999 (cos_test): Use ALL_RM_TEST.
16000 (cos_tonearest_test_data): Remove.
16001 (cos_test_tonearest): Likewise.
16002 (cos_towardzero_test_data): Likewise.
16003 (cos_test_towardzero): Likewise.
16004 (cos_downward_test_data): Likewise.
16005 (cos_test_downward): Likewise.
16006 (cos_upward_test_data): Likewise.
16007 (cos_test_upward): Likewise.
16008 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16009 (cosh_test): Use ALL_RM_TEST.
16010 (cosh_tonearest_test_data): Remove.
16011 (cosh_test_tonearest): Likewise.
16012 (cosh_towardzero_test_data): Likewise.
16013 (cosh_test_towardzero): Likewise.
16014 (cosh_downward_test_data): Likewise.
16015 (cosh_test_downward): Likewise.
16016 (cosh_upward_test_data): Likewise.
16017 (cosh_test_upward): Likewise.
16018 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16019 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16020 (ctan_test_data): Likewise.
16021 (ctan_test): Use ALL_RM_TEST.
16022 (ctan_tonearest_test_data): Remove.
16023 (ctan_test_tonearest): Likewise.
16024 (ctan_towardzero_test_data): Likewise.
16025 (ctan_test_towardzero): Likewise.
16026 (ctan_downward_test_data): Likewise.
16027 (ctan_test_downward): Likewise.
16028 (ctan_upward_test_data): Likewise.
16029 (ctan_test_upward): Likewise.
16030 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16031 (ctanh_test): Use ALL_RM_TEST.
16032 (ctanh_tonearest_test_data): Remove.
16033 (ctanh_test_tonearest): Likewise.
16034 (ctanh_towardzero_test_data): Likewise.
16035 (ctanh_test_towardzero): Likewise.
16036 (ctanh_downward_test_data): Likewise.
16037 (ctanh_test_downward): Likewise.
16038 (ctanh_upward_test_data): Likewise.
16039 (ctanh_test_upward): Likewise.
16040 (erf_test_data): Update call to AUTO_TESTS_f_f.
16041 (erfc_test_data): Likewise.
16042 (exp_test_data): Likewise.
16043 (exp_test): Use ALL_RM_TEST.
16044 (exp_tonearest_test_data): Remove.
16045 (exp_test_tonearest): Likewise.
16046 (exp_towardzero_test_data): Likewise.
16047 (exp_test_towardzero): Likewise.
16048 (exp_downward_test_data): Likewise.
16049 (exp_test_downward): Likewise.
16050 (exp_upward_test_data): Likewise.
16051 (exp_test_upward): Likewise.
16052 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16053 (exp10_test): Use ALL_RM_TEST.
16054 (exp10_tonearest_test_data): Remove.
16055 (exp10_test_tonearest): Likewise.
16056 (exp10_towardzero_test_data): Likewise.
16057 (exp10_test_towardzero): Likewise.
16058 (exp10_downward_test_data): Likewise.
16059 (exp10_test_downward): Likewise.
16060 (exp10_upward_test_data): Likewise.
16061 (exp10_test_upward): Likewise.
16062 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16063 (expm1_test_data): Likewise.
16064 (expm1_test): Use ALL_RM_TEST.
16065 (expm1_tonearest_test_data): Remove.
16066 (expm1_test_tonearest): Likewise.
16067 (expm1_towardzero_test_data): Likewise.
16068 (expm1_test_towardzero): Likewise.
16069 (expm1_downward_test_data): Likewise.
16070 (expm1_test_downward): Likewise.
16071 (expm1_upward_test_data): Likewise.
16072 (expm1_test_upward): Likewise.
16073 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16074 (fma_test): Use ALL_RM_TEST.
16075 (fma_towardzero_test_data): Remove.
16076 (fma_test_towardzero): Likewise.
16077 (fma_downward_test_data): Likewise.
16078 (fma_test_downward): Likewise.
16079 (fma_upward_test_data): Likewise.
16080 (fma_test_upward): Likewise.
16081 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16082 (j0_test_data): Update call to AUTO_TESTS_f_f.
16083 (j1_test_data): Likewise.
16084 (jn_test_data): Update call to AUTO_TESTS_if_f.
16085 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16086 (log_test_data): Update call to AUTO_TESTS_f_f.
16087 (log10_test_data): Likewise.
16088 (log1p_test_data): Likewise.
16089 (log2_test_data): Likewise.
16090 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16091 (pow_tonearest_test_data): Likewise.
16092 (sin_test_data): Update call to AUTO_TESTS_f_f.
16093 (sin_test): Use ALL_RM_TEST.
16094 (sin_tonearest_test_data): Remove.
16095 (sin_test_tonearest): Likewise.
16096 (sin_towardzero_test_data): Likewise.
16097 (sin_test_towardzero): Likewise.
16098 (sin_downward_test_data): Likewise.
16099 (sin_test_downward): Likewise.
16100 (sin_upward_test_data): Likewise.
16101 (sin_test_upward): Likewise.
16102 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16103 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16104 (sinh_test): Use ALL_RM_TEST.
16105 (sinh_tonearest_test_data): Remove.
16106 (sinh_test_tonearest): Likewise.
16107 (sinh_towardzero_test_data): Likewise.
16108 (sinh_test_towardzero): Likewise.
16109 (sinh_downward_test_data): Likewise.
16110 (sinh_test_downward): Likewise.
16111 (sinh_upward_test_data): Likewise.
16112 (sinh_test_upward): Likewise.
16113 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16114 (sqrt_test): Use ALL_RM_TEST.
16115 (sqrt_tonearest_test_data): Remove.
16116 (sqrt_test_tonearest): Likewise.
16117 (sqrt_towardzero_test_data): Likewise.
16118 (sqrt_test_towardzero): Likewise.
16119 (sqrt_downward_test_data): Likewise.
16120 (sqrt_test_downward): Likewise.
16121 (sqrt_upward_test_data): Likewise.
16122 (sqrt_test_upward): Likewise.
16123 (tan_test_data): Update call to AUTO_TESTS_f_f.
16124 (tan_test): Use ALL_RM_TEST.
16125 (tan_tonearest_test_data): Remove.
16126 (tan_test_tonearest): Likewise.
16127 (tan_towardzero_test_data): Likewise.
16128 (tan_test_towardzero): Likewise.
16129 (tan_downward_test_data): Likewise.
16130 (tan_test_downward): Likewise.
16131 (tan_upward_test_data): Likewise.
16132 (tan_test_upward): Likewise.
16133 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16134 (tgamma_test_data): Likewise.
16135 (y0_test_data): Likewise.
16136 (y1_test_data): Likewise.
16137 (yn_test_data): Update call to AUTO_TESTS_if_f.
16138 (main): Do not call removed functions.
16139
d71aeee8
JM
161402014-03-19 Joseph Myers <joseph@codesourcery.com>
16141
16142 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16143 (ldexp_test_data): Remove.
16144 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16145 scalbn_test_data.
16146 (scalb_test): Use ALL_RM_TEST.
16147
baaf1ded
AS
161482014-03-19 Andreas Schwab <schwab@suse.de>
16149
16150 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16151
b1115e91
JM
161522014-03-19 Joseph Myers <joseph@codesourcery.com>
16153
16154 [BZ #16649]
16155 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16156 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16157 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16158 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16159 (__ASSUME_PREADV): Undefine.
16160 (__ASSUME_PWRITEV): Likewise.
16161
0283ecca
RM
161622014-03-18 Roland McGrath <roland@hack.frob.com>
16163
7d375303
RM
16164 * bits/mman-linux.h: Add comment about non-Linux use.
16165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16166 bits/mman-linux.h resting place.
16167
0283ecca
RM
16168 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16169 * bits/mman-linux.h: ... here.
16170
aebe1003
AZ
161712014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16172
16173 * conform/conformtest.pl: Add standard definition when calling C
16174 preprocessor on data files.
16175 (checknamespace): Remove unused variable.
16176
b29b6bb8
JM
161772014-03-18 Joseph Myers <joseph@codesourcery.com>
16178
16179 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16180 minus_oflow, plus_uflow and minus_uflow in expected results.
16181 * math/libm-test.inc (scalbn_test_data): Add more tests of
16182 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16183 minus_uflow.
16184 (scalbn_test): Use ALL_RM_TEST.
16185 (scalbln_test_data): Add more tests of negative arguments. Use
16186 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16187 (scalbln_test): Use ALL_RM_TEST.
16188
c8f8fa15
RM
161892014-03-18 Roland McGrath <roland@hack.frob.com>
16190
16191 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16192
fede7a5f
WN
161932014-03-18 Will Newton <will.newton@linaro.org>
16194
16195 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16196 inaccurate comment.
16197
80cf0a58
JM
161982014-03-18 Joseph Myers <joseph@codesourcery.com>
16199
16200 * Makerules [!subdir] (check-abi): Exit with error status if a
16201 test failed.
16202
b3620862
JM
162032014-03-17 Joseph Myers <joseph@codesourcery.com>
16204
16205 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16206 for rint. Include results for all rounding modes.
16207 (nearbyint_test): Use ALL_RM_TEST.
16208 (rint_test_data): Include all tests used for nearbyint.
16209
788bba36
WN
162102014-03-17 Will Newton <will.newton@linaro.org>
16211
04ec140a
WN
16212 * nptl/sysdeps/pthread/pthread.h: Revert previous
16213 change.
16214
7579d8d5
WN
16215 * sysdeps/generic/ldsodefs.h: Revert previous
16216 change.
16217
c15cf13a
WN
16218 * libio/genops.c: Revert previous change.
16219 * libio/libioP.h: Likewise.
16220 * stdio-common/vfprintf.c: Likewise.
16221
d0ac1324
WN
16222 * sysdeps/generic/math_private.h: Revert previous
16223 change.
16224
9290130a
WN
16225 * sysdeps/generic/math_private.h: Check whether
16226 HAVE_RM_CTX is defined with #ifdef rather
16227 than #if.
16228
afb466fc
WN
16229 * argp/argp-fmtstream.h: Check whether
16230 __STRICT_ANSI__ is defined with #ifdef rather
16231 than #if.
16232 * argp/argp.h: Likewise.
16233
f7efd7c3
WN
16234 * libio/genops.c: Check whether
16235 _IO_JUMPS_OFFSET is defined with #ifdef rather
16236 than #if.
16237 * libio/libioP.h: Likewise.
16238 * stdio-common/vfprintf.c: Likewise.
16239
53f1bed3
WN
16240 * sysdeps/generic/ldsodefs.h: Check whether
16241 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16242 than #if.
16243
788bba36
WN
16244 * nptl/sysdeps/pthread/pthread.h: Check
16245 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16246 its value.
16247
fcd89ebe
SP
162482014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16249
ae42bbc5
SP
16250 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16251 setting O_APPEND.
16252 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16253 test case.
16254
ea33158c
SP
16255 [BZ #16680]
16256 * libio/fileops.c (_IO_file_open): Seek to end of file but
16257 don't cache the offset.
16258 (get_file_offset): Remove function.
16259 (do_ftell): Use cached offset when available.
16260 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16261 don't cache the offset.
16262 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16263 case.
16264 (do_one_test): Call it.
16265 (do_ftell_test): Fix up expected old offset for a+ mode.
16266 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16267 available.
16268
b1dbb426
SP
16269 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16270 up test status with function return status.
16271 (do_write_test): Likewise.
16272 (do_append_test): Likewise.
16273
fcd89ebe
SP
16274 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16275 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16276 Remove.
16277
9962a2d3
JM
162782014-03-17 Joseph Myers <joseph@codesourcery.com>
16279
16280 * math/gen-libm-test.pl (parse_args): Handle results specified for
16281 each rounding mode separately.
16282 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16283 tests and results from lrint_tonearest_test_data,
16284 lrint_towardzero_test_data, lrint_downward_test_data and
16285 lrint_upward_test_data.
16286 (lrint_test): Use ALL_RM_TEST.
16287 (lrint_tonearest_test_data): Remove.
16288 (lrint_test_tonearest): Likewise.
16289 (lrint_towardzero_test_data): Likewise.
16290 (lrint_test_towardzero): Likewise.
16291 (lrint_downward_test_data): Likewise.
16292 (lrint_test_downward): Likewise.
16293 (lrint_upward_test_data): Likewise.
16294 (lrint_test_upward): Likewise.
16295 (llrint_test_data): Merge in per-rounding-mode tests and results
16296 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16297 llrint_downward_test_data and llrint_upward_test_data.
16298 (llrint_test): Use ALL_RM_TEST.
16299 (llrint_tonearest_test_data): Remove.
16300 (llrint_test_tonearest): Likewise.
16301 (llrint_towardzero_test_data): Likewise.
16302 (llrint_test_towardzero): Likewise.
16303 (llrint_downward_test_data): Likewise.
16304 (llrint_test_downward): Likewise.
16305 (llrint_upward_test_data): Likewise.
16306 (llrint_test_upward): Likewise.
16307 (rint_test_data): Merge in per-rounding-mode tests and results
16308 from rint_tonearest_test_data, rint_towardzero_test_data,
16309 rint_downward_test_data and rint_upward_test_data. Add
16310 per-rounding-mode results for tests not in those arrays.
16311 (rint_test): Use ALL_RM_TEST.
16312 (rint_tonearest_test_data): Remove.
16313 (rint_test_tonearest): Likewise.
16314 (rint_towardzero_test_data): Likewise.
16315 (rint_test_towardzero): Likewise.
16316 (rint_downward_test_data): Likewise.
16317 (rint_test_downward): Likewise.
16318 (rint_upward_test_data): Likewise.
16319 (rint_test_upward): Likewise.
16320 (main): Don't call removed functions.
16321
5006148e
RM
163222014-03-14 Roland McGrath <roland@hack.frob.com>
16323
16324 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16325 "Compiled on ..." crapola. It is anti-useful.
16326
d6fe5e58
JM
163272014-03-14 Joseph Myers <joseph@codesourcery.com>
16328
16329 * scripts/evaluate-test.sh: Handle fourth argument to determine
16330 whether test run should stop on failure.
16331 * Makeconfig (stop-on-test-failure): New variable.
16332 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16333 $(stop-on-test-failure).
16334 * Makefile (tests): Give a summary of results from testing and
16335 exit with failure status if they include an ERROR or FAIL.
16336 (xtests): Likewise.
16337 * manual/install.texi (Configuring and compiling): Mention
16338 stop-on-test-failure=y.
16339 * INSTALL: Regenerated.
16340
498a2233
RM
163412014-03-14 Roland McGrath <roland@hack.frob.com>
16342
22dbc19d
RM
16343 * scripts/versionlist.awk: New file.
16344 * Makerules [$(build-shared) = yes]
16345 (postclean-generated): Add Versions.def, not Versions.def.v and
16346 Versions.def.v.i.
16347 ($(common-objpfx)Versions.def.v.i): Target removed.
16348 ($(common-objpfx)Versions.def): New target.
16349 ($(common-objpfx)Versions.all): Depend on that rather that
16350 $(common-objpfx)Versions.def.v.
16351 * Versions.def: File removed.
16352
498a2233
RM
16353 * Makeconfig (+gccwarn): Add -Wundef.
16354 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16355 a dl-sysdep.h breaking its contract.
16356 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16357 * include/stackinfo.h: New file.
16358 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16359 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16360 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16361 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16362 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16363 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16364 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16365 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16366 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16367 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16368 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16369 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16370 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16371 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16372 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16373
c7de5025
AZ
163742014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16375
16376 [BZ #16707]
16377 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16378 implementation.
16379 * math/libm-test.inc (round_test_data): Add more tests.
16380
98fb27a3
AZ
16381 [BZ #16706]
16382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16383 implementation.
16384 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16385
374f7f61
AZ
16386 [BZ #16701]
16387 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16388 implementation.
16389 * math/libm-test.inc (ceil_test_data): Add more tests.
16390
4655c291
AZ
16391 * math/libm-test.inc (trunc_test_data): Add more tests related to
16392 BZ#16414.
16393
d7329d4b
RM
163942014-03-14 Roland McGrath <roland@hack.frob.com>
16395
16396 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16397 with #if rather than #ifdef.
16398 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16399
aa4de9ce
L
164002014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16401
16402 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16403 first. Disable AVX-512 GCC support if assembler doesn't support
16404 it.
16405 * sysdeps/x86_64/configure: Regenerated.
16406
2e03fae7
CD
164072014-03-13 Carlos O'Donell <carlos@redhat.com>
16408
16409 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16410 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16411 (__old_pthread_attr_setstack): Likewise.
16412 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16413 [!_STACK_GROWS_DOWN]: Likewise.
16414
43ca83ec
MF
164152014-03-13 Mike Frysinger <vapier@gentoo.org>
16416
16417 * config.make.in (have-bash2): Delete.
16418 * configure.ac (libc_cv_have_bash2): Delete.
16419 * configure: Regenerate.
16420 * elf/Makefile (common-ldd-rewrite): Rename to ...
16421 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16422 (sh-ldd-rewrite): Delete.
16423 (bash-ldd-rewrite): Delete.
16424 (have-bash2): Delete checks.
57f41c40
AS
16425 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16426 ldd-rewrite.
c66e48b4
MF
16427
16428 * config.make.in (have-ksh): Delete.
16429 (KSH): Delete.
16430 * configure.ac (libc_cv_have_ksh): Delete.
16431 * configure: Regenerate.
16432
b93834ef
MF
16433 * elf/Makefile: Delete $(have-ksh) check.
16434 ($(objpfx)sotruss): Change KSH to BASH.
16435 * elf/sotruss.ksh: Rename to ...
16436 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16437 function style to match POSIX. Drop ksh vim mode setting.
16438
f3a4632a
MF
16439 * manual/time.texi (Specifying the Time Zone with TZ): Change
16440 Tuesday to Thursday.
16441
5896c8bd
MF
16442 * debug/tst-longjmp_chk2.c: Update header comment.
16443 (stackoverflow_handler): Add comment. Call assert on pass value.
16444
2d63a517
IZ
164452014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16446
7e54fd04 16447 [BZ #16194]
2d63a517
IZ
16448 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16449 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16450 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16451 (La_x86_64_vector): Add zmm.
16452 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16453 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16454 ($(objpfx)tst-audit10): New target.
16455 ($(objpfx)tst-audit10.out): Likewise.
16456 (tst-audit10-ENV): New.
16457 (AVX512-CFLAGS): Likewise.
16458 (CFLAGS-tst-audit10.c): Likewise.
16459 (CFLAGS-tst-auditmod10a.c): Likewise.
16460 (CFLAGS-tst-auditmod10b.c): Likewise.
16461 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16462 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16463 * sysdeps/x86_64/configure: Regenerated.
16464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16465 AVX-512 zmm register support.
16466 (_dl_x86_64_save_sse): Likewise.
16467 (_dl_x86_64_restore_sse): Likewise.
16468 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16469 size vector registers.
16470 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16471 (ZMM_SIZE): Likewise.
16472 * sysdeps/x86_64/tst-audit10.c: New file.
16473 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16474 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16475
44c4e5d5
RM
164762014-03-13 Roland McGrath <roland@hack.frob.com>
16477
16478 * configure.ac (HAVE_EHDR_START): New check.
16479 * configure: Regenerated.
16480 * config.h.in (HAVE_EHDR_START): New #undef.
16481 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16482 assuming the lowest-addressed segment maps the start of the file.
16483
acd6e389
JM
164842014-03-13 Joseph Myers <joseph@codesourcery.com>
16485
16486 * INSTALL: Regenerated.
16487
6f918f36
WN
164882014-03-13 Will Newton <will.newton@linaro.org>
16489
16490 * manual/setjmp.texi (System V contexts): Improve
16491 clarity and grammar of documentation.
16492
798212a0
PP
164932014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16494
16495 [BZ #16381]
798212a0 16496 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16497 (tests-pie): Add tst-pie2.
798212a0
PP
16498 * elf/tst-pie2.c: New file.
16499 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16500 for ET_EXEC.
16501 * elf/rtld.c (map_doit): Load executable as lt_executable.
16502 (dl_main): Likewise.
16503
abe6d90c
JM
165042014-03-12 Joseph Myers <joseph@codesourcery.com>
16505
16506 [BZ #16642]
16507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16508 (__ASSUME_PSELECT): Undefine.
16509
dd3946c6
AZ
165102014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16511
16512 [BZ #16689]
16513 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16514 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16515 static build.
16516 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16517 selector for static builds.
16518
c44496df
SP
165192014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16520
16521 [BZ #16695]
16522 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16523 key in the buffer.
16524
27c7220a
AZ
165252014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16526
57f41c40
AS
16527 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16528 IFUNC selector for static builds.
27c7220a 16529
600fa361
JM
165302014-03-11 Joseph Myers <joseph@codesourcery.com>
16531
76c96cf7
JM
16532 * sysdeps/mips/math_private.h [__mips_hard_float]
16533 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16534 libc_feresetround_mips_ctx.
16535 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16536 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16537 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16538
600fa361
JM
16539 [BZ #16677]
16540 * math/s_nextafter.c (__nextafter): Do not return value from
16541 overflowing computation.
16542 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16543 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16544 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16545 Likewise.
16546 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16547 Likewise.
16548 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16549 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16550
d7706c32
RM
165512014-03-11 Roland McGrath <roland@hack.frob.com>
16552
16553 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16554 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16555 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16556 the new mov targetting sp.
16557
4facea47
AZ
165582014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16559
16560 [BZ #16683]
16561 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16562 Define it for static builds as well.
16563 (NO_BZERO_IMPL): Likewise.
16564
e65caf1f
VR
165652014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16566
16567 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16568 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16569 multiarch strspn for PPC64.
16570 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16571 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16573 (__libc_ifunc_impl_list): Likewise.
16574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16575 multiarch optimizations
16576 * string/strspn.c (strspn): Using macro to redefine symbol name.
16577
ba9cc071
AZ
165782014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16579 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16580
16581 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16582 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16583 multiarch strncat for PPC64.
16584 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16585 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16587 (__libc_ifunc_impl_list): Likewise.
16588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16589 multiarch optimizations
16590
8b4ff974
SP
165912014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16592
16593 [BZ #16639]
16594 * nscd/nscd.service: Make service type forking.
16595
54b46a4b
AZ
165962014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16597
16598 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16599 sign in non default rounding modes.
16600 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16601
e9996ef7
JM
166022014-03-08 Joseph Myers <joseph@codesourcery.com>
16603
16604 * math/libm-test.inc (ALL_RM_TEST): New macro.
16605 (ceil_test): Use ALL_RM_TEST.
16606 (cimag_test): Likewise.
16607 (conj_test): Likewise.
16608 (copysign_test): Likewise.
16609 (cproj_test): Likewise.
16610 (creal_test): Likewise.
16611 (fabs_test): Likewise.
16612 (floor_test): Likewise.
16613 (fmax_test): Likewise.
16614 (fmin_test): Likewise.
16615 (fmod_test): Likewise.
16616 (fpclassify_test): Likewise.
16617 (frexp_test): Likewise.
16618 (ilogb_test): Likewise.
16619 (isfinite_test): Likewise.
16620 (finite_test): Likewise.
16621 (isgreater_test): Likewise.
16622 (isgreaterequal_test): Likewise.
16623 (isinf_test): Likewise.
16624 (isless_test): Likewise.
16625 (islessequal_test): Likewise.
16626 (islessgreater_test): Likewise.
16627 (isnan_test): Likewise.
16628 (isnormal_test): Likewise.
16629 (issignaling_test): Likewise.
16630 (isunordered_test): Likewise.
16631 (logb_test): Likewise.
16632 (logb_downward_test_data): Remove.
16633 (logb_test_downward): Likewise.
16634 (lround_test): Use ALL_RM_TEST.
16635 (llround_test): Likewise.
16636 (modf_test): Likewise.
16637 (nexttoward_test): Likewise.
16638 (remainder_test): Likewise.
16639 (drem_test): Likewise.
16640 (remainder_tonearest_test_data): Likewise.
16641 (remainder_test_tonearest): Likewise.
16642 (drem_test_tonearest): Likewise.
16643 (remainder_towardzero_test_data): Likewise.
16644 (remainder_test_towardzero): Likewise.
16645 (drem_test_towardzero): Likewise.
16646 (remainder_downward_test_data): Likewise.
16647 (remainder_test_downward): Likewise.
16648 (drem_test_downward): Likewise.
16649 (remainder_upward_test_data): Likewise.
16650 (remainder_test_upward): Likewise.
16651 (drem_test_upward): Likewise.
16652 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16653 (round_test): Use ALL_RM_TEST.
16654 (signbit_test): Likewise.
16655 (trunc_test): Likewise.
16656 (significand_test): Likewise.
16657 (main): Don't call removed functions.
16658
bc61d27c
JM
166592014-03-07 Joseph Myers <joseph@codesourcery.com>
16660
5c780849
JM
16661 [BZ #16674]
16662 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16663 || __USE_XOPEN2K8].
16664 (ILL_ILLOPN): Likewise.
16665 (ILL_ILLADR): Likewise.
16666 (ILL_ILLTRP): Likewise.
16667 (ILL_PRVOPC): Likewise.
16668 (ILL_PRVREG): Likewise.
16669 (ILL_COPROC): Likewise.
16670 (ILL_BADSTK): Likewise.
16671 (FPE_INTDIV): Likewise.
16672 (FPE_INTOVF): Likewise.
16673 (FPE_FLTDIV): Likewise.
16674 (FPE_FLTOVF): Likewise.
16675 (FPE_FLTUND): Likewise.
16676 (FPE_FLTRES): Likewise.
16677 (FPE_FLTINV): Likewise.
16678 (FPE_FLTSUB): Likewise.
16679 (SEGV_MAPERR): Likewise.
16680 (SEGV_ACCERR): Likewise.
16681 (BUS_ADRALN): Likewise.
16682 (BUS_ADRERR): Likewise.
16683 (BUS_OBJERR): Likewise.
16684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16685 (TRAP_TRACE): Likewise.
16686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16687 __USE_XOPEN2K8].
16688 (CLD_KILLED): Likewise.
16689 (CLD_DUMPED): Likewise.
16690 (CLD_TRAPPED): Likewise.
16691 (CLD_STOPPED): Likewise.
16692 (CLD_CONTINUED): Likewise.
16693 (POLL_IN): Likewise.
16694 (POLL_OUT): Likewise.
16695 (POLL_MSG): Likewise.
16696 (POLL_ERR): Likewise.
16697 (POLL_PRI): Likewise.
16698 (POLL_HUP): Likewise.
16699 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16700 Likewise.
16701 (ILL_ILLOPN): Likewise.
16702 (ILL_ILLADR): Likewise.
16703 (ILL_ILLTRP): Likewise.
16704 (ILL_PRVOPC): Likewise.
16705 (ILL_PRVREG): Likewise.
16706 (ILL_COPROC): Likewise.
16707 (ILL_BADSTK): Likewise.
16708 (FPE_INTDIV): Likewise.
16709 (FPE_INTOVF): Likewise.
16710 (FPE_FLTDIV): Likewise.
16711 (FPE_FLTOVF): Likewise.
16712 (FPE_FLTUND): Likewise.
16713 (FPE_FLTRES): Likewise.
16714 (FPE_FLTINV): Likewise.
16715 (FPE_FLTSUB): Likewise.
16716 (SEGV_MAPERR): Likewise.
16717 (SEGV_ACCERR): Likewise.
16718 (BUS_ADRALN): Likewise.
16719 (BUS_ADRERR): Likewise.
16720 (BUS_OBJERR): Likewise.
16721 (BUS_MCEERR_AR): Likewise.
16722 (BUS_MCEERR_AO): Likewise.
16723 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16724 (TRAP_TRACE): Likewise.
16725 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16726 __USE_XOPEN2K8].
16727 (CLD_KILLED): Likewise.
16728 (CLD_DUMPED): Likewise.
16729 (CLD_TRAPPED): Likewise.
16730 (CLD_STOPPED): Likewise.
16731 (CLD_CONTINUED): Likewise.
16732 (POLL_IN): Likewise.
16733 (POLL_OUT): Likewise.
16734 (POLL_MSG): Likewise.
16735 (POLL_ERR): Likewise.
16736 (POLL_PRI): Likewise.
16737 (POLL_HUP): Likewise.
16738 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16739 (ILL_ILLOPN): Likewise.
16740 (ILL_ILLADR): Likewise.
16741 (ILL_ILLTRP): Likewise.
16742 (ILL_PRVOPC): Likewise.
16743 (ILL_PRVREG): Likewise.
16744 (ILL_COPROC): Likewise.
16745 (ILL_BADSTK): Likewise.
16746 (FPE_INTDIV): Likewise.
16747 (FPE_INTOVF): Likewise.
16748 (FPE_FLTDIV): Likewise.
16749 (FPE_FLTOVF): Likewise.
16750 (FPE_FLTUND): Likewise.
16751 (FPE_FLTRES): Likewise.
16752 (FPE_FLTINV): Likewise.
16753 (FPE_FLTSUB): Likewise.
16754 (SEGV_MAPERR): Likewise.
16755 (SEGV_ACCERR): Likewise.
16756 (BUS_ADRALN): Likewise.
16757 (BUS_ADRERR): Likewise.
16758 (BUS_OBJERR): Likewise.
16759 (BUS_MCEERR_AR): Likewise.
16760 (BUS_MCEERR_AO): Likewise.
16761 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16762 (TRAP_TRACE): Likewise.
16763 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16764 __USE_XOPEN2K8].
16765 (CLD_KILLED): Likewise.
16766 (CLD_DUMPED): Likewise.
16767 (CLD_TRAPPED): Likewise.
16768 (CLD_STOPPED): Likewise.
16769 (CLD_CONTINUED): Likewise.
16770 (POLL_IN): Likewise.
16771 (POLL_OUT): Likewise.
16772 (POLL_MSG): Likewise.
16773 (POLL_ERR): Likewise.
16774 (POLL_PRI): Likewise.
16775 (POLL_HUP): Likewise.
16776 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16777 Likewise.
16778 (ILL_ILLOPN): Likewise.
16779 (ILL_ILLADR): Likewise.
16780 (ILL_ILLTRP): Likewise.
16781 (ILL_PRVOPC): Likewise.
16782 (ILL_PRVREG): Likewise.
16783 (ILL_COPROC): Likewise.
16784 (ILL_BADSTK): Likewise.
16785 (ILL_BADIADDR): Likewise.
16786 (ILL_BREAK): Likewise.
16787 (FPE_INTDIV): Likewise.
16788 (FPE_INTOVF): Likewise.
16789 (FPE_FLTDIV): Likewise.
16790 (FPE_FLTOVF): Likewise.
16791 (FPE_FLTUND): Likewise.
16792 (FPE_FLTRES): Likewise.
16793 (FPE_FLTINV): Likewise.
16794 (FPE_FLTSUB): Likewise.
16795 (FPE_DECOVF): Likewise.
16796 (FPE_DECDIV): Likewise.
16797 (FPE_DECERR): Likewise.
16798 (FPE_INVASC): Likewise.
16799 (FPE_INVDEC): Likewise.
16800 (SEGV_MAPERR): Likewise.
16801 (SEGV_ACCERR): Likewise.
16802 (SEGV_PSTKOVF): Likewise.
16803 (BUS_ADRALN): Likewise.
16804 (BUS_ADRERR): Likewise.
16805 (BUS_OBJERR): Likewise.
16806 (BUS_MCEERR_AR): Likewise.
16807 (BUS_MCEERR_AO): Likewise.
16808 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16809 (TRAP_TRACE): Likewise.
16810 (TRAP_BRANCH): Likewise.
16811 (TRAP_HWBKPT): Likewise.
16812 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16813 __USE_XOPEN2K8].
16814 (CLD_KILLED): Likewise.
16815 (CLD_DUMPED): Likewise.
16816 (CLD_TRAPPED): Likewise.
16817 (CLD_STOPPED): Likewise.
16818 (CLD_CONTINUED): Likewise.
16819 (POLL_IN): Likewise.
16820 (POLL_OUT): Likewise.
16821 (POLL_MSG): Likewise.
16822 (POLL_ERR): Likewise.
16823 (POLL_PRI): Likewise.
16824 (POLL_HUP): Likewise.
16825 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16826 (ILL_ILLOPN): Likewise.
16827 (ILL_ILLADR): Likewise.
16828 (ILL_ILLTRP): Likewise.
16829 (ILL_PRVOPC): Likewise.
16830 (ILL_PRVREG): Likewise.
16831 (ILL_COPROC): Likewise.
16832 (ILL_BADSTK): Likewise.
16833 (FPE_INTDIV): Likewise.
16834 (FPE_INTOVF): Likewise.
16835 (FPE_FLTDIV): Likewise.
16836 (FPE_FLTOVF): Likewise.
16837 (FPE_FLTUND): Likewise.
16838 (FPE_FLTRES): Likewise.
16839 (FPE_FLTINV): Likewise.
16840 (FPE_FLTSUB): Likewise.
16841 (SEGV_MAPERR): Likewise.
16842 (SEGV_ACCERR): Likewise.
16843 (BUS_ADRALN): Likewise.
16844 (BUS_ADRERR): Likewise.
16845 (BUS_OBJERR): Likewise.
16846 (BUS_MCEERR_AR): Likewise.
16847 (BUS_MCEERR_AO): Likewise.
16848 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16849 (TRAP_TRACE): Likewise.
16850 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16851 __USE_XOPEN2K8].
16852 (CLD_KILLED): Likewise.
16853 (CLD_DUMPED): Likewise.
16854 (CLD_TRAPPED): Likewise.
16855 (CLD_STOPPED): Likewise.
16856 (CLD_CONTINUED): Likewise.
16857 (POLL_IN): Likewise.
16858 (POLL_OUT): Likewise.
16859 (POLL_MSG): Likewise.
16860 (POLL_ERR): Likewise.
16861 (POLL_PRI): Likewise.
16862 (POLL_HUP): Likewise.
16863 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16864 (ILL_ILLOPN): Likewise.
16865 (ILL_ILLADR): Likewise.
16866 (ILL_ILLTRP): Likewise.
16867 (ILL_PRVOPC): Likewise.
16868 (ILL_PRVREG): Likewise.
16869 (ILL_COPROC): Likewise.
16870 (ILL_BADSTK): Likewise.
16871 (FPE_INTDIV): Likewise.
16872 (FPE_INTOVF): Likewise.
16873 (FPE_FLTDIV): Likewise.
16874 (FPE_FLTOVF): Likewise.
16875 (FPE_FLTUND): Likewise.
16876 (FPE_FLTRES): Likewise.
16877 (FPE_FLTINV): Likewise.
16878 (FPE_FLTSUB): Likewise.
16879 (SEGV_MAPERR): Likewise.
16880 (SEGV_ACCERR): Likewise.
16881 (BUS_ADRALN): Likewise.
16882 (BUS_ADRERR): Likewise.
16883 (BUS_OBJERR): Likewise.
16884 (BUS_MCEERR_AR): Likewise.
16885 (BUS_MCEERR_AO): Likewise.
16886 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16887 (TRAP_TRACE): Likewise.
16888 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16889 __USE_XOPEN2K8].
16890 (CLD_KILLED): Likewise.
16891 (CLD_DUMPED): Likewise.
16892 (CLD_TRAPPED): Likewise.
16893 (CLD_STOPPED): Likewise.
16894 (CLD_CONTINUED): Likewise.
16895 (POLL_IN): Likewise.
16896 (POLL_OUT): Likewise.
16897 (POLL_MSG): Likewise.
16898 (POLL_ERR): Likewise.
16899 (POLL_PRI): Likewise.
16900 (POLL_HUP): Likewise.
16901 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16902 (ILL_ILLOPN): Likewise.
16903 (ILL_ILLADR): Likewise.
16904 (ILL_ILLTRP): Likewise.
16905 (ILL_PRVOPC): Likewise.
16906 (ILL_PRVREG): Likewise.
16907 (ILL_COPROC): Likewise.
16908 (ILL_BADSTK): Likewise.
16909 (FPE_INTDIV): Likewise.
16910 (FPE_INTOVF): Likewise.
16911 (FPE_FLTDIV): Likewise.
16912 (FPE_FLTOVF): Likewise.
16913 (FPE_FLTUND): Likewise.
16914 (FPE_FLTRES): Likewise.
16915 (FPE_FLTINV): Likewise.
16916 (FPE_FLTSUB): Likewise.
16917 (SEGV_MAPERR): Likewise.
16918 (SEGV_ACCERR): Likewise.
16919 (BUS_ADRALN): Likewise.
16920 (BUS_ADRERR): Likewise.
16921 (BUS_OBJERR): Likewise.
16922 (BUS_MCEERR_AR): Likewise.
16923 (BUS_MCEERR_AO): Likewise.
16924 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16925 (TRAP_TRACE): Likewise.
16926 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16927 __USE_XOPEN2K8].
16928 (CLD_KILLED): Likewise.
16929 (CLD_DUMPED): Likewise.
16930 (CLD_TRAPPED): Likewise.
16931 (CLD_STOPPED): Likewise.
16932 (CLD_CONTINUED): Likewise.
16933 (POLL_IN): Likewise.
16934 (POLL_OUT): Likewise.
16935 (POLL_MSG): Likewise.
16936 (POLL_ERR): Likewise.
16937 (POLL_PRI): Likewise.
16938 (POLL_HUP): Likewise.
16939 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16940 (ILL_ILLOPN): Likewise.
16941 (ILL_ILLADR): Likewise.
16942 (ILL_ILLTRP): Likewise.
16943 (ILL_PRVOPC): Likewise.
16944 (ILL_PRVREG): Likewise.
16945 (ILL_COPROC): Likewise.
16946 (ILL_BADSTK): Likewise.
16947 (ILL_DBLFLT): Likewise.
16948 (ILL_HARDWALL): Likewise.
16949 (FPE_INTDIV): Likewise.
16950 (FPE_INTOVF): Likewise.
16951 (FPE_FLTDIV): Likewise.
16952 (FPE_FLTOVF): Likewise.
16953 (FPE_FLTUND): Likewise.
16954 (FPE_FLTRES): Likewise.
16955 (FPE_FLTINV): Likewise.
16956 (FPE_FLTSUB): Likewise.
16957 (SEGV_MAPERR): Likewise.
16958 (SEGV_ACCERR): Likewise.
16959 (BUS_ADRALN): Likewise.
16960 (BUS_ADRERR): Likewise.
16961 (BUS_OBJERR): Likewise.
16962 (BUS_MCEERR_AR): Likewise.
16963 (BUS_MCEERR_AO): Likewise.
16964 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16965 (TRAP_TRACE): Likewise.
16966 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16967 __USE_XOPEN2K8].
16968 (CLD_KILLED): Likewise.
16969 (CLD_DUMPED): Likewise.
16970 (CLD_TRAPPED): Likewise.
16971 (CLD_STOPPED): Likewise.
16972 (CLD_CONTINUED): Likewise.
16973 (POLL_IN): Likewise.
16974 (POLL_OUT): Likewise.
16975 (POLL_MSG): Likewise.
16976 (POLL_ERR): Likewise.
16977 (POLL_PRI): Likewise.
16978 (POLL_HUP): Likewise.
16979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16980 (ILL_ILLOPN): Likewise.
16981 (ILL_ILLADR): Likewise.
16982 (ILL_ILLTRP): Likewise.
16983 (ILL_PRVOPC): Likewise.
16984 (ILL_PRVREG): Likewise.
16985 (ILL_COPROC): Likewise.
16986 (ILL_BADSTK): Likewise.
16987 (FPE_INTDIV): Likewise.
16988 (FPE_INTOVF): Likewise.
16989 (FPE_FLTDIV): Likewise.
16990 (FPE_FLTOVF): Likewise.
16991 (FPE_FLTUND): Likewise.
16992 (FPE_FLTRES): Likewise.
16993 (FPE_FLTINV): Likewise.
16994 (FPE_FLTSUB): Likewise.
16995 (SEGV_MAPERR): Likewise.
16996 (SEGV_ACCERR): Likewise.
16997 (BUS_ADRALN): Likewise.
16998 (BUS_ADRERR): Likewise.
16999 (BUS_OBJERR): Likewise.
17000 (BUS_MCEERR_AR): Likewise.
17001 (BUS_MCEERR_AO): Likewise.
17002 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17003 (TRAP_TRACE): Likewise.
17004 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17005 __USE_XOPEN2K8].
17006 (CLD_KILLED): Likewise.
17007 (CLD_DUMPED): Likewise.
17008 (CLD_TRAPPED): Likewise.
17009 (CLD_STOPPED): Likewise.
17010 (CLD_CONTINUED): Likewise.
17011 (POLL_IN): Likewise.
17012 (POLL_OUT): Likewise.
17013 (POLL_MSG): Likewise.
17014 (POLL_ERR): Likewise.
17015 (POLL_PRI): Likewise.
17016 (POLL_HUP): Likewise.
17017 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17018 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17019
bc61d27c
JM
17020 [BZ #16670]
17021 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17022 before #include of <time.h>.
17023 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17024 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17025 (test-xfail-UNIX98/sched.h/conform): Likewise.
17026
302949e2
MS
170272014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17028
17029 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17030 error absence of trapping exception support.
17031 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17032
a00f522a
JM
170332014-03-07 Joseph Myers <joseph@codesourcery.com>
17034
6f99f280
JM
17035 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17036 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17037 * timezone/Makefile (testdata): Move definition above include of
17038 Rules.
17039 (test-zones): New variable.
17040 (tests-special): Add zone files.
17041 (build-testdata): Use $(evaluate-test).
17042
0b20a9e8
JM
17043 * elf/Makefile (tests-special): Rename tests to end with .out.
17044 ($(objpfx)noload-mem): Likewise.
17045 ($(objpfx)tst-leaks1-mem): Likewise.
17046 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17047 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17048 $(objpfx)test-iconvconfig.out.
17049 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17050 set -e inside subshell and redirect output to file.
17051 * iconvdata/Makefile (generated): Rename tests to end with .out.
17052 Correct type.
17053 (tests-special): Rename tests to end with .out.
17054 ($(objpfx)mtrace-tst-loading): Likewise.
17055 * intl/Makefile (generated): Likewise.
17056 (tests-special): Likewise.
17057 ($(objpfx)mtrace-tst-gettext): Likewise.
17058 * misc/Makefile (generated): Likewise.
17059 (tests-special): Likewise.
17060 ($(objpfx)tst-error1-mem): Likewise.
17061 * nptl/Makefile (tests-special): Likewise.
17062 ($(objpfx)tst-stack3-mem): Likewise.
17063 (generated): Likewise.
17064 * posix/Makefile (generated): Likewise.
17065 (tests-special): Likewise.
17066 (xtests-special): Likewise.
17067 ($(objpfx)tst-fnmatch-mem): Likewise.
17068 ($(objpfx)bug-regex2-mem): Likewise.
17069 ($(objpfx)bug-regex14-mem): Likewise.
17070 ($(objpfx)bug-regex21-mem): Likewise.
17071 ($(objpfx)bug-regex31-mem): Likewise.
17072 ($(objpfx)tst-vfork3-mem): Likewise.
17073 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17074 ($(objpfx)tst-pcre-mem): Likewise.
17075 ($(objpfx)tst-boost-mem): Likewise.
17076 ($(objpfx)bug-ga2-mem): Likewise.
17077 ($(objpfx)bug-glob2-mem): Likewise.
17078 * resolv/Makefile (generate): Likewise.
17079 (tests-special): Likewise.
17080 (xtests-special): Likewise.
17081 (generated): Likewise.
17082 ($(objpfx)mtrace-tst-leaks): Likewise.
17083 ($(objpfx)mtrace-tst-leaks2): Likewise.
17084
265d52ab
JM
17085 * scripts/merge-test-results.sh: New file.
17086 * Makefile (tests-special-notdir): New variable.
17087 (tests): Run merge-test-results.sh.
17088 (xtests): Likewise.
17089 * Rules (tests-special-notdir): New variable.
17090 (xtests-special-notdir): Likewise.
17091 (tests): Run merge-test-results.sh
17092 (xtests): Likewise.
17093
54ee292d
JM
17094 * Makeconfig (test-xfail-name): New variable.
17095 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17096 compute variable name for expected failures.
17097 * conform/Makefile (conformtest-headers-data): New variable.
17098 (conformtest-standards): Likewise.
17099 (conformtest-headers-ISO): Likewise.
17100 (conformtest-headers-ISO99): Likewise.
17101 (conformtest-headers-ISO11): Likewise.
17102 (conformtest-headers-POSIX): Likewise.
17103 (conformtest-headers-XPG3): Likewise.
17104 (conformtest-headers-XPG4): Likewise.
17105 (conformtest-headers-UNIX98): Likewise.
17106 (conformtest-headers-XOPEN2K): Likewise.
17107 (conformtest-headers-POSIX2008): Likewise.
17108 (conformtest-headers-XOPEN2K8): Likewise.
17109 (conformtest-header-list-base): Likewise.
17110 (conformtest-header-list-tests): Likewise.
17111 (conformtest-header-base): Likewise.
17112 (conformtest-header-tests): Likewise.
17113 (tests-special): Add $(conformtest-header-list-tests). If
17114 [$(fast-check) && !$(cross-compiling)], add
17115 $(conformtest-header-tests) instead of
17116 $(objpfx)run-conformtest.out.
17117 (generated): Add $(conformtest-header-list-base). If
17118 [$(fast-check) && !$(cross-compiling)], add
17119 $(conformtest-header-base). Remove previous setting.
17120 ($(conformtest-header-list-tests)): New target.
17121 (test-xfail-run-conformtest): Remove variable.
17122 ($(objpfx)run-conformtest.out): Remove target.
17123 (test-xfail-ISO11/complex.h/conform): New variable.
17124 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17125 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17126 (test-xfail-XPG3/varargs.h/conform): Likewise.
17127 (test-xfail-XPG4/varargs.h/conform): Likewise.
17128 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17129 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17130 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17131 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17132 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17133 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17134 (test-xfail-XPG3/ftw.h/conform): Likewise.
17135 (test-xfail-XPG3/grp.h/conform): Likewise.
17136 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17137 (test-xfail-XPG3/limits.h/conform): Likewise.
17138 (test-xfail-XPG3/pwd.h/conform): Likewise.
17139 (test-xfail-XPG3/search.h/conform): Likewise.
17140 (test-xfail-XPG3/signal.h/conform): Likewise.
17141 (test-xfail-XPG3/stdio.h/conform): Likewise.
17142 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17143 (test-xfail-XPG3/string.h/conform): Likewise.
17144 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17145 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17146 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17147 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17148 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17149 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17150 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17151 (test-xfail-XPG3/termios.h/conform): Likewise.
17152 (test-xfail-XPG3/time.h/conform): Likewise.
17153 (test-xfail-XPG3/unistd.h/conform): Likewise.
17154 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17155 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17156 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17157 (test-xfail-XPG4/netdb.h/conform): Likewise.
17158 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17159 (test-xfail-XPG4/signal.h/conform): Likewise.
17160 (test-xfail-XPG4/stdio.h/conform): Likewise.
17161 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17162 (test-xfail-XPG4/stropts.h/conform): Likewise.
17163 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17164 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17165 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17166 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17167 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17168 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17169 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17170 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17171 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17172 (test-xfail-XPG4/termios.h/conform): Likewise.
17173 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17174 (test-xfail-XPG4/unistd.h/conform): Likewise.
17175 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17176 (test-xfail-POSIX/sched.h/conform): Likewise.
17177 (test-xfail-POSIX/signal.h/conform): Likewise.
17178 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17179 (test-xfail-POSIX/tar.h/conform): Likewise.
17180 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17181 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17182 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17183 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17184 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17185 (test-xfail-UNIX98/sched.h/conform): Likewise.
17186 (test-xfail-UNIX98/signal.h/conform): Likewise.
17187 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17188 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17189 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17190 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17191 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17192 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17193 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17194 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17195 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17196 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17197 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17198 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17199 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17200 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17201 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17202 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17203 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17204 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17205 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17206 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17207 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17208 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17209 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17210 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17211 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17212 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17213 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17214 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17215 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17216 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17217 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17218 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17219 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17220 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17221 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17222 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17223 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17224 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17225 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17226 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17227 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17228 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17229 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17230 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17231 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17232 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17233 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17234 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17235 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17236 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17237 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17238 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17239 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17240 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17241 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17242 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17243 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17244 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17245 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17246 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17247 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17248 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17249 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17250 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17251 (conformtest-cc-flags): Likewise.
17252 ($(conformtest-header-tests): New target.
17253 * conform/check-header-lists.sh: New file.
17254 * conform/run-conformtest.sh: Remove.
17255
a00f522a
JM
17256 * conform/conformtest.pl: Allow ' and \ in values given for
17257 constants.
17258 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17259 inclusion.
17260 [POSIX] (sys/types.h): Likewise.
17261 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17262 inclusion.
17263 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17264 inclusion.
17265 * conform/data/signal.h-data (SIGIO): Remove expectation.
17266 [XPG3] (SIGBUS): Do not expect.
17267 [POSIX || XPG3] (SIGPOLL): Likewise.
17268 [POSIX || XPG3] (SIGPROF): Likewise.
17269 [POSIX || XPG3] (SIGSYS): Likewise.
17270 [XPG3] (SIGTRAP): Likewise.
17271 [POSIX || XPG3] (SIGURG): Likewise.
17272 [POSIX || XPG3] (SIGVTALRM): Likewise.
17273 [POSIX || XPG3] (SIGXCPU): Likewise.
17274 [POSIX || XPG3] (SIGXFSZ): Likewise.
17275 [POSIX] (SA_SIGINFO): Expect.
17276 [XPG3] (siginfo_t): Do not expect type or contents.
17277 [POSIX] (si_pid): Do not expect element.
17278 [POSIX] (si_uid): Likewise.
17279 [POSIX] (si_addr): Likewise.
17280 [POSIX] (si_status): Likewise.
17281 [POSIX] (si_band): Likewise.
17282 [XPG4] (si_value): Likewise.
17283 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17284 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17285 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17286 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17287 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17288 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17289 [POSIX || XPG3] (ILL_COPROC): Likewise.
17290 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17291 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17292 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17293 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17294 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17295 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17296 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17297 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17298 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17299 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17300 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17301 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17302 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17303 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17304 [POSIX || XPG3] (CLD_EXITED): Likewise.
17305 [POSIX || XPG3] (CLD_KILLED): Likewise.
17306 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17307 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17308 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17309 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17310 [POSIX || XPG3] (POLL_IN): Likewise.
17311 [POSIX || XPG3] (POLL_OUT): Likewise.
17312 [POSIX || XPG3] (POLL_MSG): Likewise.
17313 [POSIX || XPG3] (POLL_ERR): Likewise.
17314 [POSIX || XPG3] (POLL_PRI): Likewise.
17315 [POSIX || XPG3] (POLL_HUP): Likewise.
17316 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17317 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17318 (SIG*): Do not allow.
17319 [XPG3] (si_*): Likewise.
17320 [XPG3] (SI_*): Likewise.
17321 [XPG3 || XPG4] (sigev_*): Likewise.
17322 [XPG3 || XPG4] (SIGEV_*): Likewise.
17323 [XPG3 || XPG4] (sival_*): Likewise.
17324 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17325 [POSIX || XPG3] (BUS_*): Likewise.
17326 [POSIX || XPG3] (CLD_*): Likewise.
17327 [POSIX || XPG3] (FPE_*): Likewise.
17328 [POSIX || XPG3] (ILL_*): Likewise.
17329 [POSIX || XPG3] (POLL_*): Likewise.
17330 [POSIX || XPG3] (SEGV_*): Likewise.
17331 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17332 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17333 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17334 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17335 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17336 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17337 Specify type and value.
17338 (TVERSLEN): Likewise.
17339 (REGTYPE): Likewise.
17340 (AREGTYPE): Likewise.
17341 (LNKTYPE): Likewise.
17342 (SYMTYPE): Likewise.
17343 (CHRTYPE): Likewise.
17344 (BLKTYPE): Likewise.
17345 (DIRTYPE): Likewise.
17346 (FIFOTYPE): Likewise.
17347 (CONTTYPE): Likewise.
17348 (TSUID): Likewise.
17349 (TSGID): Likewise.
17350 (TSVTX): Likewise.
17351 (TUREAD): Likewise.
17352 (TUWRITE): Likewise.
17353 (TUEXEC): Likewise.
17354 (TGREAD): Likewise.
17355 (TGWRITE): Likewise.
17356 (TGEXEC): Likewise.
17357 (TOREAD): Likewise.
17358 (TOWRITE): Likewise.
17359 (TOEXEC): Likewise.
17360 [POSIX] (TSVTX): Expect constant.
17361
aa97dee1
JM
173622014-03-06 Joseph Myers <joseph@codesourcery.com>
17363
f214606a
JM
17364 * Makefile (tests): Change dependencies to ....
17365 (tests-special): ... additions to this variable.
17366 (tests): Depend on $(tests-special).
17367 * Makerules (check-abi-list): New variable.
17368 (check-abi): Depend on $(check-abi-list).
17369 [$(subdir) = elf] (tests-special): Add
17370 $(objpfx)check-abi-libc.out.
17371 [$(build-shared) = yes && subdir] (tests-special): Add
17372 $(check-abi-list).
17373 [$(build-shared) = yes && subdir] (tests): Do not depend on
17374 check-abi.
17375 * Rules (tests): Depend on $(tests-special).
17376 (xtests): Depend on $(xtests-special).
17377 * catgets/Makefile (tests): Change dependencies to ....
17378 (tests-special): ... additions to this variable.
17379 * conform/Makefile (tests): Change dependencies to ....
17380 (tests-special): ... additions to this variable.
17381 * elf/Makefile (tests): Change dependencies to ....
17382 (tests-special): ... additions to this variable.
17383 * grp/Makefile (tests): Change dependencies to ....
17384 (tests-special): ... additions to this variable.
17385 * iconv/Makefile (xtests): Change dependencies to ....
17386 (xtests-special): ... additions to this variable.
17387 * iconvdata/Makefile (tests): Change dependencies to ....
17388 (tests-special): ... additions to this variable.
17389 * intl/Makefile (tests): Change dependencies to ....
17390 (tests-special): ... additions to this variable. Also add
17391 $(objpfx)tst-gettext.out.
17392 * io/Makefile (tests): Change dependencies to ....
17393 (tests-special): ... additions to this variable.
17394 * libio/Makefile (tests): Change dependencies to ....
17395 (tests-special): ... additions to this variable.
17396 * malloc/Makefile (tests): Change dependencies to ....
17397 (tests-special): ... additions to this variable.
17398 * misc/Makefile (tests): Change dependencies to ....
17399 (tests-special): ... additions to this variable.
17400 * nptl/Makefile (tests): Change dependencies to ....
17401 (tests-special): ... additions to this variable.
17402 * nptl_db/Makefile (tests): Change dependencies to ....
17403 (tests-special): ... additions to this variable.
17404 * posix/Makefile (tests): Change dependencies to ....
17405 (tests-special): ... additions to this variable.
17406 (xtests): Change dependencies to ....
17407 (xtests-special): ... additions to this variable.
17408 * resolv/Makefile (tests): Change dependencies to ....
17409 (tests-special): ... additions to this variable.
17410 (xtests): Change dependencies to ....
17411 (xtests-special): ... additions to this variable.
17412 * stdio-common/Makefile (tests): Change dependencies to ....
17413 (tests-special): ... additions to this variable.
17414 (do-tst-unbputc): Remove target.
17415 (do-tst-printf): Likewise.
17416 * stdlib/Makefile (tests): Change dependencies to ....
17417 (tests-special): ... additions to this variable.
17418 * string/Makefile (tests): Change dependencies to ....
17419 (tests-special): ... additions to this variable.
17420 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17421 (tests-special): ... additions to this variable.
17422
81700b53
JM
17423 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17424 whole file.
17425 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17426 whole file.
17427 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17428 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17429
2ea18461
JM
17430 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17431 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17432 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17433 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17434 * conform/data/libgen.h-data [XPG3]: Likewise.
17435 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17436 * conform/data/ndbm.h-data [XPG3]: Likewise.
17437 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17438 * conform/data/netdb.h-data [XPG3]: Likewise.
17439 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17440 * conform/data/poll.h-data [XPG3]: Likewise.
17441 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17442 * conform/data/strings.h-data [XPG3]: Likewise.
17443 * conform/data/stropts.h-data [XPG3]: Likewise.
17444 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17445 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17446 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17447 Likewise.
17448 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17449 * conform/data/sys/time.h-data [XPG3]: Likewise.
17450 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17451 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17452 * conform/data/sys/un.h-data [XPG3]: Likewise.
17453 * conform/data/syslog.h-data [XPG3]: Likewise.
17454 * conform/data/ucontext.h-data [XPG3]: Likewise.
17455 * conform/data/utmpx.h-data [XPG3]: Likewise.
17456 * conform/data/varargs.h-data [UNIX98]: Enable file.
17457
355bc986
JM
17458 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17459
215db402
JM
17460 * math/libm-test.inc (struct test_f_f_data): Move expected results
17461 into structure for each rounding mode.
17462 (struct test_ff_f_data): Likewise.
17463 (struct test_ff_f_data_nexttoward): Likewise.
17464 (struct test_fi_f_data): Likewise.
17465 (struct test_fl_f_data): Likewise.
17466 (struct test_if_f_data): Likewise.
17467 (struct test_fff_f_data): Likewise.
17468 (struct test_c_f_data): Likewise.
17469 (struct test_f_f1_data): Likewise.
17470 (struct test_fF_f1_data): Likewise.
17471 (struct test_ffI_f1_data): Likewise.
17472 (struct test_c_c_data): Likewise.
17473 (struct test_cc_c_data): Likewise.
17474 (struct test_f_i_data): Likewise.
17475 (struct test_ff_i_data): Likewise.
17476 (struct test_f_l_data): Likewise.
17477 (struct test_f_L_data): Likewise.
17478 (struct test_fFF_11_data): Likewise.
17479 (RM_): New macro.
17480 (RM_FE_DOWNWARD): Likewise.
17481 (RM_FE_TONEAREST): Likewise.
17482 (RM_FE_TOWARDZERO): Likewise.
17483 (RM_FE_UPWARD): Likewise.
17484 (RUN_TEST_LOOP_f_f): Update references to expected results.
17485 (RUN_TEST_LOOP_2_f): Likewise.
17486 (RUN_TEST_LOOP_fff_f): Likewise.
17487 (RUN_TEST_LOOP_c_f): Likewise.
17488 (RUN_TEST_LOOP_f_f1): Likewise.
17489 (RUN_TEST_LOOP_fF_f1): Likewise.
17490 (RUN_TEST_LOOP_fI_f1): Likewise.
17491 (RUN_TEST_LOOP_ffI_f1): Likewise.
17492 (RUN_TEST_LOOP_c_c): Likewise.
17493 (RUN_TEST_LOOP_cc_c): Likewise.
17494 (RUN_TEST_LOOP_f_i): Likewise.
17495 (RUN_TEST_LOOP_f_i_tg): Likewise.
17496 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17497 (RUN_TEST_LOOP_f_b): Likewise.
17498 (RUN_TEST_LOOP_f_b_tg): Likewise.
17499 (RUN_TEST_LOOP_f_l): Likewise.
17500 (RUN_TEST_LOOP_f_L): Likewise.
17501 (RUN_TEST_LOOP_fFF_11): Likewise.
17502 * math/gen-libm-test.pl (parse_args): Output four copies of
17503 expected results for each test.
17504
67737b8f
JM
17505 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17506 (__ASSUME_UTIMES): Remove.
17507 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17508 (__ASSUME_UTIMES): Likewise.
17509
aa97dee1
JM
17510 * math/gen-auto-libm-tests.c: Update comment on output format.
17511 (output_for_one_input_case): Generate before-rounding and
17512 after-rounding information as conditions on output flags not
17513 floating-point format.
17514 * math/auto-libm-test-out: Regenerated.
17515 * math/gen-libm-test.pl (cond_value): New function.
17516 (or_cond_value): Use cond_value.
17517 (generate_testfile): Handle conditional exceptions.
17518
e6b6a857
JM
175192014-03-05 Joseph Myers <joseph@codesourcery.com>
17520
2f0a0f44
JM
17521 * math/libm-test.inc (max_valid_error): New variable.
17522 (init_max_error): Take new argument specifying whether function
17523 results are exactly determined. Set max_valid_error and bound
17524 other variables for errors based on this argument.
17525 (set_max_error): Do not record results above max_valid_error.
17526 (check_float_internal): Only accept errors of up to 0.5ulps if
17527 also at most max_valid_error.
17528 (START): Take new argument EXACT and pass it to init_max_error.
17529 (acos_test): Update call to START.
17530 (acos_test_tonearest): Likewise.
17531 (acos_test_towardzero): Likewise.
17532 (acos_test_downward): Likewise.
17533 (acos_test_upward): Likewise.
17534 (acosh_test): Likewise.
17535 (asin_test): Likewise.
17536 (asin_test_tonearest): Likewise.
17537 (asin_test_towardzero): Likewise.
17538 (asin_test_downward): Likewise.
17539 (asin_test_upward): Likewise.
17540 (asinh_test): Likewise.
17541 (atan_test): Likewise.
17542 (atanh_test): Likewise.
17543 (atan2_test): Likewise.
17544 (cabs_test): Likewise.
17545 (cacos_test): Likewise.
17546 (cacosh_test): Likewise.
17547 (carg_test): Likewise.
17548 (casin_test): Likewise.
17549 (casinh_test): Likewise.
17550 (catan_test): Likewise.
17551 (catanh_test): Likewise.
17552 (cbrt_test): Likewise.
17553 (ccos_test): Likewise.
17554 (ccosh_test): Likewise.
17555 (ceil_test): Likewise.
17556 (cexp_test): Likewise.
17557 (cimag_test): Likewise.
17558 (clog_test): Likewise.
17559 (clog10_test): Likewise.
17560 (conj_test): Likewise.
17561 (copysign_test): Likewise.
17562 (cos_test): Likewise.
17563 (cos_test_tonearest): Likewise.
17564 (cos_test_towardzero): Likewise.
17565 (cos_test_downward): Likewise.
17566 (cos_test_upward): Likewise.
17567 (cosh_test): Likewise.
17568 (cosh_test_tonearest): Likewise.
17569 (cosh_test_towardzero): Likewise.
17570 (cosh_test_downward): Likewise.
17571 (cosh_test_upward): Likewise.
17572 (cpow_test): Likewise.
17573 (cproj_test): Likewise.
17574 (creal_test): Likewise.
17575 (csin_test): Likewise.
17576 (csinh_test): Likewise.
17577 (csqrt_test): Likewise.
17578 (ctan_test): Likewise.
17579 (ctan_test_tonearest): Likewise.
17580 (ctan_test_towardzero): Likewise.
17581 (ctan_test_downward): Likewise.
17582 (ctan_test_upward): Likewise.
17583 (ctanh_test): Likewise.
17584 (ctanh_test_tonearest): Likewise.
17585 (ctanh_test_towardzero): Likewise.
17586 (ctanh_test_downward): Likewise.
17587 (ctanh_test_upward): Likewise.
17588 (erf_test): Likewise.
17589 (erfc_test): Likewise.
17590 (exp_test): Likewise.
17591 (exp_test_tonearest): Likewise.
17592 (exp_test_towardzero): Likewise.
17593 (exp_test_downward): Likewise.
17594 (exp_test_upward): Likewise.
17595 (exp10_test): Likewise.
17596 (exp10_test_tonearest): Likewise.
17597 (exp10_test_towardzero): Likewise.
17598 (exp10_test_downward): Likewise.
17599 (exp10_test_upward): Likewise.
17600 (pow10_test): Likewise.
17601 (exp2_test): Likewise.
17602 (expm1_test): Likewise.
17603 (expm1_test_tonearest): Likewise.
17604 (expm1_test_towardzero): Likewise.
17605 (expm1_test_downward): Likewise.
17606 (expm1_test_upward): Likewise.
17607 (fabs_test): Likewise.
17608 (fdim_test): Likewise.
17609 (floor_test): Likewise.
17610 (fma_test): Likewise.
17611 (fma_test_towardzero): Likewise.
17612 (fma_test_downward): Likewise.
17613 (fma_test_upward): Likewise.
17614 (fmax_test): Likewise.
17615 (fmin_test): Likewise.
17616 (fmod_test): Likewise.
17617 (fpclassify_test): Likewise.
17618 (frexp_test): Likewise.
17619 (hypot_test): Likewise.
17620 (ilogb_test): Likewise.
17621 (isfinite_test): Likewise.
17622 (finite_test): Likewise.
17623 (isgreater_test): Likewise.
17624 (isgreaterequal_test): Likewise.
17625 (isinf_test): Likewise.
17626 (isless_test): Likewise.
17627 (islessequal_test): Likewise.
17628 (islessgreater_test): Likewise.
17629 (isnan_test): Likewise.
17630 (isnormal_test): Likewise.
17631 (issignaling_test): Likewise.
17632 (isunordered_test): Likewise.
17633 (j0_test): Likewise.
17634 (j1_test): Likewise.
17635 (jn_test): Likewise.
17636 (ldexp_test): Likewise.
17637 (lgamma_test): Likewise.
17638 (gamma_test): Likewise.
17639 (lrint_test): Likewise.
17640 (lrint_test_tonearest): Likewise.
17641 (lrint_test_towardzero): Likewise.
17642 (lrint_test_downward): Likewise.
17643 (lrint_test_upward): Likewise.
17644 (llrint_test): Likewise.
17645 (llrint_test_tonearest): Likewise.
17646 (llrint_test_towardzero): Likewise.
17647 (llrint_test_downward): Likewise.
17648 (llrint_test_upward): Likewise.
17649 (log_test): Likewise.
17650 (log10_test): Likewise.
17651 (log1p_test): Likewise.
17652 (log2_test): Likewise.
17653 (logb_test): Likewise.
17654 (logb_test_downward): Likewise.
17655 (lround_test): Likewise.
17656 (llround_test): Likewise.
17657 (modf_test): Likewise.
17658 (nearbyint_test): Likewise.
17659 (nextafter_test): Likewise.
17660 (nexttoward_test): Likewise.
17661 (pow_test): Likewise.
17662 (pow_test_tonearest): Likewise.
17663 (pow_test_towardzero): Likewise.
17664 (pow_test_downward): Likewise.
17665 (pow_test_upward): Likewise.
17666 (remainder_test): Likewise.
17667 (drem_test): Likewise.
17668 (remainder_test_tonearest): Likewise.
17669 (drem_test_tonearest): Likewise.
17670 (remainder_test_towardzero): Likewise.
17671 (drem_test_towardzero): Likewise.
17672 (remainder_test_downward): Likewise.
17673 (drem_test_downward): Likewise.
17674 (remainder_test_upward): Likewise.
17675 (drem_test_upward): Likewise.
17676 (remquo_test): Likewise.
17677 (rint_test): Likewise.
17678 (rint_test_tonearest): Likewise.
17679 (rint_test_towardzero): Likewise.
17680 (rint_test_downward): Likewise.
17681 (rint_test_upward): Likewise.
17682 (round_test): Likewise.
17683 (scalb_test): Likewise.
17684 (scalbn_test): Likewise.
17685 (scalbln_test): Likewise.
17686 (signbit_test): Likewise.
17687 (sin_test): Likewise.
17688 (sin_test_tonearest): Likewise.
17689 (sin_test_towardzero): Likewise.
17690 (sin_test_downward): Likewise.
17691 (sin_test_upward): Likewise.
17692 (sincos_test): Likewise.
17693 (sinh_test): Likewise.
17694 (sinh_test_tonearest): Likewise.
17695 (sinh_test_towardzero): Likewise.
17696 (sinh_test_downward): Likewise.
17697 (sinh_test_upward): Likewise.
17698 (sqrt_test): Likewise.
17699 (sqrt_test_tonearest): Likewise.
17700 (sqrt_test_towardzero): Likewise.
17701 (sqrt_test_downward): Likewise.
17702 (sqrt_test_upward): Likewise.
17703 (tan_test): Likewise.
17704 (tan_test_tonearest): Likewise.
17705 (tan_test_towardzero): Likewise.
17706 (tan_test_downward): Likewise.
17707 (tan_test_upward): Likewise.
17708 (tanh_test): Likewise.
17709 (tgamma_test): Likewise.
17710 (trunc_test): Likewise.
17711 (y0_test): Likewise.
17712 (y1_test): Likewise.
17713 (yn_test): Likewise.
17714 (significand_test): Likewise.
17715
e6b6a857
JM
17716 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17717 individual tests in comment.
17718 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17719 (prev_max_error): New variable.
17720 (prev_real_max_error): Likewise.
17721 (prev_imag_max_error): Likewise.
17722 (compare_ulp_data): Don't refer to test names in comment.
17723 (find_test_ulps): Remove function.
17724 (find_function_ulps): Likewise.
17725 (find_complex_function_ulps): Likewise.
17726 (init_max_error): Take function name as argument. Look up ulps
17727 for that function.
17728 (print_ulps): Remove function.
17729 (print_max_error): Use prev_max_error instead of calling
17730 find_function_ulps.
17731 (print_complex_max_error): Use prev_real_max_error and
17732 prev_imag_max_error instead of calling find_complex_function_ulps.
17733 (check_float_internal): Take max_ulp parameter instead of calling
17734 find_test_ulps. Don't call print_ulps.
17735 (check_float): Update call to check_float_internal.
17736 (check_complex): Update calls to check_float_internal.
17737 (START): Pass argument to init_max_error.
17738 * math/gen-libm-test.pl (%results): Don't include "kind"
17739 information.
17740 (parse_ulps): Don't handle ulps of individual tests.
17741 (print_ulps_file): Likewise.
17742 (output_ulps): Likewise.
17743 * math/README.libm-test: Update.
17744 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17745 individual tests.
17746 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17747 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17748 * sysdeps/arm/libm-test-ulps: Likewise.
17749 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17750 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17751 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17752 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17753 * sysdeps/microblaze/libm-test-ulps: Likewise.
17754 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17755 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17756 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17757 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17758 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17759 * sysdeps/sh/libm-test-ulps: Likewise.
17760 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17761 * sysdeps/tile/libm-test-ulps: Likewise.
17762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17763
45adef3c
JM
177642014-03-04 Joseph Myers <joseph@codesourcery.com>
17765
17766 * math/libm-test.inc (print_complex_max_error): Check separately
17767 whether real and imaginary errors are within allowed range and
17768 pass 0 to print_complex_function_ulps instead of value within
17769 allowed range.
17770
000232b9
SP
177712014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17772
d4b17258
SP
17773 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17774 formatting.
17775 (get_handles_fopen): Likewise.
17776 (do_write_test): Likewise.
17777
091eff71
SP
17778 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17779
fa3cd248
SP
17780 * libio/fileops.c (do_ftell): Use cached offset when
17781 available.
17782 * libio/iofwide.c (do_ftell_wide): Likewise.
17783 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17784 _IO_file_attach.
17785 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17786
000232b9
SP
17787 [BZ #16532]
17788 * libio/libioP.h (get_file_offset): New function.
17789 * libio/fileops.c (get_file_offset): Likewise.
17790 (do_ftell): Likewise.
17791 (_IO_new_file_seekoff): Split out ftell logic.
17792 * libio/wfileops.c (do_ftell_wide): Likewise.
17793 (_IO_wfile_seekoff): Split out ftell logic.
17794 * libio/tst-ftell-active-handler.c: New test case.
17795 * libio/Makefile (tests): Add it.
17796
116f4d1a
RM
177972014-03-03 Roland McGrath <roland@hack.frob.com>
17798
17799 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17800 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17801
532a6035
SP
178022014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17803
17804 [BZ #16639]
17805 * nscd/connections.c (nscd_init): Call do_exit.
17806 (start_threads): Call do_exit and notify_parent.
17807 (begin_drop_privileges): Call do_exit.
17808 (finish_drop_privileges): Likewise.
17809 * nscd/selinux.c (preserve_capabilities): Likewise.
17810 (install_real_capabilities): Likewise.
17811 (nscd_selinux_enabled): Likewise.
17812 (avc_create_thread): Likewise.
17813 (avc_alloc_lock): Likewise.
17814 (nscd_avc_init): Likewise.
17815 * nscd/nscd.c (parent_fd): New static variable.
17816 (main): Create a pipe between parent and child processes.
17817 Skip closing parent_fd.
17818 (monitor_child): New function.
17819 (do_exit): Likewise.
17820 (notify_parent): Likewise.
17821 * nscd/nscd.h (notify_parent): Likewise.
17822 (do_exit): Likewise.
17823
d6285c9f
CD
178242014-03-03 Carlos O'Donell <carlos@redhat.com>
17825
17826 * malloc/malloc.c (__libc_calloc): Revert last change.
17827
2b85d2a0
AZ
178282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17829
17830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17831
c7debbdf
RS
178322014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17833
17834 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17836 implementation.
17837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17838 (__libc_ifunc_impl_list): Likewise.
17839 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17840 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17841 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17842 * string/strrchr.c: Define STRRCHR.
17843
235eed86
OB
178442014-02-28 Ondřej Bílka <neleai@seznam.cz>
17845
17846 * benchtest/bench-strtok.c (simple_strtok): Delete.
17847 (strtok_string): Use as benchmark.
17848 * string/strtok (STRTOK): New macro.
17849
8e25d1e7
CD
178502014-02-28 Carlos O'Donell <carlos@redhat.com>
17851
ef563f92
CD
17852 * manual/threads.texi: Add header and standard comments to all
17853 functions.
17854
8e25d1e7
CD
17855 * elf/dl-lookup.c (check_match): New function.
17856 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17857 (do_lookup_x): Remove nested function check_match. Use non-nested
17858 function check_match.
17859
ff71cc37
RM
178602014-02-28 Roland McGrath <roland@hack.frob.com>
17861
f08e9a26
RM
17862 * csu/Makefile (generated, before-compile): Use += rather than =.
17863 * catgets/Makefile (generated, generated-dirs): Likewise.
17864 * debug/Makefile (generated): Likewise.
17865 * dlfcn/Makefile (generated): Likewise.
17866 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17867 * iconvdata/Makefile (before-compile, generated): Likewise.
17868 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17869 * libio/Makefile (generated): Likewise.
17870 * malloc/Makefile (generated): Likewise.
17871 * manual/Makefile (generated, generated-dirs): Likewise.
17872 * misc/Makefile (generated): Likewise.
17873 * posix/Makefile (generated): Likewise.
17874 * resolv/Makefile (generated): Likewise.
17875 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17876 * timezone/Makefile (generated, generated-dirs): Likewise.
17877
ff71cc37
RM
17878 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17879
fe13a20c
AZ
178802014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17881
57f41c40
AS
17882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17883 power8 implementation.
17884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17885 file: POWER8 llround ifunc implementation.
17886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17887 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17889 POWER8 llround implementation.
17890
57f41c40
AS
17891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17892 power8 implementation.
17893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17894 file: POWER8 llrint ifunc implementation.
17895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17896 Add POWER8 implementation.
1ad8950a
AZ
17897 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17898 POWER8 llrint implementation.
17899
57f41c40
AS
17900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17901 power8 implementation.
17902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17903 file: POWER8 finite ifunc implementation.
17904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17905 Add POWER8 implementation.
cac626d6
AZ
17906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17907 Likewise.
17908 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17909 POWER8 finite implementation.
17910 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17911
57f41c40
AS
17912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17913 power8 implementation.
17914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17915 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17917 POWER8 implementation.
17918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17919 Likewise.
57f41c40
AS
17920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17921 isinf implementation.
4393fc11
AZ
17922 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17923
57f41c40
AS
17924 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17925 (INIT_ARCH): Add hwcap2 initialization.
17926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17927 power8 implementation.
17928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17929 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17931 POWER8 implementation.
17932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17933 Likewise.
57f41c40
AS
17934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17935 isnan implementation.
487972ae
AZ
17936 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17937
7d92b787
JY
179382014-02-27 Joey Ye <joey.ye@arm.com>
17939
17940 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17941 (_FP_NANFRAC_Q): Set to zero.
17942
1cadc858
SP
179432014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17944
17945 [BZ #16623]
17946 * math/auto-libm-test-in: New test inputs.
17947 * math/auto-libm-test-out: Regenerate.
17948 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17949 and DA.
17950 (__cos): Likewise.
17951 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17952
f8c17e79
JM
179532014-02-27 Joseph Myers <joseph@codesourcery.com>
17954
17955 * scripts/evaluate-test.sh: Take new argument indicating whether
17956 failure is expected.
17957 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17958 indicating whether failure is expected.
17959 * conform/Makefile (test-xfail-run-conformtest): New variable.
17960 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17961 level.
17962 * posix/Makefile (test-xfail-annexc): New variable.
17963 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17964
a5f891ac
JM
179652014-02-26 Joseph Myers <joseph@codesourcery.com>
17966
17967 * argp/Makefile: Include Makeconfig immediately after defining
17968 subdir.
17969 * assert/Makefile: Likewise.
17970 * benchtests/Makefile: Likewise.
17971 * catgets/Makefile: Likewise.
17972 * conform/Makefile: Likewise.
17973 * crypt/Makefile: Likewise.
17974 * csu/Makefile: Likewise.
17975 (all): Remove target.
17976 * ctype/Makefile: Include Makeconfig immediately after defining
17977 subdir.
17978 * debug/Makefile: Likewise.
17979 * dirent/Makefile: Likewise.
17980 * dlfcn/Makefile: Likewise.
17981 * gmon/Makefile: Likewise.
17982 * gnulib/Makefile: Likewise.
17983 * grp/Makefile: Likewise.
17984 * gshadow/Makefile: Likewise.
17985 * hesiod/Makefile: Likewise.
17986 * hurd/Makefile: Likewise.
17987 (all): Remove target.
17988 * iconvdata/Makefile: Include Makeconfig immediately after
17989 defining subdir.
17990 * inet/Makefile: Likewise.
17991 * intl/Makefile: Likewise.
17992 * io/Makefile: Likewise.
17993 * libio/Makefile: Likewise.
17994 (all): Remove target.
17995 * locale/Makefile: Include Makeconfig immediately after defining
17996 subdir.
17997 * login/Makefile: Likewise.
17998 * mach/Makefile: Likewise.
17999 (all): Remove target.
18000 * malloc/Makefile: Include Makeconfig immediately after defining
18001 subdir.
18002 (all): Remove target.
18003 * manual/Makefile: Include Makeconfig immediately after defining
18004 subdir.
18005 * math/Makefile: Likewise.
18006 * misc/Makefile: Likewise.
18007 * nis/Makefile: Likewise.
18008 * nss/Makefile: Likewise.
18009 * po/Makefile: Likewise.
18010 (all): Remove target.
18011 * posix/Makefile: Include Makeconfig immediately after defining
18012 subdir.
18013 * pwd/Makefile: Likewise.
18014 * resolv/Makefile: Likewise.
18015 * resource/Makefile: Likewise.
18016 * rt/Makefile: Likewise.
18017 * setjmp/Makefile: Likewise.
18018 * shadow/Makefile: Likewise.
18019 * signal/Makefile: Likewise.
18020 * socket/Makefile: Likewise.
18021 * soft-fp/Makefile: Likewise.
18022 * stdio-common/Makefile: Likewise.
18023 * stdlib/Makefile: Likewise.
18024 * streams/Makefile: Likewise.
18025 * string/Makefile: Likewise.
18026 * sunrpc/Makefile: Likewise.
18027 (all): Remove target.
18028 * sysvipc/Makefile: Include Makeconfig immediately after defining
18029 subdir.
18030 * termios/Makefile: Likewise.
18031 * time/Makefile: Likewise.
18032 * timezone/Makefile: Likewise.
18033 (all): Remove target.
18034 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18035 subdir.
18036 * wctype/Makefile: Likewise.
18037
5b456e9d
SE
180382014-02-26 Steve Ellcey <sellcey@mips.com>
18039
18040 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18041 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18042 (libc_feholdexcept_setround_mips): Ditto.
18043 (libc_feholdsetround): New.
18044 (libc_feholdsetroundf): New.
18045 (libc_feholdsetroundl): New.
18046 (libc_feupdateenv_test_mips): New.
18047 (libc_feupdateenv_test): New.
18048 (libc_feupdateenv_testf): New.
18049 (libc_feupdateenv_testl): New.
18050 (libc_feresetround): New.
18051 (libc_feresetroundf): New.
18052 (libc_feresetroundl): New.
18053 (libc_fetestexcept_mips): New.
18054 (libc_fetestexcept): New.
18055 (libc_fetestexceptf): New.
18056 (libc_fetestexceptl): New.
18057 (HAVE_RM_CTX): New.
18058 (libc_feholdexcept_setround_mips_ctx): New.
18059 (libc_feholdexcept_setround_ctx): New.
18060 (libc_feholdexcept_setroundf_ctx): New.
18061 (libc_feholdexcept_setroundl_ctx): New.
18062 (libc_fesetenv_mips_ctx): New.
18063 (libc_fesetenv_ctx): New.
18064 (libc_fesetenv_ctxf): New.
18065 (libc_fesetenv_ctxl): New.
18066 (libc_feupdateenv_mips_ctx): New.
18067 (libc_feupdateenv_ctx): New.
18068 (libc_feupdateenvf_ctx): New.
18069 (libc_feupdateenvl_ctx): New.
18070 (libc_feholdsetround_mips_ctx): New.
18071 (libc_feholdsetround_ctx): New.
18072 (libc_feholdsetroundf_ctx): New.
18073 (libc_feholdsetroundl_ctx): New.
18074 (libc_feresetround_mips_ctx): New.
18075 (libc_feresetround_ctx): New.
18076 (libc_feresetroundf_ctx): New.
18077 (libc_feresetroundl_ctx): New.
18078
085d0e35
CD
180792014-02-26 Carlos O'Donell <carlos@redhat.com>
18080
f067bf1f
CD
18081 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18082
085d0e35
CD
18083 * manual/ipc.texi: New file.
18084 * manual/Makefile (chapters): Add ipc.
18085 * manual/job.texi: Add "Inter-Process Communication" to next.
18086 * manual/process.texi: Add "Inter-Process Communication" to prev.
18087
86e58c08
AZ
180882014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18089
18090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18091
4248f0da
OB
180922014-02-26 Ondřej Bílka <neleai@seznam.cz>
18093
18094 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18095
cf822e3c
OB
18096 * manual/arith.texi: Fix spaces after sentences.
18097 * manual/charset.texi: Likewise.
18098 * manual/errno.texi: Likewise.
18099 * manual/install.texi: Likewise.
18100 * manual/llio.texi: Likewise.
18101 * manual/locale.texi: Likewise.
18102 * manual/maint.texi: Likewise.
18103 * manual/math.texi: Likewise.
18104 * manual/memory.texi: Likewise.
18105 * manual/message.texi: Likewise.
18106 * manual/probes.texi: Likewise.
18107 * manual/resource.texi: Likewise.
18108 * manual/signal.texi: Likewise.
18109 * manual/socket.texi: Likewise.
18110 * manual/stdio.texi: Likewise.
18111 * manual/string.texi: Likewise.
18112 * manual/time.texi: Likewise.
18113 * manual/users.texi: Likewise.
18114
ade40b10
CD
181152014-02-25 Carlos O'Donell <carlos@redhat.com>
18116
18117 [BZ #16632]
18118 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18119 _DEFAULT_SOURCE is defined.
18120
d0503676
CD
181212014-02-25 Ulrich Drepper <drepper@gmail.com>
18122 Carlos O'Donell <carlos@redhat.com>
18123
18124 [BZ #16613]
18125 * elf/dl-tls.c (_dl_count_modids): New function.
18126 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18127 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18128 audit library and increment generation counter.
18129 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18130 * elf/tst-audit9.c: New file.
18131 * elf/tst-auditmod9a.c: New file.
18132 * elf/tst-auditmod9b.c: New file.
18133 * elf/Makefile: Add rules to build and run tst-audit9.
18134
4cbf380c
FW
181352014-02-25 Florian Weimer <fweimer@redhat.com>
18136
18137 [BZ #15347]
18138 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18139
80a56cc3
WN
181402014-02-25 Will Newton <will.newton@linaro.org>
18141
18142 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18143 (__longjmp): Restore sp and lr before restoring callee
18144 saved registers. Add longjmp and longjmp_target
18145 SystemTap probe point.
18146 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18147 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18148 Define to zero to match jmpbuf layout.
18149 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18150 (__sigsetjmp): Save sp and lr before saving callee
18151 saved registers. Add setjmp SystemTap probe point.
18152
3ea0f74e
SL
181532014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18154
18155 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18156
b04acb26
AS
181572014-02-24 Andreas Schwab <schwab@suse.de>
18158
18159 [BZ #15804]
18160 * elf/pldd.c (wait_for_ptrace_stop): New function.
18161 (main): Call it after attaching.
18162
098ad55c
RM
181632014-02-22 Roland McGrath <roland@hack.frob.com>
18164
d4ec6ae1
RM
18165 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18166 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18167 Versions files is now verboten.
18168 * hurd/Versions (libc: GLIBC_2.0):
18169 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18170 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18171 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18172 * mach/Versions: Likewise.
18173
098ad55c
RM
18174 * csu/Versions: Remove unused %include.
18175 * resolv/Versions: Likewise.
18176
acd7f096
JM
181772014-02-21 Joseph Myers <joseph@codesourcery.com>
18178
f0881698
JM
18179 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18180 ($(objpfx)check-local-headers.out): Likewise.
18181 ($(objpfx)begin-end-check.out): Likewise.
18182 * Makerules (check-abi-%.out): Likewise.
18183 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18184 ($(objpfx)test2.cat): Likewise.
18185 ($(objpfx)de/libc.cat): Likewise.
18186 ($(objpfx)test-gencat.out): Likewise.
18187 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18188 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18189 ($(objpfx)noload-mem): Likewise.
18190 ($(objpfx)tst-pathopt.out): Likewise.
18191 ($(objpfx)tst-rtld-load-self.out): Likewise.
18192 ($(objpfx)tst-array1-cmp.out): Likewise.
18193 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18194 ($(objpfx)tst-array2-cmp.out): Likewise.
18195 ($(objpfx)tst-array3-cmp.out): Likewise.
18196 ($(objpfx)tst-array4-cmp.out): Likewise.
18197 ($(objpfx)tst-array5-cmp.out): Likewise.
18198 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18199 ($(objpfx)check-textrel.out): Likewise.
18200 ($(objpfx)check-execstack.out): Likewise.
18201 ($(objpfx)check-localplt.out): Likewise.
18202 ($(objpfx)order2-cmp.out): Likewise.
18203 ($(objpfx)tst-leaks1-mem): Likewise.
18204 ($(objpfx)tst-leaks1-static-mem): Likewise.
18205 ($(objpfx)tst-initorder-cmp.out): Likewise.
18206 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18207 ($(objpfx)tst-unused-dep.out): Likewise.
18208 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18209 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18210 * iconv/Makefile (test-iconvconfig): Likewise.
18211 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18212 ($(objpfx)iconv-test.out): Likewise.
18213 ($(objpfx)tst-tables.out): Likewise.
18214 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18215 ($(objpfx)tst-gettext.out): Likewise.
18216 ($(objpfx)tst-translit.out): Likewise.
18217 ($(objpfx)tst-gettext2.out): Likewise.
18218 ($(objpfx)tst-gettext4.out): Likewise.
18219 ($(objpfx)tst-gettext6.out): Likewise.
18220 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18221 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18222 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18223 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18224 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18225 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18226 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18227 ($(objpfx)wordexp-tst.out): Likewise.
18228 ($(objpfx)annexc.out): Likewise.
18229 ($(objpfx)tst-fnmatch-mem): Likewise.
18230 ($(objpfx)bug-regex2-mem): Likewise.
18231 ($(objpfx)bug-regex14-mem): Likewise.
18232 ($(objpfx)bug-regex21-mem): Likewise.
18233 ($(objpfx)bug-regex31-mem): Likewise.
18234 ($(objpfx)tst-vfork3-mem): Likewise.
18235 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18236 ($(objpfx)tst-pcre-mem): Likewise.
18237 ($(objpfx)tst-boost-mem): Likewise.
18238 ($(objpfx)tst-getconf.out): Likewise.
18239 ($(objpfx)bug-ga2-mem): Likewise.
18240 ($(objpfx)bug-glob2-mem): Likewise.
18241 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18242 ($(objpfx)mtrace-tst-leaks2): Likewise.
18243 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18244 ($(objpfx)tst-printf.out): Likewise.
18245 ($(objpfx)tst-setvbuf1.out): Likewise.
18246 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18247 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18248 ($(objpfx)tst-fmtmsg.out): Likewise.
18249 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18250 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18251
acd7f096
JM
18252 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18253 * bits/sigaction.h [__USE_MISC]: Likewise.
18254 * bits/waitstatus.h: Update #endif comments.
18255 * ctype/ctype.h: Likewise.
18256 * dirent/dirent.h: Likewise.
18257 [__USE_MISC]: Remove redundant conditionals.
18258 * grp/grp.h: Update #endif comments.
18259 [__USE_GNU]: Remove redundant conditionals.
18260 [__USE_MISC]: Likewise.
18261 * inet/netinet/in.h [__USE_GNU]: Likewise.
18262 * io/sys/stat.h [__USE_MISC]: Likewise.
18263 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18264 * libio/bits/stdio.h: Update #endif comments.
18265 [__USE_MISC]: Remove redundant conditionals.
18266 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18267 * libio/stdio.h: Update #endif comments.
18268 [__USE_MISC]: Remove redundant conditionals.
18269 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18270 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18271 * math/math.h: Update #else and #endif comments.
18272 [__USE_MISC]: Remove redundant conditionals.
18273 * misc/sys/uio.h: Update #endif comments.
18274 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18275 * posix/glob.h [__USE_MISC]: Likewise.
18276 * posix/sys/types.h: Update #endif comments.
18277 [__USE_MISC]: Remove redundant conditionals.
18278 * posix/sys/wait.h: Update #endif comments.
18279 [__USE_MISC]: Remove redundant conditionals.
18280 * posix/unistd.h: Update #endif comments.
18281 [__USE_MISC]: Remove redundant conditionals.
18282 * pwd/pwd.h [__USE_GNU]: Likewise.
18283 [__USE_MISC]: Likewise.
18284 * resolv/netdb.h [__USE_GNU]: Likewise.
18285 * signal/signal.h: Update #endif comments.
18286 [__USE_MISC]: Remove redundant conditionals.
18287 * stdlib/stdlib.h: Update #else and #endif comments.
18288 [__USE_MISC]: Remove redundant conditionals.
18289 [__USE_GNU]: Likewise.
18290 * string/bits/string2.h [__USE_MISC]: Likewise.
18291 * string/string.h: Update #endif comments.
18292 [__USE_MISC]: Remove redundant conditionals.
18293 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18294 Likewise.
18295 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18296 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18297 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18298 Likewise.
18299 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18300 Likewise.
18301 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18302 comments.
18303 [__USE_MISC]: Remove redundant conditionals.
18304 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18305 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18306 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18307 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18308 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18309 Likewise.
18310 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18311 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18312 Likewise.
18313 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18314 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18315 Likewise.
18316 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18317 Likewise.
18318 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18319 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18320 Likewise.
18321 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18322 Likewise.
18323 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18324 * sysdeps/x86/bits/string.h: Update #endif comments.
18325 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18326 conditionals.
18327 * time/sys/time.h: Update #endif comments.
18328 * time/time.h: Likewise.
18329 [__USE_MISC]: Remove redundant conditionals.
18330
a5d82e4e
YG
183312014-02-21 Yury Gribov <y.gribov@samsung.com>
18332
18333 [BZ #16600]
18334 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18335
9a80491d
AS
183362014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18337
18338 * Versions.def (librt): Add GLIBC_2.17.
18339
105fa381
AC
183402014-02-21 Adam Conrad <adconrad@0c3.net>
18341
18342 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18343 synonym for _SYS_AUXV_H to allow direct inclusion.
18344 * sysdeps/sparc/bits/hwcap.h: Likewise.
18345 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18346 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18347 * sysdeps/sparc/sysdep.h: Likewise.
18348
b8cd1c4e
SP
183492014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18350
18351 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18352
bd939d23
RS
183532014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18354
18355 * benchtests/bench-strrchr.c: Print length instead of position.
18356
5d7b57ca
JM
183572014-02-20 Joseph Myers <joseph@codesourcery.com>
18358
bc688c10
JM
18359 [BZ #16611]
18360 * sysdeps/unix/sysv/linux/kernel-features.h
18361 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18362 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18363 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18364 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18365 Likewise.
18366 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18367 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18368 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18369 (__ASSUME_SENDMMSG): Define instead of using previous
18370 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18371 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18372 (__ASSUME_SENDMMSG_SYSCALL): Define.
18373 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18374 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18375 Likewise.
18376 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18377 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18378 Likewise.
18379 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18380 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18381 Likewise.
18382 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18383 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18384 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18385 [__ASSUME_SENDMMSG]: Change conditionals to
18386 [__ASSUME_SENDMMSG_SOCKETCALL].
18387 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18388 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18389 Define.
18390 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18391 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18392 Likewise.
18393 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18394 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18395 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18396 [!__ASSUME_SENDMMSG]: Change conditional to
18397 [!__ASSUME_SENDMMSG_SOCKETCALL].
18398 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18399 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18400 Define.
18401
0e31b18c
JM
18402 [BZ #16610]
18403 * sysdeps/unix/sysv/linux/kernel-features.h
18404 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18405 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18406 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18407 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18408 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18409 [__i386__ || __sparc__]
18410 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18411 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18412 (__ASSUME_RECVMMSG): Define instead of using previous
18413 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18414 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18415 (__ASSUME_RECVMMSG_SYSCALL): Define.
18416 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18417 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18418 Likewise.
18419 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18420 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18421 Likewise.
18422 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18423 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18424 Likewise.
18425 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18426 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18427 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18428 [__ASSUME_RECVMMSG]: Change condition to
18429 [__ASSUME_RECVMMSG_SOCKETCALL].
18430 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18431 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18432 Define.
18433 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18434 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18435 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18436 Likewise.
18437 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18438 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18439 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18440 [!__ASSUME_RECVMMSG]: Change condition to
18441 [!__ASSUME_RECVMMSG_SOCKETCALL].
18442 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18443 (__ASSUME_RECVMMSG_SYSCALL): Define.
18444
dd481ccf
JM
18445 [BZ #16609]
18446 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18447 __powerpc__ || __s390__ || __sh__ || __sparc__]
18448 (__ASSUME_SOCKETCALL): Define.
18449 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18450 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18451 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18452 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18453 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18454 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18455 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18456 (__ASSUME_ACCEPT4): Define instead of using previous
18457 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18458 __powerpc__ || __sparc__ || __s390__)] condition.
18459 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18460 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18461 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18462 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18463 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18464 [!__ASSUME_ACCEPT4]: Change condition to
18465 [!__ASSUME_ACCEPT4_SOCKETCALL].
18466 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18467 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18468 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18470 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18471 __ASSUME_ACCEPT4_SYSCALL.
18472 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18473 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18474 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18475 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18476 __ASSUME_ACCEPT4_SYSCALL.
18477 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18478 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18479 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18480 [__ASSUME_ACCEPT4]: Change condition to
18481 [__ASSUME_ACCEPT4_SOCKETCALL].
18482 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18483 (__ASSUME_SOCKETCALL): Define.
18484 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18486 (__ASSUME_SOCKETCALL): Define.
18487 (__ASSUME_ACCEPT4): Remove.
18488 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18489 Define.
18490 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18491 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18492 Likewise.
18493 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18494 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18495
5d7b57ca
JM
18496 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18497 macro.
18498 (HWCAP_ARM_LPAE): Likewise.
18499 (HWCAP_ARM_EVTSTRM): Likewise.
18500 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18501 Add vpfd32, lpae and evtstrm.
18502 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18503 Increase to 22.
18504
63689d61
JM
185052014-02-19 Joseph Myers <joseph@codesourcery.com>
18506
18507 * math/auto-libm-test-in: Add tests of clog10.
18508 * math/auto-libm-test-out: Regenerated.
18509 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18510 * sysdeps/i386/fpu/libm-test-ulps: Update.
18511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18512
ab09bf61
AS
185132014-02-18 Andreas Schwab <schwab@suse.de>
18514
18515 [BZ #16574]
18516 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18517 Store non-zero if the second buffer was newly allocated.
18518 (send_dg): Likewise.
18519 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18520 to send_vc and send_dg.
18521 (res_nsend): Pass NULL for ansp2_malloced.
18522 * resolv/res_query.c (__libc_res_nquery): Add parameter
18523 answerp2_malloced and pass it down to __libc_res_nsend.
18524 (res_nquery): Pass additional NULL to __libc_res_nquery.
18525 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18526 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18527 second answer buffer if answerp2_malloced was set.
18528 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18529 (__libc_res_nquerydomain): Add parameter
18530 answerp2_malloced and pass it down to __libc_res_nquery.
18531 (res_nquerydomain): Pass additional NULL to
18532 __libc_res_nquerydomain.
18533 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18534 additional NULL to __libc_res_nsend and __libc_res_nquery.
18535 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18536 additional NULL to __libc_res_nsearch.
18537 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18538 parameter of __libc_res_nsearch to check for separately allocated
18539 second buffer.
18540 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18541 __libc_res_nquery.
18542 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18543 additional NULL to __libc_res_nquery.
18544 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18545 __libc_res_nsearch.
18546 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18547 * include/resolv.h: Update prototypes of __libc_res_nquery,
18548 __libc_res_nsearch, __libc_res_nsend.
18549
a4fb7861
JM
185502014-02-18 Joseph Myers <joseph@codesourcery.com>
18551
c6af2d89
JM
18552 * math/auto-libm-test-in: Add tests of fma.
18553 * math/auto-libm-test-out: Regenerated.
18554 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18555 (fma_towardzero_test_data): Likewise.
18556 (fma_downward_test_data): Likewise.
18557 (fma_upward_test_data): Likewise.
18558 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18559 mpc_mode.
18560 (rounding_modes): Add values for new field.
18561 (func_calc_method): Add value mpfr_fff_f.
18562 (func_calc_desc): Add mpfr_fff_f union field.
18563 (test_function): Add field exact_args.
18564 (FUNC): Add macro argument EXACT_ARGS.
18565 (FUNC_mpfr_f_f): Update call to FUNC.
18566 (FUNC_mpfr_f_f): Likewise.
18567 (FUNC_mpfr_ff_f): Likewise.
18568 (FUNC_mpfr_if_f): Likewise.
18569 (FUNC_mpc_c_f): Likewise.
18570 (FUNC_mpc_c_c): Likewise.
18571 (test_functions): Add fma. Update calls to FUNC.
18572 (handle_input_arg): Add argument exact_args.
18573 (add_test): Update call to handle_input_arg.
18574 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18575 (output_for_one_input_case): Update call to calc_generic_results.
18576 Recalculate exact zero results in each rounding mode.
18577
a4fb7861
JM
18578 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18579 non-negative before setting low bit.
18580 * math/auto-libm-test-in: Mark one asin test possibly having
18581 spurious underflow.
18582 * math/auto-libm-test-out: Regenerated.
18583 * sysdeps/i386/fpu/libm-test-ulps: Update.
18584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18585
ef114eaf
DH
185862014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18587
2b7f4f2c
SP
18588 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18589 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18590 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18591 * README: Add missing listing for microblaze*-*-linux-gnu.
18592
8125aedc
AM
185932014-02-16 Ondřej Bílka <neleai@seznam.cz>
18594
18595 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18596 duplicate code
18597
c70a4b1d
MF
185982014-02-16 Mike Frysinger <vapier@gentoo.org>
18599
18600 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18601 * sysdeps/unix/sysv/linux/ia64: Move directory from
18602 ports/sysdeps/unix/sysv/linux/ia64.
18603 * README: Update listing for ia64-*-linux-gnu.
18604
591aeaf7
TD
186052014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18606 Joseph Myers <joseph@codesourcery.com>
18607
18608 * Makeconfig (test-name): New variable.
18609 (evaluate-test): Likewise.
18610 * Makerules (do-test-clean): Remove .test-result files.
18611 (common-mostlyclean): Likewise.
18612 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18613 * scripts/evaluate-test.sh: New file.
18614
6e89caf1
JM
186152014-02-14 Joseph Myers <joseph@codesourcery.com>
18616
7f98f180
JM
18617 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18618 separate $(objpfx)tst-fopenloc-cmp.out and
18619 $(objpfx)tst-fopenloc-mem.out targets.
18620 (tests): Update dependencies.
18621 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18622 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18623 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18624 (tst-rxspencer-no-utf8-ARGS): New variable.
18625 (tst-rxspencer-no-utf8-ENV): Likewise.
18626 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18627 instead of $(objpfx)tst-rxspencer-mem.
18628 ($(objpfx)tst-rxspencer-mem): Change target to
18629 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18630 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18631 * posix/tst-rxspencer-no-utf8.c: New file.
18632
6e89caf1
JM
18633 * elf/Makefile ($(objpfx)order.out): Remove rule.
18634 [$(run-built-tests) = yes] (tests): Depend on
18635 $(objpfx)order-cmp.out.
18636 ($(objpfx)order-cmp.out): New rule.
18637 [$(run-built-tests) = yes] (tests): Depend on
18638 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18639 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18640 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18641 $(objpfx)tst-array5-static-cmp.out.
18642 ($(objpfx)tst-array1.out): Remove rule.
18643 ($(objpfx)tst-array1-cmp.out): New rule.
18644 ($(objpfx)tst-array1-static.out): Remove rule.
18645 ($(objpfx)tst-array1-static-cmp.out): New rule.
18646 ($(objpfx)tst-array2.out): Remove rule.
18647 ($(objpfx)tst-array2-cmp.out): New rule.
18648 ($(objpfx)tst-array3.out): Remove rule.
18649 ($(objpfx)tst-array3-cmp.out): New rule.
18650 ($(objpfx)tst-array4.out): Remove rule.
18651 ($(objpfx)tst-array4-cmp.out): New rule.
18652 ($(objpfx)tst-array5.out): Remove rule.
18653 ($(objpfx)tst-array5-cmp.out): New rule.
18654 ($(objpfx)tst-array5-static.out): Remove rule.
18655 ($(objpfx)tst-array5-static-cmp.out): New rule.
18656 [$(run-built-tests) = yes] (tests): Depend on
18657 $(objpfx)order2-cmp.out.
18658 ($(objpfx)order2.out): Remove rule.
18659 ($(objpfx)order2-cmp.out): New rule.
18660 ($(objpfx)tst-initorder.out): Remove rule.
18661 [$(run-built-tests) = yes] (tests): Depend on
18662 $(objpfx)tst-initorder-cmp.out.
18663 ($(objpfx)tst-initorder-cmp.out): New rule.
18664 ($(objpfx)tst-initorder2.out): Remove rule.
18665 [$(run-built-tests) = yes] (tests): Depend on
18666 $(objpfx)tst-initorder2-cmp.out.
18667 ($(objpfx)tst-initorder2-cmp.out): New rule.
18668 [$(run-built-tests) = yes] (tests): Depend on
18669 $(objpfx)tst-unused-dep-cmp.out.
18670 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18671 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18672 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18673 on $(objpfx)tst-setvbuf1-cmp.out.
18674 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18675 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18676 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18677 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18678 ($(objpfx)tst-svc.out): Remove rule.
18679 ($(objpfx)tst-svc-cmp.out): New rule.
18680
ed9a38e2
JM
186812014-02-13 Joseph Myers <joseph@codesourcery.com>
18682
18683 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18684 * ctype/ctype.h [__USE_MISC]: Likewise.
18685 * dirent/dirent.h [__USE_MISC]: Likewise.
18686 * grp/grp.h [__USE_MISC]: Likewise.
18687 * io/fcntl.h [__USE_MISC]: Likewise.
18688 * io/sys/stat.h [__USE_MISC]: Likewise.
18689 * libio/stdio.h [__USE_MISC]: Likewise.
18690 * posix/unistd.h [__USE_MISC]: Likewise.
18691 * pwd/pwd.h [__USE_MISC]: Likewise.
18692 * stdlib.h [__USE_MISC]: Likewise.
18693 * string/bits/string2.h [__USE_MISC]: Likewise.
18694 * string/string.h [__USE_MISC]: Likewise.
18695 * time/time.h [__USE_MISC]: Likewise.
18696
d6680619
AS
186972014-02-13 Andreas Schwab <schwab@suse.de>
18698
18699 [BZ #16574]
18700 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18701 second answer buffer if it was separately allocated.
18702
ace614b8
JM
187032014-02-12 Joseph Myers <joseph@codesourcery.com>
18704
743151ae
JM
18705 * sysdeps/mips/math-tests.h: Include <features.h>.
18706 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18707 (ROUNDING_TESTS_long_double): Do not define.
18708 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18709 (EXCEPTION_TESTS_long_double): Likewise.
18710 * sysdeps/mips/mips64/libm-test-ulps: Update.
18711
498afc54
JM
18712 * include/features.h (__USE_BSD): Remove macro definitions.
18713 (__USE_SVID): Likewise.
18714 (_BSD_SOURCE): Likewise.
18715 (_SVID_SOURCE): Likewise.
18716 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18717 from definition of _DEFAULT_SOURCE.
18718 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18719 [_DEFAULT_SOURCE].
18720 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18721 * bits/mman.h [__USE_BSD]: Likewise.
18722 * bits/termios.h [__USE_BSD]: Likewise.
18723 * bits/waitstatus.h [__USE_BSD]: Likewise.
18724 * ctype/ctype.h [__USE_SVID]: Likewise.
18725 * dirent/dirent.h [__USE_BSD]: Likewise.
18726 * grp/grp.h [__USE_SVID]: Likewise.
18727 [__USE_BSD]: Likewise.
18728 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18729 * io/fcntl.h [__USE_BSD]: Likewise.
18730 * io/ftw.h [__USE_BSD]: Likewise.
18731 * io/sys/stat.h [__USE_BSD]: Likewise.
18732 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18733 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18734 * libio/stdio.h [__USE_SVID]: Likewise.
18735 [__USE_BSD]: Likewise.
18736 * math/math.h [__USE_SVID]: Likewise.
18737 [__USE_BSD]: Likewise.
18738 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18739 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18740 * misc/search.h [__USE_SVID]: Likewise.
18741 * misc/sys/mman.h [__USE_BSD]: Likewise.
18742 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18743 * misc/sys/uio.h [__USE_BSD]: Likewise.
18744 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18745 * posix/glob.h [__USE_BSD]: Likewise.
18746 * posix/regex.h [__USE_BSD]: Likewise.
18747 * posix/sys/types.h [__USE_BSD]: Likewise.
18748 [__USE_SVID]: Likewise.
18749 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18750 * posix/sys/wait.h [__USE_BSD]: Likewise.
18751 [__USE_SVID]: Likewise.
18752 * posix/unistd.h [__USE_BSD]: Likewise.
18753 [__USE_SVID]: Likewise.
18754 * pwd/pwd.h [__USE_SVID]: Likewise.
18755 * resolv/netdb.h [__USE_BSD]: Likewise.
18756 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18757 * signal/signal.h [__USE_BSD]: Likewise.
18758 [__USE_SVID]: Likewise.
18759 * socket/sys/socket.h [__USE_BSD]: Likewise.
18760 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18761 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18762 [__USE_SVID]: Likewise.
18763 * string/bits/string2.h [__USE_BSD]: Likewise.
18764 [__USE_SVID]: Likewise.
18765 * string/bits/string3.h [__USE_BSD]: Likewise.
18766 * string/endian.h [__USE_BSD]: Likewise.
18767 * string/string.h [__USE_SVID]: Likewise.
18768 [__USE_BSD]: Likewise.
18769 * string/strings.h [__USE_BSD]: Likewise.
18770 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18771 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18772 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18773 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18774 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18775 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18776 Likewise.
18777 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18778 Likewise.
18779 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18780 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18781 Likewise.
18782 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18783 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18784 Likewise.
18785 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18786 Likewise.
18787 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18788 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18789 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18790 Likewise.
18791 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18792 Likewise.
18793 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18794 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18795 * termios/termios.h [__USE_BSD]: Likewise.
18796 * time/sys/time.h [__USE_BSD]: Likewise.
18797 * time/time.h [__USE_BSD]: Likewise.
18798 [__USE_SVID]: Likewise.
18799
dd7b064c
JM
18800 * Makefile (subdir_targets): Remove subdir_lint.out.
18801
a2c4c199
JM
18802 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18803 (do-tst-printf): Likewise.
18804 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18805 $(objpfx)tst-printf.out.
18806
8756f740
JM
18807 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18808
1b6dd3f1
JM
18809 * Makerules (check-abi-%): Change target to
18810 $(objpfx)check-abi-%.out.
18811 (check-abi target): Update dependencies.
18812 (check-abi-pattern variable): Redirect output of diff to $@.
18813 (check-abi variable): Likewise.
18814 * elf/Makefile (check-abi): Update dependencies.
18815
ace614b8
JM
18816 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18817 unused.
18818 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18819 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18820 subnormal range.
18821 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18822 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18823 value has largest subnormal exponent.
18824 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18825 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18826 * sysdeps/aarch64/soft-fp/sfp-machine.h
18827 (_FP_TININESS_AFTER_ROUNDING): New macro.
18828 * sysdeps/alpha/soft-fp/sfp-machine.h
18829 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18830 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18831 Likewise.
18832 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18833 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18834 * sysdeps/mips/soft-fp/sfp-machine.h
18835 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18836 * sysdeps/powerpc/soft-fp/sfp-machine.h
18837 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18838 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18839 Likewise.
18840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18841 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18843 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18844 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18845 Likewise.
18846
fbfdf9cb
DAS
188472014-02-12 Dylan Alex Simon <dylan@dylex.net>
18848
18849 [BZ #16545]
18850 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18851 model 1.
18852
68b7efaa
RH
188532014-02-12 Richard Henderson <rth@redhat.com>
18854
c70a4b1d 18855 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18856 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18857 * sysdeps/unix/sysv/linux/alpha: Move directory from
18858 ports/sysdeps/unix/sysv/linux/alpha.
18859 * README: Update listing for alpha-*-linux-gnu.
18860
cb4a2928
JM
188612014-02-11 Joseph Myers <joseph@codesourcery.com>
18862
c941736c
JM
18863 * include/features.h: Update comment documenting feature test
18864 macros.
18865 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18866 _DEFAULT_SOURCE.
18867 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18868 (_SVID_SOURCE): Likewise.
18869 (_DEFAULT_SOURCE): Update description of default features.
18870 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18871 with _GNU_SOURCE.
18872 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18873 (S_ISVTX): Likewise.
18874 * manual/math.texi (Mathematical Constants): Likewise.
18875 * manual/signal.texi (Interrupted Primitives): Likewise.
18876 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18877 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18878 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18879 Don't refer to _SVID_SOURCE in warning text.
18880
e8d8d7ec
JM
18881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18882
cb4a2928
JM
18883 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18884 already defined.
18885 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18886 * sysdeps/mips/dl-lookup.c: Remove.
18887 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18888
7e6424e3
AK
188892014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18890
18891 [BZ #16447]
18892 * math/auto-libm-test-in: Add testcase for expl.
18893 * math/auto-libm-test-out: Regenerate.
18894 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18895 calculation of unsafe.
18896 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18897
75eff3fe
MS
188982014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18899
18900 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18901 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18902 ports/sysdeps/unix/sysv/linux/aarch64.
18903 * README: Update listing for aarch64*-*-linux-gnu.
18904
d35f1e80
WN
189052014-02-11 Will Newton <will.newton@linaro.org>
18906
18907 * manual/probes.texi (Mathematical Function Probes): Use
18908 "triggered" instead of "hit".
18909
7b3436d4
WN
18910 * manual/probes.texi (Internal Probes): Add documentation
18911 of setjmp, longjmp and longjmp_target probes.
18912
b4f12ca3
WN
18913 * include/stap-probe.h: Add comment about probe argument
18914 format.
18915
c13a72b7
WN
18916 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18917 definition. (tr_where, tr_freehook, tr_mallochook,
18918 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18919
195b8165
DM
189202014-02-11 David S. Miller <davem@davemloft.net>
18921
18922 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18923 processing int_tests.
18924
2ad7600b
JM
189252014-02-10 Joseph Myers <joseph@codesourcery.com>
18926
18927 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18928 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18929 * sysdeps/unix/sysv/linux/mips: Move directory from
18930 ports/sysdeps/unix/sysv/linux/mips.
18931 * README: Update listing for mips-*-linux-gnu and
18932 mips64-*-linux-gnu.
18933
73588a72
AS
189342014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18935
18936 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18937 * sysdeps/unix/sysv/linux/m68k: Move directory from
18938 ports/sysdeps/unix/sysv/linux/m68k.
18939 * README: Update listing for m68k-*-linux-gnu.
18940
4372980f
CM
189412014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18942
18943 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18944 * sysdeps/unix/sysv/linux/generic: Move directory from
18945 ports/sysdeps/unix/sysv/linux/generic.
18946 * sysdeps/unix/sysv/linux/tile: Move directory from
18947 ports/sysdeps/unix/sysv/linux/tile.
18948 * README: Update listing for tile*-*-linux-gnu.
18949
a1ffb40e
OB
189502014-02-10 Ondřej Bílka <neleai@seznam.cz>
18951
57f41c40
AS
18952 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18953 __builtin_expect.
a1ffb40e
OB
18954 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18955 * catgets/open_catalog.c (__open_catalog): Likewise.
18956 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18957 * debug/confstr_chk.c: Likewise.
18958 * debug/fread_chk.c (__fread_chk): Likewise.
18959 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18960 * debug/getgroups_chk.c: Likewise.
18961 * debug/mbsnrtowcs_chk.c: Likewise.
18962 * debug/mbsrtowcs_chk.c: Likewise.
18963 * debug/mbstowcs_chk.c: Likewise.
18964 * debug/memcpy_chk.c: Likewise.
18965 * debug/memmove_chk.c: Likewise.
18966 * debug/mempcpy_chk.c: Likewise.
18967 * debug/memset_chk.c: Likewise.
18968 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18969 * debug/strcat_chk.c (__strcat_chk): Likewise.
18970 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18971 * debug/strncat_chk.c (__strncat_chk): Likewise.
18972 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18973 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18974 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18975 * debug/wcpncpy_chk.c: Likewise.
18976 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18977 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18978 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18979 * debug/wcsncpy_chk.c: Likewise.
18980 * debug/wcsnrtombs_chk.c: Likewise.
18981 * debug/wcsrtombs_chk.c: Likewise.
18982 * debug/wcstombs_chk.c: Likewise.
18983 * debug/wmemcpy_chk.c: Likewise.
18984 * debug/wmemmove_chk.c: Likewise.
18985 * debug/wmempcpy_chk.c: Likewise.
18986 * debug/wmemset_chk.c: Likewise.
18987 * dirent/scandirat.c (SCANDIRAT): Likewise.
18988 * dlfcn/dladdr1.c (dladdr1): Likewise.
18989 * dlfcn/dladdr.c (dladdr): Likewise.
18990 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18991 * dlfcn/dlerror.c (__dlerror): Likewise.
18992 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18993 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18994 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18995 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18996 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18997 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18998 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18999 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19000 Likewise.
19001 * elf/dl-conflict.c: Likewise.
19002 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19003 * elf/dl-dst.h: Likewise.
19004 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19005 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19006 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19007 * elf/dl-init.c (call_init, _dl_init): Likewise.
19008 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
19009 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19010 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19011 Likewise.
a1ffb40e
OB
19012 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19013 Likewise.
19014 * elf/dl-minimal.c (__libc_memalign): Likewise.
19015 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19016 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19017 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19018 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
19019 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19020 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
19021 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19022 * elf/dl-writev.h (_dl_writev): Likewise.
19023 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
19024 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19025 (dl_main): Likewise.
a1ffb40e
OB
19026 * elf/setup-vdso.h (setup_vdso): Likewise.
19027 * grp/compat-initgroups.c (compat_call): Likewise.
19028 * grp/fgetgrent.c (fgetgrent): Likewise.
19029 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19030 * grp/putgrent.c (putgrent): Likewise.
19031 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19032 Likewise.
19033 * hurd/hurdinit.c: Likewise.
19034 * iconvdata/8bit-gap.c (struct): Likewise.
19035 * iconvdata/ansi_x3.110.c : Likewise.
19036 * iconvdata/big5.c : Likewise.
19037 * iconvdata/big5hkscs.c : Likewise.
19038 * iconvdata/cp1255.c: Likewise.
19039 * iconvdata/cp1258.c : Likewise.
19040 * iconvdata/cp932.c : Likewise.
19041 * iconvdata/euc-cn.c: Likewise.
19042 * iconvdata/euc-jisx0213.c : Likewise.
19043 * iconvdata/euc-jp.c: Likewise.
19044 * iconvdata/euc-jp-ms.c : Likewise.
19045 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19046 * iconvdata/gb18030.c : Likewise.
19047 * iconvdata/gbbig5.c (const): Likewise.
19048 * iconvdata/gbgbk.c: Likewise.
19049 * iconvdata/gbk.c : Likewise.
19050 * iconvdata/ibm1364.c : Likewise.
19051 * iconvdata/ibm930.c : Likewise.
19052 * iconvdata/ibm932.c: Likewise.
19053 * iconvdata/ibm933.c : Likewise.
19054 * iconvdata/ibm935.c : Likewise.
19055 * iconvdata/ibm937.c : Likewise.
19056 * iconvdata/ibm939.c : Likewise.
19057 * iconvdata/ibm943.c: Likewise.
19058 * iconvdata/iso_11548-1.c: Likewise.
19059 * iconvdata/iso-2022-cn.c : Likewise.
19060 * iconvdata/iso-2022-cn-ext.c : Likewise.
19061 * iconvdata/iso-2022-jp-3.c: Likewise.
19062 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19063 * iconvdata/iso-2022-kr.c : Likewise.
19064 * iconvdata/iso646.c (gconv_end): Likewise.
19065 * iconvdata/iso_6937-2.c : Likewise.
19066 * iconvdata/iso_6937.c : Likewise.
19067 * iconvdata/iso8859-1.c: Likewise.
19068 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19069 * iconvdata/shift_jisx0213.c : Likewise.
19070 * iconvdata/sjis.c : Likewise.
19071 * iconvdata/t.61.c : Likewise.
19072 * iconvdata/tcvn5712-1.c : Likewise.
19073 * iconvdata/tscii.c: Likewise.
19074 * iconvdata/uhc.c : Likewise.
19075 * iconvdata/unicode.c (gconv_end): Likewise.
19076 * iconvdata/utf-16.c (gconv_end): Likewise.
19077 * iconvdata/utf-32.c (gconv_end): Likewise.
19078 * iconvdata/utf-7.c (base64): Likewise.
19079 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19080 * iconv/gconv_close.c (__gconv_close): Likewise.
19081 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19082 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19083 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19084 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19085 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19086 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19087 * iconv/iconv.c (iconv): Likewise.
19088 * iconv/iconv_close.c: Likewise.
19089 * iconv/loop.c (SINGLE): Likewise.
19090 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19091 * include/atomic.h: Likewise.
19092 * inet/inet6_option.c (option_alloc): Likewise.
19093 * intl/bindtextdom.c (set_binding_values): Likewise.
19094 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19095 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19096 * intl/localealias.c (read_alias_file): Likewise.
19097 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19098 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19099 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19100 * libio/fmemopen.c (fmemopen): Likewise.
19101 * libio/iofgets.c (_IO_fgets): Likewise.
19102 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19103 * libio/iofgetws.c (fgetws): Likewise.
19104 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19105 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19106 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19107 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19108 * locale/findlocale.c (_nl_find_locale): Likewise.
19109 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19110 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19111 Likewise.
19112 * locale/setlocale.c (setlocale): Likewise.
19113 * login/programs/pt_chown.c (main): Likewise.
19114 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19115 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19116 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19117 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19118 * math/e_exp2l.c: Likewise.
19119 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19120 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19121 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19122 * math/s_catan.c (__catan): Likewise.
19123 * math/s_catanf.c (__catanf): Likewise.
19124 * math/s_catanh.c (__catanh): Likewise.
19125 * math/s_catanhf.c (__catanhf): Likewise.
19126 * math/s_catanhl.c (__catanhl): Likewise.
19127 * math/s_catanl.c (__catanl): Likewise.
19128 * math/s_ccosh.c (__ccosh): Likewise.
19129 * math/s_ccoshf.c (__ccoshf): Likewise.
19130 * math/s_ccoshl.c (__ccoshl): Likewise.
19131 * math/s_cexp.c (__cexp): Likewise.
19132 * math/s_cexpf.c (__cexpf): Likewise.
19133 * math/s_cexpl.c (__cexpl): Likewise.
19134 * math/s_clog10.c (__clog10): Likewise.
19135 * math/s_clog10f.c (__clog10f): Likewise.
19136 * math/s_clog10l.c (__clog10l): Likewise.
19137 * math/s_clog.c (__clog): Likewise.
19138 * math/s_clogf.c (__clogf): Likewise.
19139 * math/s_clogl.c (__clogl): Likewise.
19140 * math/s_csin.c (__csin): Likewise.
19141 * math/s_csinf.c (__csinf): Likewise.
19142 * math/s_csinh.c (__csinh): Likewise.
19143 * math/s_csinhf.c (__csinhf): Likewise.
19144 * math/s_csinhl.c (__csinhl): Likewise.
19145 * math/s_csinl.c (__csinl): Likewise.
19146 * math/s_csqrt.c (__csqrt): Likewise.
19147 * math/s_csqrtf.c (__csqrtf): Likewise.
19148 * math/s_csqrtl.c (__csqrtl): Likewise.
19149 * math/s_ctan.c (__ctan): Likewise.
19150 * math/s_ctanf.c (__ctanf): Likewise.
19151 * math/s_ctanh.c (__ctanh): Likewise.
19152 * math/s_ctanhf.c (__ctanhf): Likewise.
19153 * math/s_ctanhl.c (__ctanhl): Likewise.
19154 * math/s_ctanl.c (__ctanl): Likewise.
19155 * math/w_pow.c: Likewise.
19156 * math/w_powf.c: Likewise.
19157 * math/w_powl.c: Likewise.
19158 * math/w_scalb.c (sysv_scalb): Likewise.
19159 * math/w_scalbf.c (sysv_scalbf): Likewise.
19160 * math/w_scalbl.c (sysv_scalbl): Likewise.
19161 * misc/error.c (error_tail): Likewise.
19162 * misc/pselect.c (__pselect): Likewise.
19163 * nis/nis_callback.c (__nis_create_callback): Likewise.
19164 * nis/nis_call.c (__nisfind_server): Likewise.
19165 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19166 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19167 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19168 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19169 * nis/nis_lookup.c (nis_lookup): Likewise.
19170 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19171 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19172 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19173 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19174 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19175 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19176 * nis/nss_compat/compat-initgroups.c (add_group)
19177 (internal_getgrent_r): Likewise.
19178 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19179 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19180 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19181 (internal_getspnam_r): Likewise.
19182 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19183 (_nss_nis_getaliasbyname_r): Likewise.
19184 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19185 (_nss_nis_getntohost_r): Likewise.
19186 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19187 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19188 (_nss_nis_getgrgid_r): Likewise.
19189 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19190 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19191 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19192 (_nss_nis_gethostbyname4_r): Likewise.
19193 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19194 (initgroups_netid): Likewise.
a1ffb40e 19195 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19196 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19197 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19198 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19199 (_nss_nis_getprotobynumber_r): Likewise.
19200 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19201 (_nss_nis_getsecretkey): Likewise.
19202 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19203 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19204 (_nss_nis_getpwuid_r): Likewise.
19205 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19206 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19207 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19208 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19209 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19210 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19211 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19212 Likewise.
57f41c40
AS
19213 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19214 (_nss_nisplus_getntohost_r): Likewise.
19215 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19216 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19217 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19218 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19219 Likewise.
57f41c40
AS
19220 * nis/nss_nisplus/nisplus-initgroups.c
19221 (_nss_nisplus_initgroups_dyn): Likewise.
19222 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19223 (_nss_nisplus_getnetbyaddr_r): Likewise.
19224 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19225 (_nss_nisplus_getprotobynumber_r): Likewise.
19226 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19227 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19228 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19229 Likewise.
57f41c40
AS
19230 * nis/nss_nisplus/nisplus-service.c
19231 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19232 (_nss_nisplus_getservbyport_r): Likewise.
19233 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19234 (_nss_nisplus_getspnam_r): Likewise.
19235 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19236 Likewise.
a1ffb40e
OB
19237 * nscd/aicache.c (addhstaiX): Likewise.
19238 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19239 * nscd/connections.c (register_traced_file, send_ro_fd)
19240 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19241 (main_loop_epoll): Likewise.
a1ffb40e
OB
19242 * nscd/grpcache.c (addgrbyX): Likewise.
19243 * nscd/hstcache.c (addhstbyX): Likewise.
19244 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19245 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19246 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19247 (addinnetgrX): Likewise.
19248 * nscd/nscd-client.h (__nscd_acquire_maplock)
19249 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19250 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19251 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19252 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19253 Likewise.
19254 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19255 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19256 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19257 (__nscd_get_map_ref): Likewise.
a1ffb40e 19258 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19259 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19260 Likewise.
a1ffb40e
OB
19261 * nscd/pwdcache.c (addpwbyX): Likewise.
19262 * nscd/selinux.c (preserve_capabilities): Likewise.
19263 * nscd/servicescache.c (addservbyX): Likewise.
19264 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19265 * posix/fnmatch.c (fnmatch): Likewise.
19266 * posix/getopt.c (_getopt_internal_r): Likewise.
19267 * posix/glob.c (glob, glob_in_dir): Likewise.
19268 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19269 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19270 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19271 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19272 * resolv/res_init.c: Likewise.
19273 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19274 * resolv/res_query.c (__libc_res_nquery): Likewise.
19275 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19276 Likewise.
19277 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19278 * stdio-common/perror.c (perror): Likewise.
19279 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19280 * stdio-common/tmpnam.c (tmpnam): Likewise.
19281 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19282 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19283 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19284 Likewise.
a1ffb40e
OB
19285 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19286 * stdlib/putenv.c (putenv): Likewise.
19287 * stdlib/setenv.c (__add_to_environ): Likewise.
19288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19289 * stdlib/strtol_l.c (INTERNAL): Likewise.
19290 * string/memmem.c (memmem): Likewise.
19291 * string/strerror.c (strerror): Likewise.
19292 * string/strnlen.c (__strnlen): Likewise.
19293 * string/test-memmem.c (simple_memmem): Likewise.
19294 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19295 * sunrpc/pm_getport.c (__get_socket): Likewise.
19296 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19297 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19298 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19299 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19300 Likewise.
19301 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19302 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19303 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19304 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19305 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19306 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19307 Likewise.
19308 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19309 Likewise.
a1ffb40e
OB
19310 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19311 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19312 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19313 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19314 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19316 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19317 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19318 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19319 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19320 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19321 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19322 Likewise.
19323 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19324 Likewise.
19325 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19326 Likewise.
19327 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19329 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19330 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19331 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19332 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19333 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19335 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19336 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19337 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19338 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19339 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19342 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19343 Likewise.
a1ffb40e
OB
19344 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19345 Likewise.
19346 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19347 Likewise.
19348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19349 Likewise.
19350 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19352 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19353 Likewise.
19354 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19355 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19356 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19357 * sysdeps/posix/sleep.c: Likewise.
19358 * sysdeps/posix/tempname.c: Likewise.
19359 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19360 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19361 Likewise.
57f41c40
AS
19362 * sysdeps/powerpc/powerpc32/dl-machine.h
19363 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19364 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19366 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19367 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19368 Likewise.
19369 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19370 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19371 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19372 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19373 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19374 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19375 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19376 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19377 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19378 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19379 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19380 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19381 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19383 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19384 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19385 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19386 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19387 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19388 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19389 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19390 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19391 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19392 Likewise.
19393 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19394 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19395 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19396 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19397 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19398 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19399 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19400 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19401 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19402 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19403 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19404 Likewise.
19405 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19406 (__posix_fallocate64_l64): Likewise.
19407 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19408 (posix_fallocate): Likewise.
57f41c40
AS
19409 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19410 Likewise.
a1ffb40e 19411 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19412 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19413 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19414 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19415 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19416 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19417 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19418 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19419 (__posix_fallocate64_l64): Likewise.
19420 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19421 Likewise.
19422 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19423 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19424 (__get_clockfreq): Likewise.
a1ffb40e
OB
19425 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19426 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19427 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19430 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19431 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19432 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19433 Likewise.
19434 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19435 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19436 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19437 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19438 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19439 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19440 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19441 Likewise.
19442 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19443 (posix_fallocate): Likewise.
19444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19445 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19446 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19447 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19448 (elf_machine_rela, elf_machine_rela_relative)
19449 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19450 * time/asctime.c (asctime_internal): Likewise.
19451 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19452 * time/tzset.c (__tzset_parse_tz): Likewise.
19453 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19454 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19455 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19456 * wcsmbs/wcsmbsload.h: Likewise.
19457
f3d338c9
OB
19458 [BZ #15894]
19459 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19460
57f41c40
AS
19461 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19462 (arena_get2): Remove THREAD_STATS conditionals.
19463 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19464 (__malloc_stats, int): Likewise.
bdfe308a 19465
d674667c
MF
194662014-02-08 Mike Frysinger <vapier@gentoo.org>
19467
19468 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19469 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19470
6349768c
MF
19471 * manual/setjmp.texi: Fix typos/grammar errors.
19472
0b7c7473
MF
19473 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19474 Only return early when n is <= 0. Delete unused return statement.
19475
ac8cc9e3
MF
19476 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19477 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19478 * debug/tst-longjmp_chk3.c: New file.
19479
c5bb8e23
MF
19480 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19481 (test_main): Replace code with set_fortify_handler call.
19482 * debug/test-strcpy_chk.c: Likewise.
19483 * debug/tst-chk1.c: Likewise.
19484 * debug/tst-longjmp_chk.c: Likewise.
19485 * test-skeleton.c: Include fcntl.h & paths.h
19486 (set_fortify_handler): Define.
19487
10444e42
MF
19488 * debug/tst-longjmp_chk.c: Add header comment and include
19489 ../test-skeleton.c.
19490 (do_test): Mark static.
19491 (TEST_FUNCTION): Define.
19492
1e805e8d
MF
19493 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19494 (IP_PMTUDISC_INTERFACE): Likewise.
19495 (IP_MULTICAST_IF): Likewise.
19496 (IP_MULTICAST_TTL): Likewise.
19497 (IP_MULTICAST_LOOP): Likewise.
19498 (IP_ADD_MEMBERSHIP): Likewise.
19499 (IP_DROP_MEMBERSHIP): Likewise.
19500 (IP_UNBLOCK_SOURCE): Likewise.
19501 (IP_BLOCK_SOURCE): Likewise.
19502 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19503 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19504 (IP_MSFILTER): Likewise.
19505 (MCAST_JOIN_GROUP): Likewise.
19506 (MCAST_BLOCK_SOURCE): Likewise.
19507 (MCAST_UNBLOCK_SOURCE): Likewise.
19508 (MCAST_LEAVE_GROUP): Likewise.
19509 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19510 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19511 (MCAST_MSFILTER): Likewise.
19512 (IP_MULTICAST_ALL): Likewise.
19513 (IP_UNICAST_IF): Likewise.
19514
73f79bb7
MF
19515 * timezone/Makefile: Delete $(have-ksh) check.
19516 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19517 * timezone/tzselect.ksh: Add +x mode bits.
19518
8da79b60
MF
19519 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19520 (ANON_INODE_FS_MAGIC): Likewise.
19521 (BDEVFS_MAGIC): Likewise.
19522 (BINFMTFS_MAGIC): Likewise.
19523 (BTRFS_TEST_MAGIC): Likewise.
19524 (CRAMFS_MAGIC_WEND): Likewise.
19525 (DEBUGFS_MAGIC): Likewise.
19526 (ECRYPTFS_SUPER_MAGIC): Likewise.
19527 (EXT3_SUPER_MAGIC): Likewise.
19528 (EXT4_SUPER_MAGIC): Likewise.
19529 (FUTEXFS_SUPER_MAGIC): Likewise.
19530 (HOSTFS_SUPER_MAGIC): Likewise.
19531 (HUGETLBFS_MAGIC): Likewise.
19532 (MINIX3_SUPER_MAGIC): Likewise.
19533 (MTD_INODE_FS_MAGIC): Likewise.
19534 (NILFS_SUPER_MAGIC): Likewise.
19535 (OPENPROM_SUPER_MAGIC): Likewise.
19536 (PIPEFS_MAGIC): Likewise.
19537 (PSTOREFS_MAGIC): Likewise.
19538 (QNX6_SUPER_MAGIC): Likewise.
19539 (RAMFS_MAGIC): Likewise.
19540 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19541 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19542 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19543 (SECURITYFS_MAGIC): Likewise.
19544 (SELINUX_MAGIC): Likewise.
19545 (SMACK_MAGIC): Likewise.
19546 (SOCKFS_MAGIC): Likewise.
19547 (SQUASHFS_MAGIC): Likewise.
19548 (STACK_END_MAGIC): Likewise.
19549 (TMPFS_MAGIC): Likewise.
19550 (USBDEVICE_SUPER_MAGIC): Likewise.
19551 (V9FS_MAGIC): Likewise.
19552 (XENFS_SUPER_MAGIC): Likewise.
19553 (CRAMFS_MAGIC): Fix typo in comment.
19554 (EXT2_SUPER_MAGIC): Update comment.
19555 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19556
464263cc
JM
195572014-02-08 Joseph Myers <joseph@codesourcery.com>
19558
c6bfe5c4
JM
19559 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19560 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19561 * sysdeps/unix/sysv/linux/arm: Move directory from
19562 ports/sysdeps/unix/sysv/linux/arm.
19563 * README: Update listing for arm-*-linux-gnueabi.
19564
464263cc
JM
19565 * README: Remove mention of am33.
19566
32749f6c
RM
195672014-02-07 Roland McGrath <roland@hack.frob.com>
19568
19569 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19570 than the comma operator, to avoid "rhs of comma has no effect"
19571 compiler warnings.
19572 (__sigfillset, __sigandset, __sigorset): Likewise.
19573 * include/signal.h (__sigemptyset): Likewise.
19574 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19575
d5b396c1
AM
195762014-02-07 Allan McRae <allan@archlinux.org>
19577
19578 * version.h (RELEASE): Set to "development".
19579 (VERSION): Set to "2.19.90"
19580 * NEWS: Add 2.20 section.
19581
3bfff2ed
CD
195822014-02-06 Carlos O'Donell <carlos@redhat.com>
19583
19584 [BZ #16529]
19585 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19586
ee7cc385
SP
195872014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19588
19589 * manual/contrib.texi: Update entry for Carlos O'Donell,
19590 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19591
f877c4f2
CD
195922014-02-05 Carlos O'Donell <carlos@rehdat.com>
19593
27e839f6
CD
19594 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19595
f877c4f2
CD
19596 * sysdeps/unix/sysv/linux/kernel-features.h
19597 [__LINUX_KERNEL_VERSION >= 0x020621]
19598 (__ASSUME_PROC_PID_TASK_COMM): Define.
19599
68159946
SP
196002014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19601
ba17cdbd
SP
19602 [BZ #16398]
19603 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19604 conversion when destination buffer does not have enough space.
19605 * libio/tst-ftell-partial-wide.c: New test case.
19606 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19607
68159946
SP
19608 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19609 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19610 Leonard and Allan McRae.
19611
2b528732
DM
196122014-02-04 David S. Miller <davem@davemloft.net>
19613
19614 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19615 32-bit.
19616
0ff82463
AZ
196172014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19618
57f41c40
AS
19619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19620 New file
c01603f7
AZ
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19622 New file
57f41c40
AS
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19624 New file.
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19626 New file.
c01603f7
AZ
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19628 New file.
57f41c40
AS
19629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19630 New file.
19631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19632 New file.
c01603f7
AZ
19633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19634 New file.
19635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19636 New file.
19637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19638 New file.
19639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19640 New file.
19641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19642 New file.
19643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19644 New file.
19645
196462014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19647
0ff82463
AZ
19648 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19649 * shlib-versions: Likewise.
19650
1695c773
AZ
196512014-02-04 Roland McGrath <roland@hack.frob.com>
19652 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19653
19654 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19655 (abilist-pattern): New variable, set to %-le.abilist.
19656
19657 * Makerules (abilist-pattern): New variable.
19658 (vpath): Use $(abilist-pattern) in place of %.abilist.
19659 (check-abi-% pattern rule): Likewise.
19660 (check-abi, update-abi): Likewise.
19661
6c0ce4b4
EW
196622014-02-04 Eric Wong <normalperson@yhbt.net>
19663
19664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19665
481e3524
CD
196662014-02-03 Carlos O'Donell <carlos@redhat.com>
19667
19668 * manual/startup.texi: Add next, previous, and top entries for
19669 the `Program Arguments' and `Environment Variables' nodes.
19670
375592d3
AO
196712014-02-03 Alexandre Oliva <aoliva@redhat.com>
19672
19673 * manual/macros.texi: Add comments before MTASC-safety macros.
19674
f54838ba
AO
19675 * manual/users.texi: Document MTASC-safety properties.
19676
57f41c40
AS
19677 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19678 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19679 @deftypefun, and add @safety note.
19680 * manual/signal.texi: Move comments that analyze the above
19681 functions to their home place.
19682
fd3daba4
AM
196832014-02-03 Allan McRae <allan@archlinux.org>
19684
19685 * po/sl.po: Update Slovenian translation from translation project.
19686
597636d7
AO
196872014-02-02 Alexandre Oliva <aoliva@redhat.com>
19688
19689 * manual/time.texi (timegm): Add missing blank after @c.
19690 Reported by Joseph Myers <joseph@codesourcery.com>.
19691
ee196e3c
AO
196922014-02-01 Alexandre Oliva <aoliva@redhat.com>
19693
19694 * manual/check-safety.sh: New.
19695 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19696
f8d529d5
AO
19697 * manual/terminal.texi: Document MTASC-safety properties.
19698
de55fdf4
AO
19699 * manual/filesys.texi: Document MTASC-safety properties.
19700
c3299c08
AO
19701 * manual/errno.texi: Document MTASC-safety properties.
19702
06e90b14
AO
19703 * manual/intro.texi: Document safety identifiers and
19704 conditionals.
19705
1acd4371
AO
19706 * manual/string.texi (wcstok): Fix prototype.
19707 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19708
23e5b8cb
AO
19709 * manual/time.texi: Document MTASC-safety properties.
19710
11087373
AO
19711 * manual/string.texi: Document MTASC-safety properties.
19712
5da2c93d
AO
19713 * manual/threads.texi: Document MTASC-safety properties.
19714
171e9210
AO
19715 * manual/stdio.texi: Document MTASC-safety properties.
19716
d9e02532
AO
19717 * manual/syslog.texi: Document MTASC-safety properties.
19718
6af8bab7
AO
19719 * manual/sysinfo.texi: Document MTASC-safety properties.
19720
663b02d7
AO
19721 * manual/startup.texi: Document MTASC-safety properties.
19722
973f180b
AO
19723 * manual/socket.texi: Document MTASC-safety properties.
19724
8f3c25c8
AO
19725 * manual/signal.texi: Document MTASC-safety properties.
19726
542210fb
AO
197272014-01-31 Alexandre Oliva <aoliva@redhat.com>
19728
19729 * manual/setjmp.texi: Document MTASC-safety properties.
19730
433c45a2
AO
19731 * manual/search.texi: Document MTASC-safety properties.
19732
c8ce789c
AO
19733 * manual/resource.texi: Document MTASC-safety properties.
19734
19f5d29c
AO
19735 * manual/process.texi: Document MTASC-safety properties.
19736
e2dfb7f4
AO
19737 * manual/platform.texi: Document MTASC-safety properties.
19738
8c1413f5
AO
19739 * manual/pipe.texi: Document MTASC-safety properties.
19740
03483ada
AO
19741 * manual/pattern.texi: Document MTASC-safety properties.
19742
29e7e2df
AO
19743 * manual/message.texi: Document MTASC-safety properties.
19744
9f529d7c
AO
19745 [BZ #12751]
19746 * manual/memory.texi: Document MTASC-safety properties.
19747
27aaa791
AO
19748 * manual/math.texi: Document MTASC-safety properties.
19749
f2d58726
AO
19750 * manual/locale.texi: Document MTASC-safety properties.
19751
2cc3615c
AO
19752 * manual/llio.texi: Document MTASC-safety properties.
19753
d9f0ec97
AO
19754 * manual/libdl.texi: New.
19755
e7c4409a
AO
19756 * manual/lang.texi: Document MTASC-safety properties.
19757
27bdc63c
AO
19758 * manual/job.texi: Document MTASC-safety properties.
19759
a7b90ea9
AO
19760 * manual/getopt.texi: Document MTASC-safety properties.
19761
c49130e3
AO
19762 * manual/ctype.texi: Document MTASC-safety properties.
19763
0d23a5c1
MR
197642014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19765
19766 [BZ #16046]
19767 * csu/libc-tls.c (static_map): Remove variable.
19768 (__libc_setup_tls): Use main executable's link map for TLS data.
19769 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19770 casing for LM_ID_BASE and GL(dl_nns).
19771 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19772 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19773 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19774 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19775 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19776 member.
19777 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19778 l_phnum members.
19779
0037bb60
AO
197802014-01-30 Alexandre Oliva <aoliva@redhat.com>
19781
19782 * manual/debug.texi: Document MTASC-safety properties.
19783
409e00bd
L
197842014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19785
19786 [BZ #16510]
19787 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19788 of __x86_64__ when disabling x87 inline functions.
19789
86e60666
AO
197902014-01-29 Alexandre Oliva <aoliva@redhat.com>
19791
19792 * manual/charset.texi: Document MTASC-safety properties.
19793
76167637
AO
19794 * manual/crypt.texi: Document MTASC-safety properties.
19795
e567f2a0
AO
19796 * manual/conf.texi: Document MTASC-safety properties.
19797
b719dafd
AO
19798 * manual/arith.texi: Document MTASC-safety properties.
19799
4a16c662
AO
19800 * manual/argp.texi: Document MTASC-safety properties.
19801
0a57b83e
AO
19802 * manual/macros.texi: Introduce macros to document multi
19803 thread, asynchronous signal and asynchronous cancellation
19804 safety properties.
19805 * manual/intro.texi: Introduce the properties themselves.
19806
feab2397
KK
198072014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19808
19809 * sysdeps/sh/sh4/Makefile: New file.
19810
1c0d11bc
AS
198112014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19812
19813 * math/gen-libm-test.pl ($srcdir): New variable.
19814 ($auto_input): Use it.
19815
af37a8a3
SP
198162014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19817
d7b00f98
SP
19818 [BZ #16506]
19819 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19820 access beyond array bounds when parsing netgroups file.
19821
af37a8a3
SP
19822 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19823 the old buffer before realloc.
19824
0c00f062
AM
198252014-01-27 Allan McRae <allan@archlinux.org>
19826
19827 * po/fr.po: Update French translation from translation project.
19828
7d69a1b0
KK
198292014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19830
19831 * sysdeps/sh/libm-test-ulps: Regenerate.
19832
6e697ff7
DM
198332014-01-24 David S. Miller <davem@davemloft.net>
19834
19835 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19836
9cadb35c
KK
198372014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19838
19839 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19840 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19841
5d41dadf
SP
198422013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19843
19844 [BZ #16474]
19845 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19846 string pointers after reallocation.
19847
0bad441c
KK
198482014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19849
19850 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19851 __SH4A__ instead of __SH_FPU_ANY__.
19852
7007c661
KK
198532014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19854
19855 * sysdeps/sh/fpu_control.h: New file.
19856 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19857 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19858 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19859 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19860 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19861 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19862 * sysdeps/sh/sys/ucontext.h: Remove.
19863 * sysdeps/sh/sys: Remove directory.
19864
0f0c35e4
AK
198652014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19866
19867 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19868 s390/sys/ucontext.h.
19869 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19870 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19871
4959e284
L
198722014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19873
19874 [BZ #15605]
19875 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19876
d98720e0
AZ
198772014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19878
19879 [BZ#16431]
19880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19881 Adjust the vDSO correctly for internal calls.
19882 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19883
91cbd0bc
AM
198842014-01-20 Allan McRae <allan@archlinux.org>
19885
19886 * po/ca.po: Update Catalan translation from translation project.
19887
7a02cfad
MF
198882014-01-16 Mike Frysinger <vapier@gentoo.org>
19889
19890 * sysdeps/s390/sotruss-lib.c: New file.
19891
736c304a
AZ
198922014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19893
19894 [BZ#16430]
6e077ee5 19895 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19896 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19897 local calls issues by not having a PLT stub required for IFUNC calls.
19898 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19899
94d0cea0
JM
199002014-01-16 Joseph Myers <joseph@codesourcery.com>
19901
19902 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19903 * math/test-fpucw-static.c: Likewise.
19904
980cb518
SP
199052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19906
19907 [BZ #16453]
19908 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19909
2393fc01
AZ
199102014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19911
19912 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19913 implementation for powerpc.
19914
d359bcc2
OB
199152014-01-15 Ondřej Bílka <neleai@seznam.cz>
19916
19917 [BZ #14782]
19918 * sysdeps/posix/system.c (__libc_system): Do not enable
19919 asynchronous cancellation.
19920
7beb48cb
AK
199212014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19922
19923 [BZ #16427]
19924 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19925 handling only for numbers special also in the IEEE case.
19926
c20d5bf5
AK
199272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19928
19929 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19930
e83bd4ee
AM
199312014-01-11 Allan McRae <allan@archlinux.org>
19932
76d0ea69
AM
19933 * po/bg.po: Update Bulgarian translation from translation project.
19934
e83bd4ee
AM
19935 * po/de.po: Update German translation from translation project.
19936
bc2ba20a
RM
199372014-01-10 Roland McGrath <roland@hack.frob.com>
19938
19939 * sysdeps/generic/gcc-compat.h: New file.
19940
649ecea2
SP
199412014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19942
19943 * benchtests/asin-inputs: Correct slow inputs.
19944 * benchtests/acos-inputs: Likewise.
19945
1b19c006
AM
199462014-01-10 Allan McRae <allan@archlinux.org>
19947
a46dab08
AM
19948 * po:sv.po: Update Swedish translation from translation project.
19949
421df74a
AM
19950 * po/vi.po: Update Vietnamese translation from translation project.
19951
d61c51a7
AM
19952 * po/eo.po: Update Esperanto translation from translation project.
19953
0339a319
AM
19954 * po/cs.po: Update Czech translation from translation project.
19955
94ad3e99
AM
19956 * po/nl.po: Update Dutch translation from translation project.
19957
e349ca71
AM
19958 * po/pl.po: Update Polish translation from translation project.
19959
ddf930c1
AM
19960 * po/ru.po: Update Russian translation from translation project.
19961
1b19c006
AM
19962 * po/uk.po: Update Ukrainian translation from translation project.
19963
9f236c49
BM
199642014-01-08 Brooks Moses <bmoses@google.com>
19965
19966 * elf/dl-load.c: Fix comment typo.
19967
cd6701cf
CD
199682014-01-08 Carlos O'Donell <carlos@redhat.com>
19969
19970 * po/header.pot: Rename to...
19971 * po/pot.header: ... this.
19972 * po/Makefile: Use pot.header.
19973
66671c84
YK
199742014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19975 Maxim Kuvyrkov <maxim@kugelworks.com>
19976
19977 [BZ #16394]
cd6701cf
CD
19978 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19979 SRC and DEST against LEN.
66671c84 19980
38f34581
AZ
199812014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19982
19983 [BZ #16414]
19984 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19985 implementation.
19986 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19987
199882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19989
19990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19991
4c327f2a
JM
199922014-01-08 Joseph Myers <joseph@codesourcery.com>
19993
19994 [BZ #16408]
19995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19996 for large positive arguments.
19997
b821f414
JM
199982014-01-07 Joseph Myers <joseph@codesourcery.com>
19999
1f0f2067
JM
20000 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20001
a5a326f6
JM
20002 * math/auto-libm-test-in: Mark various tests with
20003 xfail-rounding:ldbl-128ibm.
20004 * math/auto-libm-test-out: Regenerated.
20005
b821f414
JM
20006 [BZ #16407]
20007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20008 Increase overflow threshold.
20009
94c8a4bc
OB
200102014-01-07 Ondřej Bílka <neleai@seznam.cz>
20011
20012 [BZ #14286]
20013 * stdio-common/vfprintf.c: Check for integer overflow.
20014
87ded0c3
AK
200152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20016
20017 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20018 the first argument and return value of __tls_get_addr_internal.
20019
c5eebdd0
AK
200202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20021
20022 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20023 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20024
05d138ef
AK
200252014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20026
20027 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20028 * sysdeps/s390/rtld-global-offsets.sym: New file.
20029 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20030 GLIBC_2.19 symbol.
20031 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20032 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20033 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20034 ... this.
20035 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20036 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20037 ... this.
20038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20039 Regenerate.
20040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20041 Regenerate.
20042 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20043 halfs of GPRs for high_gprs contexts.
20044 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20045 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20046 field.
20047 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20048 uc_flags field.
20049 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20050 64 bit versions:
20051 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20052 for high GPRs (uc_high_gprs) and for future extensions
20053 (__reserved).
20054 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20055 for future extensions (__reserved).
20056 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20057 64 bit versions:
20058 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20059 SC_HIGHGPRS offset definition.
20060 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20061 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20062
93a45ff1
AK
20063 * Versions.def: Add GLIBC_2.19 for libpthread.
20064 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20065 siglongjmp for libpthread with GLIBC_2.19 symver.
20066 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20067 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20068 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20069 * sysdeps/s390/__longjmp.c: New file.
20070 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20071 * sysdeps/s390/longjmp.c: New file.
20072 * sysdeps/s390/setjmp.S: New file.
20073 * sysdeps/s390/sigjmp.S: New file.
20074 * sysdeps/s390/v1-longjmp.c: New file.
20075 * sysdeps/s390/v1-setjmp.h: New file.
20076 * sysdeps/s390/v1-sigjmp.c: New file.
20077 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20078 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20079 GLIBC_2.19 version.
20080 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20081 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20082 versioned symbols for ____longjmp_chk.
20083 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20084 Likewise.
20085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20086 Regenerate.
20087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20088 Regenerate.
20089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20090 Regenerate.
20091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20092 Regenerate.
20093 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20094 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20095 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20096 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20097 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20098 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20099 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20100 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20101 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20102 * sysdeps/s390/rtld-__longjmp.c: New file.
20103 * sysdeps/s390/rtld-setjmp.S: New file.
20104
eb3fc44b
JM
201052014-01-06 Joseph Myers <joseph@codesourcery.com>
20106
20107 [BZ #16400]
20108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20109 Return -__logl (x) for small positive arguments without evaluating
20110 a polynomial.
20111
9341dde4
MF
201122014-01-06 Mike Frysinger <vapier@gentoo.org>
20113
20114 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20115 Rename to ...
20116 (__ptrace_peeksiginfo_args): ... this.
20117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20119 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20120
4cff0293
AM
201212014-01-06 Allan McRae <allan@archlinux.org>
20122
20123 * inet/netinet/in.h: Fix typo in comment.
20124
75595dcf
AJ
201252014-01-05 Andreas Jaeger <aj@suse.de>
20126
20127 * sysdeps/i386/fpu/libm-test-ulps: Update.
20128
79c1e109
AM
201292014-01-05 Allan McRae <allan@archlinux.org>
20130
dd804818
AM
20131 * po/libc.pot: Regenerated.
20132
79c1e109
AM
20133 * malloc/memusagestat.c: Fix gettext call formatting.
20134
0c813d1f
SK
201352014-01-04 Sami Kerola <kerolasa@iki.fi>
20136
20137 * nscd/nscd.c: Improve usage() output.
20138
20f4a8d9
MF
201392014-01-04 Mike Frysinger <vapier@gentoo.org>
20140
20141 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20142 * sysdeps/unix/sysv/linux/configure: Regenerated.
20143 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20144 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20145
22562bb2
JM
201462014-01-03 Joseph Myers <joseph@codesourcery.com>
20147
20148 [BZ #16390]
20149 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20150 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20151
d7ad2d9b
AZ
201522014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20153
20154 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20155 extra tokens at end of #undef directive.
20156 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20157 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20158 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20159
7dd009d8
JM
201602014-01-03 Joseph Myers <joseph@codesourcery.com>
20161
24db925a
JM
20162 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20163
7dd009d8
JM
20164 * math/auto-libm-test-in: Mark various tests with
20165 xfail-rounding:ldbl-128ibm.
20166 * math/auto-libm-test-out: Regenerated.
20167
396e3ecf
JM
201682014-01-02 Joseph Myers <joseph@codesourcery.com>
20169
819e5d50
JM
20170 [BZ #16386]
20171 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20172 numbers with subnormal high part when calculating exponent.
20173
90b6a1e5
JM
20174 [BZ #16385]
20175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20176 fabs.
20177
396e3ecf
JM
20178 [BZ #16384]
20179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20180 M_LN2l.
20181 (__ieee754_acoshl): Use __log1pl not __log1p.
20182
6c8dbf00
OB
201832013-01-02 Ondřej Bílka <neleai@seznam.cz>
20184
57f41c40
AS
20185 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20186 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20187 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20188 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20189 (reused_arena, arena_get2): Convert to GNU style.
20190 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20191 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20192 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20193 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20194 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20195 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20196 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20197 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20198 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20199 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20200 * malloc/malloc.h: Likewise.
57f41c40
AS
20201 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20202 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20203 * malloc/mcheck.h: Likewise.
57f41c40
AS
20204 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20205 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20206 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20207 * malloc/morecore.c (__default_morecore): Likewise.
20208 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20209 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20210 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20211 (print_and_abort): Likewise.
6c8dbf00
OB
20212 * malloc/obstack.h: Likewise.
20213 * malloc/set-freeres.c (__libc_freeres): Likewise.
20214 * malloc/tst-mallocstate.c (main): Likewise.
20215 * malloc/tst-mtrace.c (main): Likewise.
20216 * malloc/tst-realloc.c (do_test): Likewise.
20217
d4124212
SP
202182013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20219
9a3c6a6f
SP
20220 [BZ #16366]
20221 * nscd/netgroupcache.c (do_notfound): New function.
20222 (addgetnetgrentX): Use it.
20223
d4124212
SP
20224 [BZ # 16365]
20225 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20226 NSS_STATUS_NOTFOUND.
20227
97b9a009
JM
202282014-01-01 Joseph Myers <joseph@codesourcery.com>
20229
20230 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20232
d4697bc9
AM
202332014-01-01 Allan McRae <allan@archlinux.org>
20234
ddb3687f
AM
20235 * scripts/update-copyrights: Update configure input file suffix.
20236
88726d48
AM
20237 * NEWS: Update copyright year.
20238 * catgets/gencat.c: Likewise.
20239 * csu/version.c: Likewise.
20240 * debug/catchsegv.sh: Likewise.
20241 * debug/pcprofiledump.c: Likewise.
20242 * debug/xtrace.sh: Likewise.
20243 * elf/ldconfig.c: Likewise.
20244 * elf/ldd.bash.in: Likewise.
20245 * elf/pldd.c: Likewise.
20246 * elf/sotruss.ksh: Likewise.
20247 * elf/sprof.c: Likewise.
20248 * iconv/iconv_prog.c: Likewise.
20249 * iconv/iconvconfig.c: Likewise.
20250 * locale/programs/locale.c: Likewise.
20251 * locale/programs/localedef.c: Likewise.
20252 * login/programs/pt_chown.c: Likewise.
20253 * malloc/memusage.sh: Likewise.
20254 * malloc/memusagestat.c: Likewise.
20255 * malloc/mtrace.pl: Likewise.
20256 * manual/libc.texinfo: Likewise.
20257 * nscd/nscd.c: Likewise.
20258 * nss/getent.c: Likewise.
20259 * nss/makedb.c: Likewise.
20260 * posix/getconf.c: Likewise.
20261 * scripts/test-installation.pl: Likewise.
20262
d4697bc9
AM
20263 * All files with FSF copyright notices: Update copyright dates
20264 using scripts/update-copyrights.
20265 * intl/plural.c: Regenerated.
20266 * locale/programs/charmap-kw.h: Likewise.
20267 * locale/programs/locfile-kw.h: Likewise.
20268
c8590f9d
MF
202692013-12-31 Mike Frysinger <vapier@gentoo.org>
20270
20271 * sysdeps/unix/sysv/linux/configure: Regenerated.
20272 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20273 the linux/fanotify.h header.
20274 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20275 HAVE_LINUX_FANOTIFY_H is defined.
20276
b19221b9
SP
202772013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20278
dd1d85e5
SP
20279 * benchtests/cos-inputs: New inputs.
20280 * benchtests/sin-inputs: Likewise.
20281
1acbb90f
SP
20282 * benchtests/atan-inputs: New inputs. Fix name of multiple
20283 precision fallback inputs.
20284
4c012ed3
SP
20285 * benchtests/atanh-inputs: New inputs.
20286 * benchtests/tanh-inputs: Likewise.
20287
eff98324
SP
20288 * benchtests/acosh-inputs: New inputs.
20289 * benchtests/asinh-inputs: Likewise.
20290
ce641152
SP
20291 * benchtests/cosh-inputs: New inputs.
20292 * benchtests/sinh-inputs: Likewise.
20293
b19221b9
SP
20294 * benchtests/acos-inputs: Add more inputs.
20295 * benchtests/asin-inputs: Likewise.
20296
030a4976 202972013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20298
030a4976 20299 [BZ #16375]
9dcc8f11
VS
20300 * manual/arith.texi: Fix spelling.
20301 * manual/charset.texi: Likewise.
20302 * manual/errno.texi: Likewise.
20303 * manual/filesys.texi: Likewise.
20304 * manual/lang.texi: Likewise.
20305 * manual/llio.texi: Likewise.
20306 * manual/locale.texi: Likewise.
20307 * manual/message.texi: Likewise.
20308 * manual/resource.texi: Likewise.
20309 * manual/search.texi: Likewise.
20310 * manual/setjmp.texi: Likewise.
20311 * manual/stdio.texi: Likewise.
20312 * manual/string.texi: Likewise.
20313 * manual/sysinfo.texi: Likewise.
20314 * manual/time.texi: Likewise.
20315
11520a57
CD
203162013-12-27 Carlos O'Donell <carlos@redhat.com>
20317
20318 * po/sl.po: New file.
20319
471103ae
MF
203202013-12-27 Mike Frysinger <vapier@gentoo.org>
20321
20322 * .gitignore: Add core/.gdbinit/.gdb_history.
20323
6c9642ed
AM
203242013-12-27 Allan McRae <allan@archlinux.org>
20325
20326 [BZ #16369]
20327 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20328 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20329
3f637079
BM
203302013-12-24 Brooks Moses <bmoses@google.com>
20331
20332 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20333 all compilers that claim C++98 compliance, not just GCC.
20334 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20335 Likewise.
20336
abc26e99
MK
203372013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20338
20339 * NEWS: Restore accidentally deleted bug-fix entries.
20340
362b47fe
MK
203412013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20342 Ondřej Bílka <neleai@seznam.cz>
20343
20344 [BZ #15073]
20345 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20346 have_lock.
362b47fe 20347
b9bcbbcb
OB
203482013-12-23 Ondřej Bílka <neleai@seznam.cz>
20349
20350 [BZ #12986]
20351 * manual/stdio.texi (String Input Conversions): Clarify that character
20352 classes are not supported.
20353
fb55fcd2
AZ
203542013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20355
20356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20357
ef7344f0
JM
203582013-12-22 Joseph Myers <joseph@codesourcery.com>
20359
4f40e4b3
JM
20360 [BZ #16337]
20361 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20362 Calculate results for small negative arguments directly rather
20363 than using reflection formula with special underflow handling.
20364
ef7344f0
JM
20365 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20366 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20367 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20368 (fchflags): Likewise.
20369 (revoke): Likewise.
20370 (setlogin): Likewise.
20371 (sigaltstack): Likewise.
20372 (wait4): Likewise.
20373 (sigblock): Remove.
20374 (sigsetmask): Likewise.
20375 (wait3): Likewise.
20376 (waitpid): Likewise.
20377 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20378 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20379 file.
20380 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20381 * sysdeps/unix/bsd/Makefile: ... here.
20382 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20383 * sysdeps/unix/bsd/Versions: ... here.
20384 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20385 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20386 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20387 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20388 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20389 * sysdeps/unix/bsd/sigblock.c: ... here.
20390 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20391 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20392 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20393 * sysdeps/unix/bsd/sigvec.c: ... here.
20394 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20395 * sysdeps/unix/bsd/tcdrain.c: ... here.
20396 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20397 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20398 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20399 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20400 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20401 * sysdeps/unix/bsd/wait.c: ... here.
20402 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20403 * sysdeps/unix/bsd/wait3.c: ... here.
20404 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20405 * sysdeps/unix/bsd/waitpid.c: ... here.
20406
5b0626b9
JM
204072013-12-21 Joseph Myers <joseph@codesourcery.com>
20408
20409 [BZ #16356]
20410 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20411 round-to-nearest for [!USE_AS_EXPM1L].
20412 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20413 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20414 more tests of exp and exp10. Expect some exp10 tests to miss
20415 exceptions or fail in directed rounding modes.
20416 * math/auto-libm-test-out: Regenerated.
20417 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20418 (exp10_test_tonearest): New function.
20419 (exp10_towardzero_test_data): New array.
20420 (exp10_test_towardzero): New function.
20421 (exp10_downward_test_data): New array.
20422 (exp10_test_downward): New function.
20423 (exp10_upward_test_data): New array.
20424 (exp10_test_upward): New function.
20425 (main): Call the new functions.
20426 * sysdeps/i386/fpu/libm-test-ulps: Update.
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20428
7fda5682
JM
204292013-12-20 Joseph Myers <joseph@codesourcery.com>
20430
31e3a405
JM
20431 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20432 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20433 * math/auto-libm-test-out: Regenerated.
20434 * math/libm-test.inc (acosh_test_data): Add more tests.
20435 (atanh_test_data): Likewise.
20436 (ceil_test_data): Likewise.
20437 (copysign_test_data): Likewise.
20438 * sysdeps/i386/fpu/libm-test-ulps: Update.
20439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20440
85bff96a
JM
20441 * timezone/checktab.awk: Update from tzcode 2013i.
20442 * timezone/private.h: Likewise.
20443 * timezone/scheck.c: Likewise.
20444 * timezone/tzfile.h: Likewise.
20445 * timezone/tzselect.ksh: Likewise.
20446 * timezone/zdump.c: Likewise.
20447 * timezone/zic.c: Likewise.
20448
b7867a3b
JM
20449 * math/auto-libm-test-in: Add tests of cpow.
20450 * math/auto-libm-test-out: Regenerated.
20451 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20452 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20453 mpc_cc_c.
20454 (func_calc_desc): Add mpc_cc_c union field.
20455 (test_functions): Add cpow.
20456 (special_fill_2pi): New function.
20457 (special_real_inputs): Add 2pi.
20458 (calc_generic_results): Handle mpc_cc_c.
20459 * sysdeps/i386/fpu/libm-test-ulps: Update.
20460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20461
7fda5682
JM
20462 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20463 csqrt, ctan and ctanh.
20464 * math/auto-libm-test-out: Regenerated.
20465 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20466 (TEST_COND_x86): Likewise.
20467 (ccos_test_data): Use AUTO_TESTS_c_c.
20468 (ccosh_test_data): Likewise.
20469 (cexp_test_data): Likewise.
20470 (clog_test_data): Likewise.
20471 (csqrt_test_data): Likewise.
20472 (ctan_test_data): Likewise.
20473 (ctan_tonearest_test_data): Likewise.
20474 (ctan_towardzero_test_data): Likewise.
20475 (ctan_downward_test_data): Likewise.
20476 (ctan_upward_test_data): Likewise.
20477 (ctanh_test_data): Likewise.
20478 (ctanh_tonearest_test_data): Likewise.
20479 (ctanh_towardzero_test_data): Likewise.
20480 (ctanh_downward_test_data): Likewise.
20481 (ctanh_upward_test_data): Likewise.
20482 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20483 mpc_c_c.
20484 (func_calc_desc): Add mpc_c_c union field.
20485 (FUNC_mpc_c_c): New macro.
20486 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20487 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20488 ctanh.
20489 (special_fill_min_subnorm_p120): New function.
20490 (special_real_inputs): Add min_subnorm_p120.
20491 (calc_generic_results): Handle mpc_c_c.
20492 * sysdeps/i386/fpu/libm-test-ulps: Update.
20493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20494
5ff8d60e
SP
204952013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20496
57f41c40
AS
20497 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20498 (do_sin_slow): New functions.
20499 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20500 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20501
84ba214c
SP
20502 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20503 Use M to change sign of result instead of X. Assume X is
20504 positive.
20505 (csloww1): Likewise.
20506 (__sin): Adjust.
20507 (__cos): Adjust.
20508
975195e4
SP
20509 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20510 arguments A and DA.
20511 (__sin): Adjust.
20512 (__cos): Likewise.
20513
5ff8d60e
SP
20514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20515 (__cos): Likewise.
20516 (sloww1): Don't adjust sign of DX.
20517 (csloww1): Likewise.
20518 (sloww2): Use X directly and don't adjust sign of DX.
20519 (csloww2): Likewise.
20520
eb983568
JM
205212013-12-19 Joseph Myers <joseph@codesourcery.com>
20522
64a17f1a
JM
20523 * math/auto-libm-test-in: Add tests of cabs and carg.
20524 * math/auto-libm-test-out: Regenerated.
20525 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20526 (carg_test_data): Likewise.
20527 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20528 mpc_c_f.
20529 (func_calc_desc): Add mpc_c_f union field.
20530 (test_functions): Add cabs and carg.
20531 (calc_generic_results): Handle mpc_c_f.
20532
eb983568
JM
20533 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20534 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20535 as a macro and a compat symbol.
20536 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20537 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20538 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20539 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20540 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20542 not use .hidden.
20543 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20544 Likewise.
20545 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20546 Likewise.
20547 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20548 Likewise.
20549 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20550 Likewise.
20551 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20552 Likewise.
20553 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20554 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20555 from GLIBC_2.3.2.
20556
6eeb678a
AZ
205572013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20558
20559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20560
6f6fc482
JM
205612013-12-19 Joseph Myers <joseph@codesourcery.com>
20562
21fea2e2
JM
20563 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20564 trailing whitespace removed.
20565 * scripts/config.guess: Update to version 2013-11-29.
20566 * scripts/config.sub: Update to version 2013-10-01.
20567
6f6fc482
JM
20568 * math/auto-libm-test-in: Add tests of sincos.
20569 * math/auto-libm-test-out: Regenerated.
20570 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20572 mpfr_f_11.
20573 (func_calc_desc): Add mpfr_f_11 union field.
20574 (test_functions): Add sincos.
20575 (calc_generic_results): Handle mpfr_f_11.
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578
83f5c32d
AS
205792013-12-19 Andreas Schwab <schwab@suse.de>
20580
20581 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20582 CALL_MCOUNT.
20583 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20584 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20585 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20586
c688b419
JM
205872013-12-19 Joseph Myers <joseph@codesourcery.com>
20588
335ee092
JM
20589 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20590 * sysdeps/i386/fpu/libm-test-ulps: Update.
20591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20592
f88acd39
JM
20593 [BZ #16293]
20594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20595 round-to-nearest mode when using frndint.
20596 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20597 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20598 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20599 Likewise.
20600 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20601 sinh test to fail.
20602 * math/auto-libm-test-out: Regenerated.
20603 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20604 (TEST_COND_x86): Likewise.
20605 (expm1_tonearest_test_data): New array.
20606 (expm1_test_tonearest): New function.
20607 (expm1_towardzero_test_data): New array.
20608 (expm1_test_towardzero): New function.
20609 (expm1_downward_test_data): New array.
20610 (expm1_test_downward): New function.
20611 (expm1_upward_test_data): New array.
20612 (expm1_test_upward): New function.
20613 (main): Run the new test functions.
20614 * sysdeps/i386/fpu/libm-test-ulps: Update.
20615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20616
c688b419
JM
20617 * include/features.h: Update comment documenting feature test
20618 macros. Mention _DEFAULT_SOURCE in comment.
20619 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20620 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20621 _BSD_SOURCE and _SVID_SOURCE.
20622 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20623 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20624 !_SVID_SOURCE]: Likewise.
20625 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20626 (__USE_POSIX_IMPLICITLY): Define.
20627 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20628 (_POSIX_SOURCE): Undefine and redefine.
20629 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20630 (_POSIX_C_SOURCE): Likewise.
20631 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20632 (Feature Test Macros): Update documentation of default features.
20633
9f6e964c
RS
206342013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20635
20636 * benchtests/Makefile: Add bench-strtok.
20637 * benchtests/bench-strtok.c: New file: strtok benchtest.
20638
ee0a148a
AM
206392013-12-19 Allan McRae <allan@archlinux.org>
20640
20641 * manual/install.texi: Suppress menu for plain text output.
20642 * INSTALL: Regenerated.
20643
b9ab448f
BM
206442013-12-18 Brooks Moses <bmoses@google.com>
20645
20646 [BZ #15846]
20647 * misc/getauxval.c: Include errno.h.
20648 (__getauxval): Set errno to ENOENT if the requested type is not
20649 found.
20650 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20651 don't declare with __attribute_const__.
20652 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20653 * manual/startup.texi: Document that getauxval sets errno.
20654
23776487
JM
206552013-12-18 Joseph Myers <joseph@codesourcery.com>
20656
f889953b
JM
20657 * math/auto-libm-test-in: Add tests of jn and yn.
20658 * math/auto-libm-test-out: Regenerated.
20659 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20660 (yn_test_data): Likewise.
20661 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20662 mpfr_if_f.
20663 (func_calc_desc): Add mpfr_if_f union field.
20664 (FUNC_mpfr_if_f): New macro.
20665 (test_functions): Add jn and yn.
20666 (calc_generic_results): Assert type of second input for
20667 mpfr_ff_f. Handle mpfr_if_f.
20668 (output_for_one_input_case): Disable all checking for arguments
20669 fitting floating-point types in case of an integer argument.
20670 * sysdeps/i386/fpu/libm-test-ulps: Update.
20671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20672
23776487
JM
20673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20674 Don't expect fegetround reference in libm.so.
20675
cb756c6d
MS
206762013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20677
20678 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20679 $(config-cflags-nofma).
20680
2dec468f
JM
206812013-12-18 Joseph Myers <joseph@codesourcery.com>
20682
5953eb3a
JM
20683 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20684 * math/auto-libm-test-out: Regenerated.
20685
2dec468f
JM
20686 [BZ #16338]
20687 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20688 to determine exponent and adjust argument to have exponent of -1.
20689 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20690 log2.
20691 * math/auto-libm-test-out: Regenerated.
20692 * sysdeps/i386/fpu/libm-test-ulps: Update.
20693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20694
4d84e6ad
OB
206952013-12-18 Ondřej Bílka <neleai@seznam.cz>
20696
20697 * manual/probes.texi: Remove cases when per-thread arenas are
20698 disabled.
20699
1818483b
AS
207002013-12-18 Andreas Schwab <schwab@suse.de>
20701
20702 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20703 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20704 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20705 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20706 * sysdeps/i386/i686/multiarch/Makefile: Update.
20707 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20708
25de95bf
JM
207092013-12-17 Joseph Myers <joseph@codesourcery.com>
20710
20711 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20712 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20713
674762d9
PE
207142013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20715
ed27ed83 20716 [BZ #15968]
0748546f
PE
20717 Support TZ transition times < 00:00:00.
20718 This is needed for version-3 tz-format files; it supports time
20719 stamps past 2037 for America/Godthab (the only entry in the tz
20720 database for which this change is relevant).
20721 * manual/time.texi (TZ Variable): Document transition times
20722 from -167:59:59 through -00:00:01.
20723 * time/tzset.c (tz_rule): Time of day is now signed.
20724 (__tzset_parse_tz): Parse negative time of day.
20725
4480e934
PE
20726 Document TZ transition times >= 25:00:00.
20727 * manual/time.texi (TZ Variable): Document transition times from
20728 25:00:00 through 167:59:59. These are already supported, and this
20729 support will help with version-3 tz-format files.
20730
69947401
PE
20731 * manual/time.texi (TZ Variable): Modernize North America example
20732 to reflect current (i.e., 2007-and-later) daylight saving rules.
20733
674762d9
PE
20734 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20735
7011c262
JM
207362013-12-17 Joseph Myers <joseph@codesourcery.com>
20737
2fc6557e
JM
20738 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20739 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20740 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20741 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20742 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20743 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20744 * sysdeps/unix/bsd/clock.c: Likewise.
20745 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20746 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20747 * sysdeps/unix/bsd/init-posix.c: Likewise.
20748 * sysdeps/unix/bsd/poll.c: Likewise.
20749 * sysdeps/unix/bsd/ptsname.c: Likewise.
20750 * sysdeps/unix/bsd/seekdir.c: Likewise.
20751 * sysdeps/unix/bsd/setegid.c: Likewise.
20752 * sysdeps/unix/bsd/seteuid.c: Likewise.
20753 * sysdeps/unix/bsd/setgid.c: Likewise.
20754 * sysdeps/unix/bsd/setrgid.c: Likewise.
20755 * sysdeps/unix/bsd/setruid.c: Likewise.
20756 * sysdeps/unix/bsd/setsid.c: Likewise.
20757 * sysdeps/unix/bsd/setuid.c: Likewise.
20758 * sysdeps/unix/bsd/sigaction.c: Likewise.
20759 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20760 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20761 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20762 * sysdeps/unix/bsd/telldir.c: Likewise.
20763 * sysdeps/unix/bsd/times.c: Likewise.
20764 * sysdeps/unix/bsd/usleep.c: Likewise.
20765
029c7b25
JM
20766 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20767 ($(objpfx)libbsd-compat.a): Remove rule.
20768
7011c262
JM
20769 * include/features.h (__FAVOR_BSD): Do not define.
20770 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20771 features conflicting with POSIX.
20772 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20773 (_BSD_SOURCE): Remove description of not being a subset of other
20774 feature test macros.
20775 * manual/job.texi (getpgrp): Do not document BSD version.
20776 (getpgid): Do not document by reference to BSD getpgrp.
20777 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20778 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20779 * signal/signal.h [__FAVOR_BSD]: Likewise.
20780 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20781 instead of making contents conditional on [__FAVOR_BSD].
20782 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20783
affb6f78
AZ
207842013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20785
20786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20787
c88769dd
JM
207882013-12-17 Joseph Myers <joseph@codesourcery.com>
20789
6432a540
JM
20790 [BZ #16314]
20791 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20792 values below 2**-450, not 2**-500.
20793 * math/auto-libm-test-in: Don't allow spurious underflow from
20794 hypot.
20795 * math/auto-libm-test-out: Regenerated.
20796
c88769dd
JM
20797 [BZ #16316]
20798 [BZ #16330]
20799 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20800 values of ha and hb and sort them after adjusting subnormal
20801 arguments.
20802 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20803 Likewise.
20804 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20805 values of ea and eb and sort them after adjusting subnormal
20806 arguments.
20807 * math/auto-libm-test-in: Do not expect some hypot tests of
20808 subnormals to fail. Add more hypot tests.
20809 * math/auto-libm-test-out: Regenerated.
20810
29618f6b
KK
208112013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20812
20813 [BZ #13304]
20814 * sysdeps/sh/s_fma.c: New file.
20815 * sysdeps/sh/s_fmaf.c: New file.
20816 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20817 version.
20818 * sysdeps/sh/Implies: Add sh/soft-fp.
20819
eacfdfbf
RM
208202013-12-16 Roland McGrath <roland@hack.frob.com>
20821
20822 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20823 level of indirection to members `objname', `errstring', `malloced'.
20824 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20825 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20826 it as the __longjmp argument (just pass 1 instead).
20827 (_dl_catch_error): Initialize C with argument pointers and address of
20828 volatile local ERRCODE rather than copying values out of C at return.
20829
ff362e5b
JM
208302013-12-16 Joseph Myers <joseph@codesourcery.com>
20831
20832 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20833 * math/auto-libm-test-out: Regenerated.
20834 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20835 (hypot_test_data): Likewise.
20836 (pow_test_data): Likewise.
20837 (pow_tonearest_test_data): Likewise.
20838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20839 mpfr_ff_f.
20840 (func_calc_desc): Add mpfr_ff_f union field.
20841 (FUNC_mpfr_ff_f): New macro.
20842 (test_functions): Add atan2, hypot and pow.
20843 (special_fill_min): New function.
20844 (special_fill_minus_min): Likewise.
20845 (special_fill_min_subnorm): Likewise.
20846 (special_fill_minus_min_subnorm): Likewise.
20847 (special_real_inputs): Add min, -min, min_subnorm and
20848 -min_subnorm.
20849 (calc_generic_results): Handle mpfr_ff_f.
20850 * sysdeps/i386/fpu/libm-test-ulps: Update.
20851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20852
5764c27f
WN
208532013-12-16 Will Newton <will.newton@linaro.org>
20854
20855 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20856 (Aligned Memory Blocks): Add documentation for aligned_alloc
20857 and suggest it as an alternative to posix_memalign.
20858 (Hooks for Malloc): Document __memalign_hook is also called
20859 for aligned_alloc. (Summary of Malloc): Add summary for
20860 aligned alloc. Document __memalign_hook is also called
20861 for aligned_alloc.
20862
0a096e44
WN
208632013-12-16 Will Newton <will.newton@linaro.org>
20864
20865 * manual/memory.texi (Malloc Examples): Clarify default
20866 alignment documentation. Suggest posix_memalign rather
20867 than memalign or valloc.
20868 (Aligned Memory Blocks): Remove suggestion to use memalign
20869 or valloc. Remove obsolete comment about BSD.
20870 Document memalign errno values and mark the function obsolete.
20871 Document posix_memalign returned error codes. Mark valloc
20872 as obsolete. (Hooks for Malloc): __memalign_hook is also
20873 called for posix_memalign and valloc.
20874 (Summary of Malloc): Add posix_memalign to function summary.
20875 __memalign_hook is also called for posix_memalign and valloc.
20876
8d561986
SP
208772013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20878
20879 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20880 TAYLOR_SIN.
20881 (__sin): Adjust.
20882 (__cos): Likewise.
20883 (sloww): Use mynumber union. Expand ternary operator into
20884 if-else statements.
20885 (cslow): use mynumber union.
20886
73616a74
AM
208872013-12-16 Allan McRae <allan@archlinux.org>
20888
9e8ac24b
AM
20889 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20890 * configure: Regenerated.
20891
6f8e37eb
AM
20892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20893
8894bad3
AM
20894 [BZ #14120]
20895 * configure.ac: Added --enable-maintainer-mode. Check for
20896 autoconf when enabled.
20897 * configure: Regenerated.
20898
73616a74
AM
20899 * nscd/nscd.service: New file.
20900 * nscd/nscd.tmpfiles: New file.
20901
584b18eb
OB
209022013-12-14 Ondřej Bílka <neleai@seznam.cz>
20903
20904 [BZ #12100]
20905 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20906 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20907 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20908 (strstr): Add __strstr_sse2_unaligned ifunc.
20909 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20910 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20911 (strcasestr): Remove __strcasestr_sse42 ifunc.
20912 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20915
8a5c7897
KK
209162013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20917
20918 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20919 * sysdeps/sh/bits/fenv.h: ... here.
20920 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20921
fd712ef3
AZ
209222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20923
20924 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20925
42fcb46c
AZ
20926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20927 hypotf multiarch implementations.
20928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20931 multiarch hypot for PPC64.
20932 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20933 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20934 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20935 multiarch hypotf for PPC64.
20936
83efded4
AZ
20937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20938 modff multiarch implementations.
20939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20942 multiarch modf for PPC64.
20943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20946 multiarch modff for PPC64.
20947
43e246d2
AZ
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20949 and logl multiarch implementations.
20950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20953 multiarch logb for PPC64.
20954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20957 multiarch logb for PPC64.
20958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20961 multiarch logb for PPC64.
20962
8fdad123
AZ
20963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20964 isinff multiarch implementation.
20965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20966 file.
20967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20969 multiarch isinf for PPC64.
20970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20971 file.
20972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20973 multiarch isinff for PPC64.
20974
1481d706
AZ
20975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20976 finitef multiarch implementation.
20977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20978 file.
20979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20981 multiarch finite for PPC64.
20982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20983 file.
20984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20985 multiarch finitef for PPC64.
20986
5ccd5fc8
AZ
20987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20988 lrint multiarch implementation.
20989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20990 file.
20991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20993 multiarch llrint for PPC64.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20995 multiarch lrint for PPC64.
20996
2568f3fa
AZ
20997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20998 copysignf multiarch implementation.
20999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21000 file.
21001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21002 file.
21003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21004 multiarch copysign for PPC64.
21005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21006 multiarch copysignf for PPC64.
21007
1cb341fd
AZ
21008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21009 multiarch implementation.
21010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21011 file.
21012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21013 file.
21014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21015 file.
21016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21017 file.
21018 multiarch llround for PPC64.
21019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21020 multiarch trunc for PPC64.
21021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21022 multiarch truncf for PPC64.
21023
59a3e194
AZ
21024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21025 multiarch implementation.
21026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21027 file.
21028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21029 file.
21030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21031 file.
21032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21033 file.
21034 multiarch llround for PPC64.
21035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21036 multiarch round for PPC64.
21037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21038 multiarch roundf for PPC64.
21039
357fd3b4
AZ
21040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21041 multiarch implementation.
21042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21043 file.
21044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21045 file.
21046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21047 file.
21048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21049 file.
21050 multiarch llround for PPC64.
21051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21052 multiarch floor for PPC64.
21053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21054 multiarch floorf for PPC64.
21055
96770f12
AZ
21056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21057 multiarch implementation.
21058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21059 file.
21060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21061 file.
21062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21063 file.
21064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21065 file.
21066 multiarch llround for PPC64.
21067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21068 multiarch ceil for PPC64.
21069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21070 multiarch ceilf for PPC64.
21071
c3627f6e
AZ
21072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21073 multiarch implementation.
21074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21075 file.
21076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21077 file.
21078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21079 file.
21080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21081 multiarch llround for PPC64.
21082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21083 multiarch lround for PPC64.
21084
b2284ad7
AZ
21085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21086 multiarch implementation.
21087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21090 file.
21091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21094 multiarch isnan for PPC64.
21095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21096 multiarch isnanf for PPC64.
21097
69bbc63d
AZ
21098 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21099 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21100 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21101 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21102 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21104
c24517c9
AZ
21105 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21106 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21107 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21109
a52374e8
AZ
21110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21111 multiarch implementations.
21112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21113 (__libc_ifunc_impl_list): Likewise.
21114 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21115 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21116 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21117 multiarch stpcpy for PPC64.
21118
7f5ec113
AZ
21119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21120 multiarch implementations.
21121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21122 (__libc_ifunc_impl_list): Likewise.
21123 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21124 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21125 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21126 multiarch strcpy for PPC64.
21127
e28bcd42
AZ
21128 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21129 redefine function name.
21130 (_wordcopy_fwd_dest_aligned): Likewise.
21131 (_wordcopy_bwd_aligned): Likewise.
21132 (_wordcopy_bwd_dest_aligned): Likewise.
21133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21134 multiarch implementations.
21135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21136 (__libc_ifunc_impl_list): Likewise.
21137 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21138 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21139 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21140 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21141 multiarch wcscpy for PPC64.
21142
92cacfce
AZ
21143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21144 multiarch implementations.
21145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21146 (__libc_ifunc_impl_list): Likewise.
21147 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21149 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21150 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21151 multiarch wcscpy for PPC64.
21152
7b714620
AZ
21153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21154 multiarch implementations.
21155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21156 (__libc_ifunc_impl_list): Likewise.
21157 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21158 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21159 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21160 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21161 multiarch wcsrchr for PPC64.
21162
16fd2ae3
AZ
21163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21164 multiarch implementations.
21165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21166 (__libc_ifunc_impl_list): Likewise.
21167 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21168 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21169 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21170 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21171 multiarch wcschr for PPC64.
21172
9ee2969b
AZ
21173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21174 multiarch implementations.
21175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21176 (__libc_ifunc_impl_list): Likewise.
21177 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21178 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21179 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21180 multiarch strchrnul for PPC64.
21181
372dc060
AZ
21182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21183 implementations.
21184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21185 (__libc_ifunc_impl_list): Likewise.
21186 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21187 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21188 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21189 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21190 strchr for PPC64.
21191
24c2c3b9
AZ
21192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21193 implementations.
21194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21195 (__libc_ifunc_impl_list): Likewise.
21196 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21197 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21198 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21199 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21200 strncmp for PPC64.
21201
1c92d9a0
AZ
21202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21203 multiarch implementations.
21204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21205 (__libc_ifunc_impl_list): Likewise.
21206 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21207 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21208 strncasecmp for PPC64.
21209 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21210 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21211 multiarch strncasecmp_l for PPC64.
21212
17de3ee3
AZ
21213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21214 multiarch implementations.
21215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21216 (__libc_ifunc_impl_list): Likewise.
21217 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21218 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21219 multiarch strcasecmp for PPC64.
21220 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21221 file.
21222 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21223 multiarch strcasecmp_l for PPC64.
21224
62982bf9
AZ
21225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21226 implementations.
21227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21228 (__libc_ifunc_impl_list): Likewise.
21229 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21230 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21231 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21232 strnlen for PPC64.
21233
a65f4904
AZ
21234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21235 implementations.
21236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21237 (__libc_ifunc_impl_list): Likewise.
21238 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21239 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21240 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21241 strlen for PPC64.
21242
1fd005ad
AZ
21243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21244 implementations.
21245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21246 (__libc_ifunc_impl_list): Likewise.
21247 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21248 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21249 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21250 rawmemrchr for PPC64.
21251
cd05ba91
AZ
21252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21253 implementation.
21254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21255 (__libc_ifunc_impl_list): Likewise.
21256 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21257 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21258 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21259 memrchr for PPC64.
21260
870f8676
AZ
21261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21262 implementation.
21263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21264 (__libc_ifunc_impl_list): Likewise.
21265 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21266 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21267 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21268 memchr for PPC64.
21269
f00be62b
AZ
21270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21271 implementation.
21272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21273 (__libc_ifunc_impl_list): Likewise.
21274 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21275 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21276 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21277 mempcpy for PPC64.
21278
8a29a3d0
AZ
21279 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21280 avoid cretion of __bzero symbol.
21281 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21282 Likewise.
21283 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21284 Likewise.
21285 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21286 Likewise.
21287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21288 multiarch implementations.
21289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21290 (__libc_ifunc_impl_list): Likewise.
21291 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21292 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21293 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21294 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21295 bzero for PPC32.
21296 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21297 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21298 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21299 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21300 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21301 memset for PPC64.
21302 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21303
07253fcf
AZ
21304 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21306 implementations.
21307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21308 (__libc_ifunc_impl_list): Likewise.
21309 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21310 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21311 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21312 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21313 memcmp for PPC64.
21314
b5beafbc
AZ
21315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21316 multiarch for POWER/PPC64.
21317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21318 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21319 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21320 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21321 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21322 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21323 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21324 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21325 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21326 memcpy for PPC64.
21327
5e6a4d4b
AZ
21328 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21329 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21330 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21331 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21332 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21333 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21334 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21335 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21336 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21337 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21338 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21339 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21340 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21341 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21342 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21350
ddfab6dc
KK
213512013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21352
21353 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21354
19b5525e
SP
213552013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21356
21357 * benchtests/Makefile (bench): Add exp2 and log2.
21358 (LDLIBS-bench-exp2): Add -lm.
21359 (LDLIBS-bench-log2): Likewise.
21360 * benchtests/exp2-inputs: New inputs file.
21361 * benchtests/log2-inputs: New inputs file.
21362 * benchtests/log-inputs: Add new inputs.
21363 * benchtests/tan-inputs: Likewise.
21364
196f7f5d
SP
213652013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21366
7a74607f
SP
21367 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21368 definition...
57f41c40
AS
21369 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21370 (csloww2): ... from here.
7a74607f 21371
196f7f5d
SP
21372 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21373 instead of structures.
21374 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21375 (POLYNOMIAL): Likewise.
21376 (TAYLOR_SLOW): Likewise.
21377 (__sin): Likewise.
21378 (__cos): Likewise.
21379 (slow1): Likewise.
21380 (slow2): Likewise.
21381 (sloww): Likewise.
21382 (sloww1); Likewise.
21383 (sloww2): Likewise.
21384 (bsloww1): Likewise.
21385 (bsloww2): Likewise.
21386 (cslow2): Likewise.
21387 (csloww): Likewise.
21388 (csloww1): Likewise.
21389 (csloww2): Likewise.
21390
0dfa665c
OB
213912013-12-10 Ondřej Bílka <neleai@seznam.cz>
21392
21393 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21394 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21395 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21396 * malloc/hooks.c (realloc_check): Likewise.
21397
5782a80f
OB
21398 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21399 * malloc/arena.c: Remove PER_THREAD conditional.
21400 [!PER_THREAD]: Remove code.
21401 (ptmalloc_unlock_all2): Likewise.
21402 (ptmalloc_init): Likewise.
21403 (_int_new_arena): Likewise.
21404 (arena_get2): Likewise.
21405 * malloc/hooks.c (__malloc_get_state): Likewise.
21406 (__malloc_set_state): Likewise.
21407 * malloc/malloc.c: Likewise.
21408 (struct malloc_state): Likewise.
21409 (struct malloc_par): Likewise.
21410 (__libc_realloc): Likewise.
21411 (__libc_mallopt): Likewise.
21412
aeb95445
AZ
214132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21414
21415 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21416
e8349efd
OB
214172013-12-09 Ondřej Bílka <neleai@seznam.cz>
21418
21419 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21420 macro to a function. Check for zero perturb_byte.
21421 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21422
f3eeb3fc 21423 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21424 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21425 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21426 force_reg by atomic_forced_read.
21427 * malloc/arena.c (ptmalloc_init): Likewise.
21428 * malloc/hooks.c (top_check): Likewise.
21429
be2f9009
AZ
214302013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21431
21432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21433
e7b914bd
MT
214342013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21435
21436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21437
9f0be4f8
JM
214382013-12-08 Joseph Myers <joseph@codesourcery.com>
21439
21440 * math/auto-libm-test-in: Add tests of lgamma.
21441 * math/auto-libm-test-out: Regenerated.
21442 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21443 (M_LOG_2_SQRT_PIl): Likewise.
21444 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21445 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21446 mpfr_f_f1.
21447 (func_calc_desc): Add mpfr_f_f1 union field.
21448 (ARGS1): New macro.
21449 (ARGS2): Likewise.
21450 (ARGS3): Likewise.
21451 (ARGS4): Likewise.
21452 (RET1): Likewise.
21453 (RET2): Likewise.
21454 (CALC): Likewise.
21455 (FUNC): Likewise.
21456 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21457 (test_functions): Add lgamma.
21458 (calc_generic_results): Handle mpfr_f_f1.
21459 * sysdeps/i386/fpu/libm-test-ulps: Update.
21460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21461
24eeafdb
AZ
214622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21463
21464 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21465 __mpn_add_n for PowerPC64/POWER7.
21466 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21467 __mpn_sub_n for PowerPC64/POWER7.
21468
4a2c0fd4
AZ
21469 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21470 __mpn_addmul_1 for PowerPC64.
21471 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21472 __mpn_submul_1 for PowerPC64.
21473 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21474 for PowerPC64.
21475 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21476 for PowerPC64.
21477
4b5b548c
FS
214782013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21479
21480 [BZ #15089]
21481 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21482
0a3ac0aa
AZ
214832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21484
21485 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21486
ccdc8438
AZ
21487 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21488 add multiarch folders.
21489 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21490 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21491 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21492 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21493 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21494 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21495 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21496 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21497 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21498 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21499 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21506
2e973d99
AZ
21507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21508 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21510 New file.
21511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21512 New file.
21513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21514 multiarch __ieee754_hypot for PowerPC32.
21515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21516 New file.
21517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21518 New file.
21519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21520 multiarch __ieee754_hypotf for PowerPC32.
21521
2d9470b2
AZ
21522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21523 long_double_symbol only if __logbl is defined.
21524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21525 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21527 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21529 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21530 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21531 path for implementation.
21532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21533 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21535 logb, and logbl multiarch implementations for PowerPC32.
21536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21537 file.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21539 file.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21541 multiarch logb for PowerPC32.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21543 file.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21545 file.
21546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21547 multiarch logbf for PowerPC32.
21548 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21550 file.
21551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21552 multiarch logbl implementation for PowerPC32.
21553
5212ffce
AZ
21554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21555 and modff multiarch implementations.
21556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21557 New file.
21558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21559 New file.
21560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21561 multiarch modf for PowerPC32.
21562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21563 New file.
21564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21565 New file.
21566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21567 multiarch modff for PowerPC32.
21568
79dccf31
AZ
21569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21570 and lrintf multiarch implementations.
21571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21572 New file.
21573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21574 New file.
21575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21576 multiarch lrint for PowerPC32.
21577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21578 file: multiarch lrintf for PowerPC32.
21579
deb66480
AZ
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21581 and lroundf multiarch implementations.
21582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21583 New file.
21584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21585 New file.
21586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21587 New file.
21588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21589 multiarch lround for PowerPC32.
21590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21591 file: multiarch lroundf for PowerPC32.
21592
264b036b
AZ
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21594 copysign and copysignf multiarch implementations.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21596 New file.
21597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21598 New file.
21599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21600 file: multiarch copysign for PowerPC32.
21601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21602 file: multiarch copysignf for PowerPC32.
21603
d47db6c9
AZ
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21605 and truncf multiarch implementations.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21607 New file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21609 file.
21610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21611 multiarch trunc for PowerPC32.
21612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21613 New file.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21615 New file.
21616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21617 multiarch truncf for PowerPC32.
21618
ddb60b5a
AZ
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21620 and roundf multiarch implementations.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21622 New file.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21624 file.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21626 multiarch round for PowerPC32.
21627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21628 New file.
21629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21630 New file.
21631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21632 multiarch roundf for PowerPC32.
21633
bedcf49b
AZ
21634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21635 and floorf multiarch implementations.
21636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21637 New file.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21639 file.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21641 multiarch floor for PowerPC32.
21642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21643 New file.
21644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21645 New file.
21646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21647 multiarch floorf for PowerPC32.
21648
35ae5b40
AZ
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21650 and ceilf multiarch implementations.
21651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21652 New file.
21653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21654 file.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21656 multiarch ceil for PowerPC32.
21657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21658 New file.
21659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21660 file.
21661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21662 multiarch ceilf for PowerPC32.
21663
ae1a4cd9
AZ
21664 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21665 is defined.
21666 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21667 FINITEF is defined.
21668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21669 and finitef multiarch implementations.
21670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21671 New file.
21672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21673 file.
21674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21675 multiarch finite for PowerPC32.
21676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21677 New file.
21678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21679 file: multiarch finitef for PowerPC32.
21680
64fffd65
AZ
21681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21682 and isinff multiarch implementations.
21683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21684 file.
21685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21686 file.
21687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21688 multiarch isinf for PowerPC32.
21689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21690 New file.
21691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21692 multiarch isinff for PowerPC32.
21693
8e4e7ba2
AZ
21694 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21695 alias when __isnan is defined.
21696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21697 and isnanf multiarch implementations.
21698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21699 file.
21700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21701 file.
21702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21703 file.
21704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21705 file.
21706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21707 multiarch isnan for PowerPC32.
21708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21709 New file.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21711 New file.
21712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21713 multiarch isnanf for PowerPC32.
21714
ddba588e
AZ
21715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21716 and sqrtf multiarch implementations.
21717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21718 file.
21719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21720 file.
21721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21722 multiarch sqrt for PowerPC32.
21723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21724 file.
21725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21726 file.
21727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21728 multiarch sqrtf for PowerPC32.
21729
0f96a2f0
AZ
21730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21731 and llroundf multiarch implementations.
21732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21733 New file.
21734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21735 New file.
21736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21737 New file.
21738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21739 file: multiarch llround for PowerPC32.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21741 file: multiarch llroundf for PowerPC32.
21742
c9b5d79e
AZ
21743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21744 multiarch PowerPC32 fpu implementations.
21745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21746 New file.
21747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21748 New file.
21749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21750 multiarch llrint for PowerPC32.
21751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21752 New file.
21753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21754 New file.
21755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21756 file.
21757
9cbb3aab
AZ
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21759
ea5a72f8
AZ
21760 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21761 file.
21762 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21763 file.
21764 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21765 file.
21766 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21767 multiarch wordcopy for PPC32.
21768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21769 wordcopy objects.
21770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21771 (__libc_ifunc_impl_list): Likewise.
21772 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21773 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21774 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21775 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21777 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21778
93be09e7
AZ
21779 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21781 file.
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21783 file.
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21785 file.
21786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21787 multiarch wcscpy for PPC32.
21788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21789 multiarch objects.
21790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21791 (__libc_ifunc_impl_list): Likewise.
21792 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21793 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21794 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21795 sysdeps/powerpc/power6/wcscpy.c.
21796
bb04e529
AZ
21797 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21799 file.
21800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21801 file.
21802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21803 file.
21804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21805 multiarch wcsrchr for PPC32.
21806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21807 multiarch objects.
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21809 (__libc_ifunc_impl_list): Likewise.
21810 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21811 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21812 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21813 sysdeps/powerpc/power6/wcsrchr.c.
21814
05b5cd1c
AZ
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21816 file.
21817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21818 file.
21819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21821 multiarch wcschr for PPc32.
21822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21823 multiarch objects.
21824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21825 (__libc_ifunc_impl_list): Likewise.
21826 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21827 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21828 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21829 sysdeps/powerpc/power6/wcschr.c.
21830
ba964147
AZ
21831 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21832 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21833 file.
21834 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21835 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21836 file: multiarch strchr for PPC32.
21837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21838 multiarch objects.
21839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21840 (__libc_ifunc_impl_list): Likewise.
21841
31c81aaa
AZ
21842 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21843 name.
21844 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21845 file.
21846 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21847 file.
21848 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21849 multiarch strchrnul for PPC32.
21850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21851 multiarch objects.
21852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21853 (__libc_ifunc_impl_list): Likewise.
21854
0d0607d9
AZ
21855 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21856 file.
21857 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21858 multiarch strncasecmp for PPC32.
21859 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21860 file.
21861 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21862 multiarch strncasecmp_l for PPC32.
21863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21864 strncasecmp multiarch objects.
21865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21866 (__libc_ifunc_impl_list): Likewise.
21867
4dfd5c86
AZ
21868 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21869 file.
21870 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21871 multiarch strncasecmp for PPC32.
21872 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21873 New file.
21874 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21875 multiarch strcasecmp_l for PPC32.
21876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21877 multiarch objects.
21878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21879 (__libc_ifunc_impl_list): Likewise.
21880
a19e01a3
AZ
21881 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21882 file.
21883 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21884 file.
21885 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21886 multiarch strncmp for PPC32.
21887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21888 multiarch objects.
21889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21890 (__libc_ifunc_impl_list): Likewise.
21891
ae9cf7a2
AZ
21892 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21893 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21894 file.
21895 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21896 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21898 multiarch objects.
21899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21900 (__libc_ifunc_impl_list): Likewise.
21901
3148bb7d
AZ
21902 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21903 file.
21904 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21905 file.
21906 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21908 multiarch objects.
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21910 (__libc_ifunc_impl_list): Likewise.
21911
7af8b946
AZ
21912 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21913 file.
21914 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21915 file.
21916 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21917 multiarch rawmemchr for PPC32.
21918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21919 multiarch objects.
21920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21921 (__libc_ifunc_impl_list): Likewise.
21922
03a6aa6a
AZ
21923 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21924 file.
21925 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21926 file.
21927 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21928 file: memrchr multiarch for PPC32.
21929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21930 multiarch objects.
21931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21932 (__libc_ifunc_impl_list): Likewise.
21933
1c62e6d9
AZ
21934 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21935 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21936 file.
21937 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21938 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21939 multiarch memchr for PPC32.
21940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21941 multiarch objects.
21942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21943 (__libc_ifunc_impl_list): Likewise.
21944
87da8bdb
AZ
21945 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21946 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21947 file.
21948 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21949 file.
21950 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21951 file: multiarch mempcpy for PPC32.
21952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21953 multiarch objects.
21954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21955 (__libc_ifunc_impl_list): Likewise.
21956
20ed4714
AZ
21957 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21958 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21959 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21960 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21961 multiarch bzero for PPC32.
21962 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21963 file.
21964 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21965 file.
21966 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21967 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21968 file: multiarch memset for PPC32.
21969 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21971 memset multiarch objects.
21972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21973 (__libc_ifunc_impl_list): Likewise.
21974
ab3e3a46
AZ
21975 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21976 file.
21977 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21979 memcmp for PPC32.
21980 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21982 multiarch objects.
21983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21984 (__libc_ifunc_impl_list): Likewise.
21985
930de6f0
AZ
21986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21989 file.
21990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21991 file.
21992 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21993 file.
21994 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21995 multiarch memcpy for PPC32.
21996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21997 multiarch objects.
21998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21999 (__libc_ifunc_impl_list): Likewise.
22000
4c628e00
AZ
22001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22002 support multiarch for POWER/PPC32.
22003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22004 Likewise.
22005 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22007 Implies file to make multiarch folder appers before the fpu and
22008 default folder for power4 configuration.
22009
f4479220
SP
220102013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22011
22012 * scripts/bench.pl: Append volatile keyword to type.
22013
8517800f
KK
220142013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22015
22016 * sysdeps/sh/sotruss-lib.c: New file.
22017 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22018
180138f1
AZ
220192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22020
22021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22022
bbf37bdc
JM
220232013-12-05 Joseph Myers <joseph@codesourcery.com>
22024
e47cc4e0
JM
22025 [BZ #6810]
22026 * math/w_tgamma.c: Include <errno.h>.
22027 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22028 * math/w_tgammaf.c: Include <errno.h>.
22029 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22030 * math/w_tgammal.c: Include <errno.h>.
22031 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22032 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22033 underflow. Add more tgamma tests.
22034 * math/auto-libm-test-out: Regenerated.
22035 * sysdeps/i386/fpu/libm-test-ulps: Update.
22036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22037
bbf37bdc
JM
22038 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22039 sin, sinh, tan, tanh, tgamma, y0 and y1.
22040 * math/auto-libm-test-out: Regenerated.
22041 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22042 (TEST_COND_x86): Likewise.
22043 (M_E2l): Remove macro.
22044 (M_E3l): Likewise.
22045 (M_2_SQRT_PIl): Likewise.
22046 (M_SQRT_PIl): Likewise.
22047 (M_1_DIV_El): Likewise.
22048 (log_test_data): Use AUTO_TESTS_f_f.
22049 (log10_test_data): Likewise.
22050 (log1p_test_data): Likewise.
22051 (log2_test_data): Likewise.
22052 (sin_test_data): Likewise.
22053 (sin_tonearest_test_data): Likewise.
22054 (sin_towardzero_test_data): Likewise.
22055 (sin_downward_test_data): Likewise.
22056 (sin_upward_test_data): Likewise.
22057 (sinh_test_data): Likewise.
22058 (sinh_tonearest_test_data): Likewise.
22059 (sinh_towardzero_test_data): Likewise.
22060 (sinh_downward_test_data): Likewise.
22061 (sinh_upward_test_data): Likewise.
22062 (tan_test_data): Likewise.
22063 (tan_tonearest_test_data): Likewise.
22064 (tan_towardzero_test_data): Likewise.
22065 (tan_downward_test_data): Likewise.
22066 (tan_upward_test_data): Likewise.
22067 (tanh_test_data): Likewise.
22068 (tgamma_test_data): Likewise.
22069 (y0_test_data): Likewise.
22070 (y1_test_data): Likewise.
22071 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22072 (special_real_inputs): Add pi/4.
22073 * sysdeps/i386/fpu/libm-test-ulps: Update.
22074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22075
eb5ad6b9
AZ
220762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22077
22078 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22079 "longjmp_target" static probes.
22080 (__longjmp): Rename to __longjmp_symbol.
22081 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22082 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22083 on which longjmp to generate.
22084 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22085 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22086 probe.
22087 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22088 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22089 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22090 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22091 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22092 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22094 __longjmp_symbol based on which __longjmp to generate.
22095 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22096 probe.
22097 (setjmp): Rename to setjmp_symbol.
22098 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22099 (_setjmp): Rename to _setjmp_symbol.
22100 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22101 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22102 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22103 which setjmp to generate.
22104 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22105 "longjmp_target" static probes.
22106
d136c6dc
SP
221072013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22108
9298ecba
SP
22109 * benchtests/README: Add note about output arguments.
22110 * benchtests/bench-sincos.c: Remove file.
22111 * benchtests/sincos-inputs: New file.
22112 * scripts/bench.pl: Identify output arguments and define
22113 static variables for them.
22114
232983e9
SP
22115 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22116
d136c6dc
SP
22117 [BZ #15941]
22118 * Makefile (INSTALL): Add install-plain.texi as the primary
22119 dependency.
22120 * manual/install-plain.texi: New file.
22121 * manual/install.texi: Include node directive only for
22122 non-plaintext output.
22123
699ff837
JM
221242013-12-04 Joseph Myers <joseph@codesourcery.com>
22125
ab07cea8
JM
22126 * stdlib/longlong.h: Update from GCC.
22127
699ff837
JM
22128 [BZ #6807]
22129 [BZ #15901]
22130 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22131 * math/w_j0f.c (y0f): Likewise.
22132 * math/w_j0l.c (__y0l): Likewise.
22133 * math/w_j1.c (y1): Likewise.
22134 * math/w_j1f.c (y1f): Likewise.
22135 * math/w_j1l.c (__y1l): Likewise
22136 * math/w_jn.c (yn): Likewise.
22137 * math/w_jnf.c (ynf): Likewise.
22138 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22139 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22140 value for Bessel function domain errors outside _SVID_ mode.
22141 Adjust sign of return value for yn (negative integer, 0).
22142 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22143 by zero in return for negative x and set sign appropriately for
22144 negative n.
22145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22146 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22147 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22148 expectations in error cases.
22149 (y1_test_data): Likewise.
22150 (yn_test_data): Likewise.
22151 * sysdeps/i386/fpu/libm-test-ulps: Update.
22152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22153
5b118558
UW
221542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22155
22156 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22157 "64" to "64-v1". Add "64-v2".
22158 (abi-64-options): Rename to ...
22159 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22160 (abi-64-condition): Rename to ...
22161 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22162 (abi-64-ld-soname): Rename to ...
22163 (abi-64-v1-ld-soname): ... this.
22164 (abi-64-v2-options): Define.
22165 (abi-64-v2-condition): Likewise.
22166 (abi-64-v2-ld-soname): Likewise.
22167 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22168 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22172
61cd8fe4
UW
221732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22174 Alan Modra <amodra@gmail.com>
22175
22176 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22177 New versions for use with the ELFv2 ABI.
22178 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22179 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22180 declaration.
22181 (struct La_ppc64v2_retval): Likewise.
22182 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22183 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22184 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22185 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22186 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22188 Do not save or restore CR.
22189 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22190 (_dl_profile_resolve): Do no save or restore CR. Support extended
22191 return values for ELFv2 ABI. Fix location of FPR return registers.
22192 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22193 updated values for _CALL_ELF == 2.
22194 (La_regs, La_retval, int_retval): Likewise.
22195
8b8a692c
UW
221962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22197
22198 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22199 (FRAME_MIN_SIZE_PARM): Likewise.
22200 (FRAME_BACKCHAIN): Likewise.
22201 (FRAME_CR_SAVE): Likewise.
22202 (FRAME_LR_SAVE): Likewise.
22203 (FRAME_TOC_SAVE): Likewise.
22204 (FRAME_PARM_SAVE): Likewise.
22205 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22206 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22207 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22208 (call_mcount_parm_offset): New macro.
22209 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22210 (PROF): Use symbolic stack frame offsets.
22211 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22212 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22213 Redefine in terms of FRAME_MIN_SIZE.
22214 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22215 (_dl_profile_resolve): Likewise. Update comment.
22216 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22217 symbols stack frame offsets.
22218 (__sigsetjmp): Likewise.
22219 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22220 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22221 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22222 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22223
22224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22225 (FRAME_BACKCHAIN): Remove.
22226 (FRAME_CR_SAVE): Likewise.
22227 (FRAME_LR_SAVE): Likewise.
22228 (FRAME_COMPILER_DW): Likewise.
22229 (FRAME_LINKER_DW): Likewise.
22230 (FRAME_TOC_SAVE): Likewise.
22231 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22232 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22233 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22234 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22236 (CHECK_SP): Use symbolic stack frame offsets.
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22238 zone" instead of caller's parameter save area for temp storage.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22240 Likewise. Also, use symbolic stack frame offsets.
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22242 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22243 our own stack frame instead of the caller's.
22244 (__socket): Use symbolic stack frame offsets.
22245
122b66de
UW
222462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22247 Alan Modra <amodra@gmail.com>
22248
22249 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22250 Define.
57f41c40
AS
22251 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22252 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22253 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22254 New function.
22255 (elf_machine_fixup_plt): Call it.
22256 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22257 reloc arguments.
22258 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22259 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22260 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22261 r2 before calling target.
22262
696caf1d
UW
222632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22264 Alan Modra <amodra@gmail.com>
22265
22266 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22267 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22268 versions of macros to support ELFv2 ABI.
22269 (LOCALENTRY): New macro.
22270 (ENTRY, EALIGN): Use it.
22271 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22272 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22273 fall through into ENTRY entry point.
22274 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22275 Only define if _CALL_ELF != 2.
22276
22277 (elf_machine_matches_host): Verify ABI version matches.
22278 (RTLD_START): Use LOCALENTRY.
22279 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22280 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22281 (PLT_ENTRY_WORDS): New macro.
22282 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22283 (elf_machine_runtime_setup): Support ELFv2 ABI.
22284 (elf_machine_fixup_plt): Likewise.
22285 (elf_machine_plt_conflict): Likewise.
22286 (resolve_ifunc): Likewise.
22287 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22288 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22289 Likewise.
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22291 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22293 (makecontext): Support ELFv2 ABI.
22294 * elf/elf.h (EF_PPC64_ABI): Define.
22295
d31beafa
UW
222962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22297
57f41c40
AS
22298 * sysdeps/powerpc/powerpc64/sysdep.h
22299 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22300 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22301 (ENTRY) [ASSEMBLER]: ... but instead here ...
22302 (EALIGN) [ASSEMBLER]: ... and here.
22303 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22304 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22305 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22306 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22307 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22308 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22309 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22310 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22312 Use PPC64_LOAD_FUNCPTR.
22313
b525166b
UW
22314 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22315
7ec07d9a
AM
223162013-12-04 Alan Modra <amodra@gmail.com>
22317
22318 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22319 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22320 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22321 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22322
22323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22324 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22325 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22326 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22327 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22328 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22329
5162e7dd
UW
223302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22331
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22333 (__makecontext): Fix incorrect CFI when backtracing out of
22334 context created via makecontext.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22336 (__setcontext): Fix incorrect CFI during switch to new context.
22337 (__novec_setcontext): Likewise.
22338
19e3372b
OB
223392013-12-04 Ondřej Bílka <neleai@seznam.cz>
22340
22341 [BZ #4772]
22342 * time/strptime_l.c (__strptime_internal): Allow modifiers
22343 in strptime.
22344 * time/tst-strptime.c (day_tests): Add testcase.
22345
ecaf142d
SP
223462013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22347
22348 * scripts/bench.pl: Skip over blank lines.
22349
fbf964ae
PE
223502013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22351
22352 [BZ #926]
22353 * manual/time.texi (Calendar Time): Clarify what timezone functions
22354 use.
22355
fa60a674
AZ
223562013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22357
22358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22359
d674f0ef
OB
223602013-12-04 Ondřej Bílka <neleai@seznam.cz>
22361
22362 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22363 implementation.
22364 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22365 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22366 * debug/memset_chk.c (__memset_chk): Likewise.
22367 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22368 * debug/strncpy_chk.c: Likewise.
22369
17dea188
JM
223702013-12-03 Joseph Myers <joseph@codesourcery.com>
22371
749008ff
JM
22372 [BZ #15268]
22373 [BZ #15425]
22374 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22375 (__ieee754_exp): For possibly underflowing results, check size of
22376 result and force underflow exception if required.
22377 * math/auto-libm-test-in: Add more tests of exp.
22378 * math/auto-libm-test-out: Regenerated.
22379 * sysdeps/i386/fpu/libm-test-ulps: Update.
22380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22381
17dea188
JM
22382 [BZ #16283]
22383 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22384 * math/w_exp2f.c (__exp2f): Likewise.
22385 * math/w_exp2l.c (__exp2l): Likewise.
22386 * math/auto-libm-test-in: Do not allow missing errno on exp2
22387 underflow.
22388 * math/auto-libm-test-out: Regenerated.
22389
b20de2c3
OB
223902013-12-03 Ondřej Bílka <neleai@seznam.cz>
22391
22392 [BZ #16274]
22393 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22394 handle filename validation.
22395 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22396 (do_open): Delete.
22397
d8e2dbe3
JM
223982013-12-03 Joseph Myers <joseph@codesourcery.com>
22399
34e16df5
JM
22400 [BZ #6786]
22401 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22402 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22403 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22404 <float.h>.
22405 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22406 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22407 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22409 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22410 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22411 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22412 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22413 Add more erfc tests.
22414 * math/auto-libm-test-out: Regenerated.
22415 * sysdeps/i386/fpu/libm-test-ulps: Update.
22416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22417
d8e2dbe3
JM
22418 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22419 exp2, expm1, j0 and j1.
22420 * math/auto-libm-test-out: Regenerated.
22421 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22422 (erfc_test_data): Likewise.
22423 (exp_test_data): Likewise.
22424 (exp_tonearest_test_data): Likewise.
22425 (exp_towardzero_test_data): Likewise.
22426 (exp_downward_test_data): Likewise.
22427 (exp_upward_test_data): Likewise.
22428 (exp10_test_data): Likewise.
22429 (exp2_test_data): Likewise.
22430 (expm1_test_data): Likewise.
22431 (j0_test_data): Likewise.
22432 (j1_test_data): Likewise.
22433 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22434 (input_flag_type): Add flag_xfail_rounding.
22435 (input_flags): Add xfail-rounding.
22436 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22437 (output_for_one_input_case): Handle flag_xfail_rounding.
22438 * sysdeps/i386/fpu/libm-test-ulps: Update.
22439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440
18d14251
AJ
224412013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22442
3d2e6075 22443 [BZ #16289]
18d14251
AJ
22444 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22445 division by 0.
22446
520d437b
SP
224472013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22448
22449 [BZ #16195]
22450 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22451 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22452 (STAP_PROBE0): New macro.
22453 (STAP_PROBE1): Likewise.
22454 (STAP_PROBE2): Likewise.
22455 (STAP_PROBE3): Likewise.
22456 (STAP_PROBE4): Likewise.
22457
416e0145
OB
224582013-12-02 Ondřej Bílka <neleai@seznam.cz>
22459
22460 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22461
9d17796a
SE
224622013-12-02 Steve Ellcey <sellcey@mips.com>
22463
22464 * benchtests/Makefile (bench): Add sqrt.
22465 (LDLIBS-bench-sqrt): New.
22466 * benchtests/sqrt-input: New.
22467
f524d6a8
PS
224682013-12-02 Pavel Simerda <psimerda@redhat.com>
22469
639a0ef8
PS
22470 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22471 (GAIH_EAI): Likewise.
22472 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22473 (gaih_inet): Likewise.
22474 (getaddrinfo): Don't use GAIH_EAI.
22475
f524d6a8
PS
22476 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22477 (struct gaih): Remove definition.
22478
df3aedaf
SP
224792013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22480
22481 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22482 Use HERRNOP directly.
22483
1ab19dec
AZ
224842013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22485
b42ad38d 22486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22487
176b0c79
JM
224882013-11-30 Joseph Myers <joseph@codesourcery.com>
22489
22490 * math/gen-auto-libm-tests.c (test_functions): Add more
22491 single-argument functions.
22492 (special_fill_pi_2): New function.
22493 (special_fill_minus_pi_2): Likewise.
22494 (special_fill_pi_6): Likewise.
22495 (special_fill_minus_pi_6): Likewise.
22496 (special_fill_pi_3): Likewise.
22497 (special_fill_2pi_3): Likewise.
22498 (special_fill_e): Likewise.
22499 (special_fill_1_e): Likewise.
22500 (special_fill_e_minus_1): Likewise.
22501 (special_real_inputs): Add more special inputs.
22502 (output_for_one_input_case): Do not require ERANGE on underflow to
22503 zero if round-to-nearest result does not underflow to zero, unless
22504 exact results required.
22505 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22506 atan, atanh, cbrt, cos and cosh.
22507 * math/auto-libm-test-out: Regenerated.
22508 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22509 (acos_tonearest_test_data): Likewise.
22510 (acos_towardzero_test_data): Likewise.
22511 (acos_downward_test_data): Likewise.
22512 (acos_upward_test_data): Likewise.
22513 (acosh_test_data): Likewise.
22514 (asin_test_data): Likewise.
22515 (asin_tonearest_test_data): Likewise.
22516 (asin_towardzero_test_data): Likewise.
22517 (asin_upward_test_data): Likewise.
22518 (asinh_test_data): Likewise.
22519 (atan_test_data): Likewise.
22520 (atanh_test_data): Likewise.
22521 (cbrt_test_data): Likewise.
22522 (cos_test_data): Likewise.
22523 (cos_tonearest_test_data): Likewise.
22524 (cos_towardzero_test_data): Likewise.
22525 (cos_downward_test_data): Likewise.
22526 (cos_upward_test_data): Likewise.
22527 (cosh_test_data): Likewise.
22528 (cosh_tonearest_test_data): Likewise.
22529 (cosh_towardzero_test_data): Likewise.
22530 (cosh_downward_test_data): Likewise.
22531 (cosh_upward_test_data): Likewise.
22532 * sysdeps/i386/fpu/libm-test-ulps: Update.
22533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22534
ffb536d0
JM
225352013-11-29 Joseph Myers <joseph@codesourcery.com>
22536
2a77a467
JM
22537 [BZ #6787]
22538 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22539 * math/w_exp10f.c (__exp10f): Likewise.
22540 * math/w_exp10l.c (__exp10l): Likewise.
22541 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22542 errno settings in existing tests.
22543
ea3bc4e8
JM
22544 [BZ #14032]
22545 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22546 precision control set to double precision.
22547 * sysdeps/i386/fpu/w_sqrt.c: New file.
22548 * math/auto-libm-test-in: Add more tests.
22549 * math/auto-libm-test-out: Update.
22550
0712c9d8
JM
22551 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22552 (sqrt_test_tonearest): New function.
22553 (sqrt_towardzero_test_data): New variable.
22554 (sqrt_test_towardzero): New function.
22555 (sqrt_downward_test_data): New variable.
22556 (sqrt_test_downward): New function.
22557 (sqrt_upward_test_data): New variable.
22558 (sqrt_test_upward): New function.
22559 (main): Call the new functions.
22560
ffb536d0
JM
22561 * math/gen-auto-libm-tests.c: New file.
22562 * math/auto-libm-test-in: Likewise.
22563 * math/auto-libm-test-out: New generated file.
22564 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22565 variables.
22566 (%beautify): Add generated representations of zero.
22567 (top level): Set $auto_input and call parse_auto_input.
22568 (beautify): Remove trailing "f" from hex float constants.
22569 (parse_args): Handle XFAIL_TEST.
22570 (convert_condition): New function.
22571 (or_value): Likewise.
22572 (or_cond_value): Likewise.
22573 (generate_testfile): Handle AUTO_TESTS_* lines.
22574 (parse_auto_input): New function.
22575 * math/libm-test.inc (XFAIL_TEST): New macro.
22576 (ERRNO_UNCHANGED): Update value.
22577 (ERRNO_EDOM): Likewise.
22578 (ERRNO_ERANGE): Likewise.
22579 (IGNORE_RESULT): Likewise.
22580 (TEST_COND_flt_32): New macro.
22581 (TEST_COND_dbl_64): Likewise.
22582 (TEST_COND_ldbl_96_intel): Likewise.
22583 (TEST_COND_ldbl_96_m68k): Likewise.
22584 (TEST_COND_ldbl_128): Likewise.
22585 (TEST_COND_ldbl_128ibm): Likewise.
22586 (TEST_COND_long32): Likewise.
22587 (TEST_COND_long64): Likewise.
22588 (TEST_COND_before_rounding): Likewise.
22589 (TEST_COND_after_rounding): Likewise.
22590 (enable_test): Handle XFAIL_TEST flag.
22591 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22592 with finite results.
22593 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22594 auto-libm-test-out.
22595
acd98a8e
AK
225962013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22597 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22598
22599 [BZ #16214]
22600 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22601 __tls_get_addr_internal instead of __tls_get_offset in order to
22602 avoid GOT pointer dependency. Make rtld export
22603 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22604 __tls_get_addr since we are a __tls_get_offset platform.
22605 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22606 GOT pointer being set up before.
22607 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22608
3c1c46a6
JM
226092013-11-28 Joseph Myers <joseph@codesourcery.com>
22610
7475aef5
JM
22611 * manual/math.texi (Errors in Math Functions): Document accuracy
22612 goals.
22613
8bca7cd8
JM
22614 [BZ #15004]
22615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22616 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22619 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22621 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22631
91a1f3fe
JM
22632 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22633 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22634 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22635 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22636 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22637 Likewise.
22638 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22639 Likewise.
22640 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22641 Likewise.
22642 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22643 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22644 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22645 atomic-feupdateenv and flt-rounds.
22646 * sysdeps/powerpc/nofpu/Versions (libc): Add
22647 __atomic_feholdexcept, __atomic_feclearexcept,
22648 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22649 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22650 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22651 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22652 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22653 here.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22655 Update.
22656
c5df7609
JM
22657 * manual/arith.texi (FP Exceptions): Document that exceptions may
22658 not be raised when matherr is used.
22659 (Math Error Reporting): Document overflow in directed rounding
22660 modes. Document that errno may not be set when finite values are
22661 returned on overflow. Document intent to set errno on underflow
22662 only for underflow to zero.
22663
3c1c46a6
JM
22664 [BZ #16271]
22665 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22666 round-to-nearest then adjust result for other rounding modes.
22667 * include/fenv.h (fegetround): Use libm_hidden_proto.
22668 * math/fegetround.c (fegetround): Use libm_hidden_def.
22669 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22670 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22671 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22672 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22673 Likewise.
22674 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22675 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22676 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22677 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22678
5a4c6d53
SP
226792013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22680
22681 [BZ #16077]
22682 * nss/Versions (libnss_files): Add
22683 _nss_files_gethostbyname3_r.
22684 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22685 New function.
22686 (HOST_DB_LOOKUP): Remove macro.
22687 (_nss_files_gethostbyname_r): Implement function without the
22688 HOST_DB_LOOKUP macro.
22689 (_nss_files_gethostbyname2_r): Likewise.
22690
897b98ba
OB
226912013-11-28 Ondřej Bílka <neleai@seznam.cz>
22692
22693 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22694
6f476861
UB
226952013-11-26 Uros Bizjak <ubizjak@gmail.com>
22696
22697 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22698 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22699 warning.
22700
bd12ab55
AZ
227012013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22702
22703 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22704 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22705 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22706 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22707 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22708 __fe_nomask_env_priv and attribute_hidden.
22709 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22710 (libc_feupdateenv_test_ppc): Likewise.
22711 (libc_feresetround_ppc): Likewise.
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22713 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22714 compat_symbol macro.
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22716 (__fe_nomask_env): Likewise.
22717 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22718
52bb6543
OB
227192013-11-26 Ondřej Bílka <neleai@seznam.cz>
22720
22721 * string/Makefile: Remove ifunc tests.
22722 * string/test-string.h: Define TEST_IFUNC.
22723 * string/test-bcopy-ifunc.c: Remove.
22724 * string/test-bzero-ifunc.c: Likewise.
22725 * string/test-memccpy-ifunc.c: Likewise.
22726 * string/test-memchr-ifunc.c: Likewise.
22727 * string/test-memcmp-ifunc.c: Likewise.
22728 * string/test-memcpy-ifunc.c: Likewise.
22729 * string/test-memmem-ifunc.c: Likewise.
22730 * string/test-memmove-ifunc.c: Likewise.
22731 * string/test-mempcpy-ifunc.c: Likewise.
22732 * string/test-memrchr-ifunc.c: Likewise.
22733 * string/test-memset-ifunc.c: Likewise.
22734 * string/test-rawmemchr-ifunc.c: Likewise.
22735 * string/test-stpcpy-ifunc.c: Likewise.
22736 * string/test-stpncpy-ifunc.c: Likewise.
22737 * string/test-strcasecmp-ifunc.c: Likewise.
22738 * string/test-strcasestr-ifunc.c: Likewise.
22739 * string/test-strcat-ifunc.c: Likewise.
22740 * string/test-strchr-ifunc.c: Likewise.
22741 * string/test-strchrnul-ifunc.c: Likewise.
22742 * string/test-strcmp-ifunc.c: Likewise.
22743 * string/test-strcpy-ifunc.c: Likewise.
22744 * string/test-strcspn-ifunc.c: Likewise.
22745 * string/test-strlen-ifunc.c: Likewise.
22746 * string/test-strncasecmp-ifunc.c: Likewise.
22747 * string/test-strncat-ifunc.c: Likewise.
22748 * string/test-strncmp-ifunc.c: Likewise.
22749 * string/test-strncpy-ifunc.c: Likewise.
22750 * string/test-strnlen-ifunc.c: Likewise.
22751 * string/test-strpbrk-ifunc.c: Likewise.
22752 * string/test-strrchr-ifunc.c: Likewise.
22753 * string/test-strspn-ifunc.c: Likewise.
22754 * string/test-strstr-ifunc.c: Likewise.
22755
ab260039 227562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22757
22758 * benchtests/Makefile: Remove ifunc tests.
22759 * benchtests/bench-string.h: Define TEST_IFUNC.
22760 * benchtests/bench-bcopy-ifunc.c: Remove.
22761 * benchtests/bench-bzero-ifunc.c: Likewise.
22762 * benchtests/bench-memccpy-ifunc.c: Likewise.
22763 * benchtests/bench-memchr-ifunc.c: Likewise.
22764 * benchtests/bench-memcmp-ifunc.c: Likewise.
22765 * benchtests/bench-memcpy-ifunc.c: Likewise.
22766 * benchtests/bench-memmem-ifunc.c: Likewise.
22767 * benchtests/bench-memmove-ifunc.c: Likewise.
22768 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22769 * benchtests/bench-memrchr-ifunc.c: Likewise.
22770 * benchtests/bench-memset-ifunc.c: Likewise.
22771 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22772 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22773 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22774 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22775 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22776 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22777 * benchtests/bench-strcat-ifunc.c: Likewise.
22778 * benchtests/bench-strchr-ifunc.c: Likewise.
22779 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22780 * benchtests/bench-strcmp-ifunc.c: Likewise.
22781 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22782 * benchtests/bench-strcpy-ifunc.c: Likewise.
22783 * benchtests/bench-strcspn-ifunc.c: Likewise.
22784 * benchtests/bench-strlen-ifunc.c: Likewise.
22785 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22786 * benchtests/bench-strncat-ifunc.c: Likewise.
22787 * benchtests/bench-strncmp-ifunc.c: Likewise.
22788 * benchtests/bench-strncpy-ifunc.c: Likewise.
22789 * benchtests/bench-strnlen-ifunc.c: Likewise.
22790 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22791 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22792 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22793 * benchtests/bench-strspn-ifunc.c: Likewise.
22794 * benchtests/bench-strstr-ifunc.c: Likewise.
22795
227962013-11-26 Ondřej Bílka <neleai@seznam.cz>
22797
ab260039
OB
22798 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22799
d1d9eaf4 228002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22801
d1d9eaf4
OB
22802 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22803 * rt/aio.h: Likewise.
22804 * sysdeps/gnu/bits/utmp.h: Likewise.
22805 * sysdeps/gnu/bits/utmpx.h: Likewise.
22806 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22807 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22808 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22809 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22810 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22811 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22812 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22813 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22814 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22815 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22816 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22817 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22818 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22820 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22821 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22822 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22823 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22824 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22825 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22826 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22827 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22828 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22829 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22830 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22832 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22833 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22834 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22835 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22836 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22837 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22838 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22839 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22840 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22841 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22842 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22843 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22844 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22845 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22846 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22847 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22848
a7624ed9
CD
228492013-11-25 Carlos O'Donell <carlos@redhat.com>
22850
22851 [BZ #16245]
22852 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22853 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22854
63cfe52b
JM
228552013-11-25 Joseph Myers <joseph@codesourcery.com>
22856
22857 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22858 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22859 Likewise.
22860
41e8926a
AZ
228612013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22862
22863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22864 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22865 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22866 (__fesetround): Remove define.
22867 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22868 rounding and exceptions handling.
22869 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22870 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22871 (__fe_nomask_env): Likewise.
22872 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22873 __fegetround instead of fegetround.
22874 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22875 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22876
6851bd4d
RM
228772013-11-21 Roland McGrath <roland@hack.frob.com>
22878
070906ff
RM
22879 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22880 it's there.
22881
6851bd4d
RM
22882 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22883
84ae135d
MI
228842013-11-21 Meador Inge <meadori@codesourcery.com>
22885
22886 [BZ #11157]
22887 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22888 (encrypt_r): Likewise.
22889 * malloc/obstack.h (obstack_free): Likewise.
22890 * posix/unistd.h (encrypt): Likewise.
22891
daf75146
GM
228922013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22893
22894 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22895 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22896 DL_CALL_DT_FINI() that call the functions directly.
22897 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22898 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22899 * elf/dl-fini.c: Likewise.
22900
10ad46bc
OB
229012013-11-20 Ondřej Bílka <neleai@seznam.cz>
22902
22903 * malloc/hooks.c (memalign_check): Add alignment rounding.
22904 * malloc/malloc.c (_mid_memalign): New function.
22905 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22906 Implement by calling _mid_memalign.
22907 * manual/probes.texi (Memory Allocation Probes): Remove
22908 memory_valloc_retry and memory_pvalloc_retry.
22909
f3fd2628
SP
229102013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22911
4712799f
SP
22912 * locale/programs/locarchive.c (open_archive): Add const
22913 qualifier to ARCHIVEFNAME and copy default fname to
22914 DEFAULT_FNAME.
22915
0417b20f
SP
22916 [BZ #15601]
22917 * libio/tst-widetext.input: Rename Oriya to Odia.
22918 * locale/iso-639.def: Likewise.
22919
f3fd2628
SP
22920 * manual/probes.texi (Mathematical Function Probes): Add
22921 documentation for sin, cos, asin and acos probes.
22922 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22923 (__sin32): Add slowasin probe.
22924 (__cos32): Add slowacos probe.
22925 (__mpsin): Add slowsin probe.
22926 (__mpcos): Add slowcos probe.
22927
73c1ce4f
JM
229282013-11-19 Joseph Myers <joseph@codesourcery.com>
22929
22930 [BZ #15483]
22931 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22932 thread-local __sim_exceptions_thread and global
22933 __sim_exceptions_global.
22934 (__sim_disabled_exceptions): Change to thread-local
22935 __sim_disabled_exceptions_thread and global
22936 __sim_disabled_exceptions_global.
22937 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22938 and global __sim_round_mode_global.
22939 (__simulate_exceptions): Use thread-local floating-point state and
22940 set global state from it as needed.
22941 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22942 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22943 __sim_round_mode_thread.
22944 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22945 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22946 and global __sim_exceptions_global.
22947 (__sim_disabled_exceptions): Change to thread-local
22948 __sim_disabled_exceptions_thread and global
22949 __sim_disabled_exceptions_global.
22950 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22951 and global __sim_round_mode_global.
22952 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22953 (SIM_SET_GLOBAL): Likewise.
22954 * sysdeps/powerpc/soft-fp/sfp-machine.h
22955 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22956 __sim_round_mode_thread.
22957 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22958 __sim_disabled_exceptions_thread.
22959 (__sim_exceptions): Change to __sim_exceptions_thread.
22960 (__sim_disabled_exceptions): Change to
22961 __sim_disabled_exceptions_thread.
22962 (__sim_round_mode): Change to __sim_round_mode_thread.
22963 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22964 thread-local floating-point state and set global state from it as
22965 needed.
22966 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22967 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22968 (__sim_disabled_exceptions): Remove extern declaration.
22969 (feenableexcept): Use thread-local floating-point state and set
22970 global state from it as needed.
22971 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22972 extern declaration.
22973 (__sim_disabled_exceptions): Likewise.
22974 (__sim_round_mode): Likewise.
22975 (__fegetenv): Use thread-local floating-point state.
22976 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22977 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22978 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22979 floating-point state and set global state from it as needed.
22980 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22981 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22982 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22983 Likewise.
22984 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22985 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22986 Likewise.
22987 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22988 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22989 Use __sim_round_mode_thread.
22990 * math/test-fenv-tls.c: New file.
22991 * math/Makefile (tests): Add test-fenv-tls.
22992 ($(objpfx)test-fenv-tls): Depend on
22993 $(common-objpfx)nptl/libpthread.so.
22994
b5449b12
AS
229952013-11-19 Andreas Schwab <schwab@suse.de>
22996
22997 * locale/programs/locale.c (show_info): Decode wordarray elements.
22998 * locale/categories.def (LC_MONETARY): Add element for
22999 _NL_MONETARY_CRNCYSTR.
23000 * locale/C-monetary.c (conversion_rate): New variable.
23001 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23002 element.
23003
e186536b
CM
230042013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23005
23006 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23007 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23008
5c349950
PP
230092013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23010
23011 * elf/Makefile (tst-auxv): New test.
23012 * elf/tst-auxv.c: New
23013 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23014
699df45b
JM
230152013-11-18 Joseph Myers <joseph@codesourcery.com>
23016
23017 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23018 (hidden_proto): Caller changed.
23019 (hidden_tls_proto): New macro.
23020 (libc_hidden_tls_proto): Likewise.
23021 (rtld_hidden_tls_proto): Likewise.
23022 (libm_hidden_tls_proto): Likewise.
23023 (libresolv_hidden_tls_proto): Likewise.
23024 (librt_hidden_tls_proto): Likewise.
23025 (libdl_hidden_tls_proto): Likewise.
23026 (libnss_files_hidden_tls_proto): Likewise.
23027 (libnsl_hidden_tls_proto): Likewise.
23028 (libnss_nisplus_hidden_tls_proto): Likewise.
23029 (libutil_hidden_tls_proto): Likewise.
23030
b7589107
OB
230312013-11-18 Ondřej Bílka <neleai@seznam.cz>
23032
23033 [BZ #10253]
23034 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23035 (decompose_rpath): Defer expansion to fillin_rpath.
23036 (_dl_init_paths): Pass linkmap to fillin_rpath.
23037
250c23bd
RS
230382013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23039
23040 * benchtests/Makefile: Add strsep.
23041 * benchtests/bench-strsep.c: New file: strsep benchtest.
23042 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23043
a7931fcf
AS
230442013-11-18 Andreas Schwab <schwab@suse.de>
23045
23046 * locale/programs/locale.c (show_info) [case byte]: Check for
23047 '\377' instead of '\177'.
23048 * locale/C-monetary.c (not_available): Always use "\377".
23049 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23050 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23051 detect unavailable sign_posn locale elements.
23052 * locale/localeconv.c (__localeconv): For grouping and
23053 mon_grouping handle "\177" and "\377" like no grouping.
23054 (INT_ELEM): New macro. Use it to set all numeric members.
23055 * locale/programs/ld-monetary.c (monetary_read)
23056 <tok_mon_grouping>: Normalize single -1 to the empty string.
23057 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23058 Likewise.
23059
728dab0e
OB
230602013-11-07 Ondřej Bílka <neleai@seznam.cz>
23061
23062 [BZ #16055]
23063 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23064 when we match (nil).
23065 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23066
66294491
JM
230672013-11-16 Joseph Myers <joseph@codesourcery.com>
23068
ce665817
JM
23069 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23070 (NO_TEST_INLINE): Update value.
23071 (ERRNO_UNCHANGED): Likewise.
23072 (ERRNO_EDOM): Likewise.
23073 (ERRNO_ERANGE): Likewise.
23074 (IGNORE_RESULT): Likewise.
23075 (check_float_internal): Check signs of NaN results if
23076 TEST_NAN_SIGN used.
23077 (check_complex): Pass TEST_NAN_SIGN flag through to second
23078 check_float_internal call.
23079 (copysign_test_data): Add tests with quiet NaNs as second
23080 argument. Use TEST_NAN_SIGN.
23081 (fabs_test_data): Add test of negative quiet NaN argument. Use
23082 TEST_NAN_SIGN.
23083 (signbit_test_data): Add tests of quiet NaN argument.
23084 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23085
ee1466a9
JM
23086 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23087 $ignore_result.
23088 (parse_args): Handle function results specified as IGNORE.
23089 * math/libm-test.inc (IGNORE_RESULT): New macro.
23090 (check_float_internal): Do not check numerical result if flag
23091 IGNORE_RESULT set.
23092 (check_complex): Pass through IGNORE_RESULT to second
23093 check_float_internal call.
23094 (check_int): Do not check numerical result if flag IGNORE_RESULT
23095 set.
23096 (check_long): Likewise.
23097 (check_bool): Likewise.
23098 (check_longlong): Likewise.
23099 (lrint_test_data): Add tests of infinite and NaN arguments.
23100 (lrint_tonearest_test_data): Likewise.
23101 (lrint_towardzero_test_data): Likewise.
23102 (lrint_downward_test_data): Likewise.
23103 (lrint_upward_test_data): Likewise.
23104 (llrint_test_data): Likewise.
23105 (llrint_tonearest_test_data): Likewise.
23106 (llrint_towardzero_test_data): Likewise.
23107 (llrint_downward_test_data): Likewise.
23108 (llrint_upward_test_data): Likewise.
23109 (lround_test_data): Likewise.
23110 (llround_test_data): Likewise.
23111
14407b7e
JM
23112 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23113 (ERRNO_UNCHANGED): Update value.
23114 (ERRNO_EDOM): Likewise.
23115 (ERRNO_ERANGE): Likewise.
23116 (NO_TEST_INLINE_FLOAT): New macro.
23117 (NO_TEST_INLINE_DOUBLE): Likewise.
23118 (enable_test): New function.
23119 (RUN_TEST_f_f): Check enable_test before running test.
23120 (RUN_TEST_2_f): Likewise.
23121 (RUN_TEST_fff_f): Likewise.
23122 (RUN_TEST_c_f): Likewise.
23123 (RUN_TEST_f_f1): Likewise.
23124 (RUN_TEST_fF_f1): Likewise.
23125 (RUN_TEST_fI_f1): Likewise.
23126 (RUN_TEST_ffI_f1): Likewise.
23127 (RUN_TEST_c_c): Likewise.
23128 (RUN_TEST_cc_c): Likewise.
23129 (RUN_TEST_f_i): Likewise.
23130 (RUN_TEST_f_i_tg): Likewise.
23131 (RUN_TEST_ff_i_tg): Likewise.
23132 (RUN_TEST_f_b): Likewise.
23133 (RUN_TEST_f_b_tg): Likewise.
23134 (RUN_TEST_f_l): Likewise.
23135 (RUN_TEST_f_L): Likewise.
23136 (RUN_TEST_fFF_11): Likewise.
23137 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23138 conditionals.
23139 (cosh_test_data): Likewise.
23140 (exp_test_data): Likewise.
23141 (expm1_test_data): Likewise.
23142 (hypot_test_data): Likewise.
23143 (pow_test_data): Likewise.
23144 (sinh_test_data): Likewise.
23145 (tanh_test_data): Likewise.
23146 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23147 flags argument.
23148
ca07f197
JM
23149 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23150 tests with quiet NaN input and output.
23151 (acosh_test_data): Likewise.
23152 (asin_test_data): Likewise.
23153 (asinh_test_data): Likewise.
23154 (atan_test_data): Likewise.
23155 (atanh_test_data): Likewise.
23156 (atan2_test_data): Likewise.
23157 (cbrt_test_data): Likewise.
23158 (cos_test_data): Likewise.
23159 (cosh_test_data): Likewise.
23160 (erf_test_data): Likewise.
23161 (erfc_test_data): Likewise.
23162 (exp_test_data): Likewise.
23163 (exp10_test_data): Likewise.
23164 (exp2_test_data): Likewise.
23165 (expm1_test_data): Likewise.
23166 (hypot_test_data): Likewise.
23167 (j0_test_data): Likewise.
23168 (j1_test_data): Likewise.
23169 (jn_test_data): Likewise.
23170 (lgamma_test_data): Likewise.
23171 (log_test_data): Likewise.
23172 (log10_test_data): Likewise.
23173 (log1p_test_data): Likewise.
23174 (log2_test_data): Likewise.
23175 (pow_test_data): Likewise.
23176 (scalb_test_data): Likewise.
23177 (sin_test_data): Likewise.
23178 (sincos_test_data): Likewise.
23179 (sinh_test_data): Likewise.
23180 (tan_test_data): Likewise.
23181 (tanh_test_data): Likewise.
23182 (tgamma_test_data): Likewise.
23183 (y0_test_data): Likewise.
23184 (y1_test_data): Likewise.
23185 (yn_test_data): Likewise.
23186
66294491
JM
23187 [BZ #16167]
23188 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23189 argument being NaN and avoid computations with second argument in
23190 that case.
23191 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23192 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23193 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23194
1820b143
CL
231952013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23196
23197 * locale/iso-639.def: Add Chitwani Tharu (the).
23198
714bd261
AS
231992013-11-14 Andreas Schwab <schwab@suse.de>
23200
23201 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23202 word instead of empty string.
23203
7ab44563
AZ
232042013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23205
23206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23207 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23209 (__fe_nomask_env): Likewise.
23210
e8470ea2
SE
232112013-11-13 Steve Ellcey <sellcey@mips.com>
23212
23213 * benchtests/bench-timing.h: Include time.h.
23214
17c1d9f0
L
232152013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23216
23217 [BZ #15997]
23218 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23219 to 3.4.0 for x32.
23220 * sysdeps/unix/sysv/linux/configure: Regenerated.
23221
9310c284
JM
232222013-11-13 Joseph Myers <joseph@codesourcery.com>
23223
23224 [BZ #16151]
23225 * stdlib/strtod_l.c (round_and_return): Do not consider
23226 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23227 exponent one less than half the least subnormal exponent.
23228 * stdlib/test-strtod-round-data: Add more tests.
23229 * stdlib/tst-strtod-round.c (tests): Regenerated.
23230
7a2ad8cf
AZ
232312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23232
23233 [BZ #14143]
23234 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23235 (__fe_mask_env): Likewise.
23236 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23237 libm_hidden_proto and add function prototype.
23238 (__fe_mask_env): Add function prototype.
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23240 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23242 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23244 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23245
50727aa7
MS
232462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23247
b2f386c1 23248 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23249 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23250
a615be46
MS
232512013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23252
23253 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23254 of htab_find_slot().
23255
7ddace62
DM
232562013-11-11 David S. Miller <davem@davemloft.net>
23257
23258 [BZ #16150]
23259 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23260 symbol in the non-vis3 case in static builds.
23261 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23262 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23263 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23264 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23265
9182aa67
JK
232662013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23267
23268 [BZ #387]
23269 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23270 it is empty.
23271
450a2e2d
AZ
232722013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23273
b2f386c1
SP
23274 * benchtests/Makefile: Add bench-strtod.
23275 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23276
8ec3f656
AS
232772013-11-11 Andreas Schwab <schwab@suse.de>
23278
23279 [BZ #16153]
23280 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23281 terminating NUL in key length.
23282
76a9b998
AZ
232832013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23284
23285 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23286 Add artificial ODP entry for vDSO symbol for PPC64.
23287 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23288 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23289
e4368156
OB
232902013-11-07 Ondřej Bílka <neleai@seznam.cz>
23291
23292 [BZ #15374]
23293 * nss/getent.c (services_keys): Recognize services starting with digit.
23294
8d6bb57c
DM
232952013-11-06 David S. Miller <davem@davemloft.net>
23296
23297 [BZ #15985]
23298 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23299 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23300
e256c421
WN
233012013-11-06 Will Newton <will.newton@linaro.org>
23302
23303 * manual/memory.texi (Malloc Examples): Remove register
23304 keyword from examples.
23305
f6e12daa 233062013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23307
f6e12daa 23308 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23309
9d880655
AS
233102013-11-04 Joseph Myers <joseph@codesourcery.com>
23311
fd2f9486 23312 [BZ #6981]
9d880655
AS
23313 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23314 depending on [__GCC_IEC_559 > 0].
23315 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23316 depending on [__GCC_IEC_559_COMPLEX > 0].
23317
ae129d3c
CL
233182013-11-03 Chris Leonard <cjl@sugarlabs.org>
23319
23320 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23321 to iso-639.def.
23322
4a15c2a4 233232013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23324
23325 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23326
8b35e35d
OB
233272013-11-01 Ondřej Bílka <neleai@seznam.cz>
23328
23329 [BZ #16112]
23330 * malloc/malloc (malloc_info): Do not handle first bin as
23331 special case.
23332
1d70fd6c
CL
233332013-11-01 Chris Leonard <cjl@sugarlabs.org>
23334
23335 * locale/iso-639.def: Add Central Nahuatl (nhn).
23336
8c5c2600
BH
233372013-11-01 Bruno Haible <bruno@clisp.org>
23338
23339 [BZ #7003]
23340 * manual/math.texi (BSD Random): Specify range upper bound as
23341 in POSIX.
23342
da5579c2
CL
233432013-10-31 Chris Leonard <cjl@sugarlabs.org>
23344
23345 * locale/iso-639.def: Add Meadow Mari (mhr).
23346
5d30d853
OB
233472013-10-31 Ondřej Bílka <neleai@seznam.cz>
23348
23349 [BZ #14752], [BZ #15763]
23350 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23351 Validate name.
23352 * rt/tst_shm.c: Add test for escaping directory.
23353
a4966c61
AS
233542013-10-31 Andreas Schwab <schwab@suse.de>
23355
8a43e768 23356 [BZ #15917]
a4966c61
AS
23357 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23358 followed by 'x' as part of digit sequence.
23359 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23360
28d708c4
MAP
233612013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23362
23363 [BZ #16037]
23364 * configure.ac: allow GNU Make 4.0 and greater.
23365 * configure: Regenerated.
23366
a56ee40b
WN
233672013-10-30 Will Newton <will.newton@linaro.org>
23368
23369 [BZ #16038]
23370 * malloc/hooks.c (memalign_check): Limit alignment to the
23371 maximum representable power of two.
23372 * malloc/malloc.c (__libc_memalign): Likewise.
23373 * malloc/tst-memalign.c (do_test): Add test for very
23374 large alignment values.
23375 * malloc/tst-posix_memalign.c (do_test): Likewise.
23376
c6e4925d
OB
233772013-10-30 Ondřej Bílka <neleai@seznam.cz>
23378
23379 [BZ #11087]
23380 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23381 (munmap_chunk): Likewise.
23382 (mremap_chunk): Likewise.
23383
233842013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23385
8a43e768 23386 [BZ #15799]
bbea82f7
OB
23387 * stdlib/div.c (div): Remove obsolete code.
23388 * stdlib/ldiv.c (ldiv): Likewise.
23389 * stdlib/lldiv.c (lldiv): Likewise.
23390
977f4b31
SP
233912013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23392
23393 [BZ #16071]
23394 * nss/nss_files/files-XXX.c (get_contents_ret): New
23395 enumerator.
23396 (get_contents): New function.
23397 (internal_getent): Use it. Expand size of LINEBUFLEN.
23398
cb8a6dbd
MF
233992013-10-30 Mike Frysinger <vapier@gentoo.org>
23400
23401 * configure.in: Moved to ...
23402 * configure.ac: ... here. Change reference to configure.in
23403 to configure.ac.
23404 * sysdeps/arm/preconfigure.ac: ... here.
23405 configure.in to configure.ac.
23406 * sysdeps/gnu/configure.in: Moved to ...
23407 * sysdeps/gnu/configure.ac: ... here.
23408 * sysdeps/i386/configure.in: Moved to ...
23409 * sysdeps/i386/configure.ac: ... here.
23410 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23411 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23412 * sysdeps/mach/configure.in: Moved to ...
23413 * sysdeps/mach/configure.ac: ... here.
23414 * sysdeps/mach/hurd/configure.in: Moved to ...
23415 * sysdeps/mach/hurd/configure.ac: ... here.
23416 * sysdeps/powerpc/configure.in: Moved to ...
23417 * sysdeps/powerpc/configure.ac: ... here.
23418 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23419 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23420 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23421 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23422 * sysdeps/s390/s390-32/configure.in: Moved to ...
23423 * sysdeps/s390/s390-32/configure.ac: ... here.
23424 * sysdeps/s390/s390-64/configure.in: Moved to ...
23425 * sysdeps/s390/s390-64/configure.ac: ... here.
23426 * sysdeps/sh/configure.in: Moved to ...
23427 * sysdeps/sh/configure.ac: ... here.
23428 * sysdeps/sparc/configure.in: Moved to ...
23429 * sysdeps/sparc/configure.ac: ... here.
23430 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23431 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23432 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23433 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23434 * sysdeps/x86_64/configure.in: Moved to ...
23435 * sysdeps/x86_64/configure.ac: ... here.
23436 * sysdeps/x86_64/preconfigure.in: Moved to ...
23437 * sysdeps/x86_64/preconfigure.ac: ... here.
23438 * aclocal.m4: Change reference to configure.in to configure.ac.
23439 * config.h.in: Likewise.
23440 * manual/install.texi: Likewise.
23441 * manual/maint.texi: Likewise.
23442 * Makefile: Likewise.
23443 * malloc/Makefile: Likewise.
23444 * nscd/Makefile: Likewise.
23445 * Makeconfig: Change reference to configure.in and
23446 preconfigure.in to configure.ac and preconfigure.ac
23447 respectively.
23448 * INSTALL: Regenerated.
23449 * configure: Likewise.
23450 * sysdeps/gnu/configure: Likewise.
23451 * sysdeps/i386/configure: Likewise.
23452 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23453 * sysdeps/mach/configure: Likewise.
23454 * sysdeps/mach/hurd/configure: Likewise.
23455 * sysdeps/powerpc/configure: Likewise.
23456 * sysdeps/powerpc/powerpc32/configure: Likewise.
23457 * sysdeps/powerpc/powerpc64/configure: Likewise.
23458 * sysdeps/s390/s390-32/configure: Likewise.
23459 * sysdeps/s390/s390-64/configure: Likewise.
23460 * sysdeps/sh/configure: Likewise.
23461 * sysdeps/sparc/configure: Likewise.
23462 * sysdeps/unix/sysv/linux/configure: Likewise.
23463 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23464 * sysdeps/x86_64/configure: Likewise.
23465 * sysdeps/x86_64/preconfigure: Likewise.
23466
36a4953a
AS
234672013-10-29 Andreas Schwab <schwab@suse.de>
23468
23469 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23470
c79a1204
SP
234712013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23472
dfa1b402
SP
23473 * benchtests/pow-inputs: Add new inputs.
23474
54f73d9c
SP
23475 * benchtests/exp-inputs: Add new inputs.
23476
c79a1204
SP
23477 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23478 conditional check for return value.
23479 (__cos32): Likewise.
23480
67beb545 234812013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23482
23483 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23484 to provide a boost for large inputs with word alignment.
23485 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23486 implementation based on optimized PPC64 strcpy.
23487 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23488 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23489 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23490 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23491
151659f6
OB
234922013-10-25 Ondřej Bílka <neleai@seznam.cz>
23493
482a077e 23494 [BZ #2801]
151659f6
OB
23495 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23496
10b0f26b
OB
234972013-10-25 Ondřej Bílka <neleai@seznam.cz>
23498
23499 [BZ #14876]
23500 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23501 * time/tst-strptime.c (day_tests): Add testcase.
23502
ca42d35e
OB
235032013-10-25 Ondřej Bílka <neleai@seznam.cz>
23504
482a077e 23505 [BZ #14029]
ca42d35e
OB
23506 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23507
52e6d801
FB
235082013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23509
23510 [BZ #16074]
23511 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23512 MAP_FAILED on error.
23513
7cbcdb36
SP
235142013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23515
23516 [BZ #16072]
23517 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23518 heap for large requests.
23519
894f3f10
AM
235202013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23521
23522 [BZ #9954]
23523 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23524 result if the result has no associated interface.
23525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23526 interface for all 127.X.Y.Z addresses.
23527
b85545a6
CL
235282013-10-24 Chris Leonard <cjl@sugarlabs.org>
23529
23530 * locale/iso-639.def: Add Ligurian (lij)
23531
d1f23d46
OB
235322013-10-21 Ondřej Bílka <neleai@seznam.cz>
23533
23534 [BZ #15825]
23535 * sunrpc/rpc_main.c: Document rpcgen -5.
23536
4db5b08f
MS
235372013-10-19 Michael Stahl <mstahl@redhat.com>
23538
23539 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23540
a471e96a
OB
235412013-10-19 Ondřej Bílka <neleai@seznam.cz>
23542
d1f23d46 23543 [BZ #10278]
a471e96a
OB
23544 * posix/glob.c: Match only directories when trailing slash is present.
23545 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23546 (main): Add testcase.
23547
45c30c61
OB
235482013-10-19 Ondřej Bílka <neleai@seznam.cz>
23549
23550 [BZ #15670]
23551 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23552
484c12fb
CD
235532013-10-18 Carlos O'Donell <carlos@redhat.com>
23554
3d7dc513
CD
23555 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23556 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23557 AUTH_DES and cindex for FIPS 140-2.
23558 (DES Encryption): Add cindex FIPS 46-3.
23559
484c12fb
CD
23560 * locale/locarchive.h (struct locarhandle): Add fname.
23561 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23562 if an optional argument was specified to --list-archive,
23563 otherwise NULL.
23564 * locale/programs/locarchive.c (show_archive_content): Take new
23565 argument fname and pass it via ah.fname to open_archive.
23566 * locale/programs/localedef.h: Update decl.
23567 (open_archive): If AH->fname is non-null, open that file
23568 rather than the default file name, and don't ignore ENOENT.
23569 (create_archive): Set AH.fname to NULL.
23570 (delete_locales_from_archive): Likewise.
23571 (add_locales_to_archive): Likewise.
23572 * locale/programs/locfile.c (write_all_categories): Likewise.
23573
3c8325fb
JM
235742013-10-18 Joseph Myers <joseph@codesourcery.com>
23575 Aldy Hernandez <aldyh@redhat.com>
23576
23577 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23578 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23579 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23580 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23581 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23582 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23583 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23585 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23586 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23587 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23588 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23589 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23590 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23591 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23592 Likewise.
23593 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23594 Likewise.
23595 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23596 Likewise.
23597 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23598 Likewise.
23599 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23600 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23601 Likewise.
23602 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23603 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23604 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23605 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23606 Likewise.
23607 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23608 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23609 * sysdeps/powerpc/preconfigure: Likewise.
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23611 Likewise.
23612 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23613 Replace contents of file by #include of <fenv_libc.h>.
23614 * sysdeps/powerpc/soft-fp/sfp-machine.h
23615 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23616 and <sys/prctl.h>.
23617 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23622 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23625 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23630 Allow copysignl PLT reference to be missing.
23631
5abe0682
RS
236322013-10-18 Richard Sandiford <richard@codesourcery.com>
23633 Joseph Myers <joseph@codesourcery.com
23634
23635 [BZ #15948]
23636 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23637 single character.
23638 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23639
c7738d08
SP
236402013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23641
23642 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23643 * elf/tst-tls1.c: Likewise.
23644 * elf/tst-tls10.h: Likewise.
23645 * elf/tst-tls14.c: Likewise.
23646 * elf/tst-tls2.c: Likewise.
23647 * elf/tst-tls3.c: Likewise.
23648 * elf/tst-tls4.c: Likewise.
23649 * elf/tst-tls5.c: Likewise.
23650 * elf/tst-tls6.c: Likewise.
23651 * elf/tst-tls7.c: Likewise.
23652 * elf/tst-tls8.c: Likewise.
23653 * elf/tst-tls9.c: Likewise.
23654 * elf/tst-tlsmod1.c: Likewise.
23655 * elf/tst-tlsmod13.c: Likewise.
23656 * elf/tst-tlsmod13a.c: Likewise.
23657 * elf/tst-tlsmod14a.c: Likewise.
23658 * elf/tst-tlsmod16a.c: Likewise.
23659 * elf/tst-tlsmod16b.c: Likewise.
23660 * elf/tst-tlsmod2.c: Likewise.
23661 * elf/tst-tlsmod3.c: Likewise.
23662 * elf/tst-tlsmod4.c: Likewise.
23663 * elf/tst-tlsmod5.c: Likewise.
23664 * elf/tst-tlsmod6.c: Likewise.
23665
0bfcf2c7
OB
236662013-10-18 Ondřej Bílka <neleai@seznam.cz>
23667
23668 [BZ #12486]
23669 * malloc/malloc.c: remove checks for statistics.
23670
264aad1e
OB
236712013-10-17 Ondřej Bílka <neleai@seznam.cz>
23672
23673 [BZ #15277]
23674 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23675 * inet/tst-network.c: Add testcase.
23676
b957ced8
AS
236772013-10-17 Andreas Schwab <schwab@suse.de>
23678
23679 [BZ #15218]
23680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23681 to determine canonical name.
23682
c5d5d574
OB
236832013-10-17 Ondřej Bílka <neleai@seznam.cz>
23684
23685 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23686 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23709 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23710 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23743
e5c2c2d0
JM
237442013-10-17 Joseph Myers <joseph@codesourcery.com>
23745
23746 [BZ #16041]
23747 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23748 make result into a quiet NaN.
23749
51ca9e29
JM
237502013-10-16 Joseph Myers <joseph@codesourcery.com>
23751
23752 * soft-fp/adddf3.c: Fix horizontal whitespace.
23753 * soft-fp/addsf3.c: Likewise.
23754 * soft-fp/addtf3.c: Likewise.
23755 * soft-fp/divdf3.c: Likewise.
23756 * soft-fp/divsf3.c: Likewise.
23757 * soft-fp/divtf3.c: Likewise.
23758 * soft-fp/double.h: Likewise.
23759 * soft-fp/eqdf2.c: Likewise.
23760 * soft-fp/eqsf2.c: Likewise.
23761 * soft-fp/eqtf2.c: Likewise.
23762 * soft-fp/extenddftf2.c: Likewise.
23763 * soft-fp/extended.h: Likewise.
23764 * soft-fp/extendsfdf2.c: Likewise.
23765 * soft-fp/extendsftf2.c: Likewise.
23766 * soft-fp/extendxftf2.c: Likewise.
23767 * soft-fp/fixdfdi.c: Likewise.
23768 * soft-fp/fixdfsi.c: Likewise.
23769 * soft-fp/fixdfti.c: Likewise.
23770 * soft-fp/fixsfdi.c: Likewise.
23771 * soft-fp/fixsfsi.c: Likewise.
23772 * soft-fp/fixsfti.c: Likewise.
23773 * soft-fp/fixtfdi.c: Likewise.
23774 * soft-fp/fixtfsi.c: Likewise.
23775 * soft-fp/fixtfti.c: Likewise.
23776 * soft-fp/fixunsdfdi.c: Likewise.
23777 * soft-fp/fixunsdfsi.c: Likewise.
23778 * soft-fp/fixunsdfti.c: Likewise.
23779 * soft-fp/fixunssfdi.c: Likewise.
23780 * soft-fp/fixunssfsi.c: Likewise.
23781 * soft-fp/fixunssfti.c: Likewise.
23782 * soft-fp/fixunstfdi.c: Likewise.
23783 * soft-fp/fixunstfsi.c: Likewise.
23784 * soft-fp/fixunstfti.c: Likewise.
23785 * soft-fp/floatdidf.c: Likewise.
23786 * soft-fp/floatdisf.c: Likewise.
23787 * soft-fp/floatditf.c: Likewise.
23788 * soft-fp/floatsidf.c: Likewise.
23789 * soft-fp/floatsisf.c: Likewise.
23790 * soft-fp/floatsitf.c: Likewise.
23791 * soft-fp/floattidf.c: Likewise.
23792 * soft-fp/floattisf.c: Likewise.
23793 * soft-fp/floattitf.c: Likewise.
23794 * soft-fp/floatundidf.c: Likewise.
23795 * soft-fp/floatundisf.c: Likewise.
23796 * soft-fp/floatunditf.c: Likewise.
23797 * soft-fp/floatunsidf.c: Likewise.
23798 * soft-fp/floatunsisf.c: Likewise.
23799 * soft-fp/floatunsitf.c: Likewise.
23800 * soft-fp/floatuntidf.c: Likewise.
23801 * soft-fp/floatuntisf.c: Likewise.
23802 * soft-fp/floatuntitf.c: Likewise.
23803 * soft-fp/fmadf4.c: Likewise.
23804 * soft-fp/fmasf4.c: Likewise.
23805 * soft-fp/fmatf4.c: Likewise.
23806 * soft-fp/gedf2.c: Likewise.
23807 * soft-fp/gesf2.c: Likewise.
23808 * soft-fp/getf2.c: Likewise.
23809 * soft-fp/ledf2.c: Likewise.
23810 * soft-fp/lesf2.c: Likewise.
23811 * soft-fp/letf2.c: Likewise.
23812 * soft-fp/muldf3.c: Likewise.
23813 * soft-fp/mulsf3.c: Likewise.
23814 * soft-fp/multf3.c: Likewise.
23815 * soft-fp/negdf2.c: Likewise.
23816 * soft-fp/negsf2.c: Likewise.
23817 * soft-fp/negtf2.c: Likewise.
23818 * soft-fp/op-1.h: Likewise.
23819 * soft-fp/op-2.h: Likewise.
23820 * soft-fp/op-4.h: Likewise.
23821 * soft-fp/op-8.h: Likewise.
23822 * soft-fp/op-common.h: Likewise.
23823 * soft-fp/quad.h: Likewise.
23824 * soft-fp/single.h: Likewise.
23825 * soft-fp/soft-fp.h: Likewise.
23826 * soft-fp/sqrtdf2.c: Likewise.
23827 * soft-fp/sqrtsf2.c: Likewise.
23828 * soft-fp/sqrttf2.c: Likewise.
23829 * soft-fp/subdf3.c: Likewise.
23830 * soft-fp/subsf3.c: Likewise.
23831 * soft-fp/subtf3.c: Likewise.
23832 * soft-fp/truncdfsf2.c: Likewise.
23833 * soft-fp/trunctfdf2.c: Likewise.
23834 * soft-fp/trunctfsf2.c: Likewise.
23835 * soft-fp/trunctfxf2.c: Likewise.
23836 * soft-fp/unorddf2.c: Likewise.
23837 * soft-fp/unordsf2.c: Likewise.
23838 * soft-fp/unordtf2.c: Likewise.
23839
9ebb0332
JM
238402013-10-15 Joseph Myers <joseph@codesourcery.com>
23841
23842 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23843 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23844
4b1a6d8b
OB
238452013-10-15 Ondřej Bílka <neleai@seznam.cz>
23846
23847 * elf/dl-libc.c: Clear initfini list after freeing.
23848
1e145589
JM
238492013-10-14 Joseph Myers <joseph@codesourcery.com>
23850
23851 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23852 * soft-fp/addsf3.c: Likewise.
23853 * soft-fp/addtf3.c: Likewise.
23854 * soft-fp/divdf3.c: Likewise.
23855 * soft-fp/divsf3.c: Likewise.
23856 * soft-fp/divtf3.c: Likewise.
23857 * soft-fp/double.h: Likewise.
23858 * soft-fp/eqdf2.c: Likewise.
23859 * soft-fp/eqsf2.c: Likewise.
23860 * soft-fp/eqtf2.c: Likewise.
23861 * soft-fp/extenddftf2.c: Likewise.
23862 * soft-fp/extended.h: Likewise.
23863 * soft-fp/extendsfdf2.c: Likewise.
23864 * soft-fp/extendsftf2.c: Likewise.
23865 * soft-fp/extendxftf2.c: Likewise.
23866 * soft-fp/fixdfdi.c: Likewise.
23867 * soft-fp/fixdfsi.c: Likewise.
23868 * soft-fp/fixdfti.c: Likewise.
23869 * soft-fp/fixsfdi.c: Likewise.
23870 * soft-fp/fixsfsi.c: Likewise.
23871 * soft-fp/fixsfti.c: Likewise.
23872 * soft-fp/fixtfdi.c: Likewise.
23873 * soft-fp/fixtfsi.c: Likewise.
23874 * soft-fp/fixtfti.c: Likewise.
23875 * soft-fp/fixunsdfdi.c: Likewise.
23876 * soft-fp/fixunsdfsi.c: Likewise.
23877 * soft-fp/fixunsdfti.c: Likewise.
23878 * soft-fp/fixunssfdi.c: Likewise.
23879 * soft-fp/fixunssfsi.c: Likewise.
23880 * soft-fp/fixunssfti.c: Likewise.
23881 * soft-fp/fixunstfdi.c: Likewise.
23882 * soft-fp/fixunstfsi.c: Likewise.
23883 * soft-fp/fixunstfti.c: Likewise.
23884 * soft-fp/floatdidf.c: Likewise.
23885 * soft-fp/floatdisf.c: Likewise.
23886 * soft-fp/floatditf.c: Likewise.
23887 * soft-fp/floatsidf.c: Likewise.
23888 * soft-fp/floatsisf.c: Likewise.
23889 * soft-fp/floatsitf.c: Likewise.
23890 * soft-fp/floattidf.c: Likewise.
23891 * soft-fp/floattisf.c: Likewise.
23892 * soft-fp/floattitf.c: Likewise.
23893 * soft-fp/floatundidf.c: Likewise.
23894 * soft-fp/floatundisf.c: Likewise.
23895 * soft-fp/floatunsidf.c: Likewise.
23896 * soft-fp/floatunsisf.c: Likewise.
23897 * soft-fp/floatuntidf.c: Likewise.
23898 * soft-fp/floatuntisf.c: Likewise.
23899 * soft-fp/floatuntitf.c: Likewise.
23900 * soft-fp/fmadf4.c: Likewise.
23901 * soft-fp/fmasf4.c: Likewise.
23902 * soft-fp/fmatf4.c: Likewise.
23903 * soft-fp/gedf2.c: Likewise.
23904 * soft-fp/gesf2.c: Likewise.
23905 * soft-fp/getf2.c: Likewise.
23906 * soft-fp/ledf2.c: Likewise.
23907 * soft-fp/lesf2.c: Likewise.
23908 * soft-fp/letf2.c: Likewise.
23909 * soft-fp/muldf3.c: Likewise.
23910 * soft-fp/mulsf3.c: Likewise.
23911 * soft-fp/multf3.c: Likewise.
23912 * soft-fp/negdf2.c: Likewise.
23913 * soft-fp/negsf2.c: Likewise.
23914 * soft-fp/negtf2.c: Likewise.
23915 * soft-fp/op-1.h: Likewise.
23916 * soft-fp/op-2.h: Likewise.
23917 * soft-fp/op-4.h: Likewise.
23918 * soft-fp/op-8.h: Likewise.
23919 * soft-fp/op-common.h: Likewise.
23920 * soft-fp/quad.h: Likewise.
23921 * soft-fp/single.h: Likewise.
23922 * soft-fp/soft-fp.h: Likewise.
23923 * soft-fp/sqrtdf2.c: Likewise.
23924 * soft-fp/sqrtsf2.c: Likewise.
23925 * soft-fp/sqrttf2.c: Likewise.
23926 * soft-fp/subdf3.c: Likewise.
23927 * soft-fp/subsf3.c: Likewise.
23928 * soft-fp/subtf3.c: Likewise.
23929 * soft-fp/truncdfsf2.c: Likewise.
23930 * soft-fp/trunctfdf2.c: Likewise.
23931 * soft-fp/trunctfsf2.c: Likewise.
23932 * soft-fp/trunctfxf2.c: Likewise.
23933 * soft-fp/unorddf2.c: Likewise.
23934 * soft-fp/unordsf2.c: Likewise.
23935 * soft-fp/unordtf2.c: Likewise.
23936
17c48a60
OB
239372013-10-14 Ondřej Bílka <neleai@seznam.cz>
23938
23939 [BZ #15672]
23940 * misc/error.c (error_tail): Fix possible buffer overflow.
23941
cabba934
OB
239422013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23943
23944 [BZ #13028]
23945 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23946 address.
23947
94bf958a
PM
239482013-10-14 P. J. McDermott <pj@pehjota.net>
23949
23950 [BZ #832]
23951 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23952 testing pipefail option.
23953
71b4dea7
JM
239542013-10-12 Joseph Myers <joseph@codesourcery.com>
23955
23956 * soft-fp/double.h: Indent preprocessor directives inside #if.
23957 * soft-fp/extended.h: Likewise.
23958 * soft-fp/op-2.h: Likewise.
23959 * soft-fp/op-4.h: Likewise.
23960 * soft-fp/op-common.h: Likewise.
23961 * soft-fp/quad.h: Likewise.
23962 * soft-fp/single.h: Likewise.
23963 * soft-fp/soft-fp.h: Likewise.
23964
55602758
YC
239652013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23966
23967 * iconv/iconv_prog.c: Fix typos.
23968 * stdio-common/psiginfo-data.h: Likewise.
23969
9cd83302
RT
239702013-10-12 Reuben Thomas <rrt@sc3d.org>
23971
23972 [BZ #15764]
23973 * locale/setlocale.c: Fix typo.
23974
99fd9f47
JM
239752013-10-12 Joseph Myers <joseph@codesourcery.com>
23976
b7ea74f0
JM
23977 [BZ #16036]
23978 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23979 signaling NaN arguments.
23980 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23981 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23982
8a509447
JM
23983 [BZ #14910]
23984 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23985 unordered operands.
23986 * soft-fp/gesf2.c (__gesf2): Likewise.
23987 * soft-fp/getf2.c (__getf2): Likewise.
23988 * soft-fp/ledf2.c (__ledf2): Likewise.
23989 * soft-fp/lesf2.c (__lesf2): Likewise.
23990 * soft-fp/letf2.c (__letf2): Likewise.
23991
98998e9f
JM
23992 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23993 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23994 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23995 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23996 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23997 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23998 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23999 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24000 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24001 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24002 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24003 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24004 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24005 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24006 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24007 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24008 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24009 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24010 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24011 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24012 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24013 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24014 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24015 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24016 * soft-fp/floattidf.c (__floattidf): Likewise.
24017 * soft-fp/floattisf.c (__floattisf): Likewise.
24018 * soft-fp/floattitf.c (__floattitf): Likewise.
24019 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24020 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24021 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24022 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24023 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24024 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24025 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24026 * soft-fp/gesf2.c (__gesf2): Likewise.
24027 * soft-fp/getf2.c (__getf2): Likewise.
24028 * soft-fp/ledf2.c (__ledf2): Likewise.
24029 * soft-fp/lesf2.c (__lesf2): Likewise.
24030 * soft-fp/letf2.c (__letf2): Likewise.
24031
8edc4a11
JM
24032 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24033 Undefine and redefine.
24034 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24035 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24036 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24037 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24038 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24039 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24040 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24041 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24042 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24043 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24044 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24045 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24046 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24047 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24048 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24049
8399acaf
JM
24050 [BZ #16032]
24051 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24052 without decrementing exponent if mantissa >= that for the
24053 denominator, not >.
24054 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24055 denominator, not >. Decrement exponent in < case instead of
24056 incrementing in >= case.
24057 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24058 without decrementing exponent if mantissa >= that for the
24059 denominator, not >.
24060
99fd9f47
JM
24061 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24062 computing saturated result for unsigned overflow.
24063
10e1cf6b
SP
240642013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24065 Jeff Law <law@redhat.com>
24066
24067 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24068 (atan2Mp): Add systemtap probe marker.
24069 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24070 (__ieee754_log): Add systemtap probe marker.
24071 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24072 (atanMp): Add systemtap probe marker.
24073 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24074 (tanMp): Add systemtap probe marker.
24075 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24076 (__slowexp): Add systemtap probe marker.
24077 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24078 (__slowpow): Add systemtap probe marker.
24079 * manual/probes.texi: Document probes.
24080
3d110c7c
EB
240812013-10-11 Eric Biggers <ebiggers3@gmail.com>
24082
24083 [BZ #15362]
24084 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24085 written.
24086 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24087 written.
24088 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24089 written to buffer but not flushed.
24090 * libio/iofwrite_u.c: Likewise.
24091 * libio/iopadn.c: Return bytes returned even if EOF was
24092 encountered.
24093 * libio/iowpadn.c: Likewise.
24094 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24095 if _IO_padn does not write the whole buffer.
24096 [!COMPILE_WPRINTF] (PAD): Likewise.
24097
75b4202a
DM
240982013-10-10 David S. Miller <davem@davemloft.net>
24099
24100 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24101 directory block.
24102
6c6352e6
JM
241032013-10-10 Joseph Myers <joseph@codesourcery.com>
24104
33b853c3
JM
24105 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24106 instead of FSF address.
24107 * soft-fp/fixdfti.c: Likewise.
24108 * soft-fp/fixsfti.c: Likewise.
24109 * soft-fp/fixtfti.c: Likewise.
24110 * soft-fp/fixunsdfti.c: Likewise.
24111 * soft-fp/fixunssfti.c: Likewise.
24112 * soft-fp/fixunstfti.c: Likewise.
24113 * soft-fp/floattidf.c: Likewise.
24114 * soft-fp/floattisf.c: Likewise.
24115 * soft-fp/floattitf.c: Likewise.
24116 * soft-fp/floatuntidf.c: Likewise.
24117 * soft-fp/floatuntisf.c: Likewise.
24118 * soft-fp/floatuntitf.c: Likewise.
24119 * soft-fp/trunctfxf2.c: Likewise.
24120
6c6352e6
JM
24121 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24122 * soft-fp/fixdfti.c: Likewise.
24123 * soft-fp/fixsfti.c: Likewise.
24124 * soft-fp/fixtfti.c: Likewise.
24125 * soft-fp/fixunsdfti.c: Likewise.
24126 * soft-fp/fixunssfti.c: Likewise.
24127 * soft-fp/fixunstfti.c: Likewise.
24128 * soft-fp/floattidf.c: Likewise.
24129 * soft-fp/floattisf.c: Likewise.
24130 * soft-fp/floattitf.c: Likewise.
24131 * soft-fp/floatuntidf.c: Likewise.
24132 * soft-fp/floatuntisf.c: Likewise.
24133 * soft-fp/floatuntitf.c: Likewise.
24134 * soft-fp/trunctfxf2.c: Likewise.
24135
3bf78b71
DM
241362013-10-10 David S. Miller <davem@davemloft.net>
24137
24138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24139
6f10289e
JM
241402013-10-10 Joseph Myers <joseph@codsourcery.com>
24141
bd878fc0
JM
24142 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24143 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24144 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24145 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24146 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24147 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24148 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24149
6f10289e
JM
24150 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24151 for NaNs before doing comparisons on argument.
24152 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24153 Likewise.
24154
321e2684
WN
241552013-10-10 Will Newton <will.newton@linaro.org>
24156
24157 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24158 passed to _int_memalign does not overflow.
24159
40fefba1
TR
241602013-10-10 Torvald Riegel <triegel@redhat.com>
24161
24162 * scripts/bench.pl: Add include-sources directive.
24163 * benchtests/README: Update documentation.
24164
2ae21ed2
JM
241652013-10-10 Joseph Myers <joseph@codesourcery.com>
24166
dcc2dd3f
JM
24167 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24168 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24169 instead of FP_INIT_ROUNDMODE.
24170 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24171 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24172
2ae21ed2
JM
24173 [BZ #16034]
24174 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24175 copy class of input value.
24176 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24177 not handle exceptions.
24178 * soft-fp/negsf2.c (__negsf2): Likewise.
24179 * soft-fp/negtf2.c (__negtf2): Likewise.
24180 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24181
cb8f9562
JM
241822013-10-09 Joseph Myers <joseph@codesourcery.com>
24183
24184 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24185 semicolon. From Linux kernel.
24186
5b60c59d
AB
241872013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24188
24189 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24190
b86835ca
YC
241912013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24192
24193 [BZ #156]
24194 * manual/socket.texi: Added statement about buffer
24195 for gethostbyname2_r.
24196
e7044ea7
OB
241972013-10-08 Ondřej Bílka <neleai@seznam.cz>
24198
24199 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24200 Use .p2align directive instead, throughout.
24201 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24202 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24203 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24204 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24206 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24207 * sysdeps/x86_64/strchr.S: Likewise.
24208 * sysdeps/x86_64/strrchr.S: Likewise.
24209
09544cbc
SP
242102013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24211
88576635
SP
24212 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24213
e7b2d1dd
SP
24214 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24215
09544cbc
SP
24216 * sysdeps/generic/math_private.h (__mpsin1): Remove
24217 declaration.
24218 (__mpcos1): Likewise.
24219 (__mpsin): New argument __range_reduce.
24220 (__mpcos): Likewise.
24221 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24222 (slow): Use __mpsin and __mpcos.
24223 (slow1): Likewise.
24224 (slow2): Likewise.
24225 (sloww): Likewise.
24226 (sloww1): Likewise.
24227 (sloww2): Likewise.
24228 (bsloww): Likewise.
24229 (bsloww1): Likewise.
24230 (bsloww2): Likewise.
24231 (cslow2): Likewise.
24232 (csloww): Likewise.
24233 (csloww1): Likewise.
24234 (csloww2): Likewise.
24235 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24236 range_reduce. Merge in __mpsin1.
24237 (__mpcos): Likewise.
24238 (__mpsin1): Remove.
24239 (__mpcos1): Likewise.
24240
7602d070
JM
242412013-10-07 Joseph Myers <joseph@codesourcery.com>
24242
24243 * locale/loadlocale.c (_nl_intern_locale_data): Use
24244 LOCFILE_ALIGNED_P.
24245 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24246 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24247 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24248 obstack data is appropriately aligned.
24249 (obstack_int32_grow_fast): Likewise.
24250 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24251 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24252 (add_locale_uint32_array): Likewise.
24253
a357259b
SP
242542013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24255
24256 * benchtests/Makefile: Remove ARGLIST and RET variables.
24257 ($(objpfx)bench-%.c): Pass only function name to the script.
24258 * benchtests/README: Update documentation.
24259 * benchtests/acos-inputs: Add new directives.
24260 * benchtests/acosh-inputs: Likewise.
24261 * benchtests/asin-inputs: Likewise.
24262 * benchtests/asinh-inputs: Likewise.
24263 * benchtests/atan-inputs: Likewise.
24264 * benchtests/atanh-inputs: Likewise.
24265 * benchtests/cos-inputs: Likewise.
24266 * benchtests/cosh-inputs: Likewise.
24267 * benchtests/exp-inputs: Likewise.
24268 * benchtests/log-inputs: Likewise.
24269 * benchtests/pow-inputs: Likewise.
24270 * benchtests/rint-inputs: Likewise.
24271 * benchtests/sin-inputs: Likewise.
24272 * benchtests/sinh-inputs: Likewise.
24273 * benchtests/tan-inputs: Likewise.
24274 * benchtests/tanh-inputs: Likewise.
24275 * scripts/bench.pl: Add support for new directives.
24276
9ec1b13d
AM
242772013-10-07 Alan Modra <amodra@gmail.com>
24278
24279 * README: Fix careless merge.
24280
8b7d57cd
AM
242812013-10-05 Alan Modra <amodra@gmail.com>
24282
24283 * NEWS: Mention powerpc64le support and bugs fixed.
24284 * README: Both big-endian and little-endian powerpc64 supported.
24285
7b7bab13
ST
242862013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24287
57f41c40
AS
24288 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24289 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24290 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24291 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24292
d39baad1
RA
242932013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24294
24295 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24296 match prototype.
24297
cd78f7e7
JM
242982013-10-04 Joseph Myers <joseph@codesourcery.com>
24299
29d73d86
JM
24300 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24301 Move -mhard-float appending from
24302 ports/sysdeps/powerpc/powerpc32/Makefile.
24303 [$(with-fp) = yes] (ASFLAGS): Likewise.
24304 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24305 * sysdeps/powerpc/nofpu: Move directory from
24306 ports/sysdeps/powerpc/nofpu.
24307 * sysdeps/powerpc/soft-fp: Move directory from
24308 ports/sysdeps/powerpc/soft-fp.
24309 * sysdeps/powerpc/powerpc32/405: Move directory from
24310 ports/sysdeps/powerpc/powerpc32/405.
24311 * sysdeps/powerpc/powerpc32/440: Move directory from
24312 ports/sysdeps/powerpc/powerpc32/440.
24313 * sysdeps/powerpc/powerpc32/464: Move directory from
24314 ports/sysdeps/powerpc/powerpc32/464.
24315 * sysdeps/powerpc/powerpc32/476: Move directory from
24316 ports/sysdeps/powerpc/powerpc32/476.
24317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24318 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24320 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24322 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24324 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24326 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24327 * README: Update for powerpc-*-linux-gnu software floating point
24328 support in libc.
24329
e246b347
JM
24330 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24331 case to powerpc/powerpc32*.
24332 * sysdeps/unix/sysv/linux/configure: Regenerated.
24333
89c2003e
JM
24334 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24335 (_FPU_MASK_OM): Define as 0x04.
24336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24338 0x00c10080.
24339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24340 0x0000003c.
24341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24342
cd78f7e7
JM
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24344 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24345 getcontext_e500.
24346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24347 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24348 setcontext_e500.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24350 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24351 and setcontext_e500.
24352
c755294d
CL
243532013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24354
24355 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24356
e16d221c
SP
243572013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24358
24359 * manual/threads.texi (Default Thread Attributes): Fix typo.
24360
215c7d43
WN
243612013-10-04 Will Newton <will.newton@linaro.org>
24362
24363 * malloc/Makefile: Add tst-memalign.
24364 * malloc/tst-memalign.c: New file.
24365
27d0461b
WN
24366 * malloc/tst-posix_memalign.c: Add comments.
24367 (do_test): Add comments and call free on all potentially
24368 allocated pointers. Add space after cast.
24369
1bc92709
WN
24370 * malloc/tst-pvalloc.c: Add comments.
24371 (do_test): Add comments and call free on all potentially
24372 allocated pointers. Remove duplicate check for NULL pointer.
24373 Add space after cast.
24374
66a9be9d
WN
24375 * malloc/tst-valloc.c: Add comments.
24376 (do_test): Add comments and call free on all potentially
24377 allocated pointers. Remove duplicate check for NULL pointer.
24378 Add space after cast.
24379
4cb81307
AM
243802013-10-04 Alan Modra <amodra@gmail.com>
24381
24382 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24383 Use stdint types in rather than __attribute__((mode())).
24384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24385
f8e3e9f3
AM
243862013-10-04 Alan Modra <amodra@gmail.com>
24387
24388 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24389 Correct handling of unaligned relocs for little-endian.
24390 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24391
8f9ebb08
AM
243922013-10-04 Alan Modra <amodra@gmail.com>
24393
24394 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24395 * configure: Regenerate.
24396 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24397 * shlib-versions: Likewise.
24398
0edf96c2
AM
243992013-10-04 Alan Modra <amodra@gmail.com>
24400
24401 * string/tester.c (test_memrchr): Increment reported test cycle.
24402
e0f7a380
AM
244032013-10-04 Alan Modra <amodra@gmail.com>
24404
24405 * string/test-memcpy.c (do_one_test): When reporting errors, print
24406 string address and don't overrun end of string.
24407
466b0393
AM
244082013-10-04 Alan Modra <amodra@gmail.com>
24409
24410 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24411 insrdi. Make better use of reg selection to speed exit slightly.
24412 Schedule entry path a little better. Remove useless "are we done"
24413 checks on entry to main loop. Handle wrapping around zero address.
24414 Correct main loop count. Handle single left-over word from main
24415 loop inline rather than by using loop_small. Remove extra word
24416 case in loop_small caused by wrong loop count. Add little-endian
24417 support.
24418 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24419 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24420 cache hint.
24421 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24422 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24423 support. Avoid rlwimi.
24424 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24425
3be87c77
AM
244262013-10-04 Alan Modra <amodra@gmail.com>
24427
24428 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24429 insrdi. Formatting.
3be87c77
AM
24430 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24431 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24432 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24433 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24434 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24435 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24436
759cfef3
AM
244372013-10-04 Alan Modra <amodra@gmail.com>
24438
24439 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24442 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24443 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24444 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24446 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24447 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24448 use of regs. Use power7 mtocrf. Tidy function tails.
24449
fe6e95d7
AM
244502013-10-04 Alan Modra <amodra@gmail.com>
24451
24452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24453 Formatting. Consistently use rXXX register defines or rN defines.
24454 Use early exit labels that avoid restoring unused non-volatile regs.
24455 Make cr field use more consistent with rWORDn compares. Rename
24456 regs used as shift registers for unaligned loop, using rN defines
24457 for short lifetime/multiple use regs.
24458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24460 addi 1,1,64 to pop stack frame. Simplify return value code.
24461 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24462
664318c3
AM
244632013-10-04 Alan Modra <amodra@gmail.com>
24464
24465 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24466 support. Correct typos, formatting. Optimize tail. Use insrdi
24467 rather than rlwimi.
24468 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24469 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24470 little-endian support. Correct typos.
24471 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24472 rather than rlwimi.
24473 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24474 in loop and entry code to keep "and." results.
24475 (strchr): Add little-endian support. Comment. Move cntlzd
24476 earlier in tail.
24477 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24478
43b84013
AM
244792013-10-04 Alan Modra <amodra@gmail.com>
24480
24481 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24482 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24483 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24484 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24485
8a7413f9
AM
244862013-10-04 Alan Modra <amodra@gmail.com>
24487
24488 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24489 (rTMP): Define as r11.
24490 (strcmp): Add little-endian support. Optimise tail.
24491 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24492 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24493 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24494 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24495 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24496 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24498
33ee81de
AM
244992013-10-04 Alan Modra <amodra@gmail.com>
24500
24501 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24502 little-endian support. Remove unnecessary "are we done" tests.
24503 Handle "s" wrapping around zero and extremely large "size".
24504 Correct main loop count. Handle single left-over word from main
24505 loop inline rather than by using small_loop. Correct comments.
24506 Delete "zero" tail, use "end_max" instead.
24507 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24508
db9b4570
AM
245092013-10-04 Alan Modra <amodra@gmail.com>
24510
24511 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24512 support. Don't branch over align.
24513 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24514 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24515 support. Rearrange tmp reg use to suit. Comment.
24516 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24517
f7c399cf
AM
245182013-10-04 Alan Modra <amodra@gmail.com>
24519
24520 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24521
0b2c2ace
AM
245222013-10-04 Alan Modra <amodra@gmail.com>
24523
24524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24525 conditional form of branch and link when obtaining pc.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24527
02f04a6c
AM
245282013-10-04 Alan Modra <amodra@gmail.com>
24529
24530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24531 HIWORD/LOWORD.
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24534
9b874b2f
AM
245352013-10-04 Alan Modra <amodra@gmail.com>
24536
24537 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24538 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24539 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24540 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24541 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24542 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24543 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24544 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24545 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24546 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24547
be1e5d31
AB
245482013-10-04 Anton Blanchard <anton@au1.ibm.com>
24549 Alistair Popple <alistair@ozlabs.au.ibm.com>
24550 Alan Modra <amodra@gmail.com>
24551
24552 [BZ #15723]
24553 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24554 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24555 _dl_hwcap access for little-endian.
24556 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24557 destroy vmx regs when saving unaligned.
24558 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24559 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24560 destroy vmx regs when saving unaligned.
24561
fef13a78
AM
245622013-10-04 Alan Modra <amodra@gmail.com>
24563
24564 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24565 Don't use a union to pack hi/low value.
24566
76a66d51
AB
245672013-10-04 Anton Blanchard <anton@au1.ibm.com>
24568
24569 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24570 for little-endian.
24571 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24572 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24574 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24575 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24576
6a31fe7f
AM
245772013-10-04 Alan Modra <amodra@gmail.com>
24578
24579 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24580 constants to usual value for .cst8 section, and remove redundant
24581 high address load.
24582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24583 constant for 0x1p52. Load little-endian words of double from
24584 correct stack offsets.
24585
7b88401f
AM
245862013-10-04 Alan Modra <amodra@gmail.com>
24587
24588 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24589 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24590 words of double from correct stack offsets.
24591 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24592 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24593 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24597 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24598 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24599 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24600 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24601 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24603 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24604 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24605 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24606 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24607 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24608
9c008155
AM
246092013-10-04 Alan Modra <amodra@gmail.com>
24610
24611 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24612 64-bit int/double union.
24613 (_FPU_SETCW): Likewise.
24614 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24615 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24616
da13146d
AM
246172013-10-04 Alan Modra <amodra@gmail.com>
24618
24619 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24620 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24621
603e8410
AM
246222013-10-04 Alan Modra <amodra@gmail.com>
24623
24624 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24625 use vector int constants.
24626 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24627
4a28b3ca
AB
246282013-10-04 Anton Blanchard <anton@au1.ibm.com>
24629
24630 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24631 array with long long.
24632 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24633 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24634 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24635 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24636 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24637 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24638 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24639 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24640 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24641 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24642 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24643 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24644 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24645
2ca85d2b
AB
246462013-10-04 Anton Blanchard <anton@au1.ibm.com>
24647
24648 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24649 (__signbit): Likewise. Correct for little-endian.
24650 (__signbitl): Call __signbit.
24651 (lrint): Correct for little-endian.
24652 (lrintf): Call lrint.
24653
62a728ae
AM
246542013-10-04 Alan Modra <amodra@gmail.com>
24655
24656 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24657 union 32-bit int array member with 64-bit int array.
24658 (t515, tm256): Double rather than long double.
24659 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24660
32c301df
AM
246612013-10-04 Alan Modra <amodra@gmail.com>
24662
24663 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24664 Delete.
24665 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24667 version of math_ldbl.h.
24668
650ef4bd
AM
246692013-10-04 Alan Modra <amodra@gmail.com>
24670
24671 [BZ #15734], [BZ #15735]
24672 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24673 all uses of ieee875 long double macros and unions. Simplify test
24674 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24675 ldbl_extract_mantissa value for ix,iy exponents. Properly
24676 normalize after ldbl_extract_mantissa, and don't add hidden bit
24677 already handled. Don't treat low word of ieee854 mantissa like
24678 low word of IBM long double and mask off bit when testing for
24679 zero.
24680 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24681 all uses of ieee875 long double macros and unions. Simplify tests
24682 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24683 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24684 two1022, instead use their values. Recognise that tests for large
24685 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24686 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24687 Rewrite all uses of ieee875 long double macros and unions. Simplify
24688 test for 0.0L and nan. Correct negation.
24689 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24690 ieee875 long double macros and unions. Correct output for large
24691 magnitude x. Correct absolute value calculation.
24692 (__erfcl): Likewise.
24693 * math/libm-test.inc: Add tests for errors discovered in IBM long
24694 double versions of fmodl, remainderl, erfl and erfcl.
24695
765714ca
AM
246962013-10-04 Alan Modra <amodra@gmail.com>
24697
24698 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24699 all uses of ieee854 long double macros and unions. Simplify tests
24700 for long doubles that are fully specified by the high double.
24701 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24702 Likewise.
24703 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24704 Remove dead code too.
24705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24706 (__ieee754_ynl): Likewise.
24707 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24708 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24709 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24710 Remove dead code too.
24711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24712 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24713 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24715 Simplify.
24716 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24717 Simplify.
24718 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24720 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24721 Comment on variable precision.
24722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24724 Likewise.
24725 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24727 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24728 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24729 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24730
4ebd120c
AM
247312013-10-04 Alan Modra <amodra@gmail.com>
24732
24733 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24734 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24735 all uses of ieee854 long double macros and unions.
24736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24738 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24739 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24740 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24741 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24742 Likewise.
24743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24744 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24745 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24746 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24748 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24749 Simplify sign and nan test too.
24750 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24752 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24753 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24754 Likewise.
24755 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24756 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24757 Likewise.
24758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24760 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24764
1b6adf88
AM
247652013-10-04 Alan Modra <amodra@gmail.com>
24766
24767 * stdio-common/printf_size.c (__printf_size): Don't use
24768 union ieee854_long_double in fpnum union.
24769 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24770 signbit macro to retrieve sign from long double.
24771 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24772 retrieve sign from long double.
24773 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24774 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24775 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24776 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24777 * math/test-misc.c (main): Don't use union ieee854_long_double.
24778
4cf69995
AM
247792013-10-04 Alan Modra <amodra@gmail.com>
24780
24781 [BZ #15680]
24782 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24783 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24784 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24785 calculation. Remove unnecessary test for denormal exponent.
24786 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24787 Correct handling of denormals. Avoid undefined shift behaviour.
24788 Correct normalisation of low mantissa when low double is denormal.
24789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24790 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24791 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24792 Correct normalisation of low mantissa. Test for overflow of high
24793 mantissa and normalise.
24794 (ldbl_nearbyint): Use more readable constant for two52.
24795 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24796 (__mpn_construct_long_double): Fix test for overflow of high
24797 mantissa and correct normalisation. Avoid undefined shift.
24798
9605ca6c
AM
247992013-10-04 Alan Modra <amodra@gmail.com>
24800
24801 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24802 (union ibm_extended_long_double): Define as an array of ieee754_double.
24803 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24805 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24806 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24810 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24814
975569d0
JM
248152013-10-03 Joseph Myers <joseph@codesourcery.com>
24816
d3d23756
JM
24817 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24818 page size instead of calling getpagesize.
24819
975569d0
JM
24820 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24821 (LOCFILE_ALIGN_MASK): Likewise.
24822 (LOCFILE_ALIGN_UP): Likewise.
24823 (LOCFILE_ALIGNED_P): Likewise.
24824 * locale/programs/ld-collate.c (collate_output): Use the new
24825 macros instead of __alignof__ (int32_t).
24826 * locale/weight.h (findidx): Likewise.
24827
b1fe1f2b
OB
248282013-10-03 Ondřej Bílka <neleai@seznam.cz>
24829
24830 [BZ #431]
24831 * manual/string.texi: Fix strncat and wcsncat.
24832
5f855e35
BM
248332013-10-03 Brooks Moses <bmoses@google.com>
24834
24835 [BZ #15915]
24836 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24837 * Makerules: ...here, and adjust associated comments.
24838
3cef6009
WN
248392013-10-02 Will Newton <will.newton@linaro.org>
24840
24841 * malloc/Makefile: Add tst-pvalloc.
24842 * malloc/tst-pvalloc.c: New file.
24843
7815420b
WN
248442013-10-02 Will Newton <will.newton@linaro.org>
24845
24846 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24847 improve test coverage.
24848
4868b204
WN
248492013-10-02 Will Newton <will.newton@linaro.org>
24850
24851 * malloc/Makefile: Add tst-posix_memalign.
24852 * malloc/tst-posix_memalign.c: New file.
24853
29c793b3
EB
248542013-10-01 Eric Blake <eblake@redhat.com>
24855
24856 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24857 Use __THROWNL rather than __THROW on static functions.
24858
fd967522
PM
248592013-09-30 Petr Machata <pmachata@redhat.com>
24860
24861 * elf/elf.h (R_AARCH64_ABS16): New macro.
24862 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24863 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24864 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24865 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24866 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24867 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24868 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24869 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24870 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24871 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24872 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24873 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24874 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24875 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24876 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24877 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24878 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24879 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24880 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24881 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24882 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24883 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24884 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24885 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24886 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24887 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24888 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24889 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24890 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24891 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24892 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24893 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24894 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24895 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24896 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24897 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24898 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24899 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24900 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24901 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24902 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24903 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24904 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24905 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24906 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24907 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24908 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24909 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24910 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24911 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24912 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24913 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24914 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24915 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24916 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24917 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24918 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24919 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24920 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24921 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24922 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24923 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24924 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24925 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24926 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24927 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24928 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24929 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24930 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24931 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24932 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24933 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24934 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24935 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24936 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24937 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24938 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24939 (R_AARCH64_TLSDESC_LDR): Likewise.
24940 (R_AARCH64_TLSDESC_ADD): Likewise.
24941 (R_AARCH64_TLSDESC_CALL): Likewise.
24942
b2179107
AS
249432013-09-30 Andreas Schwab <schwab@suse.de>
24944
24945 [BZ #15048]
24946 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24947 the nss database lookup.
24948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24950
47f28d0a
MF
249512013-09-28 Mike Frysinger <vapier@gentoo.org>
24952
24953 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24954
249552013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24956
24957 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24958 ${Bash-specific parameter/pattern/string} parameter expansion.
24959 * sysdeps/unix/make-syscalls.sh: Likewise.
24960
f4518a17
KK
249612013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24962
24963 * sysdeps/sh/stackguard-macros.h: New file.
24964
dc1a95c7
OB
249652013-09-26 Ondřej Bílka <neleai@seznam.cz>
24966
24967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24969 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24970 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24971 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24972 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24973
5ebbff8f
AZ
249742013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24975
24976 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24977 Fix thread ID register.
24978
4fd2cf9f
JM
249792013-09-25 Joseph Myers <joseph@codesourcery.com>
24980
24981 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24982 [POSIX || UNIX98]: Require rather than permitting all symbols from
24983 <time.h>.
24984 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24985 element of struct sched_param.
24986 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24987 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24988 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24989 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24990 constant.
24991
12c22bc4
OL
249922013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24993
24994 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24995 argument calculation.
24996
a03d8ea7
JM
249972013-09-24 Joseph Myers <joseph@codesourcery.com>
24998
24999 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25000 Expect macro.
25001 [POSIX] (pthread_attr_t): Do not require type.
25002 [POSIX] (pthread_cond_t): Likewise.
25003 [POSIX] (pthread_condattr_t): Likewise.
25004 [POSIX] (pthread_key_t): Likewise.
25005 [POSIX] (pthread_mutex_t): Likewise.
25006 [POSIX] (pthread_mutexattr_t): Likewise.
25007 [POSIX] (pthread_once_t): Likewise.
25008 [POSIX] (pthread_t): Likewise.
25009 [POSIX-based standards] (pthread_atfork): Expect function.
25010
6055173a
JM
250112013-09-24 Joseph Myers <joseph@codesourcery.com>
25012 Richard Sandiford <richard@codesourcery.com>
25013
25014 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25015 (swap_endianness_p): New extern variable.
25016 (set_big_endian): New inline function.
25017 (maybe_swap_uint32): Likewise.
25018 (maybe_swap_uint32_array): Likewise.
25019 (maybe_swap_uint32_obstack): Likewise.
25020 * locale/programs/locfile.c: Include <stdbool.h>.
25021 (swap_endianness_p): New variable.
25022 (add_locale_uint32): Call maybe_swap_uint32.
25023 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25024 (write_locale_data): Call maybe_swap_uint32_array.
25025 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25026 maybe_swap_uint32.
25027 (obstack_int32_grow_fast): Likewise.
25028 (output_weightwc): Call maybe_swap_uint32_obstack.
25029 (collate_output): Likewise.
25030 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25031 (OPT_LITTLE_ENDIAN): Likewise.
25032 (options): Add --little-endian and --big-endian options.
25033 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25034 * locale/programs/locarchive.c: Include "locfile.h".
25035 (GET): New macro.
25036 (SET): Likewise.
25037 (INC): Likewise.
25038 (create_archive): Use the new macros to access fields of
25039 structures directly mapped from or written to locale archives.
25040 (oldlocrecentcmp): Likewise.
25041 (enlarge_archive): Likewise.
25042 (insert_name): Likewise.
25043 (add_alias): Likewise.
25044 (add_locale): Likewise.
25045 (delete_locales_from_archive): Likewise.
25046 (show_archive_content): Likewise.
25047 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25048 locale data.
25049
39bf0bb4
RM
250502013-09-24 Roland McGrath <roland@hack.frob.com>
25051
25052 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25053 http://www.gnu.org/doc/freemanuals.texi.
25054 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25055
f02eed10
WN
250562013-09-24 Will Newton <will.newton@linaro.org>
25057
25058 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25059 macro.
25060
a3a6c312
JM
250612013-09-23 Joseph Myers <joseph@codesourcery.com>
25062
25063 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25064 unsigned char.
25065
107375ac
MR
250662013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25067
25068 * manual/threads.texi (POSIX Threads): Fix a typo.
25069
141f3a77
SP
250702013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25071
303e567a
SP
25072 [BZ #14547]
25073 * string/tst-strcoll-overflow.c: New test case.
25074 * string/Makefile (xtests): Add tst-strcoll-overflow.
25075 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25076 cache if string sizes may cause integer overflow.
25077
141f3a77
SP
25078 [BZ #14547]
25079 * string/strcoll_l.c (coll_seq): New members rule, idx,
25080 save_idx and back_us.
25081 (get_next_seq_nocache): New function.
25082 (do_compare_nocache): New function.
25083 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25084 when malloc fails.
25085
c61b4d41
CD
250862013-09-23 Carlos O'Donell <carlos@redhat.com>
25087
0b1f8e35
CD
25088 [BZ #15754]
25089 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25090 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25091 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25092
c61b4d41
CD
25093 [BZ #15754]
25094 * elf/Makefile (tests): Add tst-ptrguard1.
25095 (tests-static): Add tst-ptrguard1-static.
25096 (tst-ptrguard1-ARGS): Define.
25097 (tst-ptrguard1-static-ARGS): Define.
25098 * elf/tst-ptrguard1.c: New file.
25099 * elf/tst-ptrguard1-static.c: New file.
25100 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25101 * sysdeps/i386/stackguard-macros.h: Likewise.
25102 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25103 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25104 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25105 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25106 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25107 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25108
251092013-09-23 Hector Marco <hecmargi@upv.es>
25110 Ismael Ripoll <iripoll@disca.upv.es>
25111 Carlos O'Donell <carlos@redhat.com>
25112
25113 [BZ #15754]
25114 * sysdeps/generic/stackguard-macros.h: Define
25115 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25116 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25117 Define __pointer_chk_guard_local.
25118 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25119 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25120
f5f4e7b4
VV
251212013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25122
25123 [BZ #15859]
25124 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25125
5bb43a43
AS
251262013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25127
25128 * include/string.h (__ffs): Declare as hidden.
25129 * string/ffs.c (__ffs): Define as hidden.
25130 * sysdeps/i386/ffs.c (__ffs): Likewise.
25131 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25132 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25133 * sysdeps/s390/ffs.c (__ffs): Likewise.
25134 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25135
3ea5be54
AO
251362013-09-20 Alexandre Oliva <aoliva@redhat.com>
25137
ffb89e53
AO
25138 * NEWS: Mention malloc probes.
25139
322dea08
AO
25140 * malloc/arena.c (new_heap): New memory_heap_new probe.
25141 (grow_heap): New memory_heap_more probe.
25142 (shrink_heap): New memory_heap_less probe.
25143 (heap_trim): New memory_heap_free probe.
25144 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25145 (systrim): New memory_sbrk_less probe.
25146 * manual/probes.texi: Document them.
25147
655673f3
AO
25148 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25149 * manual/probes.texi: Document it.
25150
35fed6f1
AO
25151 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25152 (__libc_realloc): Add memory_realloc_retry probe.
25153 (__libc_memalign): Add memory_memalign_retry probe.
25154 (__libc_valloc): Add memory_valloc_retry probe.
25155 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25156 (__libc_calloc): Add memory_calloc_retry probe.
25157 * manual/probes.texi: Document them.
25158
6999d38c
AO
25159 * malloc/arena.c (get_free_list): Add probe
25160 memory_arena_reuse_free_list.
25161 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25162 and memory_arena_reuse.
25163 (arena_get2) [!PER_THREAD]: Likewise.
25164 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25165 memory_arena_reuse_realloc.
25166 * manual/probes.texi: Document them.
25167
0653427f
AO
25168 * malloc/malloc.c (__libc_free): Add
25169 memory_mallopt_free_dyn_thresholds probe.
25170 (__libc_mallopt): Add multiple memory_mallopt probes.
25171 * manual/probes.texi: Document them.
25172
3ea5be54
AO
25173 * malloc/malloc.c: Include stap-probe.h.
25174 (__libc_mallopt): Add memory_mallopt probe.
25175 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25176 * manual/probes.texi: New.
25177 * manual/Makefile (chapters): Add probes.
25178 * manual/threads.texi: Set next node.
25179
e35696c3 251802013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25181
e35696c3
CL
25182 [BZ #15963, #13985]
25183 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25184 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25185 Add `Chinese' to `nan' entry name.
25186
4aafb73c
SP
251872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25188
25189 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25190 (POLYNOMIAL): Likewise.
25191 (TAYLOR_SINCOS): Likewise.
25192 (TAYLOR_SLOW): Likewise.
25193 (__sin): Use TAYLOR_SINCOS.
25194 (__cos): Likewise.
25195 (slow): Use TAYLOR_SLOW.
25196 (sloww): Likewise.
25197 (bsloww): Likewise.
25198 (csloww): Likewise.
25199
d84f25c7
LD
252002013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25201
25202 * stdlib/strtod_l.c: Fix buffer overrun.
25203
5eea0404
SP
252042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25205
7849ff93
SP
25206 * benchtests/Makefile (bench): Add sincos.
25207 * benchtests/bench-sincos.c: New file.
25208
cfa3c886
SP
25209 * math/libm-test.inc (cos_test_data): New test inputs.
25210 (sin_test_data): Likewise.
25211
b348e1e3
SP
25212 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25213 macro.
25214 (__sin): Use it.
25215 (__cos): Likewise.
25216 (slow1): Likewise.
25217 (slow2): Likewise.
25218 (sloww1): Likewise.
25219 (sloww2): Likewise.
25220 (bsloww1): Likewise.
25221 (bsloww2): Likewise.
25222 (cslow2): Likewise.
25223 (csloww1): Likewise.
25224 (csloww2): Likewise.
25225
6cce25f8
SP
25226 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25227 function.
25228 (__sin): Use it.
25229 (__cos): Likewise.
25230
5eea0404
SP
25231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25232 gotos.
25233 (__cos): Likewise.
25234
9c21573c
MR
252352013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25236
25237 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25238 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25239 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25240 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25241 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25242 * elf/cache.c (print_entry): Handle the new cache flags.
25243
24d22e65
JM
252442013-09-18 Joseph Myers <joseph@codesourcery.com>
25245 Aldy Hernandez <aldyh@redhat.com>
25246
25247 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25248 Change condition to [_SOFT_FLOAT].
25249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25261 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25264 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25265 declaration.
25266
d13ef066
JM
252672013-09-18 Joseph Myers <joseph@codesourcery.com>
25268
2e071de0
JM
25269 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25270 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25271 (__longjmp): Use LOAD_GP to load saved GPRs.
25272 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25273 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25274 (__sigsetjmp): Use SAVE_GP to save GPRs.
25275
d13ef066
JM
25276 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25277 Do not append -msoft-float.
25278 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25279
97a0650b
SP
252802013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25281
25282 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25283
11ca09e9
JM
252842013-09-17 Joseph Myers <joseph@codesourcery.com>
25285
25286 [BZ #15966]
25287 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25288 (_FPU_GETCW): Use initial "__" on variable and field names but not
25289 on macro parameter name.
25290 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25291 parentheses around reference to macro parameter.
25292
08ffcf34
RS
252932013-09-13 Richard Sandiford <richard@codesourcery.com>
25294
25295 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25296 prototype.
25297 (ctype_startup): Use uint32_t in cast and sizeof for
25298 ctype->charnames.
25299
ae7080d3
JL
253002013-09-11 Jia Liu <proljc@gmail.com>
25301
25302 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25303 __daddr_t_defined.
25304 [__FreeBSD__]: Likewise.
25305
5905e7b3
OB
253062013-09-11 Ondřej Bílka <neleai@seznam.cz>
25307
25308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25309 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25310 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25311 (strchr): Remove __strchr_sse42 ifunc selection.
25312 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25313 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25314
b987c776
WN
253152013-09-11 Will Newton <will.newton@linaro.org>
25316
25317 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25318 parameter to RES. Remove hardcoded 1000 value.
25319 * benchtests/bench-skeleton.c (main): Pass RES parameter
25320 to TIMING_INIT and multiply result by 1000.
25321
ddf985af
AZ
253222013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25323
25324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25325
ffdd3181
AS
253262013-09-11 Andreas Schwab <schwab@suse.de>
25327
25328 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25329 if not defined.
25330 (O_TMPFILE) [__USE_GNU]: Define.
25331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25332 Define.
25333
b73ed247
WN
253342013-09-11 Will Newton <will.newton@linaro.org>
25335
25336 [BZ #15857]
25337 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25338 does not overflow.
25339
55e17aad
WN
253402013-09-11 Will Newton <will.newton@linaro.org>
25341
25342 [BZ #15856]
25343 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25344 does not overflow.
25345
1159a193
WN
253462013-09-11 Will Newton <will.newton@linaro.org>
25347
25348 [BZ #15855]
25349 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25350 does not overflow.
25351
5905e7b3 253522013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25353
25354 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25355 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25359
cdfc721b
AM
253602013-09-10 Allan McRae <allan@archlinux.org>
25361
aa04af00
AM
25362 [BZ #15748]
25363 * manual/arith.texi (Parsing of Floats): Clarify
25364 cross-reference.
25365
cdfc721b
AM
25366 [BZ #15849]
25367 * manual/install.texi (Running make install): Mention
25368 --enable-pt-chown.
25369 * INSTALL: Regenerated.
25370
95e7cf29
MR
253712013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25372
25373 * csu/init-first.c (_init): Remove the !SHARED condition around
25374 FPU control word initialization.
25375 * elf/dl-support.c (_dl_fpu_control): New variable.
25376 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25377 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25378 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25379 * math/test-fpucw-static.c: New file.
25380 * math/test-fpucw-ieee.c: New file.
25381 * math/test-fpucw-ieee-static.c: New file.
25382 * math/Makefile (tests): Add `test-fpucw-ieee' and
25383 `$(tests-static)'.
25384 (tests-static): New variable.
25385 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25386 dependency to...
25387 [($(build-shared),yes)]
25388 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25389 ... this.
25390 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25391 New dependency.
25392
83e43bf0
AM
253932013-09-09 Allan McRae <allan@archlinux.org>
25394
a9f5ce09
AM
25395 [BZ #15939]
25396 * manual/string.texi (Collation Functions): Fix typo in
25397 strcoll example.
25398 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25399
34829bc2
AM
25400 [BZ #15893]
25401 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25402
3932737d
AM
25403 [BZ #15892]
25404 * libio/memstream.c (open_memstream): Fix memory leak.
25405 * libio/wmemstream.c (open_wmemstream): Likewise.
25406
83e43bf0
AM
25407 [BZ #15895]
25408 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25409
0c66b8e9
WN
254102013-09-09 Will Newton <will.newton@linaro.org>
25411
25412 * malloc/Makefile: Add tst-realloc to tests.
25413 * malloc/tst-realloc.c: New file.
25414
f6b00fd1
AM
254152013-09-09 Allan McRae <allan@archlinux.org>
25416
25417 [BZ #15844]
25418 * COPYING: Update from GNU website to fix FSF address.
25419 * COPYING.LIB: Likewise.
25420
eec55e16
DM
254212013-09-06 David S. Miller <davem@davemloft.net>
25422
25423 * po/zh_TW.po: Update Chinese (traditional) translation from
25424 translation project.
25425
1ecbb381
RS
254262013-09-06 Richard Sandiford <richard@codesourcery.com>
25427 Joseph Myers <joseph@codesourcery.com>
25428
25429 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25430 "localeinfo.h".
25431 (obstack_chunk_alloc): New macro.
25432 (obstack_chunk_free): Likewise.
25433 (record_offset): New function.
25434 (init_locale_data): Likewise.
25435 (align_locale_data): Likewise.
25436 (add_locale_empty): Likewise.
25437 (add_locale_raw_data): Likewise.
25438 (add_locale_raw_obstack): Likewise.
25439 (add_locale_string): Likewise.
25440 (add_locale_wstring): Likewise.
25441 (add_locale_uint32): Likewise.
25442 (add_locale_uint32_array): Likewise.
25443 (add_locale_char): Likewise.
25444 (start_locale_structure): Likewise.
25445 (end_locale_structure): Likewise.
25446 (start_locale_prelude): Likewise.
25447 (end_locale_prelude): Likewise.
25448 (write_locale_data): Take locale_file structure rather than an
25449 iovec.
25450 * locale/programs/locfile.h: Include "obstack.h".
25451 (struct locale_file): Change to store locale file contents instead
25452 of header.
25453 (init_locale_data): New prototype.
25454 (align_locale_data): Likewise.
25455 (add_locale_empty): Likewise.
25456 (add_locale_raw_data): Likewise.
25457 (add_locale_raw_obstack): Likewise.
25458 (add_locale_string): Likewise.
25459 (add_locale_wstring): Likewise.
25460 (add_locale_uint32): Likewise.
25461 (add_locale_uint32_array): Likewise.
25462 (add_locale_char): Likewise.
25463 (start_locale_structure): Likewise.
25464 (end_locale_structure): Likewise.
25465 (start_locale_prelude): Likewise.
25466 (end_locale_prelude): Likewise.
25467 (write_locale_data): Update prototype.
25468 * locale/programs/3level.h (struct TABLE): Remove result field.
25469 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25470 Use new locale_file interface.
25471 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25472 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25473 * locale/programs/ld-address.c (address_output): Use new
25474 locale_file interface.
25475 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25476 NO_ADD_LOCALE.
25477 (collate_finish): Don't call collseq_table_finalize.
25478 (collate_output): Use new locale_file interface.
25479 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25480 in file.
25481 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25482 (TABLE): Move defines earlier in file.
25483 (ELEMENT): Likewise.
25484 (DEFAULT): Likewise.
25485 (wctrans_table_add): Move macro and inline function earlier in
25486 file.
25487 (struct wctype_table): Move type earlier in file.
25488 (add_locale_wctype_table): New static prototype.
25489 (struct locale_ctype_t): Use logical types instead of struct iovec
25490 pointers for members.
25491 (ctype_output): Use new locale_file interface.
25492 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25493 new locale_file interface.
25494 (allocate_arrays): Update for use of new locale_file interface.
25495 * locale/programs/ld-identification.c (identification_output): Use
25496 new locale_file interface.
25497 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25498 * locale/programs/ld-messages.c (messages_output): Likewise.
25499 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25500 * locale/programs/ld-name.c (name_output): Likewise.
25501 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25502 * locale/programs/ld-paper.c (paper_output): Likewise.
25503 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25504 * locale/programs/ld-time.c (time_output): Likewise.
25505
e029e2e5
AZ
255062013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25507
25508 * benchtests/Makefile: Add memrchr benchmark.
25509 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25510 benchmark as memrchr.
25511 * benchtests/bench-memrchr-ifunc.c: New file.
25512 * benchtests/bench-memrchr.c: New file.
25513
bbf6e8e4
WN
255142013-09-06 Will Newton <will.newton@linaro.org>
25515
25516 * benchtests/Makefile (string-bench): Add memcpy.
25517
6c82a2f8
CD
255182013-09-05 Carlos O'Donell <carlos@redhat.com>
25519 Cong Wang <amwang@redhat.com>
25520
e732c5f0 25521 [BZ #15850]
6c82a2f8
CD
25522 * sysdeps/unix/sysv/linux/bits/in.h
25523 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25524 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25525 before __USE_KERNEL_IPV6_DEFS uses.
25526 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25527 IPPROTO_BEETPH.
25528 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25529 sockaddr_in6, or ipv6_mreq.
25530
5430fc65
AZ
255312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25532
25533 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25534 memory access for final bytes in some large inputs.
25535 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25536
4660856c
AZ
255372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25538
25539 * string/test-memrchr.c: New file.
25540 * string/test-memrchr-ifunc.c: New file.
25541 * string/Makefile: Add new memrchr testcase.
25542
bb8ea713
MF
255432013-09-05 Mike Frysinger <vapier@gentoo.org>
25544
25545 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25546 fanotify_init returns EPERM.
25547
b92a20b5
JM
255482013-09-04 Joseph Myers <joseph@codesourcery.com>
25549
25550 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25551 errors.
25552 (top level): Treat second token from macro or constant entries for
25553 allowed headers as allowed.
25554 * include/complex.h: Condition internal declarations on
25555 [!_ISOMAC].
25556 * include/fenv.h: Condition include of <stdbool.h> and internal
25557 declarations on [!_ISOMAC].
7447ccd9
CL
25558
255592013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25560
3e181dda 25561 [BZ #15923]
7447ccd9
CL
25562 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25563
3f2e46a4
JM
255642013-09-04 Joseph Myers <joseph@codesourcery.com>
25565
25566 * configure.in (--enable-versioning): Remove configure option.
25567 (libc_cv_asm_symver_directive): Remove configure test.
25568 (libc_cv_ld_version_script_option): Likewise.
25569 (VERSIONING): Remove variable and AC_SUBST.
25570 (DO_VERSIONING): Remove AC_DEFINE.
25571 * configure: Regenerated.
25572 * config.h.in (DO_VERSIONING): Remove macro.
25573 * Makerules [$(versioning) = yes]: Change conditionals to
25574 [$(build-shared) = yes].
25575 * config.make.in (versioning): Remove variable.
25576 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25577 [$(build-shared) = yes].
25578 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25579 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25580 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25581 [$(build-shared) = yes].
25582 * extra-lib.mk [$(versioning) = yes]: Likewise.
25583 * hurd/Makefile [$(versioning) = yes]: Likewise.
25584 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25585 [SHARED].
25586 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25587 [SHARED].
25588 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25589 [SHARED && !NO_HIDDEN].
25590 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25591 [SHARED].
25592 [SHARED && DO_VERSIONING]: Likewise..
25593 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25594 [$(build-shared) = yes].
25595 * manual/install.texi (--disable-versioning): Remove
25596 documentation.
25597 * INSTALL: Regenerated.
25598 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25599 to [SHARED].
25600 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25601 [$(build-shared) = yes].
25602 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25603 * sysdeps/i386/i686/multiarch/strstr-c.c
25604 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25605 [SHARED && !NO_HIDDEN].
25606 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25607 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25608 * sysdeps/powerpc/powerpc32/dl-machine.c
25609 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25610 * sysdeps/powerpc/powerpc32/sysdep.h
25611 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25612 to [SHARED && PIC && !NO_HIDDEN].
25613 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25614 conditional to [SHARED].
25615
44558701
WN
256162013-09-04 Will Newton <will.newton@linaro.org>
25617
25618 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25619 * benchtests/bench-string.h: Include bench-timing.h instead
25620 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25621 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25622 call to HP_TIMING_DIFF_INIT.
25623 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25624 instead of hp-timing.h macros.
25625 * benchtests/bench-memchr.c: Likewise.
25626 * benchtests/bench-memcmp.c: Likewise.
25627 * benchtests/bench-memcpy.c: Likewise.
25628 * benchtests/bench-memmem.c: Likewise.
25629 * benchtests/bench-memmove.c: Likewise.
25630 * benchtests/bench-memset.c: Likewise.
25631 * benchtests/bench-rawmemchr.c: Likewise.
25632 * benchtests/bench-strcasecmp.c: Likewise.
25633 * benchtests/bench-strcasestr.c: Likewise.
25634 * benchtests/bench-strcat.c: Likewise.
25635 * benchtests/bench-strchr.c: Likewise.
25636 * benchtests/bench-strcmp.c: Likewise.
25637 * benchtests/bench-strcpy.c: Likewise.
25638 * benchtests/bench-strcpy_chk.c: Likewise.
25639 * benchtests/bench-strlen.c: Likewise.
25640 * benchtests/bench-strncasecmp.c: Likewise.
25641 * benchtests/bench-strncat.c: Likewise.
25642 * benchtests/bench-strncmp.c: Likewise.
25643 * benchtests/bench-strncpy.c: Likewise.
25644 * benchtests/bench-strnlen.c: Likewise.
25645 * benchtests/bench-strpbrk.c: Likewise.
25646 * benchtests/bench-strrchr.c: Likewise.
25647 * benchtests/bench-strspn.c: Likewise.
25648 * benchtests/bench-strstr.c: Likewise.
25649
cae16d66
WN
256502013-09-04 Will Newton <will.newton@linaro.org>
25651
25652 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25653
ffa3cd7f
JM
256542013-09-03 Joseph Myers <joseph@codesourcery.com>
25655
25656 [BZ #15427]
25657 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25658 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25659 * math/libm-test.inc (lgamma_test_data): Add more tests.
25660 * sysdeps/i386/fpu/libm-test-ulps: Update.
25661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25662
8f02859f
OB
256632013-09-03 Ondřej Bílka <neleai@seznam.cz>
25664
25665 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25667 Add ifunc.
25668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25669 Add strcmp-sse2-unaligned
25670 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25671
18d43716
MF
256722013-09-02 Mike Frysinger <vapier@gentoo.org>
25673
25674 * Versions.def (libc): Add GLIBC_2.19.
25675
ac444012
MF
256762013-09-02 Mike Frysinger <vapier@gentoo.org>
25677
25678 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25679 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25680
b7835e32
JM
256812013-09-02 Joseph Myers <joseph@codesourcery.com>
25682
25683 [BZ #14155]
25684 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25685 intermediate calculations in recurrence.
25686 (__ieee754_ynf): Likewise.
25687 * math/libm-test.inc (jn_test_data): Do not allow spurious
25688 underflow exception. Add more tests.
25689 (yn_test_data): Add more tests.
25690 * sysdeps/i386/fpu/libm-test-ulps: Update.
25691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25692
8220f4f0
OB
256932013-09-02 Ondřej Bílka <neleai@seznam.cz>
25694
25695 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25696
f24a6d08
OB
256972013-08-30 Ondřej Bílka <neleai@seznam.cz>
25698
25699 * csu/init-first.c: Fix then/than typos.
25700 * locale/programs/ld-collate.c: Likewise.
25701 * locale/programs/linereader.h: Likewise.
25702 * manual/charset.texi: Likewise.
25703 * manual/filesys.texi: Likewise.
25704 * manual/stdio.texi: Likewise.
25705 * manual/string.texi: Likewise.
25706 * stdlib/fmtmsg.c: Likewise.
25707 * sysdeps/i386/stpncpy.S: Likewise.
25708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25709 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25710 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25711 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25712
382466e0
OB
257132013-08-30 Ondřej Bílka <neleai@seznam.cz>
25714
25715 * elf/dl-open.c: Fix typos.
25716 * iconvdata/gbbig5.c: Likewise.
25717 * iconvdata/iso-2022-jp.c: Likewise.
25718 * iconv/gconv_int.h: Likewise.
25719 * iconv/loop.c: Likewise.
25720 * nis/rpcsvc/nis.h: Likewise.
25721 * resolv/ns_name.c: Likewise.
25722 * stdio-common/vfscanf.c: Likewise.
25723 * streams/stropts.h: Likewise.
25724 * sunrpc/rpc_thread.c: Likewise.
25725 * sysdeps/i386/strpbrk.S: Likewise.
25726 * sysdeps/ieee754/k_standard.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25729 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25730 * sysdeps/mach/hurd/profil.c: Likewise.
25731 * sysdeps/s390/dl-procinfo.h: Likewise.
25732 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25733 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25734 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25735 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25736 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25737
0186c6e9
OB
257382013-08-30 Ondřej Bílka <neleai@seznam.cz>
25739
25740 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25742
d4e16af1
OB
257432013-08-29 Ondřej Bílka <neleai@seznam.cz>
25744
25745 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25746 aix specific files.
25747 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25748 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25749 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25750 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25751 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25752 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25753 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25754 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25755
88335980
TS
257562013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25757 Roland McGrath <roland@hack.frob.com>
25758
25759 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25760 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25761
ed479b02
ST
257622013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25763
25764 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25765 __executable_start symbol instead of _start.
25766
f1cc4c86
TS
257672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25768
d821f07c
TS
25769 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25770 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25771 Move macros to...
25772 * sysdeps/gnu/ldsodefs.h: ... this new file.
25773
c54290cf
TS
25774 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25775 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25776 instead of ELFOSABI_LINUX.
25777
0007fc9b 25778 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25779 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25780 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25781 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25782 Likewise.
25783 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25784 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25785 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25786 Likewise.
25787 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25788 (ibm_extended_long_double): Add ieee_nan member.
25789 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25790 (do_test): New function.
25791
f1cc4c86
TS
25792 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25793 TEST_TRUNC.
25794 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25795 functions, renamed from truncdfsf_test, trunctfsf_test,
25796 trunctfdf_test.
25797 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25798 functions.
25799 (do_test): Run all these.
25800
6f65e668
OB
258012013-08-29 Ondřej Bílka <neleai@seznam.cz>
25802
25803 * argp/argp-help.c: Fix typos.
25804 * argp/argp-parse.c: Likewise.
25805 * debug/backtracesyms.c: Likewise.
25806 * elf/elf.h: Likewise.
25807 * malloc/malloc.c: Likewise.
25808 * nis/nis_print.c: Likewise.
25809 * resolv/res_comp.c: Likewise.
25810 * stdlib/stdlib.h: Likewise.
25811 * sunrpc/clnt_tcp.c: Likewise.
25812 * sunrpc/clnt_udp.c: Likewise.
25813 * sunrpc/clnt_unix.c: Likewise.
25814 * sysdeps/unix/bsd/ptsname.c: Likewise.
25815 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25816 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25818 Likewise.
25819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25820 Likewise.
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25822 Likewise.
6f65e668
OB
25823 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25824
3a309239
SP
258252013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25826
25827 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25829
3b813b29
MF
258302013-08-27 Mike Frysinger <vapier@gentoo.org>
25831
25832 [BZ #15897]
25833 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25834 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25835 ($(objpfx)bug-dl-leaf): New rule.
25836 ($(objpfx)bug-dl-leaf.so): Likewise.
25837 ($(objpfx)bug-dl-leaf.out): Likewise.
25838 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25839 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25840 * dlfcn/bug-dl-leaf.c: New test.
25841 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25842 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25843 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25844 (dlclose): Likewise.
25845 (dlmopen): Likewise.
25846
8cc3269f
RM
258472013-08-27 Roland McGrath <roland@hack.frob.com>
25848
7f9d0034
RM
25849 * include/netdb.h [!_ISOMAC]:
25850 Don't include <tls.h>.
25851 (h_errno, __libc_h_errno): Move declaration and macros out of
25852 [_LIBC_REENTRANT].
25853
fb431262
RM
25854 * include/resolv.h [_RESOLV_H_]:
25855 Don't include <tls.h>.
25856 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25857 * resolv/res_libc.c: Don't include <tls.h>.
25858 (_res): Use __attribute__ ((nocommon)) in place of
25859 __attribute__ ((section (".bss"))).
25860
bd81123a
RM
25861 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25862 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25863
c4e42566
RM
25864 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25865
f890a59b
RM
25866 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25867 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25868
25869 * resolv/res_mkquery.c: Include <sys/time.h>.
25870
5d1f0a09
RM
25871 * inet/ifreq.c: Moved to ...
25872 * sysdeps/unix/ifreq.c: ... here.
25873 * inet/ifreq.c: New file, true stub version.
25874
6fcf28b3
RM
25875 * socket/sa_len.c: New file.
25876 * socket/Makefile (aux): Add it.
25877 * sysdeps/unix/sysv/linux/Makefile
25878 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25879 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25880 and #include <socket/sa_len.c>.
25881 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25882 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25883
e041fb8b
RM
25884 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25885 * bits/socket.h: ... here.
25886
8cc3269f
RM
25887 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25888 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25889 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25890
5d228a43
AS
258912013-08-27 Andreas Schwab <schwab@suse.de>
25892
45b8accc
AS
25893 [BZ #15736]
25894 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25895 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25896 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25897 * string/test-strcasecmp.c (test_main): Run tests in several
25898 locales.
25899 * string/test-strncasecmp.c (test_main): Likewise.
25900
5d228a43
AS
25901 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25902 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25903 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25905 (__strncasecmp_ssse3) [PIC]: Likewise.
25906
59d112a4
RM
259072013-08-26 Roland McGrath <roland@hack.frob.com>
25908
53234cc3
RM
25909 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25910
59d112a4
RM
25911 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25912 instead of explicitly declaring xdecrypt.
25913 * nis/nss_nis/nis-publickey.c: Likewise.
25914
595aba70
SP
259152013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25916
25917 [BZ #15890]
25918 * nscd/aicache.c: Include res_hconf.h.
25919 (addhstaiX): Initialize res_hconf.
25920
ffabd393
AS
259212013-08-26 Andreas Schwab <schwab@suse.de>
25922
25923 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25924 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25925
e0a69f5c
SP
259262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25927
25928 * nscd/aicache.c (addhstaiX): Fix indentation.
25929
8c12f01d
MF
259302013-08-25 Mike Frysinger <vapier@gentoo.org>
25931
25932 * configure.ac: Quote $build_pt_chown test.
25933 * configure: Regenerated.
25934
8fe89494
JM
259352013-08-23 Joseph Myers <joseph@codesourcery.com>
25936
25937 [BZ #15532]
25938 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25939 * math/s_cexpf.c (__cexpf): Likewise.
25940 * math/s_cexpl.c (__cexpl): Likewise.
25941 * math/libm-test.inc (cexp_test_data): Correct expected return
25942 value for NaN + i0. Add another test.
25943
75b181d6
DM
259442013-08-22 David S. Miller <davem@davemloft.net>
25945
25946 * po/ca.po: Update Catalan translation from translation project.
936241e4 25947 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25948
acd06bb1
JM
259492013-08-21 Joseph Myers <joseph@codesourcery.com>
25950
25951 [BZ #15797]
25952 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25953 is infinite, not alongside NaN test.
25954 * math/s_fdimf.c (__fdimf): Likewise.
25955 * math/s_fdiml.c (__fdiml): Likewise.
25956 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25957 errno is unchanged.
25958
c0c3f78a
OB
259592013-08-21 Ondřej Bílka <neleai@seznam.cz>
25960
25961 * argp/argp-help.c: Fix typos.
25962 * crypt/speeds.c: Likewise.
25963 * csu/check_fds.c: Likewise.
25964 * elf/dl-load.c: Likewise.
25965 * elf/dl-open.c: Likewise.
25966 * elf/reldep3.c: Likewise.
25967 * elf/reldep.c: Likewise.
25968 * elf/sprof.c: Likewise.
25969 * iconv/iconv_charmap.c: Likewise.
25970 * iconv/skeleton.c: Likewise.
25971 * iconv/strtab.c: Likewise.
25972 * io/lockf64.c: Likewise.
25973 * libio/libioP.h: Likewise.
25974 * resolv/gai_notify.c: Likewise.
25975 * resolv/ns_name.c: Likewise.
25976 * resolv/ns_samedomain.c: Likewise.
25977 * resolv/res_send.c: Likewise.
25978 * stdlib/random.c: Likewise.
25979 * sunrpc/rpc/xdr.h: Likewise.
25980 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25981 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25982 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25983 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25984 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25988 * sysdeps/mach/hurd/check_fds.c: Likewise.
25989 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25990 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25991 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25992 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25993 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25994 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25995 * sysdeps/pthread/aio_notify.c: Likewise.
25996 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25997 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25998 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25999 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26000 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26001
46ed1038
LD
260022013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26003
26004 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26005 version if bit_Slow_SSE4_2 is set.
26006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26008
d400dcac
AZ
260092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26010
26011 [BZ #15867]
26012 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26013 trampoline stack frame information.
26014 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26015 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26016 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26017 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26018 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26019 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26020 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26021 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26022 sa_flags value.
26023 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26024 interrupting a syscall and set with option SA_SIGINFO.
26025
42c8fdd8
JM
260262013-08-20 Joseph Myers <joseph@codesourcery.com>
26027
c980f2f4
JM
26028 [BZ #15531]
26029 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26030 argument is infinite.
26031 * math/s_cprojf.c (__cprojf): Likewise.
26032 * math/s_cprojl.c (__cprojl): Likewise.
26033 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26034 * math/libm-test.inc (cproj_test_data): Add more tests.
26035
0716c4fc
JM
26036 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26037
42c8fdd8
JM
26038 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26039 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26040 size. Use __ffs to determine corresponding shift.
26041
b31469d0
JM
260422013-08-20 Joseph Myers <joseph@codesourcery.com>
26043 Roland McGrath <roland@hack.frob.com>
26044
26045 * Makefile (INSTALL): Remove trailing blank lines from output of
26046 makeinfo.
26047
4e39af6e
AK
260482013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26049
26050 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26051 Align 32 bit compat elf_greg to 8 bytes.
26052
f315524e
AA
260532013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26054
26055 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26056
1326ba1a
SP
260572013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26058
26059 * string/strcoll_l.c (coll_seq): New structure.
26060 (get_next_seq_cached): New function.
26061 (get_next_seq): New function.
26062 (do_compare): New function.
26063 (STRCOLL): Use GNU style definition. Simplify implementation
26064 by using get_next_seq, get_next_seq_cached and do_compare.
26065
91ce4085
FW
260662013-08-16 Florian Weimer <fweimer@redhat.com>
26067
26068 [BZ #14699]
26069 CVE-2013-4237
26070 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26071 member.
26072 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26073 member.
26074 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26075 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26076 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26077 conditional.
26078 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26079 GETDENTS_64BIT_ALIGNED.
26080 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26081 * manual/filesys.texi (Reading/Closing Directory): Document
26082 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26083 strongly.
26084 * manual/conf.texi (Limits for Files): Add portability note to
26085 NAME_MAX, PATH_MAX.
26086 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26087
ca0a6bc4
AS
260882013-08-13 Andreas Schwab <schwab@suse.de>
26089
26090 [BZ #15749]
26091 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26092 of fabs.
26093 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26094 LDBL_MAX_EXP >= 16384]: Add tests for it.
26095
6c1fd795
DM
260962013-08-12 David S. Miller <davem@davemloft.net>
26097
26098 * version.h (RELEASE): Set to "development".
26099 (VERSION): Set to "2.18.90".
26100 * NEWS: Add 2.19 section.
26101
31ad488d
DM
261022013-08-03 David S. Miller <davem@davemloft.net>
26103
26104 * po/ko.po: Update Korean translation from translation project.
26105
db24e684
DM
261062013-08-01 David S. Miller <davem@davemloft.net>
26107
26108 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26109 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26110 Bilka.
26111
f723285b
DM
261122013-07-30 David S. Miller <davem@davemloft.net>
26113
26114 * po/fr.po: Update French translation from translation project.
26115
3cbc52db
DM
261162013-07-28 David S. Miller <davem@davemloft.net>
26117
30bbc0cc
DM
26118 * po/cs.po: Update Czech translation from translation project.
26119
3cbc52db
DM
26120 * po/sv.po: Update Swedish translation from translation project.
26121
d492e6d0
DM
261222013-07-27 David S. Miller <davem@davemloft.net>
26123
f1a7f492
DM
26124 * po/eo.po: Update Esperanto translation from translation project.
26125
90e62a4a
DM
26126 * po/vi.po: Update Vietnamese translation from translation project.
26127
d492e6d0
DM
26128 * po/de.po: Update German translation from translation project.
26129
d4baa62d
DM
261302013-07-26 David S. Miller <davem@davemloft.net>
26131
641aa7b4
DM
26132 * po/bg.po: Update Bulgarian translation from translation project.
26133
d4baa62d
DM
26134 * po/nl.po: Update Dutch translation from translation project.
26135 * po/pl.po: Update Polish translation from translation project.
26136 * po/ru.po: Update Russian translation from translation project.
26137
61a9dcb9
DM
261382013-07-24 David S. Miller <davem@davemloft.net>
26139
26140 * po/libc.pot: Update.
26141
7b1f8b58
AZ
261422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26143
26144 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26145 variable page size.
26146 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26147 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26148 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26149
a8fc7a03
AK
261502013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26151
26152 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26153
e4608715
CD
261542013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26155 Andreas Schwab <schwab@suse.de>
26156 Roland McGrath <roland@hack.frob.com>
26157 Joseph Myers <joseph@codesourcery.com>
26158 Carlos O'Donell <carlos@redhat.com>
26159
26160 [BZ #15755]
26161 * config.h.in: Define HAVE_PT_CHOWN.
26162 * config.make.in (build-pt-chown): New variable.
26163 * configure.in (--enable-pt_chown): New configure option.
26164 * configure: Regenerate.
26165 * login/Makefile: Include Makeconfig. Build pt_chown only if
26166 build-pt-chown is enabled.
26167 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26168 pt_chown to fix pty ownership.
26169 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26170 CLOSE_ALL_FDS.
26171 * manual/install.texi (Configuring and compiling): Mention
26172 --enable-pt_chown. Add @findex for grantpt.
26173 * INSTALL: Regenerate.
26174
da2d62df
DM
261752013-07-20 David S. Miller <davem@davemloft.net>
26176
26177 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26178 difference between 32-bit and 64-bit.
26179
d7e06450
CD
261802013-07-15 Carlos O'Donell <carlos@redhat.com>
26181
26182 [BZ #15711]
26183 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26184 Avoid system header dependency with -ffreestanding.
26185 ($(objpfx)bits/syscall%d): Likewise.
26186
f959cfd7
DM
261872013-07-13 David S. Miller <davem@davemloft.net>
26188
26189 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26190 underflows from atanl/atan2l due to bug 15319.
26191 (casinh_test_data): Likewise.
26192
c61f8513
DM
261932013-07-07 David S. Miller <davem@davemloft.net>
26194
26195 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26196
72c90ed0
JA
261972013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26198
26199 * sysdeps/i386/fpu/libm-test-ulps: Update.
26200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26201
52dfbe13
SP
262022013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26203
26204 * configure.in (--enable-lock-elision): Fix message text.
26205 * INSTALL: Regenerate.
26206 * configure: Regenerate.
26207
3f169543
AZ
262082013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26209
26210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26211
521c6785
AJ
262122013-07-03 Andreas Jaeger <aj@suse.de>
26213
26214 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26215 define.
26216 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26217 (ptrace_peeksiginfo_args): Add.
26218 (__ptrace_peeksiginfo_flags): Add.
26219 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26220 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26221 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26222
d2cc15cb
AM
262232013-07-03 Allan McRae <allan@archlinux.org>
26224
26225 * sysdeps/i386/fpu/libm-test-ulps: Update.
26226
3aaeeca7
DM
262272013-07-02 David S. Miller <davem@davemloft.net>
26228
26229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26230
5314ed1a
MT
262312013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26232
26233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26234
67338156
JM
262352013-07-02 Joseph Myers <joseph@codesourcery.com>
26236
26237 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26239
1717da59
AK
262402013-07-02 Andi Kleen <ak@linux.intel.com>
26241
26242 * config.h.in (ENABLE_LOCK_ELISION): Add.
26243 * configure.in (--enable-lock-elision): Add option.
26244 * manual/install.texi: Document --enable lock elision.
26245 * configure: Regenerate
26246 * INSTALL: Regenerate.
26247
1c81621c
L
262482013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26249
26250 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26251 SSE4.2 strcasecmp for libc.a.
26252 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26253
77f01ab5
JM
262542013-07-02 Joseph Myers <joseph@codesourcery.com>
26255
26256 [BZ #13304]
26257 * soft-fp/op-common.h (_FP_FMA): New macro.
26258 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26259 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26260 (_FP_MUL_MEAT_1_imm): ... here.
26261 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26262 (_FP_MUL_MEAT_1_wide): ... here.
26263 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26264 (_FP_MUL_MEAT_1_hard): ... here.
26265 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26266 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26267 (_FP_MUL_MEAT_2_wide): ... here.
26268 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26269 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26270 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26271 (_FP_MUL_MEAT_2_gmp): ... here.
26272 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26273 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26274 (_FP_MUL_MEAT_4_wide): ... here.
26275 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26276 (_FP_MUL_MEAT_4_gmp): ... here.
26277 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26278 (_FP_WFRACBITS_DW_S): Likewise.
26279 (_FP_WFRACXBITS_DW_S): Likewise.
26280 (_FP_HIGHBIT_DW_S): Likewise.
26281 (FP_FMA_S): Likewise.
26282 (_FP_FRAC_HIGH_DW_S): Likewise.
26283 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26284 (_FP_WFRACBITS_DW_D): Likewise.
26285 (_FP_WFRACXBITS_DW_D): Likewise.
26286 (_FP_HIGHBIT_DW_D): Likewise.
26287 (FP_FMA_D): Likewise.
26288 (_FP_FRAC_HIGH_DW_D): Likewise.
26289 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26290 (_FP_WFRACBITS_DW_E): Likewise.
26291 (_FP_WFRACXBITS_DW_E): Likewise.
26292 (_FP_HIGHBIT_DW_E): Likewise.
26293 (FP_FMA_E): Likewise.
26294 (_FP_FRAC_HIGH_DW_E): Likewise.
26295 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26296 (_FP_WFRACBITS_DW_Q): Likewise.
26297 (_FP_WFRACXBITS_DW_Q): Likewise.
26298 (_FP_HIGHBIT_DW_Q): Likewise.
26299 (FP_FMA_Q): Likewise.
26300 (_FP_FRAC_HIGH_DW_Q): Likewise.
26301 * soft-fp/fmasf4.c: New file.
26302 * soft-fp/fmadf4.c: Likewise.
26303 * soft-fp/fmatf4.c: Likewise.
26304
6308fd9a
LD
263052013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26306
26307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26308 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26309 Silvermont.
26310 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26311 macro.
26312 (index_Slow_SSE4_2): Likewise.
26313 (index_Prefer_PMINUB_for_stringop): Likewise.
26314 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26315 bit_Slow_SSE4_2 is set.
26316 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26317 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26318
89cd9569
RA
263192013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26320
26321 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26322 rtld_global._dl_hwcap2.
26323 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26324 POWER8.
26325 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26326 POWER8 feature descriptions defined in _dl_hwcap2.
26327 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26328 string handling for POWER8 feature bits.
26329 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26330 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26331 _dl_powerpc_cap_flags.
26332 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26333 * sysdeps/powerpc/rtld-global-offsets.sym
26334 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26335 _dl_hwcap2 in the rtld_global_ro structure.
26336
1ae8bfe0
RA
263372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26338
26339 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26340 hardware capabilities in support of AT_HWCAP2.
26341 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26342 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26343 GLRO(dl_hwcap2).
26344 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26345 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26346 explicitly the unknown a_type display mechanism is used.
26347 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26348 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26349 struct member.
26350 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26351 to macro prototype for AT_HWCAP2 support.
26352 * sysdeps/i386/dl-procinfo.h: Likewise.
26353 * sysdeps/s390/dl-procinfo.h: Likewise.
26354 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26355 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26356 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26357 return -1 for unknown a_type display fallback.
26358 * sysdeps/sparc/dl-procinfo.h: Likewise.
26359 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26360 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26361
8fbec010
JM
263622013-06-28 Joseph Myers <joseph@codesourcery.com>
26363
26364 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26365 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26366
0432680e
PY
263672013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26368
26369 [BZ #12492]
26370 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26371 mprotect making __stack_prot writable.
26372
ce61a2ad
NF
263732013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26374 Joseph Myers <joseph@codesourcery.com>
26375
26376 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26377 as being properly aligned.
26378
f91f1c0f
MR
263792013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26380
3d0f5d0c
MR
26381 * dlfcn/modstatic5.c: New file.
26382 * dlfcn/tststatic5.c: New file.
26383 * dlfcn/Makefile (tests): Add tststatic5.
26384 (tests-static): Likewise.
26385 (modules-names): Add modstatic5.
26386 (tststatic5-ENV): New variable.
26387 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26388
f91f1c0f
MR
26389 [BZ #15022]
26390 * elf/dl-support.c (_dl_main_map): New variable.
26391 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26392 (_dl_nns, _dl_load_adds): Set to 1.
26393 (_dl_initial_searchlist): Refer to _dl_main_map.
26394 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26395 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26396 call to _dl_get_origin.
26397 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26398 around call_map.
26399 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26400 * dlfcn/modstatic3.c: New file.
26401 * dlfcn/tststatic3.c: New file.
26402 * dlfcn/tststatic4.c: New file.
26403 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26404 (tests-static): Likewise.
26405 (modules-names): Add modstatic3.
26406 (tststatic3-ENV, tststatic4-ENV): New variables.
26407 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26408 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26409
cbe7d24b
JM
264102013-06-26 Joseph Myers <joseph@codesourcery.com>
26411
26412 * configure.in (CC): Require GCC version 4.4 or later.
26413 * configure: Regenerated.
26414 * manual/install.texi (Tools for Compilation): Update GCC version
26415 requirement.
26416 * INSTALL: Regenerated.
26417
11b8a0e1
LD
264182013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26419
26420 [BZ #15674]
bb5bb87c
L
26421 * string/test-memcmp.c (check2): New.
26422 (main): Call check2.
26423
11b8a0e1
LD
26424 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26425
b0037103
MR
264262013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26427
26428 [BZ #15022]
26429 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26430 over to...
26431 (dl_open_worker) [!SHARED]: ... here.
26432
c18c701d
RA
264332013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26434
26435 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26436
1d17fa5f
RH
264372013-06-25 Richard Henderson <rth@redhat.com>
26438
26439 * locale/programs/locarchive.c: Include <libc-internal.h>
26440
8fcb833a
JM
264412013-06-25 Joseph Myers <joseph@codesourcery.com>
26442
26443 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26444 trailing whitespace removed.
26445
17db6e8d
MF
264462013-06-24 Mike Frysinger <vapier@gentoo.org>
26447
26448 [BZ #10283]
17db6e8d
MF
26449 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26450 * locale/programs/locarchive.c: Include libc-mmap.h.
26451 (prepare_address_space): Take two new outputs (the mmap base and len).
26452 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26453 values.
26454 (create_archive): Declare new mmap base and len values for
26455 prepare_address_space, and store the result in ah.
26456 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26457 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26458 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26459 Declare new mmap base and len values for
26460 prepare_address_space, and store the result in new_ah.
26461 (open_archive): Declare new mmap base and len values for
26462 prepare_address_space, and store the result in ah.
26463 (close_archive): If ah->mmap_base is not NULL, use that and
26464 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26465 * sysdeps/generic/libc-mmap.h: New file.
26466
d605071e
MF
264672013-06-24 Mike Frysinger <vapier@gentoo.org>
26468
26469 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26470 (ALIGN_UP): Likewise.
26471 (PTR_ALIGN_DOWN): Likewise.
26472 (PTR_ALIGN_UP): Likewise.
26473
2f063a6e
RA
264742013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26475
26476 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26477 entry mapped to PPC_PLATFORM_POWER8.
26478 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26479 POWER8.
26480 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26481 (_dl_string_platform): Add case for exporting platform position for
26482 POWER8.
26483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26484 search path to sysdeps/powerpc/powerpc32/power8 directory.
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26486 search path to sysdeps/powerpc/powerpc64/power8 directory.
26487 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26488 power7 directories.
26489 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26490 power7 directories.
26491
a31ee4b3
SP
264922013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26493
a74ca98f
SP
26494 * INSTALL: Regenerate.
26495
a31ee4b3
SP
26496 * nscd/connections.c (nscd_init): Fix comment.
26497
695c378f
JM
264982013-06-22 Joseph Myers <joseph@codesourcery.com>
26499
d8412221
JM
26500 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26501
695c378f
JM
26502 [BZ #15667]
26503 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26504 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26505
d1d54715
MR
265062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26507
26508 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26509 DL_DST_REQ_STATIC.
26510 (DL_DST_REQ_STATIC): Remove macro.
26511
8fdda7af
JM
265122013-06-21 Joseph Myers <joseph@codesourcery.com>
26513
26514 [BZ #7006]
26515 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26516 with a shift of 0 bits.
26517
f3bc5e5a
MR
265182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26519
26520 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26521 $(tststatic-ENV).
26522
be09e8c9
KK
265232013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26524
26525 [BZ #15655]
26526 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26527
85c2e611
AZ
265282013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26529
26530 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26531 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26532 accepts -fno-tree-loop-distribute-patterns.
26533 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26534 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26535 recursive call.
26536 * string/memset.c (memset): Likewise.
26537 * string/test-memmove.c (simple_memmove): Disable loop transformation
26538 to library calls.
26539 * string/test-memset.c (simple_memset): Likewise.
26540 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26541 * benchtests/bench-memset.c (simple_memset): Likewise.
26542 * configure: Regenerated.
26543
c91e0825
JM
265442013-06-20 Joseph Myers <joseph@codesourcery.com>
26545
b8c792af
JM
26546 * math/test-misc.c (main): Ignore fesetround failure when failures
26547 of subsequent rounding tests would be ignored.
26548
c91e0825
JM
26549 [BZ #15654]
26550 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26551 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26552 * math/fegetenv.c (__fegetenv): Return 0.
26553 * math/fegetexcept.c (fegetexcept): Return 0.
26554 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26555 FE_TONEAREST.
26556 * math/feholdexcpt.c (feholdexcept): Return 0.
26557 * math/fesetenv.c (__fesetenv): Return 0.
26558 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26559 argument FE_TONEAREST.
26560 * math/feupdateenv.c (__feupdateenv): Return 0.
26561 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26562
bfcacbde
RM
265632013-06-18 Roland McGrath <roland@hack.frob.com>
26564
26565 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26566 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26567 ($(objpfx)rtld-%.os rules): Use them.
26568
e55a9b25
AZ
265692013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26570
26571 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26572 fields.
26573
346d65b3
RM
265742013-06-17 Roland McGrath <roland@hack.frob.com>
26575
12086fb4
RM
26576 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26577 length of target pattern, then descending length of dependency pattern.
26578 * configure.in (AWK): Require gawk 3.1.2 or newer.
26579 * manual/install.texi (Tools for Compilation): Say that we do.
26580 * configure: Regenerated.
26581
346d65b3
RM
26582 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26583 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26584 * scripts/sysd-rules.awk: ... this new script.
26585 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26586 than a glob-style pattern.
26587
1a846317
JM
265882013-06-17 Joseph Myers <joseph@codesourcery.com>
26589
26590 * math/test-misc.c (main): Do not treat incorrectly rounded
26591 conversions as failure unless ROUNDING_TESTS passes.
26592
8fc75e6f
JM
265932013-06-15 Joseph Myers <joseph@codesourcery.com>
26594
3711a167
JM
26595 [BZ #15631]
26596 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26597 restore exception state around main square root computation, then
26598 check for inexactness explicitly.
26599
8fc75e6f
JM
26600 * math/libm-test.inc (fma_test_data): Add another test.
26601
61dd6208
SP
266022013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26603
adf23d2c
SP
26604 * manual/threads.texi (Non-POSIX Extensions): New document
26605 node. Document pthread_getattr_default_np and
26606 pthread_setattr_default_np.
26607
61dd6208
SP
26608 * Versions.def (libpthread): Add GLIBC_2.18.
26609 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26611 Likewise.
26612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26613 Likewise.
26614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26615 Likewise.
26616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26617 Likewise.
26618 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26619 Likewise.
26620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26621 Likewise.
26622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26623 Likewise.
26624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26625 Likewise.
26626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26627 Likewise.
26628
d086fc7b
LD
266292013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26630
26631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26632 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26633
747ef469
SP
266342013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26635 H.J. Lu <hjl.tools@gmail.com>
26636
26637 [BZ #15627]
26638 * sysdeps/x86_64/rtld-memset.c: Remove file.
26639 * sysdeps/x86_64/rtld-memset.S: New file.
26640
1b2feed2
JM
266412013-06-14 Joseph Myers <joseph@codesourcery.com>
26642
26643 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26644 (test_in_one_mode): Take arguments for whether the rounding mode
26645 is supported for each floating-point type.
26646 (do_test): Pass new arguments to test_in_one_mode using
26647 ROUNDING_TESTS.
26648
a58ad3f8
RM
266492013-06-13 Roland McGrath <roland@hack.frob.com>
26650
26651 * posix/tst-waitid.c (do_test): Distinguish different instances of
26652 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26653 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26654 before entering the kernel for waitpid.
26655
c204ab28
SP
266562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26657
26658 * NEWS: Fix note on clock function precision. Text by Roland
26659 McGrath.
26660
f4a29fba
RM
266612013-06-13 Roland McGrath <roland@hack.frob.com>
26662
26663 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26664 it into place only when and if the sanity check passes.
26665
1f24b9ad
JM
266662013-06-13 Joseph Myers <joseph@codesourcery.com>
26667
26668 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26669 output for whether conversion result is exact. Take argument
26670 indicating whether type is IBM long double.
26671 (round_for_all): Change need_exact field to ibm_ld.
26672 * stdlib/tst-strtod-round.c (struct exactness): New type.
26673 (struct test): Change bool ld_ok field to struct exactness exact.
26674 (TEST): Update all definitions for change to field.
26675 (tests): Regenerate array contents.
26676 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26677 field value. Check for IBM long double here.
26678 (do_test): Update calls to test_in_one_mode.
26679
58206c68
SP
266802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26681
26682 [BZ #12515]
26683 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26684 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26685
2d6f4c5b 266862013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26687
26688 [BZ #15605]
26689 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26690 generated by the compiler on loop optimizations.
26691 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26692 general definitions.
26693
94f2c076
JM
266942013-06-12 Joseph Myers <joseph@codesourcery.com>
26695
26696 * math/bug-nextafter.c: Include <math-tests.h>.
26697 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26698 the relevant type.
26699 * math/bug-nexttoward.c: Include <math-tests.h>.
26700 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26701 the relevant type.
26702 * math/test-misc.c: Include <math-tests.h>.
26703 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26704 the relevant type.
26705
e0e50a0a
AJ
267062013-06-12 Andreas Jaeger <aj@suse.de>
26707
26708 * po/ia.po: Update Interlingua translation from translation
26709 project.
26710
25061094
SP
267112013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26712
26713 * include/fenv.h: Include stdbool.h.
26714 (struct rm_ctx): New structure.
26715 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26716 Define macro.
26717 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26718 (SET_RESTORE_ROUNDF): Likewise.
26719 (SET_RESTORE_ROUNDL): Likewise.
26720 (SET_RESTORE_ROUND_NOEX): Likewise.
26721 (SET_RESTORE_ROUND_NOEXF): Likewise.
26722 (SET_RESTORE_ROUND_NOEXL): Likewise.
26723 (SET_RESTORE_ROUND_53BIT): Likewise.
26724 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26725 (libc_feresetround_noexf_ctx): Likewise.
26726 (libc_feresetround_noexl_ctx): Likewise.
26727 (libc_feholdsetround_53bit_ctx): Likewise.
26728 (libc_feresetround_53bit_ctx): Likewise.
26729 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26730 (libc_feholdexcept_setround_sse_ctx): New function.
26731 (libc_fesetenv_sse_ctx): Likewise.
26732 (libc_feupdateenv_sse_ctx): Likewise.
26733 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26734 (libc_feholdexcept_setround_387_ctx): Likewise.
26735 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26736 (libc_feholdsetround_387_prec_ctx): Likewise.
26737 (libc_feholdsetround_387_ctx): Likewise.
26738 (libc_feholdsetround_387_53bit_ctx): Likewise.
26739 (libc_feholdsetround_sse_ctx): Likewise.
26740 (libc_feresetround_sse_ctx): Likewise.
26741 (libc_feresetround_387_ctx): Likewise.
26742 (libc_feupdateenv_387_ctx): Likewise.
26743 (libc_feholdexcept_setroundf_ctx): Define macro.
26744 (libc_fesetenvf_ctx): Likewise.
26745 (libc_feupdateenvf_ctx): Likewise.
26746 (libc_feholdsetroundf_ctx): Likewise.
26747 (libc_feresetroundf_ctx): Likewise.
26748 (libc_feholdexcept_setround_ctx): Likewise.
26749 (libc_fesetenv_ctx): Likewise.
26750 (libc_feupdateenv_ctx): Likewise.
26751 (libc_feholdsetround_ctx): Likewise.
26752 (libc_feresetround_ctx): Likewise.
26753 (libc_feholdexcept_setroundl_ctx): Likewise.
26754 (libc_feupdateenvl_ctx): Likewise.
26755 (libc_feholdsetroundl_ctx): Likewise.
26756 (libc_feresetroundl_ctx): Likewise.
26757 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26758 (libc_feresetround_53bit_ctx): Likewise.
26759
59b30555
SP
267602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26761
26762 * locale/iso-639.def: Convert to UTF-8.
26763
f1d73d30
JM
267642013-06-11 Joseph Myers <joseph@codesourcery.com>
26765
26766 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26767 (EXCEPTION_TESTS_double): Likewise.
26768 (EXCEPTION_TESTS_long_double): Likewise.
26769 (EXCEPTION_TESTS): Likewise.
26770 * math/libm-test.inc (test_exceptions): Only test exceptions if
26771 EXCEPTION_TESTS (FLOAT).
26772
94aca5e7
SP
267732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26774
26775 * benchtests/Makefile (string-bench): Add strcpy_chk and
26776 stpcpy_chk.
26777 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26778 * benchtests/bench-stpcpy_chk.c: New file.
26779 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26780 * benchtests/bench-strcpy_chk.c: New file.
26781 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26782 code.
26783 (do_test): Likewise.
26784
fac0c5f2
RA
267852013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26786
26787 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26788 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26789 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26790 with tabs where appropriate.
26791 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26792 dl-procinfo.h.
26793 [PPC_PLATFORM_PPC440]: Likewise.
26794 [PPC_PLATFORM_PPC464]: Likewise.
26795 [PPC_PLATFORM_PPC476]: Likewise.
26796 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26797 ppc464, and ppc476 platform strings merging from ports/
26798 dl-procinfo.h.
26799
f22bc486
AS
268002013-06-11 Andreas Schwab <schwab@suse.de>
26801
26802 [BZ #14991]
26803 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26804 (from_ucs4_idx): Regenerate.
26805 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26806 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26807 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26808 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26809 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26810 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26811 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26812 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26813 from FROM_LOOP and TO_LOOP specific macros.
26814 (BODY): Handle combining characters.
26815 * iconvdata/BIG5HKSCS.irreversible: Update.
26816 * iconvdata/BIG5HKSCS.precomposed: New file.
26817 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26818 characters.
26819 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26820
c1f75dc3
SP
268212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26822
4eacded2
SP
26823 * include/sys/time.h: Fix indentation and add copyright header.
26824
fec799f8
SP
26825 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26826 (do_test): Likewise.
26827 * string/test-memchr.c (do_one_test): Likewise.
26828 (do_test): Likewise.
26829 * string/test-memcmp.c (do_one_test): Likewise.
26830 (do_test): Likewise.
26831 * string/test-memcpy.c (do_one_test): Likewise.
26832 (do_test): Likewise.
26833 * string/test-memmem.c (do_one_test): Likewise.
26834 (do_test): Likewise.
26835 (do_random_tests): Likewise.
26836 * string/test-memmove.c (do_one_test): Likewise.
26837 (do_test): Likewise.
26838 * string/test-memset.c (do_one_test): Likewise.
26839 (do_test): Likewise.
26840 * string/test-rawmemchr.c (do_one_test): Likewise.
26841 (do_test): Likewise.
26842 * string/test-strcasecmp.c (do_one_test): Likewise.
26843 (do_test): Likewise.
26844 * string/test-strcasestr.c (do_one_test): Likewise.
26845 (do_test): Likewise.
26846 * string/test-strcat.c (do_one_test): Likewise.
26847 (do_test): Likewise.
26848 * string/test-strchr.c (do_one_test): Likewise.
26849 (do_test): Likewise.
26850 * string/test-strcmp.c (do_one_test): Likewise.
26851 (do_test): Likewise.
26852 * string/test-strcpy.c (do_one_test): Likewise.
26853 (do_test): Likewise.
26854 * string/test-string.h: Likewise.
26855 (test_init): Likewise.
26856 * string/test-strlen.c (do_one_test): Likewise.
26857 (do_test): Likewise.
26858 * string/test-strncasecmp.c (do_one_test): Likewise.
26859 (do_test): Likewise.
26860 * string/test-strncat.c (do_one_test): Likewise.
26861 (do_test): Likewise.
26862 * string/test-strncmp.c (do_one_test): Likewise.
26863 (do_test_limit): Likewise.
26864 (do_test): Likewise.
26865 * string/test-strncpy.c (do_one_test): Likewise.
26866 (do_test): Likewise.
26867 * string/test-strnlen.c (do_one_test): Likewise.
26868 (do_test): Likewise.
26869 * string/test-strpbrk.c (do_one_test): Likewise.
26870 (do_test): Likewise.
26871 * string/test-strrchr.c (do_one_test): Likewise.
26872 (do_test): Likewise.
26873 * string/test-strspn.c (do_one_test): Likewise.
26874 (do_test): Likewise.
26875 * string/test-strstr.c (do_one_test): Likewise.
26876 (do_test): Likewise.
26877
97020474
SP
26878 * benchtests/Makefile (string-bench): Add string benchmarks.
26879 * benchtests/bench-bcopy-ifunc.c: New file.
26880 * benchtests/bench-bcopy.c: New file.
26881 * benchtests/bench-bzero-ifunc.c: New file.
26882 * benchtests/bench-bzero.c: New file.
26883 * benchtests/bench-memccpy-ifunc.c: New file.
26884 * benchtests/bench-memccpy.c: New file.
26885 * benchtests/bench-memchr-ifunc.c: New file.
26886 * benchtests/bench-memchr.c: New file.
26887 * benchtests/bench-memcmp-ifunc.c: New file.
26888 * benchtests/bench-memcmp.c: New file.
26889 * benchtests/bench-memmem-ifunc.c: New file.
26890 * benchtests/bench-memmem.c: New file.
26891 * benchtests/bench-memmove-ifunc.c: New file.
26892 * benchtests/bench-memmove.c: New file.
26893 * benchtests/bench-mempcpy-ifunc.c: New file.
26894 * benchtests/bench-mempcpy.c: New file.
26895 * benchtests/bench-memset-ifunc.c: New file.
26896 * benchtests/bench-memset.c: New file.
26897 * benchtests/bench-rawmemchr-ifunc.c: New file.
26898 * benchtests/bench-rawmemchr.c: New file.
26899 * benchtests/bench-stpcpy-ifunc.c: New file.
26900 * benchtests/bench-stpcpy.c: New file.
26901 * benchtests/bench-stpncpy-ifunc.c: New file.
26902 * benchtests/bench-stpncpy.c: New file.
26903 * benchtests/bench-strcasecmp-ifunc.c: New file.
26904 * benchtests/bench-strcasecmp.c: New file.
26905 * benchtests/bench-strcasestr-ifunc.c: New file.
26906 * benchtests/bench-strcasestr.c: New file.
26907 * benchtests/bench-strcat-ifunc.c: New file.
26908 * benchtests/bench-strcat.c: New file.
26909 * benchtests/bench-strchr-ifunc.c: New file.
26910 * benchtests/bench-strchr.c: New file.
26911 * benchtests/bench-strchrnul-ifunc.c: New file.
26912 * benchtests/bench-strchrnul.c: New file.
26913 * benchtests/bench-strcmp-ifunc.c: New file.
26914 * benchtests/bench-strcmp.c: New file.
26915 * benchtests/bench-strcpy-ifunc.c: New file.
26916 * benchtests/bench-strcpy.c: New file.
26917 * benchtests/bench-strcspn-ifunc.c: New file.
26918 * benchtests/bench-strcspn.c: New file.
26919 * benchtests/bench-strlen-ifunc.c: New file.
26920 * benchtests/bench-strlen.c: New file.
26921 * benchtests/bench-strncasecmp-ifunc.c: New file.
26922 * benchtests/bench-strncasecmp.c: New file.
26923 * benchtests/bench-strncat-ifunc.c: New file.
26924 * benchtests/bench-strncat.c: New file.
26925 * benchtests/bench-strncmp-ifunc.c: New file.
26926 * benchtests/bench-strncmp.c: New file.
26927 * benchtests/bench-strncpy-ifunc.c: New file.
26928 * benchtests/bench-strncpy.c: New file.
26929 * benchtests/bench-strnlen-ifunc.c: New file.
26930 * benchtests/bench-strnlen.c: New file.
26931 * benchtests/bench-strpbrk-ifunc.c: New file.
26932 * benchtests/bench-strpbrk.c: New file.
26933 * benchtests/bench-strrchr-ifunc.c: New file.
26934 * benchtests/bench-strrchr.c: New file.
26935 * benchtests/bench-strspn-ifunc.c: New file.
26936 * benchtests/bench-strspn.c: New file.
26937 * benchtests/bench-strstr-ifunc.c: New file.
26938 * benchtests/bench-strstr.c: New file.
26939
c1f75dc3
SP
26940 * benchtests/Makefile: Disable parallel execution of targets.
26941 (string-bench): Add memcpy.
26942 (benchset): New variable to store a list of benchmark sets.
26943 (bench-func): Renamed from bench.
26944 (bench-set): New target.
26945 (bench): Depend on bench-func and bench-set.
26946 * benchtests/README: Add section on benchmark sets.
26947 * benchtests/bench-memcpy-ifunc.c: New file.
26948 * benchtests/bench-memcpy.c: New file.
26949 * benchtests/bench-string.h: New file.
26950
50fd745b
AS
269512013-06-11 Andreas Schwab <schwab@suse.de>
26952
26953 [BZ #15577]
26954 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26955 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26956 values in the triple.
26957 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26958 terminator in the group key.
26959
3ee7e9fe
AJ
269602013-06-11 Andreas Jaeger <aj@suse.de>
26961
26962 * po/zh_TW.po: Update Chinese (traditional) translation from
26963 translation project.
26964
89fb6835
SP
269652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26966
26967 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26968 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26969 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26970 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26971 (clock_getcpuclockid): Likewise.
26972 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26973 Add weak_alias and libc_hidden_def.
26974 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26975 * rt/clock_gettime.c (clock_gettime): Rename to
26976 __clock_gettime. Add weak_alias and libc_hidden_def.
26977 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26978 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26979 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26980 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26981 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26982 Likewise.
26983 * rt/clock_settime.c (clock_settime): Rename to
26984 __clock_settime. Add weak_alias and libc_hidden_def.
26985 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26986
0efa6f8b
JM
269872013-06-10 Joseph Myers <joseph@codesourcery.com>
26988
b8c61b4b
JM
26989 * mach/err_boot.sub: Remove trailing whitespace.
26990 * mach/err_ipc.sub: Likewise.
26991 * mach/err_mach.sub: Likewise.
26992
0efa6f8b
JM
26993 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26994 (ROUNDING_TESTS_double): Likewise.
26995 (ROUNDING_TESTS_long_double): Likewise.
26996 (ROUNDING_TESTS): Likewise.
26997 * math/libm-test.inc: Include <math-tests.h>.
26998 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26999 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27000 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27001 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27002
50b818bf
SP
270032013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27004
27005 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27006 of assigning.
27007
60d2f8f3
JM
270082013-06-08 Joseph Myers <joseph@codesourcery.com>
27009
4902d2c3
JM
27010 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27011 otherwise empty TRANS lines.
27012 * sysdeps/gnu/errlist.c: Regenerated.
27013
60d2f8f3
JM
27014 * catgets/gencat.c (error_print): Use (void) in function
27015 definition.
27016 * crypt/crypt_util.c (__init_des): Likewise.
27017 * crypt/speeds.c (Stop): Likewise.
27018 (main): Likewise.
27019 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27020 * inet/ruserpass.c (token): Likewise.
27021 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27022 * intl/localealias.c (extend_alias_table): Likewise.
27023 * intl/plural-exp.c (init_germanic_plural): Likewise.
27024 * libio/fcloseall.c (__fcloseall): Likewise.
27025 * libio/genops.c (_IO_flush_all): Likewise.
27026 (_IO_flush_all_linebuffered): Likewise.
27027 (_IO_cleanup): Likewise.
27028 (_IO_iter_begin): Likewise.
27029 (_IO_iter_end): Likewise.
27030 (_IO_list_lock): Likewise.
27031 (_IO_list_unlock): Likewise.
27032 (_IO_list_resetlock): Likewise.
27033 * libio/getchar.c (getchar): Likewise.
27034 * libio/getchar_u.c (getchar_unlocked): Likewise.
27035 * libio/getwchar.c (getwchar): Likewise.
27036 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27037 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27038 * login/getpt.c (__getpt): Likewise.
27039 * login/tst-utmp.c (main): Likewise.
27040 * malloc/hooks.c (__malloc_check_init): Likewise.
27041 * malloc/malloc.c (__malloc_stats): Likewise.
27042 * malloc/mtrace.c (tr_break): Likewise.
27043 (mtrace): Likewise.
27044 (muntrace): Likewise.
27045 * misc/fstab.c (endfsent): Likewise.
27046 * misc/getclktck.c (__getclktck): Likewise.
27047 * misc/getdtsz.c (__getdtablesize): Likewise.
27048 * misc/gethostid.c (gethostid): Likewise.
27049 * misc/getpagesize.c (__getpagesize): Likewise.
27050 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27051 (__get_nprocs): Likewise.
27052 (__get_phys_pages): Likewise.
27053 (__get_avphys_pages): Likewise.
27054 * misc/getttyent.c (getttyent): Likewise.
27055 (setttyent): Likewise.
27056 (endttyent): Likewise.
27057 * misc/getusershell.c (getusershell): Likewise.
27058 (endusershell): Likewise.
27059 (setusershell): Likewise.
27060 (initshells): Likewise.
27061 * misc/hsearch.c (__hdestroy): Likewise.
27062 * misc/sync.c (sync): Likewise.
27063 * misc/syslog.c (closelog_internal): Likewise.
27064 (closelog): Likewise.
27065 * misc/ttyslot.c (ttyslot): Likewise.
27066 * misc/vhangup.c (vhangup): Likewise.
27067 * posix/fork.c (__fork): Likewise.
27068 * posix/getegid.c (__getegid): Likewise.
27069 * posix/geteuid.c (__geteuid): Likewise.
27070 * posix/getgid.c (__getgid): Likewise.
27071 * posix/getpid.c (__getpid): Likewise.
27072 * posix/getppid.c (__getppid): Likewise.
27073 * posix/getuid.c (__getuid): Likewise.
27074 * posix/pause.c (pause): Likewise.
27075 * posix/setpgrp.c (setpgrp): Likewise.
27076 * posix/setsid.c (__setsid): Likewise.
27077 * posix/test-vfork.c (noop): Likewise.
27078 * resolv/gethnamaddr.c (_endhtent): Likewise.
27079 (_gethtent): Likewise.
27080 (ht_endhostent): Likewise.
27081 (gethostent): Likewise.
27082 (dns_service): Likewise.
27083 * stdlib/drand48.c (drand48): Likewise.
27084 * stdlib/lrand48.c (lrand48): Likewise.
27085 * stdlib/mrand48.c (mrand48): Likewise.
27086 * stdlib/rand.c (rand): Likewise.
27087 * stdlib/random.c (__random): Likewise.
27088 * stdlib/setenv.c (clearenv): Likewise.
27089 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27090 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27091 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27092 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27093 (__get_nprocs): Likewise.
27094 (__get_phys_pages): Likewise.
27095 (__get_avphys_pages): Likewise.
27096 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27097 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27098 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27099 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27100 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27101 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27102 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27103 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27104 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27105 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27106 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27107 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27108 * sysdeps/posix/clock.c (clock): Likewise.
27109 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27110 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27111 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27112 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27113 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27115 (__get_nprocs_conf): Likewise.
27116 (__get_phys_pages): Likewise.
27117 (__get_avphys_pages): Likewise.
27118 * time/clock.c (clock): Likewise.
27119 * time/tzset.c (__tzname_max): Likewise.
27120
2e09a79a
JM
271212013-06-07 Joseph Myers <joseph@codesourcery.com>
27122
27123 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27124 (__bswap_32): Do not use "register".
27125 * crypt/crypt.c (_ufc_doit_r): Likewise.
27126 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27127 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27128 * gmon/gmon.c (__monstartup): Likewise.
27129 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27130 * hurd/hurdmalloc.c (more_memory): Likewise.
27131 (malloc): Likewise.
27132 (free): Likewise.
27133 (realloc): Likewise.
27134 (malloc_fork_prepare): Likewise.
27135 (malloc_fork_parent): Likewise.
27136 (malloc_fork_child): Likewise.
27137 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27138 (_svcauth_des): Likewise.
27139 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27140 * inet/inet_net.c (inet_network): Likewise.
27141 * inet/inet_netof.c (inet_netof): Likewise.
27142 * inet/rcmd.c (__validuser2_sa): Likewise.
27143 * io/fts.c (fts_open): Likewise.
27144 (fts_load): Likewise.
27145 (fts_close): Likewise.
27146 (fts_read): Likewise.
27147 (fts_children): Likewise.
27148 (fts_build): Likewise.
27149 (fts_stat): Likewise.
27150 (fts_sort): Likewise.
27151 (fts_alloc): Likewise.
27152 (fts_lfree): Likewise.
27153 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27154 (_IO_file_xsgetn): Likewise.
27155 (_IO_file_xsgetn_mmap): Likewise.
27156 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27157 (_IO_cookie_write): Likewise.
27158 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27159 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27160 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27161 * malloc/obstack.c (_obstack_begin): Likewise.
27162 (_obstack_begin_1): Likewise.
27163 (_obstack_newchunk): Likewise.
27164 (_obstack_allocated_p): Likewise.
27165 (obstack_free): Likewise.
27166 (_obstack_memory_used): Likewise.
27167 * misc/getttyent.c (getttynam): Likewise.
27168 (getttyent): Likewise.
27169 (skip): Likewise.
27170 (value): Likewise.
27171 * misc/getusershell.c (initshells): Likewise.
27172 * misc/syslog.c (__vsyslog_chk): Likewise.
27173 * misc/ttyslot.c (ttyslot): Likewise.
27174 * nis/nis_hash.c (__nis_hash): Likewise.
27175 * posix/fnmatch_loop.c (FCT): Likewise.
27176 * posix/getconf.c (print_all): Likewise.
27177 (main): Likewise.
27178 * posix/getopt.c (exchange): Likewise.
27179 * posix/glob.c (globfree): Likewise.
27180 (prefix_array): Likewise.
27181 (__glob_pattern_type): Likewise.
27182 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27183 (NS_GET32): Likewise.
27184 (NS_PUT16): Likewise.
27185 (NS_PUT32): Likewise.
27186 * resolv/gethnamaddr.c (getanswer): Likewise.
27187 (gethostbyname2): Likewise.
27188 (gethostbyaddr): Likewise.
27189 (_gethtent): Likewise.
27190 (_gethtbyname2): Likewise.
27191 (_gethtbyaddr): Likewise.
27192 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27193 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27194 * resolv/res_init.c (__res_vinit): Likewise.
27195 (net_mask): Likewise.
27196 * resolv/res_mkquery.c (outchar): Likewise.
27197 (PRINT): Likewise.
27198 * stdio-common/printf_fp.c (outchar): Likewise.
27199 (PRINT): Likewise.
27200 * stdio-common/printf_fphex.c (outchar): Likewise.
27201 (PRINT): Likewise.
27202 * stdio-common/printf_size.c (outchar): Likewise.
27203 (PRINT): Likewise.
27204 * stdio-common/test_rdwr.c (main): Likewise.
27205 * stdio-common/tfformat.c (matches): Likewise.
27206 * stdio-common/vfprintf.c (outchar): Likewise.
27207 (printf_unknown): Likewise.
27208 (buffered_vfprintf): Likewise.
27209 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27210 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27211 (ReadFile): Likewise.
27212 * stdlib/qsort.c (SWAP): Likewise.
27213 (_quicksort): Likewise.
27214 * stdlib/setenv.c (__add_to_environ): Likewise.
27215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27216 * stdlib/strtol_l.c (__strtol_l): Likewise.
27217 * stdlib/tst-strtod.c (main): Likewise.
27218 * stdlib/tst-strtol.c (main): Likewise.
27219 * stdlib/tst-strtoll.c (main): Likewise.
27220 * string/bits/string2.h (__strcmp_cc): Likewise.
27221 (__strcmp_cg): Likewise.
27222 (__strcspn_c1): Likewise.
27223 (__strcspn_c2): Likewise.
27224 (__strcspn_c3): Likewise.
27225 (__strspn_c1): Likewise.
27226 (__strspn_c2): Likewise.
27227 (__strspn_c3): Likewise.
27228 (__strsep_1c): Likewise.
27229 (__strsep_2c): Likewise.
27230 (__strsep_3c): Likewise.
27231 * string/memccpy.c (__memccpy): Likewise.
27232 * string/stpcpy.c (__stpcpy): Likewise.
27233 * string/strcmp.c (strcmp): Likewise.
27234 * string/strrchr.c (strrchr): Likewise.
27235 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27236 Likewise.
27237 * sysdeps/mach/hurd/getcwd.c
27238 (_hurd_canonicalize_directory_name_internal): Likewise.
27239 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27240 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27241 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27242 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27243 Likewise, in both definitions.
27244 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27245 definitions.
27246 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27247 64] (__bswap_64): Likewise.
27248 * time/test_time.c (main): Likewise.
27249 * time/tzfile.c (__tzfile_read): Likewise.
27250 (__tzfile_compute): Likewise.
27251 * time/tzset.c (__tzset_parse_tz): Likewise.
27252 (tzset_internal): Likewise.
27253 (compute_change): Likewise.
27254 * wcsmbs/wcscat.c (__wcscat): Likewise.
27255 * wcsmbs/wcschr.c (wcschr): Likewise.
27256 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27257 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27258 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27259 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27260 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27261 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27262 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27263 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27264 * wcsmbs/wmemset.c (wmemset): Likewise.
27265
9e54314b
JM
272662013-06-06 Joseph Myers <joseph@codesourcery.com>
27267
27268 * scripts/config.guess: Update to version 2013-05-16.
27269 * scripts/config.sub: Update to version 2013-04-24.
27270 * scripts/install-sh: Update to version 2011-11-20.07.
27271 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27272 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27273
350635a5
OB
272742013-06-06 Ondřej Bílka <neleai@seznam.cz>
27275
27276 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27277 * elf/sln.c: Likewise.
27278 * hurd/hurd/ioctl.h: Likewise.
27279 * hurd/hurdmalloc.c: Likewise.
27280 * hurd/xattr.c: Likewise.
27281 * include/shlib-compat.h: Likewise.
27282 * inet/ruserpass.c: Likewise.
27283 * libio/iofgets_u.c: Likewise.
27284 * libio/iofgetws_u.c: Likewise.
27285 * locale/programs/ld-identification.c: Likewise.
27286 * locale/programs/ld-time.c: Likewise.
27287 * mach/msg-destroy.c: Likewise.
27288 * nss/nss_files/files-netgrp.c: Likewise.
27289 * resolv/res_data.c: Likewise.
27290 * soft-fp/op-1.h: Likewise.
27291 * soft-fp/op-2.h: Likewise.
27292 * soft-fp/op-4.h: Likewise.
27293 * soft-fp/op-common.h: Likewise.
27294 * stdio-common/printf_fphex.c: Likewise.
27295 * stdlib/strtod_l.c: Likewise.
27296 * sunrpc/rpc/clnt.h: Likewise.
27297 * sysdeps/generic/framestate.c: Likewise.
27298 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27299 * sysdeps/i386/bsd-setjmp.S: Likewise.
27300 * sysdeps/i386/__longjmp.S: Likewise.
27301 * sysdeps/i386/setjmp.S: Likewise.
27302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27303 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27305 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27312 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27314 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27316 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27317 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27318 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27319 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27320 * sysdeps/ieee754/support.c: Likewise.
27321 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27322 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27323 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27324 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27325 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27326 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27327 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27328 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27329 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27330 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27331 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27332 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27333 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27334 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27335 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27336 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27337 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27339
44a988af
OB
273402013-06-05 Ondřej Bílka <neleai@seznam.cz>
27341
25506f09 27342 * posix/transbug.c: Remove executable mode.
44a988af 27343
9c84384c
JM
273442013-06-05 Joseph Myers <joseph@codesourcery.com>
27345
27346 * crypt/speeds.c: Remove trailing whitespace.
27347 * dlfcn/default.c: Likewise.
27348 * elf/ifuncdep2.c: Likewise.
27349 * elf/ifuncmain1.c: Likewise.
27350 * elf/ifuncmain1vis.c: Likewise.
27351 * elf/testobj.h: Likewise.
27352 * elf/tst-stackguard1.c: Likewise.
27353 * gmon/sys/gmon.h: Likewise.
27354 * hurd/hurdmsg.c: Likewise.
27355 * hurd/new-fd.c: Likewise.
27356 * hurd/ports-get.c: Likewise.
27357 * iconvdata/ibm1008_420.c: Likewise.
27358 * inet/tst-getni1.c: Likewise.
27359 * inet/tst-getni2.c: Likewise.
27360 * libio/ioungetc.c: Likewise.
27361 * libio/wfiledoalloc.c: Likewise.
27362 * manual/libm-err-tab.pl: Likewise.
27363 * math/w_dremf.c: Likewise.
27364 * misc/ftruncate.c: Likewise.
27365 * posix/bug-glob2.c: Likewise.
27366 * posix/tst-pcre.c: Likewise.
27367 * posix/wait4.c: Likewise.
27368 * resolv/README: Likewise.
27369 * resolv/res_debug.h: Likewise.
27370 * resolv/tst-inet_ntop.c: Likewise.
27371 * setjmp/bug269-setjmp.c: Likewise.
27372 * soft-fp/extended.h: Likewise.
27373 * soft-fp/op-1.h: Likewise.
27374 * soft-fp/op-2.h: Likewise.
27375 * soft-fp/op-4.h: Likewise.
27376 * soft-fp/op-8.h: Likewise.
27377 * soft-fp/testit.c: Likewise.
27378 * stdio-common/bug16.c: Likewise.
27379 * stdlib/random.c: Likewise.
27380 * sunrpc/rpcsvc/rquota.x: Likewise.
27381 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27382 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27383 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27384 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27385 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27386 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27387 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27388 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27389 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27390 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27391 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27393 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27394 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27397 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27408 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27410 * sysdeps/ieee754/s_lib_version.c: Likewise.
27411 * sysdeps/mach/hurd/check_fds.c: Likewise.
27412 * sysdeps/mach/hurd/getsockname.c: Likewise.
27413 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27414 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27415 * sysdeps/powerpc/bits/link.h: Likewise.
27416 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27417 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27418 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27419 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27420 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27421 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27422 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27423 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27424 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27425 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27426 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27427 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27428 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27429 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27430 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27431 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27433 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27435 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27437 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27438 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27439 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27440 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27441 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27442 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27443 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27444 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27445 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27446 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27447 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27449 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27450 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27451 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27452 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27453 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27454 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27455 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27456 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27457 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27458 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27459 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27460 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27461 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27462 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27463 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27464 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27465 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27468 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27469 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27470 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27471 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27472 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27473 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27474 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27475 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27476 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27477 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27478 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27479 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27480 * sysdeps/powerpc/sysdep.h: Likewise.
27481 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27482 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27483 * sysdeps/sh/dl-trampoline.S: Likewise.
27484 * sysdeps/sh/memset.S: Likewise.
27485 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27486 * sysdeps/sh/strlen.S: Likewise.
27487 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27488 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27489 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27490 * sysdeps/sparc/sparc32/rem.S: Likewise.
27491 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27492 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27493 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27494 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27495 * sysdeps/sparc/sparc32/urem.S: Likewise.
27496 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27497 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27498 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27499 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27500 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27501 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27502 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27503 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27504 * sysdeps/unix/bsd/times.c: Likewise.
27505 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27506 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27510 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27511 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27512 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27513 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27514 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27515 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27516 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27517 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27518 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27519 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27520 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27521 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27522 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27523 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27524 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27525 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27526 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27527 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27528 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27529 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27530 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27531 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27532 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27533 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27534 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27535 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27536 * sysdeps/x86_64/strcspn.S: Likewise.
27537
869378a5
RA
275382013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27539
27540 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27541 generated file. Regenerate properly from gen-translit.pl.
27542 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27543 locale/C-translit.h.
27544
840e2943
AS
275452013-06-05 Andreas Schwab <schwab@suse.de>
27546
27547 [BZ #15100]
27548 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27549 week as 6 instead of -1.
27550 * time/tst-strptime.c (day_tests): Add test case.
27551
4c60cb0c
SP
275522013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27553
27554 * sysdeps/generic/math_private.h
27555 (libc_feholdexcept_setround_53bit): Replace with
27556 libc_feholdsetround_53bit.
27557 (libc_feupdateenv_53bit): Replace with
27558 libc_feresetround_53bit.
27559 (SET_RESTORE_ROUND_53BIT): Adjust.
27560
d180203e
SP
275612013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27562
96df079a
SP
27563 * string/test-strchrnul.c: Add copyright header.
27564
d180203e
SP
27565 * posix/tst-getaddrinfo4.c: Increase test timeout.
27566
8b0ccb2d
CD
275672013-06-03 Carlos O'Donell <carlos@redhat.com>
27568
27569 [BZ #15536]
27570 * math/libm-test.inc (MAX_EXP): Remove
27571 (MIN_EXP): Define.
27572 (ulp): Use MIN_EXP - MANT_DIG.
27573 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27574
3b3c4d40
CD
275752013-05-31 Carlos O'Donell <carlos@redhat.com>
27576
27577 * po/be.po: Revert last change.
27578 * po/zh_CN.po: Likewise.
27579 * po/header.pot: Likewise.
27580
fab7ce3f
JM
275812013-05-31 Joseph Myers <joseph@codesourcery.com>
27582
27583 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27584 link-libc-deps to empty as target-specific variable.
27585 * Makerules (link-libc-args): New variable.
27586 (libc-for-link): Likewise.
27587 (link-libc-deps): Likewise.
27588 (lib%.so): Depend on $(link-libc-deps). Link with
27589 $(link-libc-args).
27590 (build-module): Link with $(link-libc-args).
27591 (build-module-asneeded): Likewise.
27592 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27593 list of objects.
27594 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27595 target-specific variable.
27596 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27597 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27598 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27599 libc.
27600 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27601 libc and ld.so.
27602 ($(objpfx)libpcprofile.so): Likewise.
27603 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27604 libc_nonshared.a.
27605 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27606 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27607 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27608 $(link-libc-deps).
27609 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27610 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27611 * login/Makefile ($(objpfx)libutil.so): Likewise.
27612 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27613 * math/Makefile ($(objpfx)libm.so): Likewise.
27614 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27615 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27616 variable instead of depending directly on libc.
27617 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27618 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27619 $(link-libc-deps).
27620 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27621 libc.
27622 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27623 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27624 ($(objpfx)libanl.so): Likewise.
27625 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27626 ld.so.
27627 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27628 $(link-libc-deps).
27629 * sysdeps/i386/fpu/Makefile: Remove file.
27630 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27631 ($(objpfx)libm.so): Remove dependency on ld.so.
27632
eca5920c
PF
276332013-05-30 Patsy Franklin <pfrankli@redhat.com>
27634
27635 [BZ # 15553]
27636 * nis/yp_xdr.c (XDRMAXNAME): Define.
27637 (XDRMAXRECORD): Define.
27638 (xdr_domainname): Use XDRMAXNAME.
27639 (xdr_mapname): Likewise.
27640 (xdr_peername): Likewise.
27641 (xdr_keydat): Use XDRMAXRECORD.
27642 (xdr_valdat): Likewise.
27643
276442013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27645
27646 [BZ #14256]
27647 * manual/errno.texi (ESTALE): Update to account for more than
27648 just NFS file systems.
27649 * sysdeps/gnu/errlist.c: Regenerated.
27650
b9375348
SP
276512013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27652
27653 [BZ #15465]
27654 * elf/Makefile (tests): Add tst-null-argv.
27655 (modules-names): Add tst-null-argv-lib.
27656 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27657 (tst-null-argv-ENV): Set environment for tst-null-argv.
27658 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27659 (RTLD_PROGNAME): New macro.
27660 * elf/tst-null-argv.c: New test case.
27661 * elf/tst-null-argv-lib.c: Library for test case.
27662 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27663 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27664 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27665 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27666 * elf/dl-init.c (call_init): Likewise.
27667 (_dl_init): Likewise.
27668 * elf/dl-load.c (print_search_path): Likewise.
27669 (_dl_map_object): Likewise.
27670 * elf/dl-lookup.c (do_lookup_x): Likewise.
27671 (add_dependency): Likewise.
27672 (_dl_lookup_symbol_x): Likewise.
27673 (_dl_debug_bindings): Likewise.
27674 * elf/dl-open.c (_dl_show_scope): Likewise.
27675 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27676 * elf/dl-version.c (match_symbol): Likewise.
27677 (_dl_check_map_versions): Likewise.
27678 * elf/rtld.c (dl_main): Likewise.
27679 (print_unresolved): Use RTLD_PROGNAME.
27680 (print_missing_version): Likewise.
27681 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27682 (elf_machine_rela): Likewise.
27683 * sysdeps/powerpc/powerpc32/dl-machine.c
27684 (__process_machine_rela): Likewise.
27685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27686 Likewise.
27687 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27688 Likewise.
27689 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27690 Likewise.
27691 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27693 Likewise.
27694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27695 Likewise.
27696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27697
8a9f20c8
CD
276982013-05-28 Carlos O'Donell <carlos@redhat.com>
27699
27700 * po/be.po: Add descriptive title.
27701 * po/zh_CN.po: Likewise.
27702 * po/header.pot: Likewise.
27703
0e60d68e
MF
277042013-05-28 Mike Frysinger <vapier@gentoo.org>
27705
27706 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27707 error message.
27708 (enlarge_archive): Likewise.
27709
56b672e9
BN
277102013-05-28 Ben North <ben@redfrontdoor.org>
27711
27712 * manual/arith.texi (frexp): It is the magnitude of the return
27713 value which lies in [0.5, 1), not the return value itself.
27714
5e056687
AZ
277152013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27716
27717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27718
2b66ef5d
TS
277192013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27720
528c2405
TS
27721 * stdio-common/bug26.c (main): Correct fscanf template.
27722
07b4c13d
TS
27723 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27724 declare _dl_skip_args.
27725
ec9dd97c
TS
27726 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27727 Don't declare.
27728
2b66ef5d
TS
27729 * manual/platform.texi: Add missing @end deftypefun.
27730
4f8dfe27
JM
277312013-05-24 Joseph Myers <joseph@codesourcery.com>
27732
0323d086
JM
27733 [BZ #15529]
27734 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27735 bit of mantissa of 2^16382.
27736 * math/libm-test.inc (hypot_test_data): Add more tests.
27737
dd4259b9
JM
27738 * math/libm-test.inc: Add drem and pow10 to list of tested
27739 functions.
27740 (pow10_test): New function.
27741 (drem_test): Likewise.
27742 (drem_test_tonearest): Likewise.
27743 (drem_test_towardzero): Likewise.
27744 (drem_test_downward): Likewise.
27745 (drem_test_upward): Likewise.
27746 (main): Call the new functions.
27747
4f8dfe27
JM
27748 * math/libm-test.inc (finite_test_data): Remove.
27749 (finite_test): Run tests from isfinite_test_data.
27750 (gamma_test_data): Remove.
27751 (gamma_test): Run tests from lgamma_test_data.
27752 * sysdeps/i386/fpu/libm-test-ulps: Update.
27753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27754
d116b7c4
AZ
277552013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27756
27757 * manual/platform.texi: Add PowerPC PPR function set documentation.
27758 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27759 implementation.
27760
e96e3767
CD
277612013-05-24 Carlos O'Donell <carlos@redhat.com>
27762
27763 * math/libm-test.inc (MAX_EXP): Define.
27764 (ULPDIFF): Define.
27765 (ulp): New function.
27766 (check_float_internal): Use ULPDIFF.
27767 (cpow_test): Disable failing test.
27768 (check_ulp): Test ulp() implemetnation.
27769 (main): Call check_ulp before starting tests.
27770
b679a606
JM
277712013-05-24 Joseph Myers <joseph@codesourcery.com>
27772
e8bdba36
JM
27773 * math/gen-libm-test.pl (generate_testfile): Do not handle
27774 START_DATA and END_DATA.
27775 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27776 END_DATA.
27777 (acos_tonearest_test_data): Likewise.
27778 (acos_towardzero_test_data): Likewise.
27779 (acos_downward_test_data): Likewise.
27780 (acos_upward_test_data): Likewise.
27781 (acosh_test_data): Likewise.
27782 (asin_test_data): Likewise.
27783 (asin_tonearest_test_data): Likewise.
27784 (asin_towardzero_test_data): Likewise.
27785 (asin_downward_test_data): Likewise.
27786 (asin_upward_test_data): Likewise.
27787 (asinh_test_data): Likewise.
27788 (atan_test_data): Likewise.
27789 (atanh_test_data): Likewise.
27790 (atan2_test_data): Likewise.
27791 (cabs_test_data): Likewise.
27792 (cacos_test_data): Likewise.
27793 (cacosh_test_data): Likewise.
27794 (carg_test_data): Likewise.
27795 (casin_test_data): Likewise.
27796 (casinh_test_data): Likewise.
27797 (catan_test_data): Likewise.
27798 (catanh_test_data): Likewise.
27799 (cbrt_test_data): Likewise.
27800 (ccos_test_data): Likewise.
27801 (ccosh_test_data): Likewise.
27802 (ceil_test_data): Likewise.
27803 (cexp_test_data): Likewise.
27804 (cimag_test_data): Likewise.
27805 (clog_test_data): Likewise.
27806 (clog10_test_data): Likewise.
27807 (conj_test_data): Likewise.
27808 (copysign_test_data): Likewise.
27809 (cos_test_data): Likewise.
27810 (cos_tonearest_test_data): Likewise.
27811 (cos_towardzero_test_data): Likewise.
27812 (cos_downward_test_data): Likewise.
27813 (cos_upward_test_data): Likewise.
27814 (cosh_test_data): Likewise.
27815 (cosh_tonearest_test_data): Likewise.
27816 (cosh_towardzero_test_data): Likewise.
27817 (cosh_downward_test_data): Likewise.
27818 (cosh_upward_test_data): Likewise.
27819 (cpow_test_data): Likewise.
27820 (cproj_test_data): Likewise.
27821 (creal_test_data): Likewise.
27822 (csin_test_data): Likewise.
27823 (csinh_test_data): Likewise.
27824 (csqrt_test_data): Likewise.
27825 (ctan_test_data): Likewise.
27826 (ctan_tonearest_test_data): Likewise.
27827 (ctan_towardzero_test_data): Likewise.
27828 (ctan_downward_test_data): Likewise.
27829 (ctan_upward_test_data): Likewise.
27830 (ctanh_test_data): Likewise.
27831 (ctanh_tonearest_test_data): Likewise.
27832 (ctanh_towardzero_test_data): Likewise.
27833 (ctanh_downward_test_data): Likewise.
27834 (ctanh_upward_test_data): Likewise.
27835 (erf_test_data): Likewise.
27836 (erfc_test_data): Likewise.
27837 (exp_test_data): Likewise.
27838 (exp_tonearest_test_data): Likewise.
27839 (exp_towardzero_test_data): Likewise.
27840 (exp_downward_test_data): Likewise.
27841 (exp_upward_test_data): Likewise.
27842 (exp10_test_data): Likewise.
27843 (exp2_test_data): Likewise.
27844 (expm1_test_data): Likewise.
27845 (fabs_test_data): Likewise.
27846 (fdim_test_data): Likewise.
27847 (finite_test_data): Likewise.
27848 (floor_test_data): Likewise.
27849 (fma_test_data): Likewise.
27850 (fma_towardzero_test_data): Likewise.
27851 (fma_downward_test_data): Likewise.
27852 (fma_upward_test_data): Likewise.
27853 (fmax_test_data): Likewise.
27854 (fmin_test_data): Likewise.
27855 (fmod_test_data): Likewise.
27856 (fpclassify_test_data): Likewise.
27857 (frexp_test_data): Likewise.
27858 (gamma_test_data): Likewise.
27859 (hypot_test_data): Likewise.
27860 (ilogb_test_data): Likewise.
27861 (isfinite_test_data): Likewise.
27862 (isgreater_test_data): Likewise.
27863 (isgreaterequal_test_data): Likewise.
27864 (isinf_test_data): Likewise.
27865 (isless_test_data): Likewise.
27866 (islessequal_test_data): Likewise.
27867 (islessgreater_test_data): Likewise.
27868 (isnan_test_data): Likewise.
27869 (isnormal_test_data): Likewise.
27870 (issignaling_test_data): Likewise.
27871 (isunordered_test_data): Likewise.
27872 (j0_test_data): Likewise.
27873 (j1_test_data): Likewise.
27874 (jn_test_data): Likewise.
27875 (ldexp_test_data): Likewise.
27876 (lgamma_test_data): Likewise.
27877 (lrint_test_data): Likewise.
27878 (lrint_tonearest_test_data): Likewise.
27879 (lrint_towardzero_test_data): Likewise.
27880 (lrint_downward_test_data): Likewise.
27881 (lrint_upward_test_data): Likewise.
27882 (llrint_test_data): Likewise.
27883 (llrint_tonearest_test_data): Likewise.
27884 (llrint_towardzero_test_data): Likewise.
27885 (llrint_downward_test_data): Likewise.
27886 (llrint_upward_test_data): Likewise.
27887 (log_test_data): Likewise.
27888 (log10_test_data): Likewise.
27889 (log1p_test_data): Likewise.
27890 (log2_test_data): Likewise.
27891 (logb_test_data): Likewise.
27892 (logb_downward_test_data): Likewise.
27893 (lround_test_data): Likewise.
27894 (llround_test_data): Likewise.
27895 (modf_test_data): Likewise.
27896 (nearbyint_test_data): Likewise.
27897 (nextafter_test_data): Likewise.
27898 (nexttoward_test_data): Likewise.
27899 (pow_test_data): Likewise.
27900 (pow_tonearest_test_data): Likewise.
27901 (pow_towardzero_test_data): Likewise.
27902 (pow_downward_test_data): Likewise.
27903 (pow_upward_test_data): Likewise.
27904 (remainder_test_data): Likewise.
27905 (remainder_tonearest_test_data): Likewise.
27906 (remainder_towardzero_test_data): Likewise.
27907 (remainder_downward_test_data): Likewise.
27908 (remainder_upward_test_data): Likewise.
27909 (remquo_test_data): Likewise.
27910 (rint_test_data): Likewise.
27911 (rint_tonearest_test_data): Likewise.
27912 (rint_towardzero_test_data): Likewise.
27913 (rint_downward_test_data): Likewise.
27914 (rint_upward_test_data): Likewise.
27915 (round_test_data): Likewise.
27916 (scalb_test_data): Likewise.
27917 (scalbn_test_data): Likewise.
27918 (scalbln_test_data): Likewise.
27919 (signbit_test_data): Likewise.
27920 (sin_test_data): Likewise.
27921 (sin_tonearest_test_data): Likewise.
27922 (sin_towardzero_test_data): Likewise.
27923 (sin_downward_test_data): Likewise.
27924 (sin_upward_test_data): Likewise.
27925 (sincos_test_data): Likewise.
27926 (sinh_test_data): Likewise.
27927 (sinh_tonearest_test_data): Likewise.
27928 (sinh_towardzero_test_data): Likewise.
27929 (sinh_downward_test_data): Likewise.
27930 (sinh_upward_test_data): Likewise.
27931 (sqrt_test_data): Likewise.
27932 (tan_test_data): Likewise.
27933 (tan_tonearest_test_data): Likewise.
27934 (tan_towardzero_test_data): Likewise.
27935 (tan_downward_test_data): Likewise.
27936 (tan_upward_test_data): Likewise.
27937 (tanh_test_data): Likewise.
27938 (tgamma_test_data): Likewise.
27939 (trunc_test_data): Likewise.
27940 (y0_test_data): Likewise.
27941 (y1_test_data): Likewise.
27942 (yn_test_data): Likewise.
27943 (significand_test_data): Likewise.
27944
b679a606
JM
27945 * math/gen-libm-test.pl (@functions): Remove variable.
27946 (generate_testfile): Don't handle START and END lines.
27947 * math/libm-test.inc (START): New macro.
27948 (END): Likewise.
27949 (END_COMPLEX): Likewise.
27950 (acos_test): Use END macro without arguments.
27951 (acos_test_tonearest): Likewise.
27952 (acos_test_towardzero): Likewise.
27953 (acos_test_downward): Likewise.
27954 (acos_test_upward): Likewise.
27955 (acosh_test): Likewise.
27956 (asin_test): Likewise.
27957 (asin_test_tonearest): Likewise.
27958 (asin_test_towardzero): Likewise.
27959 (asin_test_downward): Likewise.
27960 (asin_test_upward): Likewise.
27961 (asinh_test): Likewise.
27962 (atan_test): Likewise.
27963 (atanh_test): Likewise.
27964 (atan2_test): Likewise.
27965 (cabs_test): Likewise.
27966 (cacos_test): Use END_COMPLEX macro without arguments.
27967 (cacosh_test): Likewise.
27968 (carg_test): Use END macro without arguments.
27969 (casin_test): Use END_COMPLEX macro without arguments.
27970 (casinh_test): Likewise.
27971 (catan_test): Likewise.
27972 (catanh_test): Likewise.
27973 (cbrt_test): Use END macro without arguments.
27974 (ccos_test): Use END_COMPLEX macro without arguments.
27975 (ccosh_test): Likewise.
27976 (ceil_test): Use END macro without arguments.
27977 (cexp_test): Use END_COMPLEX macro without arguments.
27978 (cimag_test): Use END macro without arguments.
27979 (clog_test): Use END_COMPLEX macro without arguments.
27980 (clog10_test): Likewise.
27981 (conj_test): Likewise.
27982 (copysign_test): Use END macro without arguments.
27983 (cos_test): Likewise.
27984 (cos_test_tonearest): Likewise.
27985 (cos_test_towardzero): Likewise.
27986 (cos_test_downward): Likewise.
27987 (cos_test_upward): Likewise.
27988 (cosh_test): Likewise.
27989 (cosh_test_tonearest): Likewise.
27990 (cosh_test_towardzero): Likewise.
27991 (cosh_test_downward): Likewise.
27992 (cosh_test_upward): Likewise.
27993 (cpow_test): Use END_COMPLEX macro without arguments.
27994 (cproj_test): Likewise.
27995 (creal_test): Use END macro without arguments.
27996 (csin_test): Use END_COMPLEX macro without arguments.
27997 (csinh_test): Likewise.
27998 (csqrt_test): Likewise.
27999 (ctan_test): Likewise.
28000 (ctan_test_tonearest): Likewise.
28001 (ctan_test_towardzero): Likewise.
28002 (ctan_test_downward): Likewise.
28003 (ctan_test_upward): Likewise.
28004 (ctanh_test): Likewise.
28005 (ctanh_test_tonearest): Likewise.
28006 (ctanh_test_towardzero): Likewise.
28007 (ctanh_test_downward): Likewise.
28008 (ctanh_test_upward): Likewise.
28009 (erf_test): Use END macro without arguments.
28010 (erfc_test): Likewise.
28011 (exp_test): Likewise.
28012 (exp_test_tonearest): Likewise.
28013 (exp_test_towardzero): Likewise.
28014 (exp_test_downward): Likewise.
28015 (exp_test_upward): Likewise.
28016 (exp10_test): Likewise.
28017 (exp2_test): Likewise.
28018 (expm1_test): Likewise.
28019 (fabs_test): Likewise.
28020 (fdim_test): Likewise.
28021 (finite_test): Likewise.
28022 (floor_test): Likewise.
28023 (fma_test): Likewise.
28024 (fma_test_towardzero): Likewise.
28025 (fma_test_downward): Likewise.
28026 (fma_test_upward): Likewise.
28027 (fmax_test): Likewise.
28028 (fmin_test): Likewise.
28029 (fmod_test): Likewise.
28030 (fpclassify_test): Likewise.
28031 (frexp_test): Likewise.
28032 (gamma_test): Likewise.
28033 (hypot_test): Likewise.
28034 (ilogb_test): Likewise.
28035 (isfinite_test): Likewise.
28036 (isgreater_test): Likewise.
28037 (isgreaterequal_test): Likewise.
28038 (isinf_test): Likewise.
28039 (isless_test): Likewise.
28040 (islessequal_test): Likewise.
28041 (islessgreater_test): Likewise.
28042 (isnan_test): Likewise.
28043 (isnormal_test): Likewise.
28044 (issignaling_test): Likewise.
28045 (isunordered_test): Likewise.
28046 (j0_test): Likewise.
28047 (j1_test): Likewise.
28048 (jn_test): Likewise.
28049 (ldexp_test): Likewise.
28050 (lgamma_test): Likewise.
28051 (lrint_test): Likewise.
28052 (lrint_test_tonearest): Likewise.
28053 (lrint_test_towardzero): Likewise.
28054 (lrint_test_downward): Likewise.
28055 (lrint_test_upward): Likewise.
28056 (llrint_test): Likewise.
28057 (llrint_test_tonearest): Likewise.
28058 (llrint_test_towardzero): Likewise.
28059 (llrint_test_downward): Likewise.
28060 (llrint_test_upward): Likewise.
28061 (log_test): Likewise.
28062 (log10_test): Likewise.
28063 (log1p_test): Likewise.
28064 (log2_test): Likewise.
28065 (logb_test): Likewise.
28066 (logb_test_downward): Likewise.
28067 (lround_test): Likewise.
28068 (llround_test): Likewise.
28069 (modf_test): Likewise.
28070 (nearbyint_test): Likewise.
28071 (nextafter_test): Likewise.
28072 (nexttoward_test): Likewise.
28073 (pow_test): Likewise.
28074 (pow_test_tonearest): Likewise.
28075 (pow_test_towardzero): Likewise.
28076 (pow_test_downward): Likewise.
28077 (pow_test_upward): Likewise.
28078 (remainder_test): Likewise.
28079 (remainder_test_tonearest): Likewise.
28080 (remainder_test_towardzero): Likewise.
28081 (remainder_test_downward): Likewise.
28082 (remainder_test_upward): Likewise.
28083 (remquo_test): Likewise.
28084 (rint_test): Likewise.
28085 (rint_test_tonearest): Likewise.
28086 (rint_test_towardzero): Likewise.
28087 (rint_test_downward): Likewise.
28088 (rint_test_upward): Likewise.
28089 (round_test): Likewise.
28090 (scalb_test): Likewise.
28091 (scalbn_test): Likewise.
28092 (scalbln_test): Likewise.
28093 (signbit_test): Likewise.
28094 (sin_test): Likewise.
28095 (sin_test_tonearest): Likewise.
28096 (sin_test_towardzero): Likewise.
28097 (sin_test_downward): Likewise.
28098 (sin_test_upward): Likewise.
28099 (sincos_test): Likewise.
28100 (sinh_test): Likewise.
28101 (sinh_test_tonearest): Likewise.
28102 (sinh_test_towardzero): Likewise.
28103 (sinh_test_downward): Likewise.
28104 (sinh_test_upward): Likewise.
28105 (sqrt_test): Likewise.
28106 (tan_test): Likewise.
28107 (tan_test_tonearest): Likewise.
28108 (tan_test_towardzero): Likewise.
28109 (tan_test_downward): Likewise.
28110 (tan_test_upward): Likewise.
28111 (tanh_test): Likewise.
28112 (tgamma_test): Likewise.
28113 (trunc_test): Likewise.
28114 (y0_test): Likewise.
28115 (y1_test): Likewise.
28116 (yn_test): Likewise.
28117 (significand_test): Likewise.
28118
bae143d2
OB
281192013-05-24 Ondřej Bílka <neleai@seznam.cz>
28120
28121 [BZ #15381]
28122 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28123
9323d39b
EM
281242013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28125
d4ea44a0 28126 [BZ #14894]
9323d39b
EM
28127 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28128 __ppc_mdoio and __ppc_mdoom.
28129 * manual/platform.texi: Document new functions __ppc_yield,
28130 __ppc_mdoio and __ppc_mdoom.
28131
13e23af7
CD
281322013-05-22 Carlos O'Donell <carlos@redhat.com>
28133
28134 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28135 (main): Mention "tls" pseudo-hwcap is legacy.
28136 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28137
351fe550
JM
281382013-05-22 Joseph Myers <joseph@codesourcery.com>
28139
28140 * math/gen-libm-test.pl (parse_args): Output only string of
28141 arguments as text for test name, not full call or descriptions of
28142 tests for extra outputs.
28143 (generate_testfile): Do not pass function name to parse_args.
28144 Generate this_func variable from START.
28145 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28146 field to arg_str.
28147 (struct test_ff_f_data): Likewise.
28148 (test_ff_f_data_nexttoward): Likewise.
28149 (struct test_fi_f_data): Likewise.
28150 (struct test_fl_f_data): Likewise.
28151 (struct test_if_f_data): Likewise.
28152 (struct test_fff_f_data): Likewise.
28153 (struct test_c_f_data): Likewise.
28154 (struct test_f_f1_data): Likewise. Remove field extra_name.
28155 (struct test_fF_f1_data): Likewise.
28156 (struct test_ffI_f1_data): Likewise.
28157 (struct test_c_c_data): Rename test_name field to arg_str.
28158 (struct test_cc_c_data): Likewise.
28159 (struct test_f_i_data): Likewise.
28160 (struct test_ff_i_data): Likewise.
28161 (struct test_f_l_data): Likewise.
28162 (struct test_f_L_data): Likewise.
28163 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28164 and extra2_name.
28165 (COMMON_TEST_SETUP): New macro.
28166 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28167 (COMMON_TEST_CLEANUP): Likewise.
28168 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28169 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28170 macros.
28171 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28172 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28173 macros.
28174 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28175 (RUN_TEST_fff_f): Take argument string. Call new setup and
28176 cleanup macros.
28177 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28178 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28179 macros.
28180 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28181 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28182 macros.
28183 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28184 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28185 cleanup macros.
28186 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28187 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28188 cleanup macros.
28189 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28190 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28191 cleanup macros.
28192 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28193 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28194 macros.
28195 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28196 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28197 macros.
28198 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28199 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28200 macros.
28201 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28202 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28203 cleanup macros.
28204 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28205 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28206 cleanup macros.
28207 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28208 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28209 macros.
28210 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28211 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28212 cleanup macros.
28213 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28214 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28215 macros.
28216 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28217 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28218 macros.
28219 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28220 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28221 cleanup macros.
28222 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28223
85118d4d
EBM
282242013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28225
28226 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28227 to _sifields.sigfault.
28228 (si_addr_lsb): Define new macro.
28229 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28230 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28231 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28232
7a44c18f
CD
282332013-05-03 Carlos O'Donell <carlos at redhat.com>
28234
28235 [BZ #15441]
28236 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28237 returns -1.
28238 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28239 null return -1.
28240 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28241 loading the domain.
28242
b50a7181
JM
282432013-05-22 Joseph Myers <joseph@codesourcery.com>
28244
28245 * math/gen-libm-test.pl (parse_args): Do not include expected
28246 result in test name.
28247 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28248 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28249 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28250 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28251 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28253
051063c8
SP
282542013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28255
3ce9e010
SP
28256 * benchtests/Makefile: Sort function entries.
28257
051063c8
SP
28258 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28259 tanh, asinh, acosh, atanh.
28260 * benchtests/acos-inputs: New file.
28261 * benchtests/acosh-inputs: New file.
28262 * benchtests/asin-inputs: New file.
28263 * benchtests/asinh-inputs: New file.
28264 * benchtests/atanh-inputs: New file.
28265 * benchtests/cosh-inputs: New file.
28266 * benchtests/log-inputs: New file.
28267 * benchtests/sinh-inputs: New file.
28268 * benchtests/tanh-inputs: New file.
28269
47c22455
DL
282702013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28271
28272 [BZ #15339]
28273 * posix/tst-getaddrinfo4.c: New test.
28274 * posix/Makefile (tests): Add it.
28275
3d04f5db
SP
282762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28277
28278 [BZ #15339]
28279 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28280 when no services were used.
28281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28282 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28283
d5dd6189
AS
282842013-05-21 Andreas Schwab <schwab@suse.de>
28285
28286 [BZ #15014]
28287 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28288 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28289 successful.
28290 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28291 redundant variable declarations and reallocation of buffer when
28292 parsing as IPv6 address. Always set NSS status when called from
28293 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28294 buffer too small. Correct computation of needed size.
28295 * nss/Makefile (tests): Add test-digits-dots.
28296 * nss/test-digits-dots.c: New test.
28297
fef94eab
SP
282982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28299
28300 * benchtests/Makefile: Remove instructions for adding
28301 benchmark tests.
28302 * benchtests/README: New file to explain how to execute and
28303 enhance the benchmark tests.
28304
e39adf43
AS
283052013-05-21 Andreas Schwab <schwab@suse.de>
28306
28307 [BZ #15493]
28308 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28309 * setjmp/tst-sigsetjmp.c: New test.
28310
b2b671b6
OB
283112013-05-20 Ondřej Bílka <neleai@seznam.cz>
28312
28313 * sysdeps/x86_64/memset.S (memset): New implementation.
28314 (__bzero): Likewise.
28315 (__memset_tail): New function.
28316
2d48b41c
OB
283172013-05-20 Ondřej Bílka <neleai@seznam.cz>
28318
28319 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28320 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28321 __memcpy_sse2_unaligned ifunc selection.
28322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28323 Add memcpy-sse2-unaligned.S.
28324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28325 Add: __memcpy_sse2_unaligned.
28326
f16cc3eb
JM
283272013-05-19 Joseph Myers <joseph@codesourcery.com>
28328
3e694268
JM
28329 [BZ #15490]
28330 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28331 math_force_eval before restoring floating-point envrionment.
28332 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28334 Likewise.
28335 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28336 <math_private.h>.
28337 (__nearbyintl): Use math_force_eval before restoring
28338 floating-point environment.
28339 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28340
db62a907
JM
28341 * math/gen-libm-test.pl (special_functions): Remove.
28342 (parse_args): Don't handle TEST_extra. Handle functions with no
28343 return value.
28344 * math/libm-test.inc (struct test_sincos_data): Replace with
28345 struct test_fFF_11_data.
28346 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28347 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28348 (sincos_test_data): Change element type to struct
28349 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28350 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28351 RUN_TEST_LOOP_sincos.
28352 * math/README.libm-test: Don't mention special handling of
28353 individual functions.
28354 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28355 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28356 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28357 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28358 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28360
f16cc3eb
JM
28361 * math/gen-libm-test.pl (get_variable): Remove function.
28362 (parse_args): Don't show pointer parameters to call in test
28363 names. Use "extra output N" in test names for extra outputs
28364 rather than naming variables.
28365
3779b5b6
JM
283662013-05-18 Joseph Myers <joseph@codesourcery.com>
28367
2ee094ff
JM
28368 [BZ #15488]
28369 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28370 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28371 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28372 double tests.
28373 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28374 disable.
28375 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28376 check_long_double.
28377
3779b5b6
JM
28378 * math/gen-libm-test.pl (@tests): Remove variable.
28379 ($count): Likewise.
28380 (new_test): Remove function.
28381 (show_exceptions): New function.
28382 (special_functions): Use show_exceptions instead of new_test.
28383 (parse_args): Likewise.
28384 (generate_testfile): Pass only function name in generated call to
28385 print_max_error or print_complex_max_error.
28386 (get_ulps): Do not handle complex tests specially.
28387 (output_test): Rename to ...
28388 (get_all_ulps_for_test): ... this. Return a string rather than
28389 printing to a file. Require ulps to be present.
28390 (output_ulps): Generate arrays rather than #defines.
28391 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28392 (struct ulp_data): New type.
28393 (BUILD_COMPLEX_ULP): Remove macro.
28394 (compare_ulp_data): New function.
28395 (find_ulps): Likewise.
28396 (find_test_ulps): Likewise.
28397 (find_function_ulps): Likewise.
28398 (find_complex_function_ulps): Likewise.
28399 (print_max_error): Determine allowed ulps using
28400 find_function_ulps.
28401 (print_complex_max_error): Determine allowed ulps using
28402 find_complex_function_ulps.
28403 (check_float_internal): Determine max ulps using find_test_ulps.
28404 (check_float): Do not take max_ulp parameter. Update call to
28405 check_float_internal.
28406 (check_complex): Likewise.
28407 (check_int): Do not take max_ulp parameter.
28408 (check_long): Likewise.
28409 (check_bool): Likewise.
28410 (check_longlong): Likewise.
28411 (struct test_f_f_data): Remove max_ulp field.
28412 (struct test_ff_f_data): Likewise.
28413 (struct test_ff_f_data_nexttoward): Likewise.
28414 (struct test_fi_f_data): Likewise.
28415 (struct test_fl_f_data): Likewise.
28416 (struct test_if_f_data): Likewise.
28417 (struct test_fff_f_data): Likewise.
28418 (struct test_c_f_data): Likewise.
28419 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28420 (struct test_fF_f1_data): Likewise.
28421 (struct test_ffI_f1_data): Likewise.
28422 (struct test_c_c_data): Remove max_ulp field.
28423 (struct test_cc_c_data): Likewise.
28424 (struct test_f_i_data): Likewise.
28425 (struct test_ff_i_data): Likewise.
28426 (struct test_f_l_data): Likewise.
28427 (struct test_f_L_data): Likewise.
28428 (struct test_sincos_data): Likewise.
28429 (RUN_TEST_f_f): Do not handle ulps.
28430 (RUN_TEST_LOOP_f_f): Likewise.
28431 (RUN_TEST_2_f): Likewise.
28432 (RUN_TEST_LOOP_2_f): Likewise.
28433 (RUN_TEST_fff_f): Likewise.
28434 (RUN_TEST_LOOP_fff_f): Likewise.
28435 (RUN_TEST_c_f): Likewise.
28436 (RUN_TEST_LOOP_c_f): Likewise.
28437 (RUN_TEST_f_f1): Likewise.
28438 (RUN_TEST_LOOP_f_f1): Likewise.
28439 (RUN_TEST_fF_f1): Likewise.
28440 (RUN_TEST_LOOP_fF_f1): Likewise.
28441 (RUN_TEST_fI_f1): Likewise.
28442 (RUN_TEST_LOOP_fI_f1): Likewise.
28443 (RUN_TEST_ffI_f1): Likewise.
28444 (RUN_TEST_LOOP_ffI_f1): Likewise.
28445 (RUN_TEST_c_c): Likewise.
28446 (RUN_TEST_LOOP_c_c): Likewise.
28447 (RUN_TEST_cc_c): Likewise.
28448 (RUN_TEST_LOOP_cc_c): Likewise.
28449 (RUN_TEST_f_i): Likewise.
28450 (RUN_TEST_LOOP_f_i): Likewise.
28451 (RUN_TEST_f_i_tg): Likewise.
28452 (RUN_TEST_LOOP_f_i_tg): Likewise.
28453 (RUN_TEST_ff_i_tg): Likewise.
28454 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28455 (RUN_TEST_f_b): Likewise.
28456 (RUN_TEST_LOOP_f_b): Likewise.
28457 (RUN_TEST_f_b_tg): Likewise.
28458 (RUN_TEST_LOOP_f_b_tg): Likewise.
28459 (RUN_TEST_f_l): Likewise.
28460 (RUN_TEST_LOOP_f_l): Likewise.
28461 (RUN_TEST_f_L): Likewise.
28462 (RUN_TEST_LOOP_f_L): Likewise.
28463 (RUN_TEST_sincos): Likewise.
28464 (RUN_TEST_LOOP_sincos): Likewise.
28465
8269107f
JM
284662013-05-17 Joseph Myers <joseph@codesourcery.com>
28467
bb38759d
JM
28468 [BZ #15480]
28469 [BZ #15485]
28470 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28471 main case of finite arguments, set rounding mode to FE_TONEAREST
28472 and discard exceptions.
28473 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28474 exceptions.
28475 (remainder_tonearest_test_data): New variable.
28476 (remainder_test_tonearest): New function.
28477 (remainder_towardzero_test_data): New variable.
28478 (remainder_test_towardzero): New function.
28479 (remainder_downward_test_data): New variable.
28480 (remainder_test_downward): New function.
28481 (remainder_upward_test_data): New variable.
28482 (remainder_test_upward): New function.
28483 (main): Call the new test functions.
28484
a00bdcf0
JM
28485 * math/libm-test.inc (struct test_f_f1_data): Remove field
28486 extra_init.
28487 (struct test_fF_f1_data): Likewise.
28488 (struct test_ffI_f1_data): Likewise.
28489 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28490 based on value of EXTRA_EXPECTED.
28491 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28492 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28493 EXTRA_VAR based on value of EXTRA_EXPECTED.
28494 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28495 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28496 EXTRA_VAR based on value of EXTRA_EXPECTED.
28497 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28498 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28499 EXTRA_VAR based on value of EXTRA_EXPECTED.
28500 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28501 * math/gen-libm-test.pl (parse_args): Don't output initializers
28502 for extra output values.
28503
de407f79
JM
28504 * math/libm-test.inc (check_int): Expect result to be exactly
28505 equal to expected value and do not handle ulps.
28506 (check_long): Likewise.
28507 (check_longlong): Likewise.
28508
8269107f
JM
28509 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28510 exceptions.
28511 (cimag_test_data): Likewise.
28512 (conj_test_data): Likewise.
28513 (copysign_test_data): Likewise.
28514 (cproj_test_data): Likewise.
28515 (creal_test_data): Likewise.
28516 (fabs_test_data): Likewise.
28517 (fdim_test_data): Likewise.
28518 (finite_test_data): Likewise.
28519 (floor_test_data): Likewise.
28520 (fmax_test_data): Likewise.
28521 (fmin_test_data): Likewise.
28522 (fmod_test_data): Likewise.
28523 (fpclassify_test_data): Likewise.
28524 (frexp_test_data): Likewise.
28525 (ilogb_test_data): Likewise.
28526 (isfinite_test_data): Likewise.
28527 (isgreater_test_data): Likewise.
28528 (isgreaterequal_test_data): Likewise.
28529 (isinf_test_data): Likewise.
28530 (isless_test_data): Likewise.
28531 (islessequal_test_data): Likewise.
28532 (islessgreater_test_data): Likewise.
28533 (isnan_test_data): Likewise.
28534 (isnormal_test_data): Likewise.
28535 (issignaling_test_data): Likewise.
28536 (isunordered_test_data): Likewise.
28537 (ldexp_test_data): Likewise.
28538 (lrint_test_data): Likewise.
28539 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28540 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28541 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28542 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28543 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28544 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28545 test input.
28546 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28547 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28548 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28549 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28550 that test input.
28551 (lrint_downward_test_data): Test for "inexact" exceptions.
28552 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28553 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28554 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28555 test input.
28556 (lrint_upward_test_data): Test for "inexact" exceptions.
28557 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28558 test input.
28559 (llrint_test_data): Test for "inexact" exceptions.
28560 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28561 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28562 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28563 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28564 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28565 (llrint_downward_test_data): Test for "inexact" exceptions.
28566 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28567 (llrint_upward_test_data): Test for "inexact" exceptions.
28568 (logb_test_data): Likewise.
28569 (logb_downward_test_data): Likewise.
28570 (nextafter_test_data): Likewise.
28571 (nexttoward_test_data): Likewise.
28572 (remainder_test_data): Likewise.
28573 (remquo_test_data): Likewise.
28574 (scalbn_test_data): Likewise.
28575 (scalbln_test_data): Likewise.
28576 (signbit_test_data): Likewise.
28577 (sqrt_test_data): Likewise.
28578 (significand_test_data): Likewise.
28579
48a18de1
SP
285802013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28581
28582 [BZ #15424]
28583 * benchtests/bench-modf.c (struct args): Mark arg0 as
28584 volatile.
28585 * scripts/bench.pl: Mark members of struct args as volatile.
28586
13d3b41a
AZ
285872013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28588
68191c1d 28589 [BZ # 15497]
13d3b41a
AZ
28590 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28591 negative infinity on POWER6 or lower.
28592 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28593
2848b105
MR
285942013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28595
28596 [BZ #15442]
28597 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28598 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28599 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28600 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28601 (_FP_SETQNAN): New macro.
28602 (_FP_SETQNAN_SEMIRAW): Likewise.
28603 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28604 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28605 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28606 (FP_EXTEND): Use _FP_FRAC_SNANP.
28607 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28608 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28609 into account.
28610 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28611 New macro.
28612 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28613 Likewise.
28614
323e5cb7
JM
286152013-05-16 Joseph Myers <joseph@codesourcery.com>
28616
c58b274f
JM
28617 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28618 with DIVIDE_BY_ZERO_EXCEPTION.
28619 (gamma_test_data): Likewise.
28620 (lgamma_test_data): Likewise.
28621 (log_test_data): Likewise.
28622 (log10_test_data): Likewise.
28623 (log2_test_data): Likewise.
28624 (tgamma_test_data): Likewise.
28625
0ab34904
JM
28626 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28627 (acos_test_tonearest): Likewise.
28628 (acos_test_towardzero): Likewise.
28629 (acos_test_downward): Likewise.
28630 (acos_test_upward): Likewise.
28631 (acosh_test): Likewise.
28632 (asin_test): Likewise.
28633 (asin_test_tonearest): Likewise.
28634 (asin_test_towardzero): Likewise.
28635 (asin_test_downward): Likewise.
28636 (asin_test_upward): Likewise.
28637 (asinh_test): Likewise.
28638 (atan_test): Likewise.
28639 (atanh_test): Likewise.
28640 (atan2_test): Likewise.
28641 (cabs_test): Likewise.
28642 (cacos_test): Likewise.
28643 (cacosh_test): Likewise.
28644 (casin_test): Likewise.
28645 (casinh_test): Likewise.
28646 (catan_test): Likewise.
28647 (catanh_test): Likewise.
28648 (cbrt_test): Likewise.
28649 (ccos_test): Likewise.
28650 (ccosh_test): Likewise.
28651 (cexp_test): Likewise.
28652 (clog_test): Likewise.
28653 (clog10_test): Likewise.
28654 (cos_test): Likewise.
28655 (cos_test_tonearest): Likewise.
28656 (cos_test_towardzero): Likewise.
28657 (cos_test_downward): Likewise.
28658 (cos_test_upward): Likewise.
28659 (cosh_test): Likewise.
28660 (cosh_test_tonearest): Likewise.
28661 (cosh_test_towardzero): Likewise.
28662 (cosh_test_downward): Likewise.
28663 (cosh_test_upward): Likewise.
28664 (cpow_test): Likewise.
28665 (csin_test): Likewise.
28666 (csinh_test): Likewise.
28667 (csqrt_test): Likewise.
28668 (ctan_test): Likewise.
28669 (ctan_test_tonearest): Likewise.
28670 (ctan_test_towardzero): Likewise.
28671 (ctan_test_downward): Likewise.
28672 (ctan_test_upward): Likewise.
28673 (ctanh_test): Likewise.
28674 (ctanh_test_tonearest): Likewise.
28675 (ctanh_test_towardzero): Likewise.
28676 (ctanh_test_downward): Likewise.
28677 (ctanh_test_upward): Likewise.
28678 (erf_test): Likewise.
28679 (erfc_test): Likewise.
28680 (exp_test): Likewise.
28681 (exp_test_tonearest): Likewise.
28682 (exp_test_towardzero): Likewise.
28683 (exp_test_downward): Likewise.
28684 (exp_test_upward): Likewise.
28685 (exp10_test): Likewise.
28686 (exp2_test): Likewise.
28687 (expm1_test): Likewise.
28688 (fmod_test): Likewise.
28689 (gamma_test): Likewise.
28690 (hypot_test): Likewise.
28691 (j0_test): Likewise.
28692 (j1_test): Likewise.
28693 (jn_test): Likewise.
28694 (lgamma_test): Likewise.
28695 (log_test): Likewise.
28696 (log10_test): Likewise.
28697 (log1p_test): Likewise.
28698 (log2_test): Likewise.
28699 (logb_test_downward): Likewise.
28700 (pow_test): Likewise.
28701 (pow_test_tonearest): Likewise.
28702 (pow_test_towardzero): Likewise.
28703 (pow_test_downward): Likewise.
28704 (pow_test_upward): Likewise.
28705 (remainder_test): Likewise.
28706 (remquo_test): Likewise.
28707 (sin_test): Likewise.
28708 (sin_test_tonearest): Likewise.
28709 (sin_test_towardzero): Likewise.
28710 (sin_test_downward): Likewise.
28711 (sin_test_upward): Likewise.
28712 (sincos_test): Likewise.
28713 (sinh_test): Likewise.
28714 (sinh_test_tonearest): Likewise.
28715 (sinh_test_towardzero): Likewise.
28716 (sinh_test_downward): Likewise.
28717 (sinh_test_upward): Likewise.
28718 (sqrt_test): Likewise.
28719 (tan_test): Likewise.
28720 (tan_test_tonearest): Likewise.
28721 (tan_test_towardzero): Likewise.
28722 (tan_test_downward): Likewise.
28723 (tan_test_upward): Likewise.
28724 (tanh_test): Likewise.
28725 (tgamma_test): Likewise.
28726 (y0_test): Likewise.
28727 (y1_test): Likewise.
28728 (yn_test): Likewise.
28729
323e5cb7
JM
28730 * math/gen-libm-test.pl (adjust_arg): Remove function.
28731 (special_function): Remove argument $in_func. Only handle
28732 generating output for tables of tests, not inside functions.
28733 (parse_args): Likewise.
28734 (generate_testfile): Remove variable $in_func. Update call to
28735 parse_args.
28736 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28737 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28738 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28739 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28740 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28741 (MAX_VALUE_INIT): Rename macro to max_value.
28742 (MIN_VALUE_INIT): Rename macro to min_value.
28743 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28744 (plus_zero): Remove variable.
28745 (minus_zero): Likewise.
28746 (plus_infty): Likewise.
28747 (minus_infty): Likewise.
28748 (qnan_value): Likewise.
28749 (max_value): Likewise.
28750 (min_value): Likewise.
28751 (min_subnorm_value): Likewise.
28752
e054f494
RA
287532013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28754
28755 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28756 uint64_t or uint32_t usage.
28757 * crypt/sha256-block.c: Likewise.
28758 * crypt/sha256-crypt.c: Likewise.
28759 * crypt/sha256.c: Likewise.
28760 * crypt/sha512-block.c: Likewise.
28761 * crypt/sha512-crypt.c: Likewise.
28762 * crypt/sha512.c: Likewise.
28763 * debug/backtrace-tst.c: Likewise.
28764 * debug/pcprofiledump.c: Likewise.
28765 * elf/cache.c: Likewise.
28766 * elf/dl-cache.c: Likewise.
28767 * elf/dl-misc.c: Likewise.
28768 * elf/dl-profile.c: Likewise.
28769 * elf/dl-support.c: Likewise.
28770 * elf/ldconfig.c: Likewise.
28771 * elf/sprof.c: Likewise.
28772 * iconv/dummy-repertoire.c: Likewise.
28773 * iconv/iconv_charmap.c: Likewise.
28774 * iconv/skeleton.c: Likewise.
28775 * iconvdata/8bit-generic.c: Likewise.
28776 * iconvdata/cp737.h: Likewise.
28777 * iconvdata/cp775.h: Likewise.
28778 * iconvdata/ibm1008.h: Likewise.
28779 * iconvdata/ibm1025.h: Likewise.
28780 * iconvdata/ibm1046.h: Likewise.
28781 * iconvdata/ibm1097.h: Likewise.
28782 * iconvdata/ibm1112.h: Likewise.
28783 * iconvdata/ibm1122.h: Likewise.
28784 * iconvdata/ibm1123.h: Likewise.
28785 * iconvdata/ibm1124.h: Likewise.
28786 * iconvdata/ibm1129.h: Likewise.
28787 * iconvdata/ibm1130.h: Likewise.
28788 * iconvdata/ibm1132.h: Likewise.
28789 * iconvdata/ibm1133.h: Likewise.
28790 * iconvdata/ibm1137.h: Likewise.
28791 * iconvdata/ibm1140.h: Likewise.
28792 * iconvdata/ibm1141.h: Likewise.
28793 * iconvdata/ibm1142.h: Likewise.
28794 * iconvdata/ibm1143.h: Likewise.
28795 * iconvdata/ibm1144.h: Likewise.
28796 * iconvdata/ibm1145.h: Likewise.
28797 * iconvdata/ibm1146.h: Likewise.
28798 * iconvdata/ibm1147.h: Likewise.
28799 * iconvdata/ibm1148.h: Likewise.
28800 * iconvdata/ibm1149.h: Likewise.
28801 * iconvdata/ibm1153.h: Likewise.
28802 * iconvdata/ibm1154.h: Likewise.
28803 * iconvdata/ibm1155.h: Likewise.
28804 * iconvdata/ibm1156.h: Likewise.
28805 * iconvdata/ibm1157.h: Likewise.
28806 * iconvdata/ibm1158.h: Likewise.
28807 * iconvdata/ibm1160.h: Likewise.
28808 * iconvdata/ibm1161.h: Likewise.
28809 * iconvdata/ibm1162.h: Likewise.
28810 * iconvdata/ibm1163.h: Likewise.
28811 * iconvdata/ibm1164.h: Likewise.
28812 * iconvdata/ibm1166.h: Likewise.
28813 * iconvdata/ibm1167.h: Likewise.
28814 * iconvdata/ibm12712.h: Likewise.
28815 * iconvdata/ibm1390.h: Likewise.
28816 * iconvdata/ibm1399.h: Likewise.
28817 * iconvdata/ibm16804.h: Likewise.
28818 * iconvdata/ibm4517.h: Likewise.
28819 * iconvdata/ibm4899.h: Likewise.
28820 * iconvdata/ibm4909.h: Likewise.
28821 * iconvdata/ibm4971.h: Likewise.
28822 * iconvdata/ibm5347.h: Likewise.
28823 * iconvdata/ibm803.h: Likewise.
28824 * iconvdata/ibm856.h: Likewise.
28825 * iconvdata/ibm901.h: Likewise.
28826 * iconvdata/ibm902.h: Likewise.
28827 * iconvdata/ibm9030.h: Likewise.
28828 * iconvdata/ibm9066.h: Likewise.
28829 * iconvdata/ibm921.h: Likewise.
28830 * iconvdata/ibm922.h: Likewise.
28831 * iconvdata/ibm9448.h: Likewise.
28832 * iconvdata/isiri-3342.h: Likewise.
28833 * iconvdata/jis0201.h: Likewise.
28834 * include/link.h: Likewise.
28835 * include/netdb.h: Likewise.
28836 * inet/check_native.c: Likewise.
28837 * inet/check_pf.c: Likewise.
28838 * inet/getipv4sourcefilter.c: Likewise.
28839 * inet/getnameinfo.c: Likewise.
28840 * inet/getsourcefilter.c: Likewise.
28841 * inet/htonl.c: Likewise.
28842 * inet/setipv4sourcefilter.c: Likewise.
28843 * inet/setsourcefilter.c: Likewise.
28844 * inet/test-inet6_opt.c: Likewise.
28845 * inet/tst-network.c: Likewise.
28846 * locale/C-collate.c: Likewise.
28847 * locale/C-ctype.c: Likewise.
28848 * locale/C-time.c: Likewise.
28849 * locale/C-translit.h: Likewise.
28850 * locale/loadarchive.c: Likewise.
28851 * locale/programs/3level.h: Likewise.
28852 * locale/programs/charmap.c: Likewise.
28853 * locale/programs/charmap.h: Likewise.
28854 * locale/programs/ld-address.c: Likewise.
28855 * locale/programs/ld-collate.c: Likewise.
28856 * locale/programs/ld-ctype.c: Likewise.
28857 * locale/programs/ld-identification.c: Likewise.
28858 * locale/programs/ld-measurement.c: Likewise.
28859 * locale/programs/ld-messages.c: Likewise.
28860 * locale/programs/ld-monetary.c: Likewise.
28861 * locale/programs/ld-name.c: Likewise.
28862 * locale/programs/ld-numeric.c: Likewise.
28863 * locale/programs/ld-paper.c: Likewise.
28864 * locale/programs/ld-telephone.c: Likewise.
28865 * locale/programs/ld-time.c: Likewise.
28866 * locale/programs/linereader.c: Likewise.
28867 * locale/programs/locale.c: Likewise.
28868 * locale/programs/locarchive.c: Likewise.
28869 * locale/programs/locfile.h: Likewise.
28870 * locale/programs/repertoire.c: Likewise.
28871 * locale/programs/simple-hash.c: Likewise.
28872 * locale/programs/simple-hash.h: Likewise.
28873 * malloc/memusage.c: Likewise.
28874 * malloc/memusagestat.c: Likewise.
28875 * nis/nis_defaults.c: Likewise.
28876 * nis/nis_hash.c: Likewise.
28877 * nis/nis_print.c: Likewise.
28878 * nis/nis_xdr.c: Likewise.
28879 * nscd/connections.c: Likewise.
28880 * nscd/hstcache.c: Likewise.
28881 * nscd/nscd_gethst_r.c: Likewise.
28882 * nscd/nscd_getserv_r.c: Likewise.
28883 * nscd/nscd_helper.c: Likewise.
28884 * nscd/servicescache.c: Likewise.
28885 * nss/makedb.c: Likewise.
28886 * nss/nss_db/db-XXX.c: Likewise.
28887 * nss/nss_db/db-initgroups.c: Likewise.
28888 * nss/nss_db/db-netgrp.c: Likewise.
28889 * nss/nss_files/files-network.c: Likewise.
28890 * nss/nss_files/files-parse.c: Likewise.
28891 * posix/bug-regex5.c: Likewise.
28892 * posix/fnmatch_loop.c: Likewise.
28893 * posix/regcomp.c: Likewise.
28894 * posix/regexec.c: Likewise.
28895 * posix/tst-rfc3484-2.c: Likewise.
28896 * posix/tst-rfc3484-3.c: Likewise.
28897 * posix/tst-rfc3484.c: Likewise.
28898 * resolv/nss_dns/dns-canon.c: Likewise.
28899 * resolv/nss_dns/dns-network.c: Likewise.
28900 * resolv/res_init.c: Likewise.
28901 * resolv/res_mkquery.c: Likewise.
28902 * resolv/tst-aton.c: Likewise.
28903 * stdlib/cxa_atexit.c: Likewise.
28904 * stdlib/cxa_finalize.c: Likewise.
28905 * stdlib/gen-fpioconst.c: Likewise.
28906 * stdlib/strtol_l.c: Likewise.
28907 * string/tst-endian.c: Likewise.
28908 * sunrpc/auth_des.c: Likewise.
28909 * sunrpc/clnt_udp.c: Likewise.
28910 * sunrpc/rtime.c: Likewise.
28911 * sunrpc/svcauth_des.c: Likewise.
28912 * sunrpc/xdr.c: Likewise.
28913 * sunrpc/xdr_intXX_t.c: Likewise.
28914 * sunrpc/xdr_rec.c: Likewise.
28915 * sysdeps/generic/ldconfig.h: Likewise.
28916 * sysdeps/generic/ldsodefs.h: Likewise.
28917 * sysdeps/generic/memusage.h: Likewise.
28918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28921 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28925 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28926 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28928 * sysdeps/posix/getaddrinfo.c: Likewise.
28929 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28930 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28931 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28932 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28933 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28934 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28935 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28936 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28937 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28938 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28939 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28940 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28941 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28942 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28943 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28944 * sysdeps/x86_64/dl-tls.h: Likewise.
28945 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28946 * time/alt_digit.c: Likewise.
28947 * time/era.c: Likewise.
28948 * wcsmbs/tst-c16c32-1.c: Likewise.
28949
8c75f674
JM
289502013-05-16 Joseph Myers <joseph@codesourcery.com>
28951
28952 * math/libm-test.inc (struct test_sincos_data): New type.
28953 (RUN_TEST_LOOP_sincos): New macro.
28954 (sincos_test_data): New variable.
28955 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28956
e6e49e59
RH
289572013-05-16 Richard Henderson <rth@redhat.com>
28958
28959 * math/atest-exp2.c (LIMB64): New macro.
28960 (CONSTSZ): New macro.
28961 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28962 (hexdig): Move ...
28963 (print_mpn_fp): ... to function scope.
28964 (read_mpn_hex): Remove.
28965 (get_log2): Remove.
28966 (exp2_mpn): Use mp_log2.
28967 (main): Use mp_exp1.
28968
15c7c18d
JM
289692013-05-16 Joseph Myers <joseph@codesourcery.com>
28970
105a07df
JM
28971 * math/libm-test.inc: Remove comment about not testing "inexact"
28972 exceptions.
28973 (INEXACT_EXCEPTION): New macro.
28974 (NO_INEXACT_EXCEPTION): Likewise.
28975 (INVALID_EXCEPTION_OK): Update value.
28976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28977 (OVERFLOW_EXCEPTION_OK): Likewise.
28978 (UNDERFLOW_EXCEPTION_OK): Likewise.
28979 (IGNORE_ZERO_INF_SIGN): Likewise.
28980 (ERRNO_UNCHANGED): Likewise.
28981 (ERRNO_EDOM): Likewise.
28982 (ERRNO_ERANGE): Likewise.
28983 (test_exceptions): Handle testing "inexact" exceptions.
28984 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28985 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28986 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28987 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28988 INEXACT_EXCEPTION.
28989 (rint_towardzero_test_data): Likewise.
28990 (rint_downward_test_data): Likewise.
28991 (rint_upward_test_data): Likewise.
28992
e9eee333
JM
28993 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28994 with OVERFLOW_EXCEPTION.
28995 (exp10_test_data): Likewise.
28996 (exp2_test_data): Likewise.
28997 (expm1_test_data): Likewise.
28998 (lgamma_test_data): Likewise.
28999 (pow_test_data): Likewise.
29000 (tgamma_test_data): Likewise.
29001 (yn_test_data): Remove duplicate test of overflow.
29002
1c38ff73
JM
29003 * math/libm-test.inc (struct test_cc_c_data): New type.
29004 (RUN_TEST_LOOP_cc_c): New macro.
29005 (cpow_test_data): New variable.
29006 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29007
15c7c18d
JM
29008 * math/libm-test.inc (struct test_f_L_data): New type.
29009 (RUN_TEST_LOOP_f_L): New macro.
29010 (llrint_test_data): New variable.
29011 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29012 (llrint_tonearest_test_data): New variable.
29013 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29014 (llrint_towardzero_test_data): New variable.
29015 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29016 (llrint_downward_test_data): New variable.
29017 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29018 (llrint_upward_test_data): New variable.
29019 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29020 (llround_test_data): New variable.
29021 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29022
f137ff13
PC
290232013-05-13 Peter Collingbourne <pcc@google.com>
29024
29025 * math/atest-exp2.c (get_log2): Remove const attribute.
29026
3608cb24
JM
290272013-05-15 Joseph Myers <joseph@codesourcery.com>
29028
29029 * math/libm-test.inc (struct test_f_l_data): New type.
29030 (RUN_TEST_LOOP_f_l): New macro.
29031 (lrint_test_data): New variable.
29032 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29033 (lrint_tonearest_test_data): New variable.
29034 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29035 (lrint_towardzero_test_data): New variable.
29036 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29037 (lrint_downward_test_data): New variable.
29038 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29039 (lrint_upward_test_data): New variable.
29040 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29041 (lround_test_data): New variable.
29042 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29043
39b1f617
PC
290442013-05-15 Peter Collingbourne <pcc@google.com>
29045
1deff3dc
PC
29046 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29047 (EXTRACT_WORDS64) Use where appropriate.
29048 (INSERT_WORDS64) Likewise.
29049
791f3ba0
PC
29050 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29051 constraints with x constraints.
29052 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29053
39b1f617
PC
29054 * malloc/obstack.c (_obstack_compat): Add initializer.
29055
12fba011
EM
290562013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29057
29058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29059 si_trapno and add si_addr_lsb to _sifields.sigfault.
29060 (si_trapno): Remove macro.
29061 (si_addr_lsb): Define new macro.
29062 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29063
d369f531
JM
290642013-05-15 Joseph Myers <joseph@codesourcery.com>
29065
b861c6c4
JM
29066 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29067 instead of TEST_f_l.
29068 (llrint_test_tonearest): Likewise.
29069 (llrint_test_towardzero): Likewise.
29070 (llrint_test_downward): Likewise.
29071 (llrint_test_upward): Likewise.
29072 (llround_test): Likewise.
29073
7abeee12
JM
29074 * math/libm-test.inc (struct test_f_i_data): Add comment.
29075 (RUN_TEST_LOOP_f_b): New macro.
29076 (RUN_TEST_LOOP_f_b_tg): Likewise.
29077 (finite_test_data): New variable.
29078 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29079 (isfinite_test_data): New variable.
29080 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29081 (isinf_test_data): New variable.
29082 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29083 (isnan_test_data): New variable.
29084 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29085 (isnormal_test_data): New variable.
29086 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29087 (issignaling_test_data): New variable.
29088 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29089 (signbit_test_data): New variable.
29090 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29091
cbe8c4d3
JM
29092 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29093 with INVALID_EXCEPTION.
29094 (acosh_test_data): Likewise.
29095 (asin_test_data): Likewise.
29096 (atanh_test_data): Likewise.
29097 (fmod_test_data): Likewise.
29098 (log_test_data): Likewise.
29099 (log10_test_data): Likewise.
29100 (log2_test_data): Likewise.
29101 (pow_test_data): Likewise.
29102 (sqrt_test_data): Likewise.
29103 (y0_test_data): Likewise.
29104 (y1_test_data): Likewise.
29105 (yn_test_data): Likewise.
29106
5575c0e5
JM
29107 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29108 function contents.
29109
d369f531
JM
29110 * math/libm-test.inc (struct test_ff_i_data): New type.
29111 (RUN_TEST_LOOP_ff_i_tg): New macro.
29112 (isgreater_test_data): New variable.
29113 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29114 (isgreaterequal_test_data): New variable.
29115 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29116 (isless_test_data): New variable.
29117 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29118 (islessequal_test_data): New variable.
29119 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29120 (islessgreater_test_data): New variable.
29121 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29122 (isunordered_test_data): New variable.
29123 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29124
781fd748
DM
291252013-05-14 David S. Miller <davem@davemloft.net>
29126
29127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29128
87aa21df
JM
291292013-05-14 Joseph Myers <joseph@codesourcery.com>
29130
5e908270
JM
29131 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29132
f71172e5
JM
29133 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29134 extra_test to int.
29135 (struct test_f_i_data): Change type of max_ulp to int.
29136
8cfa635a
JM
29137 * math/libm-test.inc (test_ffI_f1_data): New type.
29138 (RUN_TEST_LOOP_ffI_f1): New macro.
29139 (remquo_test_data): New variable.
29140 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29141
2bcb36b2
JM
29142 * setjmp/tst-setjmp-fp.c: New file.
29143 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29144 (link-libm): New variable.
29145 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29146
acbd839a
JM
29147 * math/libm-test.inc (struct test_f_i_data): New type.
29148 (RUN_TEST_LOOP_f_i): New macro.
29149 (RUN_TEST_LOOP_f_i_tg): Likewise.
29150 (fpclassify_test_data): New variable.
29151 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29152 (ilogb_test_data): New variable.
29153 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29154
e414d745
JM
29155 * math/libm-test.inc (scalbln_test): Correct function name in END
29156 call.
29157
d9c2a0fd
JM
29158 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29159 (RUN_TEST_LOOP_fI_f1): New macro.
29160 (frexp_test_data): New variable.
29161 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29162
9dc9095d
JM
29163 * math/libm-test.inc (struct test_fF_f1_data): New type.
29164 (RUN_TEST_LOOP_fF_f1): New macro.
29165 (modf_test_data): New variable.
29166 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29167
87aa21df
JM
29168 * math/libm-test.inc (struct test_f_f1_data): New type.
29169 (RUN_TEST_LOOP_f_f1): New macro.
29170 (gamma_test_data): New variable.
29171 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29172 (lgamma_test_data): New variable.
29173 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29174
141af660
CD
291752013-05-13 Carlos O'Donell <carlos@redhat.com>
29176
29177 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29178 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29179 (main): Comment "tls" pseudo-hwcap.
29180
6d33265c
JM
291812013-05-13 Joseph Myers <joseph@codesourcery.com>
29182
68fc074c
JM
29183 * math/libm-test.inc (struct test_fl_f_data): New type.
29184 (RUN_TEST_LOOP_fl_f): New variable.
29185 (scalbln_test_data): New variable.
29186 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29187
243216e1
JM
29188 * math/libm-test.inc (struct test_fi_f_data): New type.
29189 (RUN_TEST_LOOP_fi_f): New macro.
29190 (ldexp_test_data): New variable.
29191 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29192 (scalbn_test_data): New variable.
29193 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29194
6a1992e2
JM
29195 * math/libm-test.inc (struct test_c_f_data): New type.
29196 (RUN_TEST_LOOP_c_f): New macro.
29197 (cabs_test_data): New variable.
29198 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29199 (carg_test_data): New variable.
29200 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29201 (cimag_test_data): New variable.
29202 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29203 (creal_test_data): New variable.
29204 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29205
0e400df5
JM
29206 * math/libm-test.inc (struct test_if_f_data): New type.
29207 (RUN_TEST_LOOP_if_f): New macro.
29208 (jn_test_data): New variable.
29209 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29210 (yn_test_data): New variable.
29211 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29212
6d33265c
JM
29213 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29214
f98ece5f
AZ
292152013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29216
29217 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29218 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29219
0f7d347b
SP
292202013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29221
43fe811b
SP
29222 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29223 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29224 (bench-deps): Add bench-timing.h.
29225 * benchtests-bench-skeleton.c: Include bench-timing.h.
29226 (main): Use TIMING_* macros instead of clock_gettime.
29227 * benchtests/bench-timing.h: New file.
29228
0f7d347b
SP
29229 [BZ #14582]
29230 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29231 Renamed from _LIB_VERSION.
29232 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29233
601a3a5f
JM
292342013-05-12 Joseph Myers <joseph@codesourcery.com>
29235
4f184d30
JM
29236 * math/libm-test.inc (struct test_fff_f_data): New type.
29237 (RUN_TEST_LOOP_fff_f): New macro.
29238 (fma_test_data): New variable.
29239 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29240 (fma_towardzero_test_data): New variable.
29241 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29242 (fma_downward_test_data): New variable.
29243 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29244 (fma_upward_test_data): New variable.
29245 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29246
08198877
JM
29247 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29248 (struct test_c_c_data): New type.
29249 (RUN_TEST_LOOP_c_c): New macro.
29250 (cacos_test_data): New variable.
29251 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29252 (cacosh_test_data): New variable.
29253 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29254 (casin_test_data): New variable.
29255 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29256 (casinh_test_data): New variable.
29257 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29258 (catan_test_data): New variable.
29259 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29260 (catanh_test_data): New variable.
29261 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29262 (ccos_test_data): New variable.
29263 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29264 (ccosh_test_data): New variable.
29265 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29266 (cexp_test_data): New variable.
29267 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29268 (clog_test_data): New variable.
29269 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29270 (clog10_test_data): New variable.
29271 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29272 (conj_test_data): New variable.
29273 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29274 (cproj_test_data): New variable.
29275 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29276 (csin_test_data): New variable.
29277 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29278 (csinh_test_data): New variable.
29279 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29280 (csqrt_test_data): New variable.
29281 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29282 (ctan_test_data): New variable.
29283 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29284 (ctan_tonearest_test_data): New variable.
29285 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29286 (ctan_towardzero_test_data): New variable.
29287 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29288 (ctan_downward_test_data): New variable.
29289 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29290 (ctan_upward_test_data): New variable.
29291 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29292 (ctanh_test_data): New variable.
29293 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29294 (ctanh_tonearest_test_data): New variable.
29295 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29296 (ctanh_towardzero_test_data): New variable.
29297 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29298 (ctanh_downward_test_data): New variable.
29299 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29300 (ctanh_upward_test_data): New variable.
29301 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29302 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29303 of BUILD_COMPLEX.
29304
601a3a5f
JM
29305 * math/libm-test.inc (struct test_ff_f_data): New type.
29306 (struct test_ff_f_data_nexttoward): Likewise.
29307 (RUN_TEST_LOOP_2_f): New macro.
29308 (RUN_TEST_LOOP_ff_f): Likewise.
29309 (atan2_test_data): New variable.
29310 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29311 (copysign_test_data): New variable.
29312 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29313 (fdim_test_data): New variable.
29314 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29315 (fmax_test_data): New variable.
29316 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29317 (fmin_test_data): New variable.
29318 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29319 (fmod_test_data): New variable.
29320 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29321 (hypot_test_data): New variable.
29322 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29323 (nextafter_test_data): New variable.
29324 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29325 (nexttoward_test_data): New variable.
29326 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29327 (pow_test_data): New variable.
29328 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29329 (pow_tonearest_test_data): New variable.
29330 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29331 (pow_towardzero_test_data): New variable.
29332 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29333 (pow_downward_test_data): New variable.
29334 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29335 (pow_upward_test_data): New variable.
29336 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29337 (remainder_test_data): New variable.
29338 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29339 (scalb_test_data): New variable.
29340 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29341 * sysdeps/i386/fpu/libm-test-ulps: Update.
29342
74c57478
JM
293432013-05-11 Joseph Myers <joseph@codesourcery.com>
29344
8329e4da
JM
29345 * math/libm-test.inc (fma_test): Use max_value instead of local
29346 variable fltmax.
29347 (nextafter_test): Likewise.
29348
74c57478
JM
29349 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29350 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29351 (acos_downward_test_data): New variable.
29352 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29353 (acos_upward_test_data): New variable.
29354 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29355 (acosh_test_data): New variable.
29356 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29357 (asin_test_data): New variable.
29358 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29359 (asin_tonearest_test_data): New variable.
29360 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29361 (asin_towardzero_test_data): New variable.
29362 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29363 (asin_downward_test_data): New variable.
29364 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29365 (asin_upward_test_data): New variable.
29366 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29367 (asinh_test_data): New variable.
29368 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29369 (atan_test_data): New variable.
29370 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29371 (atanh_test_data): New variable.
29372 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29373 (cbrt_test_data): New variable.
29374 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29375 (ceil_test_data): New variable.
29376 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29377 (cos_test_data): New variable.
29378 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29379 (cos_tonearest_test_data): New variable.
29380 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29381 (cos_towardzero_test_data): New variable.
29382 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29383 (cos_downward_test_data): New variable.
29384 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29385 (cos_upward_test_data): New variable.
29386 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29387 (cosh_test_data): New variable.
29388 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29389 (cosh_tonearest_test_data): New variable.
29390 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29391 (cosh_towardzero_test_data): New variable.
29392 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29393 (cosh_downward_test_data): New variable.
29394 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29395 (cosh_upward_test_data): New variable.
29396 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29397 (erf_test_data): New variable.
29398 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29399 (erfc_test_data): New variable.
29400 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29401 (exp_test_data): New variable.
29402 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29403 (exp_tonearest_test_data): New variable.
29404 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29405 (exp_towardzero_test_data): New variable.
29406 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29407 (exp_downward_test_data): New variable.
29408 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29409 (exp_upward_test_data): New variable.
29410 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29411 (exp10_test_data): New variable.
29412 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29413 (exp2_test_data): New variable.
29414 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29415 (expm1_test_data): New variable.
29416 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29417 (fabs_test_data): New variable.
29418 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29419 (floor_test_data): New variable.
29420 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29421 (j0_test_data): New variable.
29422 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29423 (j1_test_data): New variable.
29424 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29425 (log_test_data): New variable.
29426 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29427 (log10_test_data): New variable.
29428 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29429 (log1p_test_data): New variable.
29430 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29431 (log2_test_data): New variable.
29432 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29433 (logb_test_data): New variable.
29434 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29435 (logb_downward_test_data): New variable.
29436 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29437 (nearbyint_test_data): New variable.
29438 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29439 (rint_test_data): New variable.
29440 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29441 (rint_tonearest_test_data): New variable.
29442 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29443 (rint_towardzero_test_data): New variable.
29444 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29445 (rint_downward_test_data): New variable.
29446 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29447 (rint_upward_test_data): New variable.
29448 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29449 (round_test_data): New variable.
29450 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29451 (sin_test_data): New variable.
29452 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29453 (sin_tonearest_test_data): New variable.
29454 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29455 (sin_towardzero_test_data): New variable.
29456 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29457 (sin_downward_test_data): New variable.
29458 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29459 (sin_upward_test_data): New variable.
29460 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29461 (sinh_test_data): New variable.
29462 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29463 (sinh_tonearest_test_data): New variable.
29464 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29465 (sinh_towardzero_test_data): New variable.
29466 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29467 (sinh_downward_test_data): New variable.
29468 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29469 (sinh_upward_test_data): New variable.
29470 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29471 (sqrt_test_data): New variable.
29472 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29473 (tan_test_data): New variable.
29474 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29475 (tan_tonearest_test_data): New variable.
29476 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29477 (tan_towardzero_test_data): New variable.
29478 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29479 (tan_downward_test_data): New variable.
29480 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29481 (tan_upward_test_data): New variable.
29482 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29483 (tanh_test_data): New variable.
29484 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29485 (tgamma_test_data): New variable.
29486 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29487 (trunc_test_data): New variable.
29488 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29489 (y0_test_data): New variable.
29490 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29491 (y1_test_data): New variable.
29492 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29493 (significand_test_data): New variable.
29494 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29495
7187d844
CG
294962013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29497
29498 [BZ #12387]
29499 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29500
f63fae73
PT
295012013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29502
29503 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29504
8a67a4b3
AJ
295052013-05-10 Andreas Jaeger <aj@suse.de>
29506
29507 [BZ #15448]
29508 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29509 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29510
51df539d
JM
295112013-05-10 Joseph Myers <joseph@codesourcery.com>
29512
29513 * math/gen-libm-test.pl (adjust_arg): New function.
29514 (special_functions): Handle generating output in both functions
29515 and arrays.
29516 (parse_args): Likewise.
29517 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29518 $in_func argument to parse_args.
29519 * math/libm-test.inc (struct test_f_f_data): New type.
29520 (IF_ROUND_INIT_): New macro.
29521 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29522 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29523 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29524 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29525 (ROUND_RESTORE_): Likewise.
29526 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29527 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29528 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29529 (ROUND_RESTORE_FE_UPWARD): Likewise.
29530 (RUN_TEST_LOOP_f_f): New macro.
29531 (acos_test_data): New variable.
29532 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29533 (acos_tonearest_test_data): New variable.
29534 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29535
5c637fe5
SP
295362013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29537
29538 * benchtests/bench-skeleton.c (startup): Fix coding style.
29539
ab2b9461
JM
295402013-05-10 Joseph Myers <joseph@codesourcery.com>
29541
29542 [BZ #6809]
29543 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29544 negative infinity argument.
29545 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29546 negative infinity argument.
29547 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29548 negative infinity argument.
29549 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29550 domain errors.
29551
4c0fe6fe
FW
295522013-05-10 Florian Weimer <fweimer@redhat.com>
29553
29554 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29555 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29556 * iconv/iconv_prog.c (main): Likewise.
29557 * locale/programs/charmap-dir.c (charmap_readdir)
29558 (fopen_uncompressed): Likewise.
29559 * locale/programs/locfile.c (siblings_uncached)
29560 (write_locale_data): Use lstat64 instead of lstat.
29561 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29562 stat.
29563
a3375d29
AJ
295642013-05-10 Andreas Jaeger <aj@suse.de>
29565
29566 [BZ #15395]
29567 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29568 localization.
29569 Include <locale.h>.
29570
36129722
CD
295712013-05-09 Carlos O'Donell <carlos@redhat.com>
29572
29573 * elf/dl-close.c (_dl_close_worker): Add comments.
29574
faa7f811
JM
295752013-05-09 Joseph Myers <joseph@codesourcery.com>
29576
ed41ffef
JM
29577 [BZ #15359]
29578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29579 high part of pi/2.
29580 (__ieee754_rem_pio2l): Update comments.
29581
d0213cd0
JM
29582 [BZ #15429]
29583 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29584 high part of pi/2.
29585 (__ieee754_rem_pio2l): Update comments.
29586
0d3e777a
JM
29587 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29588 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29589
24f56066
JM
29590 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29591 M_PI_4l.
29592
faa7f811
JM
29593 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29594 (M_PI_34_LOG10El): Likewise.
29595 (M_PI2_LOG10El): Likewise.
29596 (M_PI4_LOG10El): Likewise.
29597 (M_PI_LOG10El): Likewise.
29598
e9a5e0fd
AZ
295992013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29600
29601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29602
d8cd06db
JM
296032013-05-08 Joseph Myers <joseph@codesourcery.com>
29604
a0d9f9d7
JM
29605 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29606 (MINUS_ZERO_INIT): Likewise.
29607 (PLUS_INFTY_INIT): Likewise.
29608 (MINUS_INFTY_INIT): Likewise.
29609 (QNAN_VALUE_INIT): Likewise.
29610 (MAX_VALUE_INIT): Likewise.
29611 (MIN_VALUE_INIT): Likewise.
29612 (MIN_SUBNORM_VALUE_INIT): Likewise.
29613 (plus_zero): Initialize with PLUS_ZERO_INIT.
29614 (minus_zero): Initialize with MINUS_ZERO_INIT.
29615 (plus_infty): Initialize with PLUS_INFTY_INIT.
29616 (minus_infty): Initialize with MINUS_INFTY_INIT.
29617 (qnan_value): Initialize with QNAN_VALUE_INIT.
29618 (max_value): Initialize with MAX_VALUE_INIT.
29619 (min_value): Initialize with MIN_VALUE_INIT.
29620 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29621
ae08db3b
JM
29622 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29623 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29624 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29625 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29626
f44bf14a
JM
29627 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29628 (RUN_TEST_2_f): Likewise.
29629 (RUN_TEST_ff_f): Likewise.
29630 (RUN_TEST_fi_f): Likewise.
29631 (RUN_TEST_fl_f): Likewise.
29632 (RUN_TEST_fff_f): Likewise.
29633 (RUN_TEST_c_f): Likewise.
29634 (RUN_TEST_f_f1): Likewise.
29635 (RUN_TEST_fF_f1): Likewise.
29636 (RUN_TEST_fI_f1): Likewise.
29637 (RUN_TEST_ffI_f1): Likewise.
29638 (RUN_TEST_c_c): Likewise.
29639 (RUN_TEST_cc_c): Likewise.
29640 (RUN_TEST_f_i): Likewise.
29641 (RUN_TEST_f_i_tg): Likewise.
29642 (RUN_TEST_ff_i_tg): Likewise.
29643 (RUN_TEST_f_b): Likewise.
29644 (RUN_TEST_f_b_tg): Likewise.
29645 (RUN_TEST_f_l): Likewise.
29646 (RUN_TEST_f_L): Likewise.
29647 (RUN_TEST_sincos): Likewise.
29648 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29649 whether to show exceptions. Do not include ");\n" in return
29650 value.
29651 (special_functions): Output call to RUN_TEST_sincos instead of
29652 check_float calls. Update calls to new_test.
29653 (parse_args): Output call to single RUN_TEST_* macro instead of
29654 check_* calls and other assignments. Update calls to new_test.
29655
d8cd06db
JM
29656 [BZ #2546]
29657 [BZ #2560]
29658 [BZ #5159]
29659 [BZ #15426]
29660 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29661 input to result for tgamma overflow.
29662 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29663 (gamma_coeff): New variable.
29664 (NCOEFF): New macro.
29665 (gamma_positive): New function.
29666 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29667 underflow here. Use gamma_positive instead of exp (lgamma) for
29668 other arguments.
29669 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29670 (gamma_coeff): New variable.
29671 (NCOEFF): New macro.
29672 (gammaf_positive): New function.
29673 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29674 underflow here. Use gamma_positive instead of exp (lgamma) for
29675 other arguments.
29676 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29677 (gamma_coeff): New variable.
29678 (NCOEFF): New macro.
29679 (gammal_positive): New function.
29680 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29681 underflow here. Use gamma_positive instead of exp (lgamma) for
29682 other arguments.
29683 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29684 (gamma_coeff): New variable.
29685 (NCOEFF): New macro.
29686 (gammal_positive): New function.
29687 (__ieee754_gammal_r): Handle positive infinity, overflow and
29688 underflow here. Handle NaN the same as positive infinity. Remove
29689 check x < 0xffffffff for negative integers. Use gamma_positive
29690 instead of exp (lgamma) for other arguments.
29691 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29692 (gamma_coeff): New variable.
29693 (NCOEFF): New macro.
29694 (gammal_positive): New function.
29695 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29696 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29697 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29698 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29699 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29700 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29701 * sysdeps/generic/math_private.h (__gamma_productf): New
29702 prototype.
29703 (__gamma_product): Likewise.
29704 (__gamma_productl): Likewise.
29705 * math/Makefile (libm-calls): Add gamma_product.
29706 * math/libm-test.inc (tgamma_test): Add more tests.
29707 * sysdeps/i386/fpu/libm-test-ulps: Update.
29708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29709
bb7cf681
OB
297102013-05-08 Ondřej Bílka <neleai@seznam.cz>
29711
29712 * benchtests/bench-skeleton.c (main): Preheat CPU.
29713
ba853947
AJ
297142013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29715
29716 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29717
8347c74c
RM
297182013-05-07 Roland McGrath <roland@hack.frob.com>
29719
29720 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29721 and _dl_skip_args_internal.
29722
e8dd4791
CD
297232013-05-07 Carlos O'Donell <carlos@redhat.com>
29724
29725 * manual/message.texi (Message Translation): Talk about users.
29726 Message to key mapping impacts design.
29727
c7405830
RM
297282013-05-06 Roland McGrath <roland@hack.frob.com>
29729
a9173057
RM
29730 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29731
976e2f03
RM
29732 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29733
9723ffc5
RM
29734 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29735 * sysdeps/wordsize-64/glob64.c: ... here.
29736
962e6658
RM
29737 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29738 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29739 New macros.
29740
ee586a6d
RM
29741 * debug/getlogin_r_chk.c: Moved to ...
29742 * login/getlogin_r_chk.c: ... here.
29743 * debug/Makefile (routines): Move getlogin_r_chk to ...
29744 * login/Makefile (routines): ... here.
29745 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29746 * login/Versions (libc: GLIBC_2.4): ... here.
29747
355f9165
RM
29748 * io/poll.c (__poll): Renamed from poll.
29749 Add libc_hidden_def.
29750 (poll): Define as weak alias.
29751
bd9ffde6
RM
29752 * debug/ptsname_r_chk.c: Moved to ...
29753 * login/ptsname_r_chk.c: ... here.
29754 * debug/Makefile (routines): Move ptsname_r_chk to ...
29755 * login/Makefile (routines): ... here.
29756 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29757 * login/Versions (libc: GLIBC_2.4): ... here.
29758
8fb16a04
RM
29759 * posix/getlogin.c: Moved to ...
29760 * login/getlogin.c: ... here.
29761 * posix/getlogin_r.c: Moved to ...
29762 * login/getlogin_r.c: ... here.
29763 * posix/getlogin_r.c: Moved to ...
29764 * login/getlogin_r.c: ... here.
29765 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29766 * login/Makefile (routines): ... here.
29767 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29768 * login/Versions (libc: GLIBC_2.0): ... here.
29769
b99b892f
RM
29770 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29771 (setrlimit): Define as weak alias.
29772
c7405830
RM
29773 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29774 Call __ names for open, ftruncate, and close.
29775 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29776 (truncate): Define as weak alias.
29777
5bf96de5
JM
297782013-05-06 Joseph Myers <joseph@codesourcery.com>
29779
9ea3513c
JM
29780 * math/gen-libm-test.pl (parse_args): Initialize x before each
29781 test of frexp, modf and remquo.
29782
5bf96de5
JM
29783 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29784 test signgam value.
29785
16e616a7
AZ
297862013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29787
29788 [BZ #15418]
29789 [BZ #15419]
29790 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29791 internal tests.
29792 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29793
d5e82754
RM
297942013-05-06 Roland McGrath <roland@hack.frob.com>
29795
29796 * elf/dl-writev.h: New file.
29797 * elf/dl-misc.c: Include it.
29798 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29799 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29800
a7548d41
JM
298012013-05-04 Joseph Myers <joseph@codesourcery.com>
29802
b7dab1e4
JM
29803 * math/libm-test.inc (noXFails): Remove variable.
29804 (noXPasses): Likewise.
29805 (BUILD_COMPLEX_INT): Remove macro.
29806 (print_screen): Remove xfail argument.
29807 (print_screen_max_error): Likewise.
29808 (update_stats): Likewise.
29809 (print_max_error): Likewise. Update calls to other affected
29810 functions.
29811 (print_complex_max_error): Likewise.
29812 (test_single_exception): Update calls to print_screen.
29813 (test_single_errno): Likewise.
29814 (check_float_internal): Remove xfail argument. Update calls to
29815 other affected functions.
29816 (check_float): Likewise.
29817 (check_complex): Likewise.
29818 (check_int): Likewise.
29819 (check_long): Likewise.
29820 (check_bool): Likewise.
29821 (check_longlong): Likewise.
29822 (main): Don't print noXFails and noXPasses.
29823 * math/gen-libm-test.pl (top level): Don't mention expected
29824 failure handling in comment.
29825 (new_test): Don't handle expected failures.
29826 (parse_args): Don't mention expected failure handling in comment.
29827 (generate_testfile): Don't handle expected failures.
29828 (parse_ulps): Likewise.
29829 (print_ulps_file): Likewise.
29830 (get_failure): Remove function.
29831 (output_test): Don't handle expected failures.
29832 * make/README.libm-test: Don't mention expected failure handling.
29833
a7548d41
JM
29834 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29835 (minus_zero): Likewise.
29836 (plus_infty): Likewise.
29837 (minus_infty): Likewise.
29838 (qnan_value): Likewise.
29839 (max_value): Likewise.
29840 (min_value): Likewise.
29841 (min_subnorm_value): Likewise.
29842 (initialize): Do not initialize those variables dynamically.
29843
60bfd54c
RM
298442013-05-03 Roland McGrath <roland@hack.frob.com>
29845
cc0e6ed8
RM
29846 * io/open.c (__open_2): Moved to ...
29847 * io/open_2.c: ... this new file.
29848 * io/open64.c (__open64_2): Moved to ...
29849 * io/open64_2.c: ... this new file.
29850 * io/openat.c (__openat_2): Moved to ...
29851 * io/openat_2.c: ... this new file.
29852 * io/openat64.c (__openat64_2): Moved to ...
29853 * io/openat64_2.c: ... this new file.
29854 * io/Makefile (routines): Add them.
29855 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29856 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29857 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29858 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29859 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29860 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29861 (__openat64): Add hidden_ver.
29862 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29863 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29864
60bfd54c
RM
29865 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29866 Separately conditionalize setting of GLRO(dl_sysinfo) so
29867 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29868 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29869
83e7640f
AZ
298702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29871
29872 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29874 definition.
29875 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29876 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29877 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29878 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29879 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29880
d5dc2af3
JM
298812013-05-03 Joseph Myers <joseph@codesourcery.com>
29882
c31a5b1e
JM
29883 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29884 test signgam value.
29885
d5dc2af3
JM
29886 * math/libm-test.inc (hypot_test): Do not use
29887 IGNORE_ZERO_INF_SIGN.
29888
164fd39d
AJ
298892013-05-03 Andreas Jaeger <aj@suse.de>
29890
29891 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29892 Linux 3.9.
29893 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29894 (PF_MAX): Adjust for VSOCK change.
29895
8237f48c
AZ
298962013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29897
29898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29899
9df02941
CD
299002013-05-02 Carlos O'Donell <carlos@redhat.com>
29901
29902 [BZ #15264]
29903 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29904 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29905 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29906
d422395e
DM
299072013-05-02 David S. Miller <davem@davemloft.net>
29908
29909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29910
a07c5731
OB
299112013-05-01 Ondřej Bílka <neleai@seznam.cz>
29912
29913 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29914
1324e37f
RM
299152013-05-01 Roland McGrath <roland@hack.frob.com>
29916
29917 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29918
0695940b
RS
299192013-05-01 Richard Smith <richard@metafoo.co.uk>
29920
bb5f27ad 29921 [BZ #14952]
0695940b
RS
29922 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29923 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29924 Use __attribute__ ((__gnu_inline__)).
29925 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29926 Don't use __attribute__ ((__gnu_inline__)).
29927
10de07f5
JM
299282013-05-01 Joseph Myers <joseph@codesourcery.com>
29929
29930 [BZ #15423]
29931 * math/s_catan.c (__catan): Handle small real or imaginary part of
29932 input specially to avoid spurious underflow.
29933 * math/s_catanf.c (__catanf): Likewise.
29934 * math/s_catanh.c (__catanh): Likewise.
29935 * math/s_catanhf.c (__catanhf): Likewise.
29936 * math/s_catanhl.c (__catanhl): Likewise.
29937 * math/s_catanl.c (__catanl): Likewise.
29938 * math/libm-test.inc (catan_test): Add more tests.
29939 (catanh_test): Likewise.
29940 * sysdeps/i386/fpu/libm-test-ulps: Update.
29941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29942
cb4d5414
AZ
299432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29944
29945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29946
caf84319
JM
299472013-04-30 Joseph Myers <joseph@codesourcery.com>
29948
29949 [BZ #15416]
29950 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29951 accurately for denominator in atan2.
29952 * math/s_catanf.c (__catanf): Likewise.
29953 * math/s_catanh.c (__catanh): Likewise.
29954 * math/s_catanhf.c (__catanhf): Likewise.
29955 * math/s_catanhl.c (__catanhl): Likewise.
29956 * math/s_catanl.c (__catanl): Likewise.
29957 * math/libm-test.inc (catan_test): Add more tests.
29958 (catanh_test): Likewise.
29959 * sysdeps/i386/fpu/libm-test-ulps: Update.
29960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29961
d569c6ee
SP
299622013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29963
6dbe713d
SP
29964 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29965
f0ee064b
SP
29966 * benchtests/Makefile (bench): Remove slow benchmarks.
29967 * benchtests/atan-inputs: Add slow benchmark inputs.
29968 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29969 (BENCH_FUNC): Accept variant offset.
29970 (VARIANT): Define.
29971 * benchtests/bench-skeleton.c (main): Run benchmark for each
29972 variant.
29973 * benchtests/cos-inputs: Add slow benchmark inputs.
29974 * benchtests/exp-inputs: Likewise.
29975 * benchtests/pow-inputs: Likewise.
29976 * benchtests/sin-inputs: Likewise.
29977 * benchtests/slowatan-inputs: Remove.
29978 * benchtests/slowatan.c: Remove.
29979 * benchtests/slowcos-inputs: Remove.
29980 * benchtests/slowcos.c: Remove.
29981 * benchtests/slowexp-inputs: Remove.
29982 * benchtests/slowexp.c: Remove.
29983 * benchtests/slowpow-inputs: Remove.
29984 * benchtests/slowpow.c: Remove.
29985 * benchtests/slowsin-inputs: Remove.
29986 * benchtests/slowsin.c: Remove.
29987 * benchtests/slowtan-inputs: Remove.
29988 * benchtests/slowtan.c: Remove.
29989 * benchtests/tan-inputs: Add slow benchmark inputs.
29990 * scripts/bench.pl: Parse comments and directives.
29991
d569c6ee
SP
29992 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29993 in CPPFLAGS.
29994 ($(objpfx)bench-%.c): Remove *-ITER.
29995 * benchtests/bench-modf.c: Remove definition of ITER.
29996 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29997 (main): Loop for DURATION seconds instead of fixed number of
29998 iterations.
29999 * scripts/bench.pl: Don't expect iterations in parameters.
30000
a6a242fe
RM
300012013-04-29 Roland McGrath <roland@hack.frob.com>
30002
30003 * io/fchdir.c (__fchdir): Renamed from fchdir.
30004 (fchdir): Define as weak alias.
30005
f2da7793
JM
300062013-04-29 Joseph Myers <joseph@codesourcery.com>
30007
30008 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30009 (ERRNO_EDOM): Likewise.
30010 (ERRNO_ERANGE): Likewise.
30011 (noErrnoTests): New variable.
30012 (init_max_error): Set errno to 0.
30013 (test_single_errno): New function.
30014 (test_errno): Likewise.
30015 (check_float_internal): Call test_errno. Set errno to 0.
30016 (check_complex): Refer to errno tests in comment.
30017 (check_int): Call test_errno. Set errno to 0.
30018 (check_long): Likewise.
30019 (check_bool): Likewise.
30020 (check_longlong): Likewise.
30021 (cos_test): Use ERRNO_* flags for errno tests instead of
30022 check_int.
30023 (expm1_test): Likewise.
30024 (fmod_test): Likewise.
30025 (ilogb_test): Likewise.
30026 (lgamma_test): Likewise.
30027 (pow_test): Likewise.
30028 (remainder_test): Likewise.
30029 (sin_test): Likewise.
30030 (tan_test): Likewise.
30031 (yn_test): Likewise.
30032 (initialize): Set errno to 0.
30033 (main): Print number of errno tests.
30034 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30035
b1a36ceb
AJ
300362013-04-29 Andreas Jaeger <aj@suse.de>
30037
c3ed8088
AJ
30038 [BZ #15084]
30039 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30040 and RES_USEVC.
30041
f1a24198
AJ
30042 [BZ #15085]
30043 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30044 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30045 unimplemented.
30046
9ce3b2cb
AJ
30047 [BZ #15380]
30048 * stdlib/random.c (__initstate): Return NULL if
30049 __initstate fails.
30050
f1a24198 30051 [BZ #15086]
b1a36ceb
AJ
30052 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30053 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30054 RES_SNGLKUPREOP.
30055
7e7b6f36
AZ
300562013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30057
30058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30059
4d14f449
JM
300602013-04-29 Joseph Myers <joseph@codesourcery.com>
30061
30062 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30063 of individual tests.
30064 (casin_test): Likewise.
30065 (casinh_test): Likewise.
30066
5b4217d7
JM
300672013-04-27 Joseph Myers <joseph@codesourcery.com>
30068
30069 [BZ #15409]
30070 * math/s_catan.c (__catan): Handle arguments with large real or
30071 imaginary part separately without squaring.
30072 * math/s_catanf.c (__catanf): Likewise.
30073 * math/s_catanh.c (__catanh): Likewise.
30074 * math/s_catanhf.c (__catanhf): Likewise.
30075 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30076 and redefine.
30077 (__catanhl): Handle arguments with large real or imaginary part
30078 separately without squaring.
30079 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30080 and redefine.
30081 (__catanl): Handle arguments with large real or imaginary part
30082 separately without squaring.
30083 * math/libm-test.inc (catan_test): Add more tests.
30084 (catanh_test): Likewise.
30085 * sysdeps/i386/fpu/libm-test-ulps: Update.
30086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30087
4220c3ef
AJ
300882013-04-27 Andreas Jaeger <aj@suse.de>
30089
30090 [BZ #15007]
30091 * stdlib/stdlib.h: Update guards for qecvt.
30092 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30093 <stdlib.h>.
30094
4721b2d1
AM
300952013-04-27 Allan McRae <allan@archlinux.org>
30096
30097 * sysdeps/i386/fpu/libm-test-ulps: Update.
30098
f0302940
JM
300992013-04-26 Joseph Myers <joseph@codesourcery.com>
30100
9457fd95
JM
30101 [BZ #15406]
30102 * math/s_catan.c: Include <float.h>.
30103 (__catan): Ensure underflow exception occurs for underflowed
30104 result.
30105 * math/s_catanf.c: Include <float.h>.
30106 (__catanf): Ensure underflow exception occurs for underflowed
30107 result.
30108 * math/s_catanh.c: Include <float.h>.
30109 (__catanh): Ensure underflow exception occurs for underflowed
30110 result.
30111 * math/s_catanhf.c: Include <float.h>.
30112 (__catanhf): Ensure underflow exception occurs for underflowed
30113 result.
30114 * math/s_catanhl.c: Include <float.h>.
30115 (__catanhl): Ensure underflow exception occurs for underflowed
30116 result.
30117 * math/s_catanl.c: Include <float.h>.
30118 (__catanl): Ensure underflow exception occurs for underflowed
30119 result.
30120 * math/libm-test.inc (catan_test): Add more tests.
30121 (catanh_test): Likewise.
30122
f0302940
JM
30123 [BZ #15405]
30124 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30125 underflowed result.
30126 * math/s_ccoshf.c (__ccoshf): Likewise.
30127 * math/s_ccoshl.c (__ccoshl): Likewise.
30128 * math/s_csin.c (__csin): Likewise.
30129 * math/s_csinf.c (__csinf): Likewise.
30130 * math/s_csinh.c (__csinh): Likewise.
30131 * math/s_csinhf.c (__csinhf): Likewise.
30132 * math/s_csinhl.c (__csinhl): Likewise.
30133 * math/s_csinl.c (__csinl): Likewise.
30134 * math/libm-test.inc (ccos_test): Add more tests.
30135 (ccosh_test): Likewise.
30136 (csin_test): Likewise.
30137 (csinh_test): Likewise.
30138
aa630f59
AZ
301392013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30140
30141 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30142 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30143 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30144 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30145 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30146 powerpc/power5+/fpu folders.
30147 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30148
30149
1b835983
MT
301502013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30151
30152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30153
73709b26
JM
301542013-04-25 Joseph Myers <joseph@codesourcery.com>
30155
30156 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30157 additions to variable.
30158 [$(config-machine) = x86_64] (modules-names): Likewise.
30159 ($(objpfx)tst-audit3): Remove dependency.
30160 ($(objpfx)tst-audit3.out): Likewise.
30161 ($(objpfx)tst-audit4): Likewise.
30162 ($(objpfx)tst-audit4.out): Likewise.
30163 ($(objpfx)tst-audit5): Likewise.
30164 ($(objpfx)tst-audit5.out): Likewise.
30165 ($(objpfx)tst-audit6): Likewise.
30166 ($(objpfx)tst-audit6.out): Likewise.
30167 ($(objpfx)tst-audit7): Likewise.
30168 ($(objpfx)tst-audit7.out): Likewise.
30169 (tst-audit3-ENV): Remove variable.
30170 (tst-audit4-ENV): Likewise.
30171 (tst-audit5-ENV): Likewise.
30172 (tst-audit6-ENV): Likewise.
30173 (tst-audit7-ENV): Likewise.
30174 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30175 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30176 addition to variable.
30177 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30178 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30179 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30180 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30182 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30183 tst-audit3, tst-audit4 and tst-audit5.
30184 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30185 tst-audit6 and tst-audit7.
30186 [$(subdir) = elf] (modules-names): Add audit modules for those
30187 tests.
30188 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30189 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30190 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30191 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30192 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30193 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30194 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30195 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30196 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30197 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30198 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30199 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30200 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30201 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30202 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30203 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30204 Likewise.
30205 [$(subdir) = elf && $(config-cflags-avx) = yes]
30206 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30207 [$(subdir) = elf && $(config-cflags-avx) = yes]
30208 (CFLAGS-tst-auditmod4a.c): Likewise.
30209 [$(subdir) = elf && $(config-cflags-avx) = yes]
30210 (CFLAGS-tst-auditmod4b.c): Likewise.
30211 [$(subdir) = elf && $(config-cflags-avx) = yes]
30212 (CFLAGS-tst-auditmod6b.c): Likewise.
30213 [$(subdir) = elf && $(config-cflags-avx) = yes]
30214 (CFLAGS-tst-auditmod6c.c): Likewise.
30215 [$(subdir) = elf && $(config-cflags-avx) = yes]
30216 (CFLAGS-tst-auditmod7b.c): Likewise.
30217 * elf/tst-audit3.c: Move to ...
30218 * sysdeps/x86_64/tst-audit3.c: ... here.
30219 * elf/tst-audit4.c: Move to ...
30220 * sysdeps/x86_64/tst-audit4.c: ... here.
30221 * elf/tst-audit5.c: Move to ...
30222 * sysdeps/x86_64/tst-audit5.c: ... here.
30223 * elf/tst-audit6.c: Move to ...
30224 * sysdeps/x86_64/tst-audit6.c: ... here.
30225 * elf/tst-audit7.c: Move to ...
30226 * sysdeps/x86_64/tst-audit7.c: ... here.
30227 * elf/tst-auditmod3a.c: Move to ...
30228 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30229 * elf/tst-auditmod3b.c: Move to ...
30230 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30231 * elf/tst-auditmod4a.c: Move to ...
30232 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30233 * elf/tst-auditmod4b.c: Move to ...
30234 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30235 * elf/tst-auditmod5a.c: Move to ...
30236 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30237 * elf/tst-auditmod5b.c: Move to ...
30238 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30239 * elf/tst-auditmod6a.c: Move to ...
30240 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30241 * elf/tst-auditmod6b.c: Move to ...
30242 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30243 * elf/tst-auditmod6c.c: Move to ...
30244 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30245 * elf/tst-auditmod7a.c: Move to ...
30246 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30247 * elf/tst-auditmod7b.c: Move to ...
30248 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30249
1ef74943
PP
302502013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30251
30252 [BZ #15366]
30253 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30254 define unconditionally.
30255 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30256 define unconditionally.
30257 (INT8_C, INT16_C, etc.): Likewise.
30258
93fd48c5
MR
302592013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30260
ae9552cf
MR
30261 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30262 __ehdr_start with hidden visibility.
30263
93fd48c5
MR
30264 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30265
418601aa
CD
302662013-04-24 Carlos O'Donell <carlos@redhat.com>
30267
30268 * math/libm-test.inc (cos_test): Use accurate hex constants.
30269 (sincost_test): Likewise.
30270
2f38fbfe
JM
302712013-04-24 Joseph Myers <joseph@codesourcery.com>
30272
5e221800
JM
30273 * math/libm-test.inc (catan_test): Add more tests.
30274 (catanh_test): Likewise.
30275
77f143fd
JM
30276 * math/s_catanf.c (__catanf): Use suffixed floating-point
30277 constants.
30278 * math/s_catanhf.c (__catanhf): Likewise.
30279 * math/s_catanhl.c (__catanhl): Likewise.
30280 * math/s_catanl.c (__catanl): Likewise.
30281
2f38fbfe
JM
30282 [BZ #15394]
30283 * math/s_catan.c (__catan): Calculate imaginary part of result
30284 with log1p not log unless computing log of number close to 0.
30285 * math/s_catanf.c (__catanf): Likewise.
30286 * math/s_catanl.c (__catanl): Likewise.
30287 * math/s_catanh.c (__catanh): Calculate real part of result with
30288 log1p not log unless computing log of number close to 0.
30289 * math/s_catanhf.c (__catanhf): Likewise.
30290 * math/s_catanhl.c (__catanhl): Likewise.
30291 * math/libm-test.inc (catan_test): Add more tests.
30292 (catanh_test): Likewise.
30293 * sysdeps/i386/fpu/libm-test-ulps: Update.
30294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30295
45d69176
SP
302962013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30297
30298 * benchtests/Makefile: Mention files in which fast and slow
30299 paths of math functions are implemented.
30300
87f51853
RM
303012013-04-23 Roland McGrath <roland@hack.frob.com>
30302
30303 * sysdeps/posix/timespec_get.c: New file.
30304
3c026539
AZ
303052013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30306
30307 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30308 POWER.
30309 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30310 for POWER.
30311 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30312 powerpc/power5/fpu folders.
30313 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30314 * benchtests/Makefile: Add modf testcase.
30315 * benchtests/bench-modf.c: New file: Benchmark test for mo
30316
ff491d14
SP
303172013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30318
30319 [BZ #14888]
30320 * time/Makefile (tests): Add tst-strptime-whitespace.
30321 * time/strptime_l.c (get_number): Use ISSPACE.
30322 (__strptime_internal): Likewise.
30323 * time/tst-strptime-whitespace.c: New test case.
30324
7ed3f4e8
AS
303252013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30326
30327 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30328 member.
30329 (_nss_files_init): Set it here.
30330
5c95f7b6
HC
303312013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30332
30333 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30334 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30335 unsigned.
30336
d34c9158
JBG
303372013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30338
30339 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30340
2169712d
SP
303412013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30342
30343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30344 size just once.
30345
29c5de99
DM
303462013-04-21 David S. Miller <davem@davemloft.net>
30347
30348 * po/ru.po: Update Russion translation from translation project.
30349
ccdad15d
AC
303502013-04-17 Adam Conrad <adconrad@0c3.net>
30351
30352 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30353 and setfsgid.
30354
0f122b8d
CD
303552013-04-17 Carlos O'Donell <carlos@redhat.com>
30356
5c5b07da 30357 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30358 * configure: Regenerate.
5c5b07da 30359 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30360 Add example to error message.
30361 * sysdeps/i386/configure: Regenerate.
30362
037714dd
SP
303632013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30364
30365 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30366 slowtan.
30367 * benchtests/cos-inputs: New file.
30368 * benchtests/slowcos-inputs: New file.
30369 * benchtests/slowcos.c: New file.
30370 * benchtests/slowtan-inputs: New file.
30371 * benchtests/slowtan.c: New file.
30372 * benchtests/tan-inputs: New file.
30373
e913141d
RM
303742013-04-16 Roland McGrath <roland@hack.frob.com>
30375
30376 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30377 considered kosher.
30378
a2964074
SP
303792013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30380
4856bcd2
SP
30381 * benchtests/Makefile: Include cppflags-iterator.mk to add
30382 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30383
a2964074
SP
30384 * Makefile.in (bench-clean): New target.
30385 * benchtests/Makefile (bench-clean): Likewise.
30386
9fbf9aca
DH
303872013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30388
30389 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30390
207d1e2a
TS
303912013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30392
30393 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30394
306dfba9
AS
303952013-04-15 Andreas Schwab <schwab@suse.de>
30396
30397 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30399 * nscd/pwdcache.c (cache_addpw): Likewise.
30400 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30401 more than recsize.
30402
206a6699
SP
304032013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30404
30405 * benchtests/Makefile (bench): Write all output to
30406 bench-out.tmp together.
30407
0582f6b3
AS
304082013-04-15 Andreas Schwab <schwab@suse.de>
30409
30410 * nscd/nscd.c (main): Don't fork again after closing files.
30411
acb4325f
SP
304122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30413
5cb26d0a
SP
30414 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30415
acb4325f
SP
30416 * benchtests/Rules (bench-deps): Collect dependencies into a
30417 single variable. Add Makefile to dependencies.
30418 ($(objpfx)bench-%.c): Depend on bench-deps.
30419
47792506
RM
304202013-04-12 Roland McGrath <roland@hack.frob.com>
30421 Xavier Roche <roche+kml2@exalead.com>
30422
30423 [BZ #15361]
30424 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30425 just that it's a file descriptor.
30426 * manual/llio.texi (Synchronizing AIO Operations): Update description
30427 for EBADF error from aio_fsync.
30428
8fc1bee5
SP
304292013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30430
30431 * Rules (bench): Move target definition...
30432 * benchtests/Makefile: ... here.
30433
aba5e333
CD
304342013-04-11 Carlos O'Donell <carlos@redhat.com>
30435
30436 * math/libm-test.inc (cos_test): Fix PI/2 test.
30437 (sincos_test): Likewise.
30438 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30439 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30440
273cdee8
AS
304412013-04-11 Andreas Schwab <schwab@suse.de>
30442
6ecec3b6
AS
30443 [BZ #13988]
30444 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30445 accept exponent character only when digits were seen.
30446 * stdio-common/Makefile (tests): Add bug26.
30447 * stdio-common/bug26.c: New file.
30448
273cdee8
AS
30449 [BZ #14293]
30450 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30451 non-freeable.
30452
8da491f5
SP
304532013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30454
01dc6df9
SP
30455 * Makeconfig (rtld-prefix): Define built linker prefix.
30456 * Rules (run-bench): Use it.
30457 * math/Makefile (run-regen-ulps): Likewise.
30458
8da491f5
SP
30459 * Rules (bench): Remove eval.
30460
abe7f530
SP
304612013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30462 Roland McGrath <roland@hack.frob.com>
30463 Ondrej Bilka <neleai@seznam.cz>
30464
30465 [BZ #15346]
30466 * time/getdate.c: Include ctype.h and alloca.h.
30467 (__getdate_r): Trim leading and trailing spaces of input.
30468 * time/tst-getdate.c (tests): Add tests with leading and
30469 trailing spaces.
30470
61c23e62
RM
304712013-04-08 Roland McGrath <roland@hack.frob.com>
30472
30473 [BZ #14280]
30474 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30475 when computing value.
30476
7208a313
CD
304772013-04-06 Carlos O'Donell <carlos@redhat.com>
30478
085b2d41
CD
30479 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30480 Use testrun.sh to run libm tests.
30481
7208a313
CD
30482 [BZ #15309]
30483 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30484
872c0acd
MM
304852013-04-06 Marko Myllynen <myllynen@redhat.com>
30486
30487 [BZ #15264]
30488 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30489
26510bdd
CD
304902013-04-06 Carlos O'Donell <carlos@redhat.com>
30491
30492 * Makefile.in (regen-ulps): New target.
30493 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30494 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30495 [ifneq (no,$(PERL)] (regen-ulps): New target.
30496 [ifeq (no,$(PERL)] (regen-ulps): New target.
30497 * math/libm-test.inc (ulps_file_name): Define.
30498 (output_dir): New variable.
30499 (options): Add "output-dir" option.
30500 (parse_opt): Handle 'o' case.
30501 (main): If output_dir is non-NULL use it as a prefix
30502 otherwise use "".
30503 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30504
a01f19c8
CD
305052013-04-06 Carlos O'Donell <carlos@redhat.com>
30506
30507 [BZ #10060, #10062]
30508 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30509 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30510 fail configure if __sync_val_compare_and_swap is not inlined.
30511 * sysdeps/i386/configure: Regenerate.
30512 * configure.in: Build for i686 when configured for i386.
30513 * configure: Regenerate.
30514 * README: Remove i386 reference.
30515
b7a329a5
CD
305162013-04-06 Carlos O'Donell <carlos@redhat.com>
30517
30518 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30520
bf0f50df
TS
305212013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30522
ee091edf
TS
30523 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30524 (lmsnanval): New variables.
30525 (F): Add conversion tests.
30526 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30527 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30528
a8b792d6
TS
30529 * stdio-common/tstdiomisc.c (F): Properly collect individual
30530 tests' results.
30531
a1cbf437
TS
30532 [BZ #14686, #15336]
30533 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30534 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30535 Instead, use input NaN values or generate a qNaN by arithmetic
30536 operation. Also fix bugs to comply with the standard.
30537 * math/libm-test.inc (remainder_test): Add more tests.
30538
8b43a0c9
TS
30539 [BZ #15335, #15342]
30540 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30542 input NaN values or generate a qNaN by arithmetic operation.
30543
d91da4ce
TS
30544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30545 unreachable code.
30546
bf0f50df
TS
30547 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30548 definitions.
30549
05e166c8
JM
305502013-04-03 Joseph Myers <joseph@codesourcery.com>
30551
30552 [BZ #14478]
30553 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30554 underflowed result.
30555 * math/s_cexpf.c (__cexpf): Likewise.
30556 * math/s_cexpl.c (__cexpl): Likewise.
30557 * math/libm-test.inc (cexp_test): Add more tests.
30558
1cef1b19
AS
305592013-04-03 Andreas Schwab <schwab@suse.de>
30560
30561 [BZ #15330]
30562 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30563 order arrays from heap if bigger than alloca cutoff.
30564
74d87055
TS
305652013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30566
30567 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30568 (SNAN_TESTS_double): Refer to GCC PR56831.
30569 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30570 GCC PR56828.
30571
d755bba4
SP
305722013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30573
90d5d5bb
SP
30574 * Rules (bench): Move bench.out after the run is complete.
30575
73e0cd5d
SP
30576 * Rules (bench): Echo currently running benchmark.
30577
64aabd4b
SP
30578 * benchtests/Makefile (bench): Add atan and slowatan.
30579 * benchtests/atan-inputs: New file.
30580 * benchtests/slowatan-inputs: New file.
30581 * benchtests/slowatan.c: New file.
30582
c871eccd
SP
30583 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30585 its value.
30586
d755bba4
SP
30587 [BZ #15305]
30588 * sysdeps/unix/sysv/linux/kernel-features.h
30589 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30590 __ASSUME_XFS_RESTRICTED_CHOWN.
30591 * sysdeps/unix/sysv/linux/pathconf.c
30592 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30593 Save and restore errno.
30594
52ce4860
JM
305952013-04-02 Joseph Myers <joseph@codesourcery.com>
30596
30597 [BZ #15327]
30598 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30599 arguments using __kernel_casinh.
30600 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30601 arguments using __kernel_casinhf.
30602 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30603 arguments using __kernel_casinhl.
30604 * math/libm-test.inc (cacosh_test): Add more tests.
30605 * sysdeps/i386/fpu/libm-test-ulps: Update.
30606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30607
81f311c2
SP
306082013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30609
e7906a47
SP
30610 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30611 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30612
92e3664b
SP
30613 * bench/Makefile (bench): Add sin and slowsin.
30614 * benchtests/sin-inputs: New file.
30615 * benchtests/slowsin-inputs: New file.
30616 * benchtests/slowsin.c: New file.
30617
81f311c2
SP
30618 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30619 (bench): Add slowexp and slowpow.
30620 (exp-ITER): Increase iterations.
30621 (pow-ITER): Likewise.
30622 * benchtests/exp-inputs: Change input.
30623 * benchtests/pow-inputs: Likewise.
30624 * benchtests/slowexp-inputs: New file.
30625 * benchtests/slowexp.c: New file.
30626 * benchtests/slowpow-inputs: New file.
30627 * benchtests/slowpow.c: New file.
30628
ab0f1aa9
AZ
306292013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30630
30631 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30632 instructions.
30633 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30634 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30635 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30636 * benchtests/Makefile: Add rint benchtest.
30637 * benchtests/rint-inputs: Input for rint benchtest.
30638
57267616
TS
306392013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30640
30641 * Versions.def (libm): Add GLIBC_2.18.
30642 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30643 hidden libm prototypes.
30644 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30645 * math/Makefile (libm-calls): Add s_issignaling.
30646 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30647 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30648 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30649 declaration.
30650 * math/math.h [__USE_GNU] (issignaling): New macro.
30651 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30652 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30654 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30657 * manual/arith.texi (issignaling): New section.
30658 * manual/libm-err-tab.pl (@all_functions): Update comment.
30659 * math/gen-libm-test.pl (parse_args): Apply special handling for
30660 issignaling.
30661 * math/libm-test.inc (print_float, issignaling_test): New
30662 functions.
30663 (check_float_internal): Add issignaling checks.
30664 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30665 default definition.
30666 * sysdeps/powerpc/math-tests.h: New file.
30667 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30668 tests.
30669 * math/test-snan.c (TEST_FUNC): Likewise.
30670
6142896d
DM
306712013-03-30 David S. Miller <davem@davemloft.net>
30672
30673 * po/de.po: Update from translation team.
30674
ccc8cadf
JM
306752013-03-30 Joseph Myers <joseph@codesourcery.com>
30676
30677 [BZ #10357]
30678 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30679 imaginary part less than 1.0 and real part less than 0.5
30680 specially.
30681 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30682 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30683 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30684 (cacos_test): Add more tests.
30685 (casin_test): Likewise.
30686 (casinh_test): Likewise.
30687 * sysdeps/i386/fpu/libm-test-ulps: Update.
30688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30689
0f6a8d4b
SP
306902013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30691
0d1029de
SP
30692 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30693 ONE with its value.
30694
c2d94018
SP
30695 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30696 (__pow_mp): Replace ONE and MONE with their values.
30697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30698 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30699 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30700 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30701 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30702 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30703
27ec37f1
SP
30704 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30705
a64d7e0e
SP
30706 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30707 (__pow_mp): Replace ZERO and MZERO with their values.
30708 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30710 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30712 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30713 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30714 (__sqr): Likewise.
30715
d26dd3eb
SP
30716 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30717
0f6a8d4b
SP
30718 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30719
e57b0c61
RM
307202013-03-28 Roland McGrath <roland@hack.frob.com>
30721
30722 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30723 Declare with __attribute__ ((weak)).
30724 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30725 Call __call_tls_dtors only if it's not NULL.
30726
356b3480
RM
307272013-03-28 Roland McGrath <roland@hack.frob.com>
30728
288f7d79
RM
30729 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30730 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30731 magic __ehdr_start linker symbol if it's defined.
30732 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30733 them up here if it was already done.
30734
dc0a0263
RM
30735 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30736 (_dl_aux_init): Use const in cast when setting it.
30737 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30738 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30739 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30740
3d3436ae
RM
30741 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30742 Declare them here.
30743 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30744 * csu/libc-tls.c: Nor here.
30745 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30746
356b3480
RM
30747 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30748 (__libc_message): Never call vsyslog.
30749
b0f1246a
AM
307502013-03-28 Alan Modra <amodra@gmail.com>
30751
30752 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30753 Define as empty.
30754 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30755 Likewise.
30756
fbbe2b9a
AZ
307572013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30758
30759 [BZ #15214]
30760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30761 underflow.
30762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30763
1728ab37
SP
307642013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30765
7a86be6e
SP
30766 [BZ #15304]
30767 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30768 Don't add gid passed as argument.
30769
1728ab37
SP
30770 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30771
3a7182a1
JM
307722013-03-27 Joseph Myers <joseph@codesourcery.com>
30773
30774 [BZ #15307]
30775 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30776 imaginary part between 1.0 and 1.5 and real part less than 0.5
30777 specially.
30778 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30779 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30780 * math/libm-test.inc (cacos_test): Add more tests.
30781 (casin_test): Likewise.
30782 (casinh_test): Likewise.
30783 * sysdeps/i386/fpu/libm-test-ulps: Update.
30784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30785
6f2e90e7
SP
307862013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30787
5739f705
SP
30788 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30789 constants.
30790 (norm): Likewise.
30791 (denorm): Likewise.
30792 (__dbl_mp): Likewise.
30793 (add_magnitudes): Likewise.
30794 (sub_magnitudes): Likewise.
30795 (__add): Likewise.
30796 (__sub): Likewise.
30797 (__mul): Likewise.
30798 (__sqr): Likewise.
30799 (__inv): Likewise.
30800 (__dvd): Likewise.
30801
e375e83d
SP
30802 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30803 commented code.
30804 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30805 (__dubcos): Likewise.
30806 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30807 (__ieee754_acos): Likewise.
30808 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30809 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30810 (__exp1): Likewise.
30811 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30812 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30813 (log1): Likewise.
30814 (my_log2): Likewise.
30815 (checkint): Likewise.
30816 * sysdeps/ieee754/dbl-64/e_remainder.c
30817 (__ieee754_remainder): Likewise.
30818 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30820 (bsloww): Likewise.
30821 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30822
6f2e90e7
SP
30823 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30824 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30825 MANTISSA_STORE_T to store computations on mantissa. Use
30826 macros for rounding and division.
30827 (denorm): Likewise.
30828 (__dbl_mp): Likewise.
30829 (add_magnitudes): Likewise.
30830 (sub_magnitudes): Likewise.
30831 (__mul): Likewise.
30832 (__sqr): Likewise.
30833 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30834 powers of two in terms of TWOPOW macro.
30835 (mp_no): Make type of mantissa as MANTISSA_T.
30836 [!RADIXI]: Define RADIXI.
30837 [!TWO52]: Define TWO52.
30838 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30839
fce14d4e
AZ
308402013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30841
30842 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30843 llroundl symbol when building for PPC32.
30844
9ad027fb
MW
308452013-03-24 Mark H Weaver <mhw@netris.org>
30846
30847 * manual/arith.texi (Normalization Functions): Fix prototypes for
30848 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30849
e42a38dd
AZ
308502013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30851
30852 [BZ #13889]
30853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30854 high value to check if expl overflow.
30855 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30856 to check for underflow and overflow.
30857 * math/libm-test.inc: Add exp test.
30858
2e0fb521
DL
308592013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30860
30861 [BZ #11120]
30862 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30863 with NOT_IN_libc.
30864
b5784d95
AZ
308652013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30866
30867 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30868 symbol.
30869
5aa4a1a1
TS
308702013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30871
bdef0be7
TS
30872 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30873 wrap blocks consisting of several statements.
30874
5aa4a1a1
TS
30875 * sysdeps/generic/math-tests.h: New file.
30876 * sysdeps/i386/fpu/math-tests.h: Likewise.
30877 * math/test-snan.c: Include it.
30878 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30879
98c48fe5
JM
308802013-03-21 Joseph Myers <joseph@codesourcery.com>
30881
30882 [BZ #15285]
30883 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30884 (__ieee754_j0l): Do not improve calculations using cos of twice
30885 input for inputs above LDBL_MAX / 2.0L.
30886 (__ieee754_y0l): Likewise.
30887 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30888 (__ieee754_j1l): Do not improve calculations using cos of twice
30889 input for inputs above LDBL_MAX / 2.0L.
30890 (__ieee754_y1l): Likewise.
30891 * math/libm-test.inc (j0_test): Add another test.
30892 (j1_test): Likewise.
30893 (y0_test): Likewise.
30894 (y1_test): Likewise.
30895 * sysdeps/i386/fpu/libm-test-ulps: Update.
30896
3775a8bc
SP
308972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30898
30899 * Rules ($(objpfx)bench-%.c): Include code from a C source
30900 file.
30901
0a1b2ae6
JM
309022013-03-21 Joseph Myers <joseph@codesourcery.com>
30903
30904 [BZ #15287]
30905 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30906 imaginary part 1.0 and real part less than 0.5 specially.
30907 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30908 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30909 * math/libm-test.inc (cacos_test): Add more tests.
30910 (casin_test): Likewise.
30911 (casinh_test): Likewise.
30912 * sysdeps/i386/fpu/libm-test-ulps: Update.
30913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30914
b33d4ce4
SP
309152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30916
30917 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30918 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30919
bef0b507
JM
309202013-03-20 Joseph Myers <joseph@codesourcery.com>
30921
30922 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30923 * config.make.in (config-cflags-sse4): Remove variable.
30924 (config-cflags-avx): Likewise.
30925 (config-cflags-sse2avx): Likewise.
30926 (config-cflags-novzeroupper): Likewise.
30927 (config-asflags-i686): Likewise.
30928 (have-mfma4): Likewise.
30929 (have-as-vis3): Likewise.
30930 (MIG): Likewise.
30931 * configure.in (MIG): Do not AC_SUBST.
30932 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30933 (libc_cv_cc_sse4): Do not AC_SUBST.
30934 (libc_cv_cc_avx): Likewise.
30935 (libc_cv_cc_sse2avx): Likewise.
30936 (libc_cv_cc_novzeroupper): Likewise.
30937 (libc_cv_cc_fma4): Likewise.
30938 (libc_cv_as_i686): Likewise.
30939 (libc_cv_sparc_as_vis3): Likewise.
30940 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30941 LIBC_CONFIG_VAR.
30942 (config-asflags-i686): Likewise.
30943 (config-cflags-avx): Likewise.
30944 (config-cflags-sse2avx): Likewise.
30945 (have-mfma4): Likewise.
30946 (config-cflags-novzeroupper): Likewise.
30947 * sysdeps/mach/configure.in (MIG): Likewise.
30948 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30949 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30950 LIBC_CONFIG_VAR.
30951 (config-cflags-avx): Likewise.
30952 (config-cflags-sse2avx): Likewise.
30953 (have-mfma4): Likewise.
30954 (config-cflags-novzeroupper): Likewise.
30955 * configure: Regenerated.
30956 * sysdeps/i386/configure: Likewise.
30957 * sysdeps/mach/configure: Likewise.
30958 * sysdeps/sparc/configure: Likewise.
30959 * sysdeps/x86_64/configure: Likewise.
30960
912cc4b3
RM
309612013-03-20 Roland McGrath <roland@hack.frob.com>
30962
30963 [BZ #14812]
30964 * locale/programs/localedef.c (options): Put N_ translation marker
30965 on argument names, not just descriptions.
30966
04eed2b0
MS
309672013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30968
30969 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30970
a065ceff
OB
309712013-03-20 Ondřej Bílka <neleai@seznam.cz>
30972
9bb2a810 30973 [BZ #14176]
a065ceff
OB
30974 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30975
a600e5ce
RM
309762013-03-19 Roland McGrath <roland@hack.frob.com>
30977
30978 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30979 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30980 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30981 [!BEFORE_ABORT] (before_abort): New function.
30982 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30983 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30984 (writev_for_fatal): New function.
30985 (WRITEV_FOR_FATAL): New macro; call that.
30986 (backtrace_and_maps): New function.
30987 (BEFORE_ABORT): New macro; call that.
30988 (struct str_list): Type removed.
30989 (__libc_message, __libc_fatal): Functions removed.
30990 Include <sysdeps/posix/libc_fatal.c> instead.
30991
6b18bea6
JM
309922013-03-19 Joseph Myers <joseph@codesourcery.com>
30993
30994 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30995 constants.
30996 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30997 double constants.
30998
aaa8cb4b
AS
309992013-03-19 Andreas Schwab <schwab@suse.de>
31000
44673770
AS
31001 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31002 * sysdeps/gnu/configure: Regenerate.
31003
aaa8cb4b
AS
31004 * configure.in: Substitute libc_cv_rtlddir.
31005 * configure: Regenerate.
31006 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31007 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31008 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31009 * elf/Makefile (install-others, CFLAGS-interp.c)
31010 (ldso_install, common-ldd-rewrite): Likewise.
31011 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31012 $(inst_slibdir)/$(rtld-installed-name).
31013 * scripts/rellns-sh: Add -p option.
31014 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31015 for source.
31016
d3cfc668
SP
310172013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31018
31019 * manual/nptl.texi: Renamed to ...
31020 * manual/threads.texi: ... this.
31021 * manual/Makefile (chapters): Update.
31022
0e2b9cdd
RM
310232013-03-18 Roland McGrath <roland@hack.frob.com>
31024
31025 [BZ #14812]
31026 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31027 on argument names, not just descriptions.
0e2b9cdd
RM
31028 * malloc/memusagestat.c (options): Likewise.
31029 * nss/getent.c (options): Likewise.
63270c24
RM
31030
310312013-03-18 Benno Schulenberg <bensberg@justemail.net>
31032
31033 [BZ #14812]
31034 * iconv/iconv_prog.c (options): Put N_ translation marker
31035 on argument names, not just descriptions.
31036 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 31037
b2e1393c
OB
310382013-03-18 Ondrej Bilka <neleai@seznam.cz>
31039
31040 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31041 implementation which is faster on all x86_64 architectures.
31042 Tested on AMD, Intel Nehalem, SNB, IVB.
31043 * sysdeps/x86_64/strnlen.S: Likewise.
31044
31045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31046 Remove all multiarch strlen and strnlen versions.
31047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31048 Remove strlen and strnlen related parts.
31049
31050 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31051 Inline strlen part.
31052 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31053
31054 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31055 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31056 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31057 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31058 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31059 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31060
ec4ff04d
CD
310612013-03-17 Carlos O'Donell <carlos@redhat.com>
31062
31063 * manual/memory.texi (Malloc Tunable Parameters):
31064 Sort parameters alphabetically. Add comments for missing entries.
31065
cd18e90a
DM
310662013-03-17 David S. Miller <davem@davemloft.net>
31067
31068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31069
2a185d32
JM
310702013-03-16 Joseph Myers <joseph@codesourcery.com>
31071
d2f9799e
JM
31072 [BZ #15283]
31073 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31074 for arguments at most half maximum finite value.
31075 * math/libm-test.inc (j0_test): Add more tests.
31076 (j1_test): Likewise.
31077 (y0_test): Likewise.
31078 (y1_test): Likewise.
31079 * sysdeps/i386/fpu/libm-test-ulps: Update.
31080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31081
2a185d32
JM
31082 [BZ #14155]
31083 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31084 1 / x and functions P and Q for arguments above 0x1p256L.
31085 (__ieee754_y0l): Likewise.
31086 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31087 (__ieee754_y1l): Likewise.
31088 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31089 (j1_test): Likewise.
31090 (y0_test): Likewise.
31091 (y1_test): Likewise.
31092
6cbec759
TS
310932013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31094
31095 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31096 variable.
31097
bc16e260
RM
310982013-03-15 Roland McGrath <roland@hack.frob.com>
31099
aefc9b8c
RM
31100 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31101 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31102 zero since it's initialized to EXEC_PAGESIZE.
31103
bc16e260
RM
31104 * sysdeps/unix/sysv/linux/ldsodefs.h
31105 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31106 * sysdeps/generic/ldsodefs.h: ... here.
31107
a57da955
TS
311082013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31109
af00a34d
TS
31110 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31111
495ded2c
TS
31112 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31113 math/test-snan.c.
31114 * math/test-snan.c: Renamed from
31115 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31116 * math/Makefile (tests): Add test-snan.
31117 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31118 test-powerpc-snan.
31119
777b0332
TS
31120 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31121 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31122 functions.
31123 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31124 __builtin_nan family of functions.
31125 * math/libm-test.inc (initialize): Initialize qnan_value with
31126 __builtin_nan family of functions.
31127 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31128 Remove variables.
31129 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31130 Remove functions.
31131 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31132 storage class. Initialize qNaN_var and sNaN_var with
31133 __builtin_nan and __builtin_nans families of functions,
31134 respectively.
31135
64d063b8
TS
31136 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31137 (sqrt_test): Remove duplicate test with qNaN input.
31138 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31139 (round_test, signbit_test, significand_test): Note missing +/-Inf
31140 as well as qNaN tests.
31141
67e971f1
TS
31142 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31143 qNaN_var. Fix a few strings, too.
31144 * math/libm-test.inc (nan_value): Rename to qnan_value.
31145 * math/gen-libm-test.pl (%beautify): Adjust to that.
31146 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31147 * math/test-misc.c (main): Likewise.
31148 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31149 to __qnan_bytes, and __qnan_union, respectively.
31150 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31151 Likewise.
31152 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31153 and lqnanval, respectively.
31154 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31155 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31156 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31157 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31158
64487e12
TS
31159 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31160 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31161 doubles.
31162
e015e27b
TS
31163 * math/test-misc.c (main): Fix copy'n'pastos.
31164 * misc/tst-efgcvt.c (special): Likewise.
31165
a57da955
TS
31166 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31167 Remove declarations.
31168
1e380345
SP
311692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31170
31171 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31172 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31173 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31174 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31175
ef26eece
AZ
311762013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31177
31178 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31179 macro to return vdso values correctly in IFUNC implementations.
31180 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31181 Optimization by using IFUNC.
31182
8cfdb7e0
SP
311832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31184 Richard Henderson <rth@redhat.com>
31185 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31186
31187 * Makefile.in (bench): New target.
31188 * NEWS: Mention the benchmark framework.
31189 * Rules (bench): Likewise.
31190 (binaries-bench): Generate binaries for functions to
31191 benchmark.
31192 * benchtests/Makefile: New makefile for benchmark tests.
31193 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31194 programs.
31195 * benchtests/exp-inputs: New input file for EXP function.
31196 * benchtests/pow-inputs: New input file for POW function.
31197 * scripts/bench.pl: New script to generate source files for
31198 benchmark programs.
31199
bcda9880
SP
312002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31201
d22ca8cd
SP
31202 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31203 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31204 computations on mantissa. Use macros for rounding and
31205 division.
31206 (denorm): Likewise.
31207 (__dbl_mp): Likewise.
31208 (add_magnitudes): Likewise.
31209 (sub_magnitudes): Likewise.
31210 (__mul): Likewise.
31211 (__sqr): Likewise.
31212 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31213 powers of two in terms of TWOPOW macro.
31214 (mp_no): Make type of mantissa as MANTISSA_T.
31215 [!RADIXI]: Define RADIXI.
31216 [!TWO52]: Define TWO52.
31217 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31218
bcda9880
SP
31219 * manual/nptl.texi (cindex): Modify threads to pthreads.
31220
06d5adfb
JM
312212013-03-15 Joseph Myers <joseph@codesourcery.com>
31222
31223 * sysdeps/x86_64/preconfigure: Regenerated.
31224
41c7328e
JM
312252013-03-14 Joseph Myers <joseph@codesourcery.com>
31226
31227 [BZ #14155]
31228 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31229 0x1p28 and above.
31230 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31231 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31232 0x1p28 and above.
31233 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31234 * math/libm-test.inc (j0_test): Do not allow one spurious
31235 underflow exception.
31236 (y1_test): Likewise.
31237
e25cfa60
SP
312382013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31239
0409959c
SP
31240 * manual/Makefile (chapters): Add nptl.
31241 * manual/debug.texi (Debugging Support): Add link to Threads
31242 chapter.
31243 * manual/nptl.texi: New file.
31244
e25cfa60
SP
31245 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31246
58a1335e
PB
312472013-03-14 Petr Baudis <pasky@ucw.cz>
31248
31249 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31250 for non-NULL pointer before the memory validity test. Pointed
31251 out by Holger Brunck <holger.brunck@keymile.com>.
31252
9dc7c64f
AS
312532013-03-13 Andreas Schwab <schwab@suse.de>
31254
31255 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31256 instead of .os.
31257
54206aa6
JM
312582013-03-13 Joseph Myers <joseph@codesourcery.com>
31259
31260 * timezone/zic.c: Update from tzcode 2013b.
31261
e98cdb38
CD
312622013-03-12 Carlos O'Donell <carlos@redhat.com>
31263
31264 * manual/install.texi (Configuring and compiling):
31265 Mention i686 and i586.
31266 * INSTALL: Regenerate.
31267
9967e003
RM
312682013-03-12 Roland McGrath <roland@hack.frob.com>
31269
31270 * sysdeps/init_array/elf-init.c: New file.
31271 * csu/elf-init.c
31272 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31273 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31274
31275 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31276 __gmon_start__ as global, but as static with a .preinit_array pointer.
31277 * sysdeps/init_array/gmon-start.c: New file. Use that.
31278 * sysdeps/init_array/crti.S: New file, empty except for comments.
31279 * sysdeps/init_array/crtn.S: Likewise.
31280
e6b5a293 312812013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31282
31283 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31284 definining bcopy.
80f844c9
OB
31285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31286 Remove Prefer_SSE_for_memop.
31287 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31288 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31289 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31291 memset-x86-64.
80f844c9 31292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31293 Remove bzero, memset ifunc support.
80f844c9
OB
31294 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31295 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31296 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31297 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31298
fb6b0fcb
AS
312992013-03-11 Andreas Schwab <schwab@suse.de>
31300
31301 [BZ #15234]
31302 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31303 by SHLIB_COMPAT.
31304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31305 (GLIBC_2.16): Remove pthread_atfork.
31306
3e6bd4b1
PP
313072013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31308
31309 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31310 (ptestcases.h): Likewise.
31311
222d7f00
RM
313122013-03-08 Roland McGrath <roland@hack.frob.com>
31313
31314 * Makeconfig ($(common-objpfx)config.status): Depend on
31315 sysdeps/*/preconfigure{,.in} too.
31316
1ba4f030
JM
313172013-03-08 Joseph Myers <joseph@codesourcery.com>
31318
a222d91a
JM
31319 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31320 (__free_hook): Use void * instead of __malloc_ptr_t.
31321 (__malloc_hook): Likewise.
31322 (__realloc_hook): Likewise.
31323 (__memalign_hook): Likewise.
31324 (__after_morecore_hook): Likewise.
31325 * malloc/arena.c (save_malloc_hook): Likewise.
31326 (save_free_hook): Likewise.
31327 * malloc/hooks.c (malloc_hook_ini): Likewise.
31328 (realloc_hook_ini): Likewise.
31329 (memalign_hook_ini): Likewise.
31330 * malloc/malloc.c (malloc_hook_ini): Likewise.
31331 (realloc_hook_ini): Likewise.
31332 (memalign_hook_ini): Likewise.
31333 (__free_hook): Likewise.
31334 (__malloc_hook): Likewise.
31335 (__realloc_hook): Likewise.
31336 (__memalign_hook): Likewise.
31337 (__libc_malloc): Likewise.
31338 (__libc_free): Likewise.
31339 (__libc_realloc): Likewise.
31340 (__libc_memalign): Likewise.
31341 (__libc_valloc): Likewise.
31342 (__libc_pvalloc): Likewise.
31343 (__libc_calloc): Likewise.
31344 (__posix_memalign): Likewise.
31345 * malloc/morecore.c (__sbrk): Likewise.
31346 (__default_morecore): Likewise.
31347
5cc45e10
JM
31348 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31349
dd54b864
JM
31350 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31351 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31352 __malloc_ptrdiff_t.
31353
1ba4f030
JM
31354 * malloc/malloc.h (__malloc_size_t): Remove macro.
31355 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31356 __malloc_size_t.
31357 (old_memalign_hook): Likewise.
31358 (old_realloc_hook): Likewise.
31359 (struct hdr): Likewise.
31360 (flood): Likewise.
31361 (mallochook): Likewise.
31362 (memalignhook): Likewise.
31363 (reallochook): Likewise.
31364 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31365 (tr_old_realloc_hook): Likewise.
31366 (tr_old_memalign_hook): Likewise.
31367 (tr_mallochook): Likewise.
31368 (tr_reallochook): Likewise.
31369 (tr_memalignhook): Likewise.
31370
edf66e57
AZ
313712013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31372
31373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31374 default_ldbl_pack and using as default implementation.
31375 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31376 implementation.
31377 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31378 redundant definition.
31379 (ldbl_insert_mantissa): Likewise.
31380 (ldbl_canonicalize): Likewise.
31381 (ldbl_nearbyint): Likewise.
31382 (ldbl_pack): Rename to ldbl_pack_ppc.
31383 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31384 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31385 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31386
6d9145d8
SP
313872013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31388
31389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31390 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31391 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31392 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31394 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31395 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31396 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31397
4dd4e157
AJ
313982013-03-07 Andreas Jaeger <aj@suse.de>
31399
31400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31401 bits/mman-linux.h.
31402
adbb8027
SP
314032013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31404
ce544b5b
SP
31405 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31406 Include mpa.h and declare __MPEXP.
31407 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31408 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31409 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31410 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31411 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31412 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31413 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31414
4cc149fd
SP
31415 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31416 (__slowpow): Use long double EXPL and LOGL functions to
31417 compute POW.
31418 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31419 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31420 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31421 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31422 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31423 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31424
e6ebd4a7
SP
31425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31426 intermediate variable to calculate exponent.
31427 (__sqr): Likewise.
31428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31429 Likewise.
31430 (__sqr): Likewise.
31431
82a9811d
SP
31432 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31433 [!NO__SQR]: Define __sqr.
31434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31435 and NO__SQR. Remove all code except __mul and __sqr. Include
31436 sysdeps/ieee754/dbl-64/mpa.c.
31437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31438
adbb8027
SP
31439 [BZ #12723]
31440 * posix/Makefile (tests): Add tst-pathconf.
31441 * posix/tst-pathconf.c: New test case.
31442 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31443 _PC_PIPE_BUF.
31444 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31445
39120df9
PF
314462013-03-06 Patsy Franklin <pfrankli@redhat.com>
31447
31448 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31449
67525cb8
AJ
314502013-03-06 Andreas Jaeger <aj@suse.de>
31451
664a9ce4
AJ
31452 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31453 definition via __MAP_ANONYMOUS.
31454
8e39047d
AJ
31455 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31456 it's not part of Linux headers.
31457
67525cb8
AJ
31458 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31459 (MAP_HUGE_MASK): Define.
31460
31461 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31462 Define.
31463 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31465 Define.
31466 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31467 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31468 Define.
31469 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31470 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31471 Define.
31472 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31473
31474 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31475 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31476 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31477 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31478 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31479 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31480
31481 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31482 Handle f2fs.
31483
31484 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31485 Handle f2fs and efivarfs.
31486
31487 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31488 f2fs.
31489
31490 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31491 (EFIVARFS_MAGIC): Add.
31492 (F2FS_LINK_MAX): Add.
31493
e1b42695
PP
314942013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31495
31496 * stdio-common/vfprintf.c: Replace __builtin_expect with
31497 __glibc_unlikely.
31498
2d67d91a
JM
314992013-03-06 Joseph Myers <joseph@codesourcery.com>
31500
31501 [BZ #13550]
31502 * sysdeps/generic/bp-sym.h: Remove file.
31503 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31504 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31505 <bp-sym.h> and <bp-asm.h>.
31506 (__longjmp): Don't use BP_SYM.
31507 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31508 and <bp-asm.h>.
31509 (memcpy): Don't use BP_SYM.
31510 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31511 <bp-sym.h> and <bp-asm.h>.
31512 (memcpy): Don't use BP_SYM.
31513 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31514 <bp-asm.h>.
31515 (memcpy): Don't use BP_SYM.
31516 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31517 <bp-asm.h>.
31518 (memset): Don't use BP_SYM.
31519 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31520 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31521 (__bzero): Don't use BP_SYM.
31522 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31523 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31524 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31525 <bp-sym.h> and <bp-asm.h>.
31526 (memcmp): Don't use BP_SYM. Remove comment about bounded
31527 pointers.
31528 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31529 <bp-sym.h> and <bp-asm.h>.
31530 (memcpy): Don't use BP_SYM.
31531 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31532 <bp-sym.h> and <bp-asm.h>.
31533 (memset): Don't use BP_SYM.
31534 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31535 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31536 (__bzero): Don't use BP_SYM.
31537 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31538 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31539 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31540 <bp-sym.h> and <bp-asm.h>.
31541 (strncmp): Don't use BP_SYM. Remove comment about bounded
31542 pointers.
31543 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31544 <bp-sym.h> and <bp-asm.h>.
31545 (memcpy): Don't use BP_SYM.
31546 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31547 <bp-sym.h> and <bp-asm.h>.
31548 (memset): Don't use BP_SYM.
31549 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31550 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31551 (__bzero): Don't use BP_SYM.
31552 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31553 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31555 <bp-sym.h> and <bp-asm.h>.
31556 (__memchr): Don't use BP_SYM.
31557 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31558 <bp-sym.h> and <bp-asm.h>.
31559 (memcmp): Don't use BP_SYM. Remove comment about bounded
31560 pointers.
31561 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31562 <bp-sym.h> and <bp-asm.h>.
31563 (memcpy): Don't use BP_SYM.
31564 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31565 <bp-sym.h> and <bp-asm.h>.
31566 (__mempcpy): Don't use BP_SYM.
31567 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31568 <bp-sym.h> and <bp-asm.h>.
31569 (__memrchr): Don't use BP_SYM.
31570 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31571 <bp-sym.h> and <bp-asm.h>.
31572 (memset): Don't use BP_SYM.
31573 (__bzero): Likewise.
31574 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31575 <bp-sym.h> and <bp-asm.h>.
31576 (__rawmemchr): Don't use BP_SYM.
31577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31578 <bp-sym.h> and <bp-asm.h>.
31579 (__STRCMP): Don't use BP_SYM.
31580 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31581 <bp-sym.h> and <bp-asm.h>.
31582 (strchr): Don't use BP_SYM.
31583 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31584 <bp-sym.h> and <bp-asm.h>.
31585 (__strchrnul): Don't use BP_SYM.
31586 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31587 <bp-sym.h> and <bp-asm.h>.
31588 (strlen): Don't use BP_SYM.
31589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31590 <bp-sym.h> and <bp-asm.h>.
31591 (strncmp): Don't use BP_SYM. Remove comment about bounded
31592 pointers.
31593 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31594 <bp-sym.h> and <bp-asm.h>.
31595 (__strnlen): Don't use BP_SYM.
31596 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31597 <bp-sym.h> and <bp-asm.h>.
31598 (__GI__setjmp): Don't use BP_SYM.
31599 (_setjmp): Likewise.
31600 (__sigsetjmp): Likewise.
31601 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31602 (L(start_addresses)): Don't use BP_SYM.
31603 (_start): Likewise.
31604 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31605 <bp-asm.h>.
31606 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31607 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31608 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31609 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31610 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31611 <bp-asm.h>.
31612 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31613 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31614 about bounded pointers.
31615 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31616 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31617 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31618 <bp-asm.h>.
31619 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31620 about bounded pointers. Remove GKM FIXME comments.
31621 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31622 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31623 <bp-asm.h>.
31624 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31625 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31626 Remove GKM FIXME comments.
31627 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31628 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31629 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31630 <bp-asm.h>.
31631 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31632 about bounded pointers. Remove GKM FIXME comment.
31633 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31634 and <bp-asm.h>.
31635 (strncmp): Don't use BP_SYM. Remove comment about bounded
31636 pointers.
31637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31638 <bp-sym.h> and <bp-asm.h>.
31639 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31641 <bp-sym.h> and <bp-asm.h>.
31642 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31643 comment.
31644
cdcf361f
PP
316452013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31646
31647 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31648 call free(NULL).
31649
3c4a2b15
DM
316502013-03-05 David S. Miller <davem@davemloft.net>
31651
31652 * po/es.po: Update from translation team.
31653
cdcf361f 316542013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31655
31656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31657 <bits/mman-linux.h>.
31658 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31659 is fine.
31660 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31661 <bits/mman-linux.h> to end of file.
31662 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31663 is fine.
31664 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31665 <bits/mman-linux.h> to end of file.
31666 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31667 is fine.
31668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31669 <bits/mman-linux.h> to end of file.
31670
31671 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31672 (MCL_CURRENT, MCL_FUTURE): Define here.
31673
5f67c04f
AK
316742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31675
8a4473cc 31676 [BZ #15232]
5f67c04f
AK
31677 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31678 attribute_hidden.
31679 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31680
c3e94a95
AK
316812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31682
31683 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31684 fourth parameter needed for rt_sigprocmask syscall.
31685 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31686 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31687 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31688 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31689 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31690 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31691
cfb6382a
JM
316922013-03-04 Joseph Myers <joseph@codesourcery.com>
31693
31694 [BZ #13550]
31695 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31696 comment about bounded pointers.
31697 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31698 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31699
539d8e01
AJ
317002013-03-04 Andreas Jaeger <aj@suse.de>
31701
31702 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31703 common definitions.
31704
31705 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31706 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31707 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31708 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31709 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31711
2e167a70 317122013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31713
31714 [BZ #15055]
31715 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31716 __ieee754_sqrl instead of __sqrl.
31717
68508633
JM
317182013-03-01 Joseph Myers <joseph@codesourcery.com>
31719
31720 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31721 * sysdeps/powerpc/fpu_control.h: ... here.
31722 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31723 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31724 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31725 * sysdeps/powerpc/bits/mathinline.h: ... here.
31726
7775448e
RM
317272013-03-01 Roland McGrath <roland@hack.frob.com>
31728
31729 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31730 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31731 to just [NEED_DL_SYSINFO_DSO].
31732 * elf/dl-support.c: Likewise.
31733 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31734 * elf/rtld.c (dl_main): Likewise.
31735 * elf/setup-vdso.h (setup_vdso): Likewise.
31736 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31737 * sysdeps/unix/sysv/linux/dl-sysdep.c
31738 (_dl_discover_osversion): Likewise.
31739
4e9b5995
CD
317402013-03-01 Carlos O'Donell <carlos@redhat.com>
31741
31742 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31743 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31744
e23872c8
SP
317452013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31746
e5c74c63
SP
31747 * NEWS: Mention libm performance improvements and non-x86 PI
31748 futex support.
31749
e23872c8
SP
31750 * csu/libc-start.c (__pthread_initialize_minimal): Change
31751 function arguments.
31752 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31753
b5510883
JM
317542013-02-28 Joseph Myers <joseph@codesourcery.com>
31755
31756 [BZ #13550]
31757 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31758 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31759 <bp-sym.h> and <bp-asm.h>.
31760 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31761 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31762 and <bp-asm.h>.
31763 (memcpy): Don't use BP_SYM.
31764 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31765 <bp-asm.h>.
31766 (__mpn_add_n): Don't use BP_SYM.
31767 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31768 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31769 and <bp-asm.h>.
31770 (__mpn_addmul_1): Don't use BP_SYM.
31771 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31772 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31773 <bp-sym.h>.
31774 (_setjmp): Don't use BP_SYM.
31775 (__novmx_setjmp): Likewise.
31776 (__GI__setjmp): Likewise.
31777 (__vmx_setjmp): Likewise.
31778 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31779 <bp-sym.h>.
31780 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31781 (__bzero): Don't use BP_SYM.
31782 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31783 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31784 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31785 <bp-sym.h> and <bp-asm.h>.
31786 (memcpy): Don't use BP_SYM.
31787 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31788 <bp-sym.h> and <bp-asm.h>.
31789 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31790 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31791 <bp-sym.h> and <bp-asm.h>.
31792 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31793 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31794 <bp-asm.h>.
31795 (__mpn_lshift): Don't use BP_SYM.
31796 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31797 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31798 <bp-asm.h>.
31799 (memset): Don't use BP_SYM.
31800 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31801 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31802 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31803 <bp-asm.h>.
31804 (__mpn_mul_1): Don't use BP_SYM.
31805 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31806 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31807 <bp-sym.h> and <bp-asm.h>.
31808 (memcmp): Don't use BP_SYM.
31809 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31810 <bp-sym.h> and <bp-asm.h>.
31811 (memcpy): Don't use BP_SYM.
31812 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31813 <bp-sym.h> and <bp-asm.h>.
31814 (memset): Don't use BP_SYM.
31815 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31816 <bp-sym.h> and <bp-asm.h>.
31817 (strncmp): Don't use BP_SYM.
31818 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31819 <bp-sym.h> and <bp-asm.h>.
31820 (memcpy): Don't use BP_SYM.
31821 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31822 <bp-sym.h> and <bp-asm.h>.
31823 (memset): Don't use BP_SYM.
31824 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31825 <bp-sym.h> and <bp-asm.h>.
31826 (__memchr): Don't use BP_SYM.
31827 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31828 <bp-sym.h> and <bp-asm.h>.
31829 (memcmp): Don't use BP_SYM.
31830 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31831 <bp-sym.h> and <bp-asm.h>.
31832 (memcpy): Don't use BP_SYM.
31833 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31834 <bp-sym.h> and <bp-asm.h>.
31835 (__mempcpy): Don't use BP_SYM.
31836 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31837 <bp-sym.h> and <bp-asm.h>.
31838 (__memrchr): Don't use BP_SYM.
31839 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31840 <bp-sym.h> and <bp-asm.h>.
31841 (memset): Don't use BP_SYM.
31842 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31843 <bp-sym.h> and <bp-asm.h>.
31844 (__rawmemchr): Don't use BP_SYM.
31845 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31846 <bp-sym.h> and <bp-asm.h>.
31847 (__STRCMP): Don't use BP_SYM.
31848 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31849 <bp-sym.h> and <bp-asm.h>.
31850 (strchr): Don't use BP_SYM.
31851 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31852 <bp-sym.h> and <bp-asm.h>.
31853 (__strchrnul): Don't use BP_SYM.
31854 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31855 <bp-sym.h> and <bp-asm.h>.
31856 (strlen): Don't use BP_SYM.
31857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31858 <bp-sym.h> and <bp-asm.h>.
31859 (strncmp): Don't use BP_SYM.
31860 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31861 <bp-sym.h> and <bp-asm.h>.
31862 (__strnlen): Don't use BP_SYM.
31863 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31864 <bp-asm.h>.
31865 (__mpn_rshift): Don't use BP_SYM.
31866 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31867 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31868 <bp-sym.h> and <bp-asm.h>.
31869 (__sigsetjmp): Don't use BP_SYM.
31870 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31871 (L(start_addresses)): Don't use BP_SYM.
31872 (_start): Likewise.
31873 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31874 <bp-asm.h>.
31875 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31876 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31877 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31878 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31879 <bp-asm.h>.
31880 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31881 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31882 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31883 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31884 <bp-asm.h>.
31885 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31886 comments.
31887 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31888 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31889 <bp-asm.h>.
31890 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31891 FIXME comments.
31892 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31893 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31894 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31895 <bp-asm.h>.
31896 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31897 comment.
31898 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31899 and <bp-asm.h>.
31900 (strncmp): Don't use BP_SYM,
31901 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31902 <bp-asm.h>.
31903 (__mpn_sub_n): Don't use BP_SYM.
31904 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31905 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31906 and <bp-asm.h>.
31907 (__mpn_submul_1): Don't use BP_SYM.
31908 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31910 <bp-sym.h> and <bp-asm.h>.
31911 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31913 <bp-sym.h> and <bp-asm.h>.
31914 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31915 comment.
31916
8d19fe64
SP
319172013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31918
31919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31920 Use ZK to minimize writes to Z.
31921 (sub_magnitudes): Simplify code a bit.
31922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31923 Use ZK to minimize writes to Z.
31924 (sub_magnitudes): Simplify code a bit.
31925
85bd816a
RM
319262013-02-27 Roland McGrath <roland@hack.frob.com>
31927
31928 * csu/gmon-start.c: Add special exception to license text.
31929
b5977bf2
RH
319302013-02-27 Richard Henderson <rth@redhat.com>
31931
31932 * scripts/config.guess: Update from config.git.
31933 * scripts/config.sub: Likewise.
31934
11d6e2f2
SP
319352013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31936
09c14ed2
SP
31937 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31938
a688864e
SP
31939 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31940
6295157a
SP
31941 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31942
b8de2202
SP
31943 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31944
11d6e2f2
SP
31945 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31946
7e80ddb8
RM
319472013-02-26 Roland McGrath <roland@hack.frob.com>
31948
31949 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31950 [$(build-shared = yes].
7e80ddb8 31951
7da6d9ed
SP
319522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31953
45f05884
SP
31954 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31955 (__mul): Reduce iterations for calculating mantissa.
31956
2236d359
SP
31957 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31958 MPTWO.
31959 (__mpranred): Likewise.
31960
7da6d9ed
SP
31961 [BZ #15160]
31962 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31963 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31964
b7688c42
PE
319652013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31966
31967 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31968 Define __attribute__.
31969
53a5c423
SP
319702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31971
31972 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31973 unused.
31974 * posix/regex_internal.h (__attribute): Remove.
31975 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31976 (re_string_context_at): Likewise.
31977 (bitset_not): Use __attribute__ and mark function as possibly
31978 unused.
31979 (bitset_merge): Likewise.
31980 (bitset_mask): Likewise.
31981 (re_string_char_size_at): Likewise.
31982 (re_string_wchar_at): Likewise.
31983 (re_string_elem_size_at): Likewise.
31984
60f5a8b5
SP
319852013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31986
2a983a2e
SP
31987 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31988 code.
31989 (cc32): Likewise.
31990
e69804d1
SP
31991 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31992 (__acr): Likewise.
31993 (__cpy): Likewise.
31994 (norm): Likewise.
31995 (denorm): Likewise.
31996 (__dbl_mp): Likewise.
31997 (add_magnitudes): Likewise.
31998 (sub_magnitudes): Likewise.
31999 (__mul): Likewise.
32000 (__inv): Likewise.
32001
2f22a1e8
SP
32002 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32003 style.
32004
8930ddc7
SP
32005 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32006 style.
32007
dc60cb11
SP
32008 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32009 code.
32010
60f5a8b5
SP
32011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32012 up changes with default code.
32013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32014 Likewise.
32015
b4d1fd33
AM
320162013-02-24 Allan McRae <allan@archlinux.org>
32017
faf6f8bc
AM
32018 * manual/socket.texi (The Internet Namespace): Order menu items
32019 to match that in the file.
32020
b4d1fd33
AM
32021 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32022 node listing of the info page menu.
32023
2366713d
JM
320242013-02-21 Joseph Myers <joseph@codesourcery.com>
32025
32026 [BZ #13550]
32027 * sysdeps/i386/bp-asm.h: Remove file.
32028 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32029 (PARMS): Do not use macros from bp-asm.h.
32030 (S1): Likewise.
32031 (S2): Likewise.
32032 (SIZE): Likewise.
32033 (__mpn_add_n): Do not use BP_SYM
32034 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32035 "bp-asm.h".
32036 (PARMS): Do not use macros from bp-asm.h.
32037 (S1): Likewise.
32038 (SIZE): Likewise.
32039 (__mpn_addmul_1): Do not use BP_SYM
32040 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32041 "bp-asm.h".
32042 (PARMS): Do not use macros from bp-asm.h.
32043 (SIGMSK): Likewise.
32044 (_setjmp): Likewise. Do not use BP_SYM.
32045 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32046 "bp-asm.h".
32047 (PARMS): Do not use macros from bp-asm.h.
32048 (SIGMSK): Likewise.
32049 (setjmp): Likewise. Do not use BP_SYM.
32050 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32051 "bp-asm.h".
32052 (PARMS): Do not use macros from bp-asm.h.
32053 (__frexp): Do not use BP_SYM.
32054 (frexp): Likewise.
32055 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32056 "bp-asm.h".
32057 (PARMS): Do not use macros from bp-asm.h.
32058 (__frexpf): Do not use BP_SYM.
32059 (frexpf): Likewise.
32060 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32061 "bp-asm.h".
32062 (PARMS): Do not use macros from bp-asm.h.
32063 (__frexpl): Do not use BP_SYM.
32064 (frexpl): Likewise.
32065 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32066 "bp-asm.h".
32067 (PARMS): Do not use macros from bp-asm.h.
32068 (__remquo): Do not use BP_SYM.
32069 (remquo): Likewise.
32070 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32071 "bp-asm.h".
32072 (PARMS): Do not use macros from bp-asm.h.
32073 (__remquof): Do not use BP_SYM.
32074 (remquof): Likewise.
32075 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32076 "bp-asm.h".
32077 (PARMS): Do not use macros from bp-asm.h.
32078 (__remquol): Do not use BP_SYM.
32079 (remquol): Likewise.
32080 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32081 "bp-asm.h".
32082 (PARMS): Do not use macros from bp-asm.h.
32083 (DEST): Likewise.
32084 (SRC): Likewise.
32085 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32086 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32087 "bp-asm.h".
32088 (PARMS): Do not use macros from bp-asm.h.
32089 (strlen): Do not use BP_SYM.
32090 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32091 "bp-asm.h".
32092 (PARMS): Do not use macros from bp-asm.h.
32093 (S1): Likewise.
32094 (S2): Likewise.
32095 (SIZE): Likewise.
32096 (__mpn_add_n): Do not use BP_SYM.
32097 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32098 "bp-asm.h".
32099 (PARMS): Do not use macros from bp-asm.h.
32100 (S1): Likewise.
32101 (SIZE): Likewise.
32102 (__mpn_addmul_1): Do not use BP_SYM.
32103 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32104 weak_alias.
32105 (bzero): Likewise.
32106 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32107 "bp-asm.h".
32108 (PARMS): Do not use macros from bp-asm.h.
32109 (S): Likewise.
32110 (SIZE): Likewise.
32111 (__mpn_lshift): Do not use BP_SYM.
32112 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32113 "bp-asm.h".
32114 (PARMS): Do not use macros from bp-asm.h.
32115 (DEST): Likewise.
32116 (SRC): Likewise.
32117 (LEN): Likewise.
32118 (memcpy): Likewise. Do not use BP_SYM.
32119 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32120 libc_hidden_def and weak_alias.
32121 (mempcpy): Do not use BP_SYM in weak_alias.
32122 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32123 "bp-asm.h".
32124 (PARMS): Do not use macros from bp-asm.h.
32125 (DEST): Likewise.
32126 (LEN): Likewise.
32127 [!BZERO_P] (CHR): Likewise.
32128 (memset): Likewise. Do not use BP_SYM.
32129 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32130 "bp-asm.h".
32131 (PARMS): Do not use macros from bp-asm.h.
32132 (S1): Likewise.
32133 (SIZE): Likewise.
32134 (__mpn_mul_1): Do not use BP_SYM.
32135 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32136 "bp-asm.h".
32137 (PARMS): Do not use macros from bp-asm.h.
32138 (S): Likewise.
32139 (SIZE): Likewise.
32140 (__mpn_rshift): Do not use BP_SYM.
32141 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32142 "bp-asm.h".
32143 (PARMS): Do not use macros from bp-asm.h.
32144 (STR): Likewise.
32145 (CHR): Likewise.
32146 (strchr): Likewise. Do not use BP_SYM.
32147 (index): Do not use BP_SYM in weak_alias.
32148 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32149 "bp-asm.h".
32150 (PARMS): Do not use macros from bp-asm.h.
32151 (DEST): Likewise.
32152 (SRC): Likewise.
32153 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32154 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32155 "bp-asm.h".
32156 (PARMS): Do not use macros from bp-asm.h.
32157 (strlen): Do not use BP_SYM.
32158 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32159 "bp-asm.h".
32160 (PARMS): Do not use macros from bp-asm.h.
32161 (S1): Likewise.
32162 (S2): Likewise.
32163 (SIZE): Likewise.
32164 (__mpn_sub_n): Do not use BP_SYM.
32165 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32166 "bp-asm.h".
32167 (PARMS): Do not use macros from bp-asm.h.
32168 (S1): Likewise.
32169 (SIZE): Likewise.
32170 (__mpn_submul_1): Do not use BP_SYM.
32171 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32172 "bp-asm.h".
32173 (PARMS): Do not use macros from bp-asm.h.
32174 (S1): Likewise.
32175 (S2): Likewise.
32176 (SIZE): Likewise.
32177 (__mpn_add_n): Do not use BP_SYM.
32178 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32179 weak_alias.
32180 (bzero): Likewise.
32181 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32182 "bp-asm.h".
32183 (PARMS): Do not use macros from bp-asm.h.
32184 (BLK2): Likewise.
32185 (LEN): Likewise.
32186 (memcmp): Do not use BP_SYM.
32187 (bcmp): Do not use BP_SYM in weak_alias.
32188 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32189 "bp-asm.h".
32190 (PARMS): Do not use macros from bp-asm.h.
32191 (DEST): Likewise.
32192 (SRC): Likewise.
32193 (LEN): Likewise.
32194 (memcpy): Likewise. Do not use BP_SYM.
32195 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32196 "bp-asm.h".
32197 (PARMS): Do not use macros from bp-asm.h.
32198 (DEST): Likewise.
32199 (SRC): Likewise.
32200 (LEN): Likewise.
32201 (memmove): Likewise. Do not use BP_SYM.
32202 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32203 "bp-asm.h".
32204 (PARMS): Do not use macros from bp-asm.h.
32205 (DEST): Likewise.
32206 (SRC): Likewise.
32207 (LEN): Likewise.
32208 (__mempcpy): Likewise. Do not use BP_SYM.
32209 (mempcpy): Do not use BP_SYM in weak_alias.
32210 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32211 "bp-asm.h".
32212 (PARMS): Do not use macros from bp-asm.h.
32213 (DEST): Likewise.
32214 (LEN): Likewise.
32215 [!BZERO_P] (CHR): Likewise.
32216 (memset): Likewise. Do not use BP_SYM.
32217 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32218 "bp-asm.h".
32219 (PARMS): Do not use macros from bp-asm.h.
32220 (STR2): Likewise.
32221 (strcmp): Do not use BP_SYM.
32222 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32223 "bp-asm.h".
32224 (PARMS): Do not use macros from bp-asm.h.
32225 (STR): Likewise.
32226 (DELIM): Likewise.
32227 [USE_AS_STRTOK_R] (SAVE): Likewise.
32228 (FUNCTION): Likewise. Do not use BP_SYM.
32229 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32230 aliases.
32231 (strtok_r): Likewise.
32232 (__GI___strtok_r): Likewise.
32233 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32234 (PARMS): Do not use macros from bp-asm.h.
32235 (S): Likewise.
32236 (SIZE): Likewise.
32237 (__mpn_lshift): Do not use BP_SYM.
32238 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32239 (PARMS): Do not use macros from bp-asm.h.
32240 (STR): Likewise.
32241 (CHR): Likewise.
32242 (__memchr): Do not use BP_SYM.
32243 (memchr): Do not use BP_SYM in weak_alias.
32244 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32245 (PARMS): Do not use macros from bp-asm.h.
32246 (BLK2): Likewise.
32247 (LEN): Likewise.
32248 (memcmp): Do not use BP_SYM.
32249 (bcmp): Do not use BP_SYM in weak_alias.
32250 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32251 (PARMS): Do not use macros from bp-asm.h.
32252 (S1): Likewise.
32253 (SIZE): Likewise.
32254 (__mpn_mul_1): Do not use BP_SYM.
32255 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32256 "bp-asm.h".
32257 (PARMS): Do not use macros from bp-asm.h.
32258 (STR): Likewise.
32259 (CHR): Likewise.
32260 (__rawmemchr): Do not use BP_SYM.
32261 (rawmemchr): Do not use BP_SYM in weak_alias.
32262 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32263 (PARMS): Do not use macros from bp-asm.h.
32264 (S): Likewise.
32265 (SIZE): Likewise.
32266 (__mpn_rshift): Do not use BP_SYM.
32267 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32268 (PARMS): Do not use macros from bp-asm.h.
32269 (SIGMSK): Likewise.
32270 (__sigsetjmp): Likewise. Do not use BP_SYM.
32271 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32272 (_start): Do not use BP_SYM.
32273 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32274 (PARMS): Do not use macros from bp-asm.h.
32275 (DEST): Likewise.
32276 (SRC): Likewise.
32277 (__stpcpy): Likewise. Do not use BP_SYM.
32278 (stpcpy): Do not use BP_SYM in weak_alias.
32279 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32280 "bp-asm.h".
32281 (PARMS): Do not use macros from bp-asm.h.
32282 (DEST): Likewise.
32283 (SRC): Likewise.
32284 (LEN): Likewise.
32285 (__stpncpy): Likewise. Do not use BP_SYM.
32286 (stpncpy): Do not use BP_SYM in weak_alias.
32287 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32288 (PARMS): Do not use macros from bp-asm.h.
32289 (STR): Likewise.
32290 (CHR): Likewise.
32291 (strchr): Likewise. Do not use BP_SYM.
32292 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32293 "bp-asm.h".
32294 (PARMS): Do not use macros from bp-asm.h.
32295 (STR): Likewise.
32296 (CHR): Likewise.
32297 (__strchrnul): Likewise. Do not use BP_SYM.
32298 (strchrnul): Do not use BP_SYM in weak_alias.
32299 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32300 "bp-asm.h".
32301 (PARMS): Do not use macros from bp-asm.h.
32302 (STOP): Likewise.
32303 (strcspn): Do not use BP_SYM.
32304 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32305 "bp-asm.h".
32306 (PARMS): Do not use macros from bp-asm.h.
32307 (STR): Likewise.
32308 (STOP): Likewise.
32309 (strpbrk): Likewise. Do not use BP_SYM.
32310 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32311 "bp-asm.h".
32312 (PARMS): Do not use macros from bp-asm.h.
32313 (STR): Likewise.
32314 (CHR): Likewise.
32315 (strrchr): Likewise. Do not use BP_SYM.
32316 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32317 (PARMS): Do not use macros from bp-asm.h.
32318 (SKIP): Likewise.
32319 (strspn): Do not use BP_SYM.
32320 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32321 (PARMS): Do not use macros from bp-asm.h.
32322 (STR): Likewise.
32323 (DELIM): Likewise.
32324 (SAVE): Likewise.
32325 (FUNCTION): Likewise. Do not use BP_SYM.
32326 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32327 aliases.
32328 (strtok_r): Likewise.
32329 (__GI___strtok_r): Likewise.
32330 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32331 (PARMS): Do not use macros from bp-asm.h.
32332 (S1): Likewise.
32333 (S2): Likewise.
32334 (SIZE): Likewise.
32335 (__mpn_sub_n): Do not use BP_SYM.
32336 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32337 "bp-asm.h".
32338 (PARMS): Do not use macros from bp-asm.h.
32339 (S1): Likewise.
32340 (SIZE): Likewise.
32341 (__mpn_submul_1): Do not use BP_SYM.
32342 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32343 <bp-sym.h>.
32344 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32345 and <bp-asm.h>.
32346 (PARMS): Do not use macros from bp-asm.h.
32347 (FLAGS): Likewise.
32348 (PTID): Likewise.
32349 (TLS): Likewise.
32350 (CTID): Likewise.
32351 (__clone): Do not use BP_SYM.
32352 (clone): Do not use BP_SYM in weak_alias.
32353 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32354 and <bp-asm.h>.
32355 (PARMS): Do not use macros from bp-asm.h.
32356 (LEN): Likewise.
32357 (__mmap64): Do not use BP_SYM.
32358 (mmap64): Do not use BP_SYM in weak_alias.
32359 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32360 <bp-sym.h> and <bp-asm.h>.
32361 (PARMS): Do not use macros from bp-asm.h.
32362 (__posix_fadvise64_l64): Do not use BP_SYM.
32363 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32364 (PARMS): Do not use macros from bp-asm.h.
32365 (NSOPS): Likewise.
32366 (semtimedop): Do not use BP_SYM.
32367 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32368 and <bp-asm.h>.
32369
582a3cff
AM
323702013-02-21 Allan McRae <allan@archlinux.org>
32371
32372 * manual/message.texi (Charset conversion in gettext):
32373 Move @end statement to beginning of line.
32374
bab8a695
SP
323752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32376
80945231
SP
32377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32378 static.
32379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32380 Likewise.
32381
bab8a695
SP
32382 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32383 (denorm): Likewise.
32384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32386
e21d7aa7
AK
323872013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32388
32389 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32390 tail-call to the resolved function if pltexit isn't needed.
32391
4c7a4263
SP
323922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32393
32394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32395 or Y being zero as being unlikely.
32396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32397 Likewise.
32398
41f49342
CD
323992013-02-20 Carlos O'Donell <carlos@redhat.com>
32400
32401 * manual/nss.texi (System Databases and Name Service Switch):
32402 Remove frobnicate @pxref.
32403
50022a93
TS
324042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32405
32406 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32407 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32408
08cbd996
PM
324092013-02-20 Petr Machata <pmachata@redhat.com>
32410
32411 * elf/elf.h (R_ARM_TARGET1): New macro.
32412 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32413 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32414 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32415 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32416 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32417 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32418 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32419 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32420 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32421 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32422 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32423 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32424 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32425 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32426 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32427 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32428 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32429 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32430 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32431 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32432 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32433 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32434 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32435 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32436 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32437 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32438 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32439 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32440 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32441 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32442 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32443 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32444 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32445 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32446 (R_ARM_THM_GOT_BREL12): Likewise.
32447 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32448 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32449 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32450 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32451 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32452 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32453 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32454 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32455 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32456
c7b275d6
TS
324572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32458
32459 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32460 __attribute_used__ to __attribute__ ((unused)).
32461
20cd7fb3
SP
324622013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32463
32464 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32465 powerpc mpa.c.
32466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32467 comment formatting.
32468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32469
92945b52
JM
324702013-02-19 Joseph Myers <joseph@codesourcery.com>
32471
32472 [BZ #13550]
32473 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32474 Remove macro.
32475 (ENTER): Remove both macro definitions.
32476 (LEAVE): Likewise.
32477 (CHECK_BOUNDS_LOW): Likewise.
32478 (CHECK_BOUNDS_HIGH): Likewise.
32479 (CHECK_BOUNDS_BOTH): Likewise.
32480 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32481 (RETURN_BOUNDED_POINTER): Likewise.
32482 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32483 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32484 (POP_ERRNO_LOCATION_RETURN): Likewise.
32485 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32486 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32487 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32488 macros.
32489 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32490 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32491 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32492 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32493 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32494 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32495 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32496 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32497 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32498 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32499 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32500 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32501 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32502 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32503 removed macros.
32504 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32505 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32506 macros.
32507 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32508 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32509 * sysdeps/i386/i586/memset.S (memset): Likewise.
32510 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32511 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32512 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32513 macros.
32514 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32515 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32516 Change uses of L(2) to L(out).
32517 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32518 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32519 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32520 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32521 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32522 removed macros.
32523 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32524 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32525 macros.
32526 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32527 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32528 (RETURN): Do not use macro LEAVE.
32529 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32530 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32531 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32532 * sysdeps/i386/i686/memset.S (memset): Likewise.
32533 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32534 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32535 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32536 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32537 Likewise.
32538 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32539 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32540 L(1_2) and L(1_3) into L(1).
32541 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32542 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32543 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32544 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32545 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32546 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32547 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32548 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32549 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32550 macros.
32551 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32552 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32553 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32554 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32555 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32556 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32557 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32558 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32559 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32560 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32561 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32562 * sysdeps/i386/strspn.S (strspn): Likewise.
32563 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32564 conditional code.
32565 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32566 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32567 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32568 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32569 L(1_3) into L(1_1).
32570 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32571 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32572 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32573 macros.
32574 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32575
2389741a
JJ
325762013-02-19 Jakub Jelinek <jakub@redhat.com>
32577
32578 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32579 macro.
32580
2016b3cd
SP
325812013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32582
e4f22324
SP
32583 * math/atest-exp.c (exp_mpn): Remove ROUND.
32584 * math/atest-exp2.c (exp_mpn): Likewise.
32585 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32586
2016b3cd
SP
32587 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32588 * stdlib/tst-tls-atexit-lib.c: Likewise.
32589 * stdlib/tst-tls-atexit.c: Likewise.
32590
4be9b544
MF
325912013-02-18 Mike Frysinger <vapier@gentoo.org>
32592
32593 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32594 and __attribute_alloc_size__.
32595
2f62b9ee
MF
325962013-02-18 Mike Frysinger <vapier@gentoo.org>
32597
32598 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32599 __attribute_alloc_size__.
32600 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32601 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32602
6ff444c4
MF
326032013-02-18 Mike Frysinger <vapier@gentoo.org>
32604
32605 * include/programs/xmalloc.h: New file.
32606 * catgets/gencat.c: Include it.
32607 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32608 * elf/pldd.c: Likewise.
32609 * iconv/iconv_charmap.c: Likewise.
32610 * iconv/iconvconfig.c: Likewise.
32611 * iconv/strtab.c: Likewise.
32612 * locale/programs/locale.c: Likewise.
32613 * locale/programs/localedef.h: Likewise.
32614 * locale/programs/simple-hash.c: Likewise.
32615 * nscd/nscd.h: Likewise.
32616 * nss/makedb.c: Likewise.
32617 * sysdeps/generic/ldconfig.h: Likewise.
32618
be179c8a
SP
326192013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32620
ba384f6e
SP
32621 * Versions.def: Add GLIBC_2.18.
32622 * include/link.h (struct link_map): New member l_tls_dtor_count.
32623 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32624 (__call_tls_dtors): Likewise.
32625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32626 __cxa_thread_atexit_impl.
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32628 Likewise.
32629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32630 Likewise.
32631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32632 Likewise.
32633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32634 Likewise.
32635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32637 Likewise.
32638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32639 Likewise.
32640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32642 Likewise.
32643 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32644 (tests): Add test case tst-tls-atexit.
32645 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32646 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32647 (GLIBC_PRIVATE): Add __call_tls_dtors.
32648 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32649 for libstdc++.
32650 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32651 * stdlib/tst-tls-atexit.c: New test case.
32652 * stdlib/tst-tls-atexit-lib.c: New test case.
32653
ffaa74cf 32654 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32655
be179c8a
SP
32656 * elf/Versions (ld): Add _dl_find_dso_for_object.
32657 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32658 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32659 (dl_open_worker): Use _dl_find_dso_for_object.
32660 * elf/dl-sym.c (do_sym): Likewise.
32661 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32662
f78b5caa
AK
326632013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32664
32665 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32666 Syntactic changes only.
32667 (_dl_runtime_profile): Do a tail-call to the resolved function.
32668
29691210
JM
326692013-02-17 Joseph Myers <joseph@codesourcery.com>
32670
32671 [BZ #13550]
32672 * sysdeps/x86_64/bp-asm.h: Remove file.
32673 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32674 <bp-sym.h> and <bp-asm.h>.
32675 (__clone): Do not use BP_SYM.
32676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32677 <bp-sym.h> and <bp-asm.h>.
32678 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32679 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32680 "bp-asm.h".
32681 (_setjmp): Do not use BP_SYM.
32682 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32683 "bp-asm.h".
32684 (setjmp): Do not use BP_SYM.
32685 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32686 libc_hidden_def.
32687 (mempcpy): Do not use BP_SYM in weak_alias.
32688 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32689 "bp-asm.h".
32690 (strchr): Do not use BP_SYM.
32691 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32692 "bp-asm.h".
32693 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32694 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32695 (_start): Do not use BP_SYM.
32696 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32697 "bp-asm.h".
32698 (strcat): Do not use BP_SYM.
32699 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32700 "bp-asm.h".
32701 (STRCMP): Do not use BP_SYM.
32702 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32703 "bp-asm.h".
32704 (STRCPY): Do not use BP_SYM.
32705 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32706 "bp-asm.h".
32707 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32708 "bp-asm.h".
32709 (FUNCTION): Do not use BP_SYM.
32710 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32711 weak_alias.
32712 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32713
f238fd19
AJ
327142013-02-17 Andreas Jaeger <aj@suse.de>
32715
32716 * time/Versions: Sort entries.
32717 * string/Versions: Likewise.
32718 * resolv/Versions: Likewise.
32719 * posix/Versions: Likewise.
32720 * iconv/Versions: Likewise.
32721 * elf/Versions: Likewise.
32722 * wcsmbs/Versions: Likewise.
32723
bd07f23c 327242013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32725
22af19f9
SP
32726 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32727 loop termination condition.
32728
4709fe76
SP
32729 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32730 variable to calculate EZ.
32731 (__sqr): Likewise.
2d0e0f29
SP
32732
32733 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32734 the lower precision input.
32735
daaa7713
JM
327362013-02-15 Joseph Myers <joseph@codesourcery.com>
32737
32738 [BZ #13550]
32739 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32740 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32741 (run-via-rtld-prefix): Do not handle %-bp tests.
32742 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32743 (all-object-suffixes): Remove .ob.
32744 (bppfx): Remove variable.
32745 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32746 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32747 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32748 [$(build-bounded) = yes] (libtype.ob): Likewise.
32749 * Makerules (elide-routines.ob): Remove variable.
32750 (do-tests-clean): Do not handle *-bp.out.
32751 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32752 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32753 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32754 (tests): Do not include $(tests-bp.out).
32755 (xtests): Do not include $(xtests-bp.out).
32756 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32757 [$(build-bounded) = yes] ($(addprefix
32758 $(objpfx),$(binaries-bounded))): Remove rule.
32759 ($(objpfx)%-bp.out): Remove rule.
32760 * config.make.in (build-bounded): Remove variable.
32761 * crypt/Makefile [$(build-bounded) = yes]
32762 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32763 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32764 append to variable.
32765 [$(build-bounded) = yes] (install-lib): Likewise.
32766 [$(build-bounded) = yes] (generated): Likewise.
32767 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32768 Remove rule.
32769 * intl/Makefile [$(build-bounded) = yes]
32770 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32771 * math/Makefile [$(build-bounded) = yes]
32772 ($(tests:%=$(objpfx)%-bp): Likewise.
32773 * misc/Makefile [$(build-bounded) = yes]
32774 ($(objpfx)tst-tsearch-bp): Likewise.
32775 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32776 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32777 Remove dependency.
32778 * string/Makefile (o-objects.ob): Remove variable.
32779 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32780 (CFLAGS-.ob): Remove variable.
32781 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32782 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32783 both definitions of variable.
32784 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32785 (ASFLAGS-.ob): Remove variable.
32786
e97ed6dd
JM
327872013-02-14 Joseph Myers <joseph@codesourcery.com>
32788
2bdd4ca6
JM
32789 [BZ #13550]
32790 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32791 Remove __BOUNDED_POINTERS__ from condition.
32792 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32793 * string/bits/string2.h [!__NO_STRING_INLINES &&
32794 !__BOUNDED_POINTERS__]: Likewise.
32795 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32796 Likewise.
32797 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32798 Remove conditional code.
32799 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32800 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32801 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32802 condition.
32803
e97ed6dd
JM
32804 [BZ #13550]
32805 * csu/libc-start.c: Do not include <bp-sym.h>.
32806 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32807 * elf/dl-open.c: Do not include <bp-sym.h>.
32808 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32809 * math/fegetenv.c: Do not include <bp-sym.h>.
32810 (fegetenv): Do not use BP_SYM in versioned symbols.
32811 * nptl/sysdeps/pthread/bits/libc-lockP.h
32812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32813 <bp-sym.h>.
32814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32815 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32817 (__pthread_mutex_destroy): Likewise.
32818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32819 (__pthread_mutex_lock): Likewise.
32820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32821 (__pthread_mutex_trylock): Likewise.
32822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32823 (__pthread_mutex_unlock): Likewise.
32824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32825 (__pthread_mutexattr_init): Likewise.
32826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32827 (__pthread_mutexattr_destroy): Likewise.
32828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32829 (__pthread_mutexattr_settype): Likewise.
32830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32831 (__pthread_rwlock_init): Likewise.
32832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32833 (__pthread_rwlock_destroy): Likewise.
32834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32835 (__pthread_rwlock_rdlock): Likewise.
32836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32837 (__pthread_rwlock_tryrdlock): Likewise.
32838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32839 (__pthread_rwlock_wrlock): Likewise.
32840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32841 (__pthread_rwlock_trywrlock): Likewise.
32842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32843 (__pthread_rwlock_unlock): Likewise.
32844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32845 (__pthread_key_create): Likewise.
32846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32847 (__pthread_setspecific): Likewise.
32848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32849 (__pthread_getspecific): Likewise.
32850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32851 Likewise.
32852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32853 (_pthread_cleanup_push_defer): Likewise.
32854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32855 (_pthread_cleanup_pop_restore): Likewise.
32856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32857 (pthread_setcancelstate): Likewise.
32858 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32859 <bp-sym.h>.
32860 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32861 (memchr): Do not use BP_SYM in weak_alias.
32862 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32863 (fegetenv): Do not use BP_SYM in versioned symbols.
32864 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32865 (fesetenv): Do not use BP_SYM in versioned symbols.
32866 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32867 (feupdateenv): Do not use BP_SYM in versioned symbols.
32868 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32869 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32870 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32871 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32872 (open64): Do not use BP_SYM in weak_alias.
32873 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32874 (fegetenv): Do not use BP_SYM in versioned symbols.
32875 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32876 (fesetenv): Do not use BP_SYM in versioned symbols.
32877 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32878 (feupdateenv): Do not use BP_SYM in versioned symbols.
32879 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32880 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32881 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32882 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32883 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32884 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32885 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32886 <bp-sym.h>.
32887 (__libc_start_main): Do not use BP_SYM.
32888
d6752ccd
SP
328892013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32890
cb57ce60
SP
32891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32892 redundant return line.
32893 (norm): Likewise.
32894 (denorm): Likewise.
32895 (dbl_mp): Likewise.
32896 (sub_magnitudes): Likewise.
32897 (__add): Likewise.
32898 (__sub): Likewise.
32899 (__mul): Likewise.
32900 (__inv): Likewise.
32901 (__dvd): Likewise.
32902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32903 (norm): Likewise.
32904 (denorm): Likewise.
32905 (dbl_mp): Likewise.
32906 (sub_magnitudes): Likewise.
32907 (__add): Likewise.
32908 (__sub): Likewise.
32909 (__mul): Likewise.
32910 (__inv): Likewise.
32911 (__dvd): Likewise.
32912
f414520d
SP
32913 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32914 instead of __mul.
32915 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32916 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32917 (cc32): Likewise.
32918
d6752ccd
SP
32919 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32920 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32922 of __mul for squares.
32923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32924 function
32925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32926 Likewise.
32927 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32929
70d9946a
JM
329302013-02-13 Joseph Myers <joseph@codesourcery.com>
32931
32932 [BZ #13550]
32933 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32934 code.
32935 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32936 prototype or function definition. Rename ubp_* variables and
32937 parameters. Remove argv definitions conditional on
32938 [__BOUNDED_POINTERS__].
32939 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32940 * elf/dl-runtime.c (_dl_fixup): Likewise.
32941 * include/set-hooks.h (RUN_HOOK): Likewise.
32942 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32943 definition.
32944 * string/strcpy.c (strcpy): Do not use __unbounded.
32945 * sysdeps/generic/frame.h (struct layout): Likewise.
32946 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32947 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32948 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32949 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32950 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32951 (__backtrace): Likewise.
32952 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32953 use __ptrvalue.
32954 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32955 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32956 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32957 Likewise.
32958 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32959 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32960 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32961 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32962 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32963 Do not use __unbounded.
32964 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32965 Rename __unboundedrlimits parameter to rlimits in prototype.
32966 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32967 Do not use __unbounded.
32968 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32969 not use __ptrvalue.
32970 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32971 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32972 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32973 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32974 __ptrvalue or __unbounded.
32975 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32976 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32977 use __unbounded.
32978 (__new_msgctl): Do not use __ptrvalue.
32979 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32980 __unbounded.
32981 (__libc_msgrcv): Do not use __ptrvalue.
32982 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32983 startup_info): Do not use __unbounded.
32984 (__libc_start_main): Likewise. Rename ubp_* variables and
32985 parameters. Remove argv definitions conditional on
32986 [__BOUNDED_POINTERS__].
32987 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32988 __ptrvalue.
32989 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32990 use __unbounded.
32991 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32992 or __ptrvalue.
32993 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32994 use __unbounded.
32995 (__new_shmctl): Do not use __ptrvalue.
32996 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32997 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32998 Likewise.
32999 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33001 (__libc_sigaction): Likewise.
33002 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33003 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33004 Likewise.
33005 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33006
cc7834d6
OB
330072013-02-13 Ondřej Bílka <neleai@seznam.cz>
33008
ffb1ec7b 33009 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
33010
33011 * string/mempcpy.c: Implement by calling memcpy.
33012
bdf02814
SP
330132013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33014
c2af38aa
SP
33015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33016
4e92d59e
SP
33017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33018 evaluation.
33019
909279a5
SP
33020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33021 values in the mantissa.
33022
bdf02814
SP
33023 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33024 minimize writes to Z.
33025 (sub_magnitudes): Simplify code a bit.
33026
cd525923
RM
330272013-02-12 Roland McGrath <roland@hack.frob.com>
33028
33029 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33030 from the message. The linker prefixes all warnings with that already.
33031
7e2f0d2d
AS
330322013-02-12 Andreas Schwab <schwab@suse.de>
33033
a445af0b
AS
33034 [BZ #15078]
33035 * posix/regexec.c (extend_buffers): Add parameter min_len.
33036 (check_matching): Pass minimum needed length.
33037 (clean_state_log_if_needed): Likewise.
33038 (get_subexp): Likewise.
33039 * posix/Makefile (tests): Add bug-regex34.
33040 (bug-regex34-ENV): Define.
33041 * posix/bug-regex34.c: New file.
33042
7e2f0d2d
AS
33043 [BZ #11561]
33044 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33045 elements compare against the byte sequence of it, not its name.
33046 * posix/Makefile (tests): Add bug-regex35.
33047 (bug-regex35-ENV): Define.
33048 * posix/bug-regex35.c: New file.
33049
a175b684
TV
330502013-02-11 Tom de Vries <tom@codesourcery.com>
33051
33052 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33053 comment.
33054 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33055 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33056 (CHECK_EOL): Add undef.
33057
310998fe 330582013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
33059
33060 * bits/stdlib-bsearch.h: New file.
33061 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 33062 * stdlib/stdlib.h: Likewise.
41eda41d 33063
8ded91fb
RM
330642013-02-11 Roland McGrath <roland@hack.frob.com>
33065
33066 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33067 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33068 declaration.
33069 * manual/search.texi (Array Search Function): Add missing const in
33070 lfind prototype.
33071 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33072 declaration to use rlim_t.
33073 (Basic Scheduling Functions): Remove erroneous const from
33074 sched_getparam prototype. Remove erroneous * from
33075 sched_get_priority_max and sched_get_priority_min prototypes.
33076 (Resource Usage): Fix summary @comment on vtimes to refer to
33077 sys/vtimes.h rather than vtimes.h.
33078 Add missing *s in vtimes prototype.
33079 (Limits on Resources): Fix ulimit prototype to return long int.
33080 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33081 prototypes to use long int rather than double.
33082 (BSD Random): Fix initstate and setstate to use char *, not void *.
33083 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33084 prototype to make second argument 'struct aiocb64 *const[]'.
33085 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33086 (Status of AIO Operations): Remove erroneous const in aio_return and
33087 aio_return64 prototypes.
33088 (Synchronizing I/O): Fix sync prototype to return void.
33089 * manual/startup.texi (Suboptions): Remove an erroneous const in
33090 getsubopt prototype.
33091 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33092 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33093 use size_t rather than int.
33094 (Scanning All Users): Likewise for getpwent_r.
33095 (Setting Groups): Add missing const to setgroups prototype.
33096 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33097 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33098 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33099 'const void *' rather than 'const char *'.
33100 (Host Address Functions): Likewise for inet_ntop.
33101 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33102 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33103 ssize_t for return value.
33104 (Sending Data): Likewise for send, sendto, sendmsg.
33105 (Socket Option Functions): Add a missing const in setsockopt prototype.
33106 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33107 use wchar_t for the argument.
33108 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33109 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33110 take no arguments.
33111 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33112 double/float/long double for second argument.
33113 Fix return types of significand, significandf, significandl.
33114 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33115 argument in fchmod prototype.
33116 (File Owner): Use uid_t and gid_t in fchown prototype.
33117 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33118 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33119 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33120 use 'const struct dirent **' as argument types to CMP function pointer
33121 argument.
33122 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33123 (File Times): Fix summary magic @comment for struct utimbuf and utime
33124 to refer to utime.h, not time.h.
33125 * manual/string.texi (Argz Functions): Add missing const in
33126 argz_extract and argz_next prototypes.
33127 (Finding Tokens in a String): Likewise for basename.
33128 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33129 (Copying and Concatenation): Fix typo in wmemmove prototype.
33130 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33131 (Signal Stack): Remove erroneous const in sigstack prototype.
33132 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33133 prototype.
33134 (Simple Calendar Time): Likewise for stime.
33135 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33136 prototype.
33137 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33138 say sys/sysctl.h instead.
33139 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33140 and vsyslog prototypes.
33141
fe77fe6d
TV
331422013-02-11 Tom de Vries <tom@codesourcery.com>
33143
33144 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33145 Remove.
33146
3a09b620
RM
331472013-02-11 Roland McGrath <roland@hack.frob.com>
33148
33149 * misc/sys/mman.h: Fix typo in mremap comment.
33150
550a0b89
RM
331512013-02-08 Roland McGrath <roland@hack.frob.com>
33152
33153 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33154 the '\0' terminator.
33155
a2da1673
JM
331562013-02-08 Joseph Myers <joseph@codesourcery.com>
33157
33158 [BZ #13550]
33159 * debug/segfault.c: Don't include <bp-checks.h>.
33160 * sysdeps/generic/bp-checks.h: Remove file.
33161 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33162 (__GETDENTS): Don't use CHECK_N.
33163 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33164 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33165 (__getgroups): Don't use CHECK_N.
33166 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33167 (setgroups): Don't use CHECK_N.
33168 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33169 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33170 (__libc_msgrcv): Don't use CHECK_N.
33171 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33172 (__libc_msgsnd): Don't use CHECK_N.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33174 <bp-checks.h>.
33175 (__libc_pread): Don't use CHECK_N.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33177 include <bp-checks.h>.
33178 (__libc_pread64): Don't use CHECK_N.
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33180 include <bp-checks.h>.
33181 (__libc_pwrite): Don't use CHECK_N.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33183 include <bp-checks.h>.
33184 (__libc_pwrite64): Don't use CHECK_N.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33186 <bp-checks.h>.
33187 (__libc_pread): Don't use CHECK_N.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33189 include <bp-checks.h>.
33190 (__libc_pread64): Don't use CHECK_N.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33192 include <bp-checks.h>.
33193 (__libc_pwrite): Don't use CHECK_N.
33194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33195 include <bp-checks.h>.
33196 (__libc_pwrite64): Don't use CHECK_N.
33197 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33198 (do_pread): Don't use CHECK_N.
33199 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33200 (do_pread64): Don't use CHECK_N.
33201 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33202 (do_pwrite): Don't use CHECK_N.
33203 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33204 (do_pwrite64): Don't use CHECK_N.
33205 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33206 (__libc_readv): Don't use CHECK_N.
33207 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33208 (semop): Don't use CHECK_N.
33209 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33210 <bp-checks.h>.
33211 (semtimedop): Don't use CHECK_N.
33212 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33213 (__libc_pread): Don't use CHECK_N.
33214 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33215 <bp-checks.h>.
33216 (__libc_pread64): Don't use CHECK_N.
33217 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33218 <bp-checks.h>.
33219 (__libc_pwrite): Don't use CHECK_N.
33220 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33221 <bp-checks.h>.
33222 (__libc_pwrite64): Don't use CHECK_N.
33223 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33224 <bp-checks.h>.
33225 (__libc_msgrcv): Don't use CHECK_N.
33226 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33227 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33228 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33229 (__libc_writev): Don't use CHECK_N.
33230
b84660a8
RM
332312013-02-08 Roland McGrath <roland@hack.frob.com>
33232
7f3e75f8
RM
33233 * string/strcpy.c: Removed unused variable.
33234
b84660a8
RM
33235 * Makeconfig (+sysdep-includes): Define with := rather than =.
33236 Use an existing include/ subdir of each sysdeps dir before it.
33237
471514d3
CD
332382013-02-08 Carlos O'Donell <carlos@redhat.com>
33239
33240 * nscd/connection.c (register_traced_file): Comment function.
33241 [HAVE_INOTIFY] (union __inev): Define.
33242 [HAVE_INOTIFY] (inotify_check_files): New function.
33243 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33244 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33245 clear_db_cache.
33246 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33247
b2d3c3be
CD
332482013-02-08 Carlos O'Donell <carlos@redhat.com>
33249
33250 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33251 loaded if not already and that a failure is permanent.
33252
b39949d2
CD
332532013-02-08 Carlos O'Donell <carlos@redhat.com>
33254
ddacd1db 33255 [BZ #15006]
b39949d2
CD
33256 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33257 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33258
b2c9eff4
JM
332592013-02-08 Joseph Myers <joseph@codesourcery.com>
33260
f3aae3f3
JM
33261 [BZ #13550]
33262 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33263 (CHECK_1_NULL_OK): Likewise.
33264 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33265 (__fxstat): Do not use CHECK_1.
33266 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33267 <bp-checks.h>.
33268 (___fxstat64): Do not use CHECK_1.
33269 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33270 <bp-checks.h>.
33271 (__fxstatat): Do not use CHECK_1.
33272 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33273 <bp-checks.h>.
33274 (__fxstatat64): Do not use CHECK_1.
33275 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33276 <bp-checks.h>.
33277 (__fxstat): Do not use CHECK_1.
33278 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33279 <bp-checks.h>.
33280 (__fxstatat): Do not use CHECK_1.
33281 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33282 <bp-checks.h>.
33283 (__getresgid): Do not use CHECK_1.
33284 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33285 <bp-checks.h>.
33286 (__getresuid): Do not use CHECK_1.
33287 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33288 <bp-checks.h>.
33289 (__lxstat): Do not use CHECK_1.
33290 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33291 <bp-checks.h>.
33292 (__old_msgctl): Do not use CHECK_1.
33293 (__new_msgctl): Likewise.
33294 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33295 <bp-checks.h>.
33296 (__new_setrlimit): Do not use CHECK_1.
33297 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33298 <bp-checks.h>.
33299 (__old_shmctl): Do not use CHECK_1.
33300 (__new_shmctl): Likewise.
33301 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33302 <bp-checks.h>.
33303 (__xstat): Do not use CHECK_1.
33304 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33305 (__lxstat): Do not use CHECK_1.
33306 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33307 <bp-checks.h>.
33308 (___lxstat64): Do not use CHECK_1.
33309 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33310 (__old_msgctl): Do not use CHECK_1.
33311 (__new_msgctl): Likewise.
33312 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33313 <bp-checks.h>.
33314 (__gettimeofday): Do not use CHECK_1.
33315 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33316 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33317 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33318 <bp-checks.h>.
33319 (__gettimeofday): Do not use CHECK_1.
33320 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33321 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33322 (__new_shmctl): Do not use CHECK_1.
33323 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33324 <bp-checks.h>.
33325 (do_sigtimedwait): Do not use CHECK_1.
33326 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33327 <bp-checks.h>.
33328 (do_sigwaitinfo): Do not use CHECK_1.
33329 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33330 <bp-checks.h>.
33331 (msgctl): Do not use CHECK_1.
33332 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33333 <bp-checks.h>.
33334 (shmctl): Do not use CHECK_1.
33335 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33336 (ustat): Do not use CHECK_1.
33337 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33338 <bp-checks.h>.
33339 (__fxstat): Do not use CHECK_1.
33340 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33341 <bp-checks.h>.
33342 (__fxstatat): Do not use CHECK_1.
33343 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33344 <bp-checks.h>.
33345 (__lxstat): Do not use CHECK_1.
33346 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33347 <bp-checks.h>.
33348 (__xstat): Do not use CHECK_1.
33349 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33350 (__xstat): Do not use CHECK_1.
33351 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33352 (___xstat64): Do not use CHECK_1.
33353
b2c9eff4
JM
33354 [BZ #13550]
33355 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33356 definitions.
33357 (CHECK_BOUNDS_HIGH): Likewise.
33358 * string/strcpy.c: Do not include <bp-checks.h>.
33359 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33360
f1d70dad
RM
333612013-02-07 Roland McGrath <roland@hack.frob.com>
33362
33363 * nscd/nscd-client.h (__nscd_drop_map_ref):
33364 Add __attribute__ ((unused)).
33365 * nis/nss-nisplus.h (niserr2nss): Likewise.
33366
33367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33368 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33369
33370 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33371 Remove inline keyword.
33372 * include/rounding-mode.h (round_away): Likewise.
33373 * libio/wfileops.c (adjust_wide_data): Likewise.
33374 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33375 (__m128i_strloadu_tolower): Likewise.
33376 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33377 (__m128i_strloadu_tolower): Likewise.
33378 * time/mktime.c (ydhms_diff): Likewise.
33379 * locale/elem-hash.h (elem_hash): Likewise.
33380 * locale/setlocale.c (setdata): Likewise.
33381 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33382 (re_string_wchar_at): Likewise.
33383 (bitset_not, bitset_merge, bitset_mask): Likewise.
33384 [!(__GNUC__ > 3)] (inline): Remove macro.
33385 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33386 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33387 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33388 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33389 * string/memcmp.c (memcmp_bytes): Likewise.
33390 * locale/programs/locarchive.c (compute_hashval): Likewise.
33391 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33392 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33393 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33394 * nss/getent.c (print_rpc, print_protocols): Likewise.
33395 (print_passwd, print_group, print_aliases): Likewise.
33396 * nis/nss-nisplus.h (niserr2nss): Likewise.
33397 * nscd/connections.c (restart_p): Likewise.
33398 Change return type to bool.
33399
eab55bfb
RM
334002013-02-05 Roland McGrath <roland@hack.frob.com>
33401
7bd642f5
RM
33402 * Makeconfig (all-Depend-files): Add existing
33403 $(sorted-subdirs:=/Depend) files.
33404 (all-subdirs): Remove nss.
33405 * sysdeps/unix/inet/Subdirs: Add it here instead.
33406 * hesiod/Depend: New file.
33407
573c29b2
RM
33408 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33409 instead of calling alloca.
33410
b2e25af0
RM
33411 * io/lseek.c (__lseek): Rename to __libc_lseek.
33412 Define __lseek as an alias.
33413
eab55bfb
RM
33414 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33415
9a0d1941
CD
334162013-02-04 Carlos O'Donell <carlos@redhat.com>
33417
33418 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33419 else clause and remove check for non-standard endianness.
33420
b83bbec4
DM
334212013-02-04 David S. Miller <davem@davemloft.net>
33422
33423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33424
6277fdab
JM
334252013-02-04 Joseph Myers <joseph@codesourcery.com>
33426
33427 [BZ #13550]
33428 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33429 (__ubp_memchr): Remove prototype.
33430 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33431 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33432 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33433 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33434 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33435 Remove alias.
33436 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33437 (__ubp_memchr): Likewise.
33438 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33439 (__ubp_memchr): Likewise.
33440 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33441 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33442 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33443 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33444 CHECK_STRING.
33445 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33446 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33447 (__getcwd): Do not use CHECK_STRING.
33448 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33449 <bp-checks.h>.
33450 (__real_chown): Do not use CHECK_STRING.
33451 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33452 <bp-checks.h>.
33453 (fchownat): Do not use CHECK_STRING.
33454 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33455 CHECK_STRING.
33456 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33457 <bp-checks.h>.
33458 (__lchown): Do not use CHECK_STRING.
33459 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33460 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33461 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33462 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33464 include <bp-checks.h>.
33465 (truncate64): Do not use CHECK_STRING.
33466 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33467 <bp-checks.h>.
33468 (__real_chown): Do not use CHECK_STRING.
33469 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33470 <bp-checks.h>.
33471 (__lchown): Do not use CHECK_STRING.
33472 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33473 <bp-checks.h>.
33474 (__chown): Do not use CHECK_STRING.
33475 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33476 <bp-checks.h>.
33477 (truncate64): Do not use CHECK_STRING.
33478 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33479 Likewise.
33480 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33481 (__xmknod): Do not use CHECK_STRING.
33482 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33483 <bp-checks.h>.
33484 (__xmknodat): Do not use CHECK_STRING.
33485 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33486 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33487
903ae060
AS
334882013-02-04 Andreas Schwab <schwab@suse.de>
33489
33490 [BZ #14142]
33491 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33492 * include/netdb.h: Likewise for h_errno.
33493 * elf/tst-stackguard1.c: Include <tls.h>.
33494
542f9466
JK
334952013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33496
33497 * elf/link.h (struct link_map): Extend the l_addr comment.
33498 * include/link.h (struct link_map): Likewise.
33499
e782a927
JM
335002013-02-01 Joseph Myers <joseph@codesourcery.com>
33501
33502 [BZ #13550]
33503 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33504 (BOUNDED_1): Remove macro.
33505 * debug/backtrace.c: Don't include <bp-checks.h>.
33506 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33507 (__backtrace): Likewise.
33508 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33509 <bp-checks.h>.
33510 (__backtrace): Don't use BOUNDED_1.
33511 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33512 <bp-checks.h>.
33513 (__backtrace): Don't use BOUNDED_1.
33514 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33515 (__backtrace): Don't use BOUNDED_1.
33516 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33517 (shmat): Don't use BOUNDED_N.
33518
8cf28c5e
JM
335192013-01-31 Joseph Myers <joseph@codesourcery.com>
33520
3a7ac8a0
JM
33521 [BZ #13550]
33522 * sysdeps/generic/bp-start.h: Remove file.
33523 * csu/libc-start.c: Don't include <bp-start.h>.
33524 (LIBC_START_MAIN): Set up __environ directly instead of using
33525 INIT_ARGV_and_ENVIRON.
33526 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33527 <bp-start.h>.
33528
f3499f95
JM
33529 [BZ #13550]
33530 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33531 definitions.
33532 (CHECK_FCNTL): Likewise.
33533 (CHECK_N_PAGES): Likewise.
33534
32a45bea
JM
33535 [BZ #13550]
33536 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33537 definitions.
33538 (CHECK_SIGSET_NULL_OK): Likewise.
33539 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33540 <bp-checks.h>.
33541 (sigpending): Don't use CHECK_SIGSET.
33542 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33543 <bp-checks.h>.
33544 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33545 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33546 <bp-checks.h>.
33547 (do_sigsuspend): Don't use CHECK_SIGSET.
33548 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33549 use CHECK_SIGSET.
33550 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33551 (do_sigwait): Don't use CHECK_SIGSET.
33552 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33553 use CHECK_SIGSET.
33554 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33555 include <bp-checks.h>.
33556 (sigpending): Don't use CHECK_SIGSET.
33557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33558 include <bp-checks.h>.
33559 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33560 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33561 <bp-checks.h>.
33562 (sigpending): Don't use CHECK_SIGSET.
33563 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33564 <bp-checks.h>.
33565 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33566
2e8a5c8c
JM
33567 [BZ #13550]
33568 * sysdeps/generic/bp-semctl.h: Remove file.
33569 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33570 <bp-checks.h> and <bp-semctl.h>.
33571 (__old_semctl): Don't use CHECK_SEMCTL.
33572 (__new_semctl): Likewise.
33573 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33574 and <bp-semctl.h>.
33575 (__old_semctl): Don't use CHECK_SEMCTL.
33576 (__new_semctl): Likewise.
33577 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33578 <bp-checks.h> and <bp-semctl.h>.
33579 (__old_semctl): Don't use CHECK_SEMCTL.
33580 (__new_semctl): Likewise.
33581 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33582 <bp-checks.h> and <bp-semctl.h>.
33583 (semctl): Don't use CHECK_SEMCTL.
33584
c2d54929
JM
33585 [BZ #13550]
33586 * Makerules (elide-bp-thunks): Remove variable.
33587 (elide-routines.oS): Don't use $(elide-bp-thunks).
33588 (elide-routines.os): Likewise.
33589 (elide-routines.o): Likewise.
33590 (elide-routines.op): Likewise.
33591 (elide-routines.og): Likewise.
33592 (objects): Don't use $(bp-thunks).
33593 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33594 include.
33595 (common-generated): Do not add s-proto-bp.d.
33596 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33597 (int): Likewise.
33598 (typ): Likewise.
33599 Do not generate makefile rules for bounded-pointer thunks.
33600 * sysdeps/generic/bp-thunks.h: Remove file.
33601 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33602 * sysdeps/unix/s-proto-bp.S: Likewise.
33603
8cf28c5e
JM
33604 [BZ #15062]
33605 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33606 parts of result separately when argument is not close to line from
33607 -i to i and one part of argument is small.
33608 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33609 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33610 * math/libm-test.inc (cacos_test): Add more tests.
33611 (casin_test): Likewise.
33612 (casinh_test): Likewise.
33613 * sysdeps/i386/fpu/libm-test-ulps: Update.
33614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33615
c4e33b8d
DM
336162013-01-31 David S. Miller <davem@davemloft.net>
33617
33618 * po/de.po: Update from translation team.
33619
3b60b421
MK
336202013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33621
33622 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33623
bb931195
TS
336242013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33625
b5a5da23
TS
33626 * configure.in (_AC_PROG_CC_C89): New definition.
33627 * configure: Regenerate.
33628
bb931195
TS
33629 * configure.in (AC_PROG_CPP): New definition.
33630 * configure: Regenerate.
33631
8c53a12c
JM
336322013-01-23 Joseph Myers <joseph@codesourcery.com>
33633
33634 * debug/tst-backtrace.h: New file.
33635 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33636 (ret): Remove variable.
33637 (x): Likewise.
33638 (FAIL): Remove macro.
33639 (NO_INLINE): Likewise.
33640 (fn1): Use match function instead of strstr.
33641 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33642 (ret): Remove variable.
33643 (x): Likewise.
33644 (FAIL): Remove macro.
33645 (NO_INLINE): Likewise.
33646 (fn): Use match function instead of strstr.
33647 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33648 (ret): Remove variable.
33649 (x): Likewise.
33650 (FAIL): Remove macro.
33651 (NO_INLINE): Likewise.
33652 (handle_signal): Use match function instead of strstr.
33653 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33654 (ret): Remove variable.
33655 (x): Likewise.
33656 (FAIL): Remove macro.
33657 (NO_INLINE): Likewise.
33658 (handle_signal): Use match function instead of strstr.
33659
4858fa2a
RM
336602013-01-23 Roland McGrath <roland@hack.frob.com>
33661
33662 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33663
bae8e7f5
DM
336642013-01-23 David S. Miller <davem@davemloft.net>
33665
33666 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33667 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33668 argument of CAS if possible.
33669 * sysdeps/sparc/sparc64/bits/atomic.h
33670 (__arch_compare_and_exchange_val_32_acq): Likewise.
33671 (__arch_compare_and_exchange_val_64_acq): Likewise.
33672
9cbbc4ae
PT
336732013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33674
33675 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33676 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33677 Include <limits.h>.
67b3f58c 33678 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33679
5655a0b5
AC
336802013-01-23 Adam Conrad <adconrad@0c3.net>
33681
33682 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33683 (LDFLAGS-tst-array5): Likewise.
33684
052aff95
JM
336852013-01-23 Joseph Myers <joseph@codesourcery.com>
33686
33687 [BZ #15036]
33688 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33689 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33690 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33691 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33692
7c1e01aa
DM
336932013-01-21 David S. Miller <davem@davemloft.net>
33694
33695 * sysdeps/sparc/backtrace.c: New file.
33696 * sysdeps/sparc/sparc32/backtrace.h: New file.
33697 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33698 * sysdeps/sparc/sparc64/backtrace.h: New file.
33699 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33700 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33701 -funwind-tables.
33702
ab087e0a
AS
337032013-01-21 Andreas Schwab <schwab@suse.de>
33704
33705 [BZ #15020]
33706 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33707 closed its stdout.
33708
ed689c2f
AS
337092013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33710
33711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33712 "mpa2.h".
33713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33714
31d470ac
JM
337152013-01-18 Joseph Myers <joseph@codesourcery.com>
33716 Mark Mitchell <mark@codesourcery.com>
33717 Tom de Vries <tom@codesourcery.com>
33718 Paul Pluzhnikov <ppluzhnikov@google.com>
33719
33720 * debug/tst-backtrace2.c: New file.
33721 * debug/tst-backtrace3.c: Likewise.
33722 * debug/tst-backtrace4.c: Likewise.
33723 * debug/tst-backtrace5.c: Likewise.
33724 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33725 (CFLAGS-tst-backtrace3.c): Likewise.
33726 (CFLAGS-tst-backtrace4.c): Likewise.
33727 (CFLAGS-tst-backtrace5.c): Likewise.
33728 (LDFLAGS-tst-backtrace2): Likewise.
33729 (LDFLAGS-tst-backtrace3): Likewise.
33730 (LDFLAGS-tst-backtrace4): Likewise.
33731 (LDFLAGS-tst-backtrace5): Likewise.
33732 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33733 tst-backtrace4 and tst-backtrace5.
33734
90567f30 337352013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33736 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33737
33738 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33739 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33740 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33741 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33743 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33744 "+r" and remove output regs list as redundant. Add explicit inline
33745 asm to specify register of return val to work around compiler codegen
33746 bug. Remove (int) cast on return value. Add return type parameter to
33747 use in macro so that this macro does not truncate return value for
33748 64-bit values.
33749 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33750 pass to INTERNAL_VSYSCALL_NCS.
33751 (INLINE_VSYSCALL): Add 'long int' as return type to
33752 INTERNAL_VSYSCALL_NCS macro invocation.
33753 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33754 INTERNAL_VSYSCALL_NCS macro invocation.
33755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33756
d3b9ea61
SP
337572013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33758
0b57daeb
SP
33759 [BZ #14496]
33760 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33761 Fix application of SIMD FP exception mask.
33762
caa99d06
SP
33763 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33764 mp_no from a power of two.
33765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33766 __mpexp_twomm1. Use __pow_mp.
33767
d3b9ea61
SP
33768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33769 multiplication.
33770
1dbaee3c
DM
337712013-01-17 David S. Miller <davem@davemloft.net>
33772
33773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33774
728d7b43
JM
337752013-01-17 Joseph Myers <joseph@codesourcery.com>
33776
33777 [BZ #15023]
33778 * include/complex.h: Condition contents on [!_COMPLEX_H].
33779 (__kernel_casinhf): New prototype.
33780 (__kernel_casinh): Likewise.
33781 (__kernel_casinhl): Likewise.
33782 * math/Makefile (libm_calls): Add k_casinh.
33783 * math/k_casinh.c: New file.
33784 * math/k_casinhf.c: Likewise.
33785 * math/k_casinhl.c: Likewise.
33786 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33787 finite nonzero arguments.
33788 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33789 finite nonzero arguments.
33790 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33791 finite nonzero arguments.
33792 * math/s_casinh.c: Do not include <float.h>.
33793 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33794 * math/s_casinhf.c: Do not include <float.h>.
33795 (__casinhf): Move code for finite nonzero arguments to
33796 k_casinhf.c.
33797 * math/s_casinhl.c: Do not include <float.h>.
33798 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33799 redefine.
33800 (__casinhl): Move code for finite nonzero arguments to
33801 k_casinhl.c.
33802 * math/libm-test.inc (cacos_test): Add more tests.
33803 * sysdeps/i386/fpu/libm-test-ulps: Update.
33804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33805
2a26ef3a
PT
338062013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33807
33808 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33809 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33810 [!HAVE_MREMAP]: Remove [defined linux] case.
33811 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33812
a897655d
SP
338132013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33814
33815 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33816
881ebe89 338172013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33818
33819 * elf/elf.h (R_386_SIZE32): New relocation.
33820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33821 R_386_SIZE32.
33822 (elf_machine_rela): Likewise.
33823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33824 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33825
59981e9b
JM
338262013-01-17 Joseph Myers <joseph@codesourcery.com>
33827
33828 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33829 (FP_FAST_FMA): Do not define.
33830 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33831 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33832 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33833 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33834 !_SOFT_FLOAT]: Likewise.
33835 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33837 value.
33838 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33839 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33840 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33841 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33842 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33843 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33844 file.
33845
cfa8054f
AS
338462013-01-16 Andreas Schwab <schwab@suse.de>
33847
33848 [BZ #14327]
33849 * include/stdlib.h (__mktemp): Add declaration.
33850 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33851 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33852
dd930cc5
SP
338532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33854
881ebe89
SP
33855 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33856 definitions.
33857 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33858 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33859 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33860 definitions here.
33861 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33862 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33863 definitions.
33864 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33865 and ONE.
33866 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33867 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33868 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33869 definitions.
33870 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33871 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33872 definitions.
33873 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33874
dd930cc5
SP
33875 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33876
c19a9f89
DM
338772013-01-15 David S. Miller <davem@davemloft.net>
33878
1aa61767
DM
33879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33880 trunc{,f} to libm-sysdep_routes.
33881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33883 file.
33884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33886 file.
33887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33888 file.
33889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33891 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33892 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33893 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33894 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33895 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33896 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33897
c42d5e98
DM
33898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33899 nearbyint{,f} to libm-sysdep_routes.
33900 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33902 New file.
33903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33904 file.
33905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33906 New file.
33907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33908 file.
33909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33912 file.
33913 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33915 file.
33916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33917 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33918 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33919
c19a9f89
DM
33920 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33921 libc_feholdexcept and libc_fesetenv.
33922
357679d2
MF
339232013-01-15 Mike Frysinger <vapier@gentoo.org>
33924
33925 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33926
65a82e3d
DM
339272013-01-14 David S. Miller <davem@davemloft.net>
33928
8b954ab9
DM
33929 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33930 (SPARC_ASM_VIS2_IFUNC): Likewise.
33931 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33933 use of 'siam' instruction.
33934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33935 Likewise.
33936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33937 Likewise.
33938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33939 Likewise.
33940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33945 file.
33946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33947 file.
33948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33949 file.
33950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33951 file.
33952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33957 new VIS2 routines.
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33961 Likewise.
33962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33967 routines to libm-sysdep_routines.
33968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33969
65a82e3d
DM
33970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33971 fdim/fdimf to libm-sysdep_routines.
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33973 file.
33974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33976 file.
33977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33980 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33981 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33982 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33983 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33984
e34ab705
SP
339852013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33986
2a91b573
SP
33987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33988 to optimize copies.
33989
1066a534
SP
33990 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33993
e34ab705
SP
33994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33995 local variable MPTWO.
33996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33997 Likewise.
33998
aba5e596
MF
339992013-01-13 Mike Frysinger <vapier@gentoo.org>
34000
34001 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34002 GLOB_NOESCAPE.
34003
e557e9e5
MF
340042013-01-13 Mike Frysinger <vapier@gentoo.org>
34005
34006 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34007
0428cec9
MF
340082013-01-13 Mike Frysinger <vapier@gentoo.org>
34009
34010 * manual/pattern.texi (glob_t): Document gl_flags.
34011 (glob64_t): Likewise.
34012
8794a964
DM
340132013-01-11 David S. Miller <davem@davemloft.net>
34014
66438c3f
RM
34015 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34016 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34017 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
34018 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34019 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34020 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34021 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34022 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34023 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34024 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34025 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34026 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34027 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34028
4ae4244d
DM
34029 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34030 sparc V9 rather than using V8 code.
34031 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34032 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34033
8794a964
DM
34034 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34035 Move to...
34036 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34037 Here.
34038
6270516e
RM
340392013-01-11 Roland McGrath <roland@hack.frob.com>
34040
34041 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34042 not in the main loop.
34043 * configure: Regenerated.
34044
6a57d931
JM
340452013-01-11 Joseph Myers <joseph@codesourcery.com>
34046
34047 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34048 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34049 to just #else.
34050 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34051 [!__GLIBC_HAVE_LONG_LONG] case.
34052 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34053 condition to just #else.
34054 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34055 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34056 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34057 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34058 unconditional.
34059 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34060 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34061 #elif condition to just #else.
34062 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34063 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34064 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34065 #elif condition to just #else.
34066
0e8529e9
SE
340672013-01-11 Steve Ellcey <sellcey@mips.com>
34068
34069 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34070 (EF_MIPS_ARCH_64): Fix value.
34071 (EF_MIPS_ARCH_32R2): New.
34072 (EF_MIPS_ARCH_64R2): New.
34073
740b3dbe
L
340742013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34075
34076 * Makeconfig (+link-pie-before-libc): New.
34077 (+link-pie-after-libc): Likewise.
34078 (+link-pie-tests): Likewise.
34079 (+link-pie): Rewritten.
34080 (link-before-libc): Remove $(config-LDFLAGS).
34081 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34082 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34083 (config-LDFLAGS): Renamed to ...
34084 (rtld-LDFLAGS): This.
34085 (rtld-tests-LDFLAGS): New macro.
34086 (link-libc-rpath-link): Likewise.
34087 (link-libc-tests-rpath-link): Likewise.
34088 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34089 (link-libc): Prepand $(link-libc-rpath-link).
34090 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34091 (test-program-prefix): New macro.
34092 (test-via-rtld-prefix): Likewise.
34093 (test-program-cmd): Likewise.
34094 (host-test-program-cmd): Likewise.
34095 * Makefile ($(common-objpfx)testrun.sh): Replace
34096 $(run-program-prefix) with $(test-program-prefix).
34097 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34098 $(rtld-LDFLAGS).
34099 ($(common-objpfx)shlib.lds): Likewise.
34100 (build-module-helper): Likewise.
34101 ($(common-objpfx)format.lds): Likewise.
34102 * Rules (binaries-pie-tests): New.
34103 (binaries-pie-notests): Likewise.
34104 (binaries-pie): Rewritten.
34105 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34106 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34107 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34108 (make-test-out): Replace $(host-built-program-cmd) with
34109 $(host-test-program-cmd).
34110 * config.make.in (build-hardcoded-path-in-tests): New variable.
34111 * configure.in (--enable-hardcoded-path-in-tests): New configure
34112 option.
34113 (hardcoded_path_in_tests): New AC_SUBST.
34114 * configure: Regenerated.
34115 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34116 $(built-program-cmd) with $(test-program-cmd).
34117 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34118 (test_program_cmd): This.
34119 * elf/Makefile ($(objpfx)order.out): Run test with
34120 $(test-program-prefix).
34121 ($(objpfx)order2.out): Likewise.
34122 ($(objpfx)tst-initorder.out): Likewise.
34123 ($(objpfx)tst-initorder2.out): Likewise.
34124 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34125 $(test-program-cmd).
34126 ($(objpfx)tst-array1-static.out): Likewise.
34127 ($(objpfx)tst-array2.out): Likewise.
34128 ($(objpfx)tst-array3.out): Likewise.
34129 ($(objpfx)tst-array4.out): Likewise.
34130 ($(objpfx)tst-array5.out): Likewise.
34131 ($(objpfx)tst-array5-static.out): Likewise.
34132 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34133 $(test-program-cmd).
34134 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34135 $(run-program-prefix) with $(test-program-prefix).
34136 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34137 (test_program_prefix): This.
34138 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34139 $(run-program-prefix) with $(test-program-prefix).
34140 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34141 (test_program_prefix): This.
34142 * iconvdata/tst-tables.sh: Likewise.
34143 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34144 $(run-program-prefix) with $(test-program-prefix).
34145 ($(objpfx)tst-translit.out): Likewise.
34146 ($(objpfx)tst-gettext2.out): Likewise.
34147 ($(objpfx)tst-gettext4.out): Likewise.
34148 ($(objpfx)tst-gettext6.out): Likewise.
34149 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34150 (test_program_prefix): This.
34151 * intl/tst-gettext2.sh: Likewise.
34152 * intl/tst-gettext4.sh Likewise.
34153 * intl/tst-gettext6.sh: Likewise.
34154 * intl/tst-translit.sh: Likewise.
34155 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34156 with $(test-program-cmd).
34157 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34158 $(run-program-prefix) with $(test-program-prefix).
34159 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34160 (test_program_prefix): This.
34161 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34162 $(run-program-prefix) with $(test-program-prefix).
34163 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34164 (test_program_prefix): This.
34165 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34166 * posix/Makefile ($(objpfx)globtest.out): Replace
34167 $(run-via-rtld-prefix) and $(test-wrapper) with
34168 $(test-program-prefix) and $(test-via-rtld-prefix).
34169 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34170 $(test-program-prefix).
34171 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34172 $(host-test-program-cmd).
34173 (tst-spawn-ARGS): Likewise.
34174 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34175 $(test-program-prefix).
34176 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34177 (test_via_rtld_prefix): This.
34178 (test_wrapper): Renamed to ...
34179 (test_program_prefix): This.
34180 (run_program_prefix): Replaced by test_program_prefix.
34181 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34182 (test_program_prefix): This.
34183 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34184 with $(host-test-program-cmd).
34185 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34186 $(run-program-prefix) with $(test-program-prefix).
34187 ($(objpfx)tst-printf.out): Likewise.
34188 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34189 $(test-program-cmd).
34190 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34191 (test_program_prefix): This.
34192 * stdio-common/tst-unbputc.sh: Likewise.
34193 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34194 $(run-program-prefix) with $(test-program-prefix).
34195 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34196 (test_program_prefix): This.
34197 * string/Makefile ($(objpfx)tst-svc.out): Replace
34198 $(built-program-cmd) with $(test-program-cmd).
34199
c6fe55cf
AJ
342002013-01-11 Andreas Jaeger <aj@suse.de>
34201
34202 [BZ #15003]
34203 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34204 value. Sync with Linux 3.7.
34205
9e6919c8
DM
342062013-01-10 David S. Miller <davem@davemloft.net>
34207
34208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34209 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34210 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34211
1c9f1a02
RM
342122013-01-10 Roland McGrath <roland@hack.frob.com>
34213
34214 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34215 never set.
34216 * configure: Regenerated.
34217
b9de2dde
DM
342182013-01-10 David S. Miller <davem@davemloft.net>
34219
34220 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34221 sparc V9 rather than using V8 code.
34222 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34223 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34224
e7f68ef4
RM
342252013-01-10 Roland McGrath <roland@hack.frob.com>
34226
34227 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34228 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34229 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34230 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34231 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34232 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34233 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34234 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34235 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34236 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34237 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34238 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34239 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34240 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34241 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34242 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34243 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34244 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34245 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34246 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34247 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34248 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34249 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34250 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34251 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34252 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34253 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34254
5a47cc9c
DM
342552013-01-10 David S. Miller <davem@davemloft.net>
34256
34257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34258
4cf8f209
L
342592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34260
34261 * posix/Makefile (tests-static): New variable.
34262 (tests): Add $(tests-static).
34263 (tst-exec-static-ARGS): New variable.
34264 (tst-spawn-static-ARGS): Likewise.
34265 * posix/tst-exec-static.c: New file.
34266 * posix/tst-spawn-static.c: Likewise.
34267 * posix/tst-exec.c: Support run directly.
34268 * posix/tst-spawn.c: Likewise.
34269
fed0faa1
JM
342702013-01-10 Joseph Myers <joseph@codesourcery.com>
34271
828beb13
JM
34272 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34273 long.
34274 * math/bits/mathcalls.h (llrint): Likewise.
34275 (llround): Likewise.
34276 * stdlib/stdlib.h (struct drand48_data): Likewise.
34277 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34278 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34279 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34280 Likewise.
34281 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34282 Likewise.
34283 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34284 (elf_greg_t): Likewise.
34285 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34286 (__jmp_buf): Likewise.
34287 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34288 definitions.
34289 (llrint): Likewise, for all definitions.
34290 (llrintl): Likewise.
34291
fed0faa1
JM
34292 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34293 Remove [__GNUC__] condition.
34294 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34295 condition to just [__USE_ISOC99].
34296 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34297
1a20cb20
L
342982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34299
34300 [BZ #14200]
34301 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34302 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34303 defined.
34304 (_POSIX_V6_ILP32_OFF32): Likewise.
34305 (_XBS5_ILP32_OFF32): Likewise.
34306 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34307 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34308
751b85f7
SP
343092013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34310
7490eb81
SP
34311 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34312
751b85f7
SP
34313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34314 doubles __mpexp_twomm1. Adjust usage.
34315 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34316 Remove.
34317
988197f0
AS
343182013-01-10 Andreas Schwab <schwab@suse.de>
34319
34320 [BZ #14964]
34321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34322 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34323
e83d7298
DM
343242013-01-09 David S. Miller <davem@davemloft.net>
34325
034ed64b 34326 [BZ #15003]
57f41c40
AS
34327 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34328 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34329 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34330 (TCP_FASTOPEN): Define.
e83d7298
DM
34331 (tcp_repair_opt): New structure.
34332 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34333 enum values.
57f41c40
AS
34334 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34335 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34336 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34337 (tcp_cookie_transactions): New structure.
34338
d5e0b9bd
AB
343392013-01-09 Anton Blanchard <anton@samba.org>
34340
34341 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34342 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34343 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34344 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34345
0c07e3ea
JM
343462013-01-09 Joseph Myers <joseph@codesourcery.com>
34347
34348 * include/features.h (__USE_ANSI): Remove.
34349
232f7002
RM
343502013-01-09 Roland McGrath <roland@hack.frob.com>
34351
ad98e30c
RM
34352 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34353
232f7002
RM
34354 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34355
950c99ca
SP
343562013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34357
b5792741
SP
34358 * sysdeps/s390/fpu/libm-test-ulps: Update.
34359
47cf2278
SP
34360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34361
950c99ca
SP
34362 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34363 (__acr): Likewise.
34364 (__cpy): Likewise.
34365 (norm): Likewise.
34366 (denorm): Likewise.
34367 (__mp_dbl): Likewise.
34368 (__dbl_mp): Likewise.
34369 (add_magnitudes): Likewise.
34370 (sub_magnitudes): Likewise.
34371 (__add): Likewise.
34372 (__sub): Likewise.
34373 (__mul): Likewise.
34374 (__inv): Likewise.
34375 (__dvd): Likewise.
34376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34377 (__acr): Likewise.
34378 (__cpy): Likewise.
34379 (norm): Likewise.
34380 (denorm): Likewise.
34381 (__mp_dbl): Likewise.
34382 (__dbl_mp): Likewise.
34383 (add_magnitudes): Likewise.
34384 (sub_magnitudes): Likewise.
34385 (__add): Likewise.
34386 (__sub): Likewise.
34387 (__mul): Likewise.
34388 (__inv): Likewise.
34389 (__dvd): Likewise.
34390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34391 (__acr): Likewise.
34392 (__cpy): Likewise.
34393 (norm): Likewise.
34394 (denorm): Likewise.
34395 (__mp_dbl): Likewise.
34396 (__dbl_mp): Likewise.
34397 (add_magnitudes): Likewise.
34398 (sub_magnitudes): Likewise.
34399 (__add): Likewise.
34400 (__sub): Likewise.
34401 (__mul): Likewise.
34402 (__inv): Likewise.
34403 (__dvd): Likewise.
34404
eede9df9
JM
344052013-01-08 Joseph Myers <joseph@codesourcery.com>
34406
34407 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34408 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34409 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34410 2 && __USE_EXTERN_INLINES]: Likewise.
34411
c40ea3d9
AJ
344122013-01-08 Andreas Jaeger <aj@suse.de>
34413
34414 [BZ# 14985]
34415 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34416 Remove.
34417 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34418 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34419
2ccdea26
AB
344202013-01-07 Anton Blanchard <anton@samba.org>
34421
34422 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34423 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34424 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34425 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34426 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34427 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34428 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34429 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34431 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34432 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34433 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34434 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34435 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34436 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34437 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34438 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34439 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34440 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34442 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34443 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34444 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34445 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34446 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34447 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34448 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34449 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34450 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34451 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34452 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34454 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34455 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34456 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34457 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34458 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34461 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34462 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34464 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34465
a9708fed
JM
344662013-01-07 Joseph Myers <joseph@codesourcery.com>
34467
375607b9
JM
34468 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34469 (__MALLOC_PMT): Likewise.
34470 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34471 [__GNUC__], only on [_LIBC].
34472 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34473 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34474 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34475 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34476 forward declaration.
34477 (realloc_hook_ini): Likewise.
34478 (memalign_hook_ini): Likewise.
34479 (__libc_memalign): Do not use __MALLOC_PMT in variable
34480 declaration.
34481 (__libc_valloc): Likewise.
34482 (__libc_pvalloc): Likewise.
34483 (__libc_calloc): Likewise.
34484 (__posix_memalign): Likewise.
34485
a9708fed
JM
34486 [BZ #14996]
34487 * math/s_casinh.c: Include <float.h>.
34488 (__casinh): Do not do computation with squaring and square root
34489 for large arguments.
34490 * math/s_casinhf.c: Include <float.h>.
34491 (__casinhf): Do not do computation with squaring and square root
34492 for large arguments.
34493 * math/s_casinhl.c: Include <float.h>.
34494 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34495 (__casinhl): Do not do computation with squaring and square root
34496 for large arguments.
34497 * math/libm-test.inc (casin_test): Add more tests.
34498 (casinh_test): Likewise.
34499 * sysdeps/i386/fpu/libm-test-ulps: Update.
34500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34501
afec409a
L
345022013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34503
34504 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34505 (__x86_64_raw_data_cache_size): Likewise.
34506 (__x86_64_data_cache_size_half): Likewise.
34507 (__x86_64_raw_data_cache_size_half): Likewise.
34508 (__x86_64_shared_cache_size): Likewise.
34509 (__x86_64_raw_shared_cache_size): Likewise.
34510 (__x86_64_shared_cache_size_half): Likewise.
34511 (__x86_64_raw_shared_cache_size_half): Likewise.
34512 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34513 to ...
34514 (__x86_data_cache_size): This.
34515 (__x86_64_raw_data_cache_size): Renamed to ...
34516 (__x86_raw_data_cache_size): This.
34517 (__x86_64_data_cache_size_half): Renamed to ...
34518 (__x86_data_cache_size_half): This.
34519 (__x86_64_raw_data_cache_size_half): Renamed to ...
34520 (__x86_raw_data_cache_size_half): This.
34521 (__x86_64_shared_cache_size): Renamed to ...
34522 (__x86_shared_cache_size): This.
34523 (__x86_64_raw_shared_cache_size): Renamed to ...
34524 (__x86_raw_shared_cache_size): This.
34525 (__x86_64_shared_cache_size_half): Renamed to ...
34526 (__x86_shared_cache_size_half): This.
34527 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34528 (__x86_raw_shared_cache_size_half): This.
34529 * sysdeps/x86_64/memcpy.S: Updated.
34530 * sysdeps/x86_64/memset.S: Likewise.
34531 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34532 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34534
0b3986d0
DM
345352013-01-04 David S. Miller <davem@davemloft.net>
34536
34537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34538
e47686e9
AS
345392013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34540
d643bac1
AS
34541 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34542 1 to avoid redefinition warning.
34543 (__USE_GNU): Don't define.
34544 (init_signaling_nan): Protoize.
34545
e47686e9
AS
34546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34547
b18decba
SP
345482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34549
fffb407f
SP
34550 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34552 (__cpymn): Likewise.
34553 (norm): Remove commented code.
34554 (denorm): Likewise.
34555 (__mp_dbl): Likewise.
34556 (__inv): Likewise.
34557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34558 (__cpymn): Likewise.
34559 (norm): Remove commented code.
34560 (denorm): Likewise.
34561 (__mp_dbl): Likewise.
34562 (__inv): Likewise.
34563
b18decba
SP
34564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34565 mp_no value for 1.0 and 2.0.
34566 (norm): Use RADIXI instead of radixi.d.
34567 (denorm): Likewise.
34568 (__mul): Use 0.0 instead of zero.d.
34569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34570 mp_no value for 1.0 and 2.0.
34571 (norm): Use RADIXI instead of radixi.d.
34572 (denorm): Likewise.
34573 (__mul): Use 0.0 instead of zero.d.
34574
cdc1c96f
JM
345752013-01-04 Joseph Myers <joseph@codesourcery.com>
34576
34577 [BZ #14994]
34578 * math/s_casinh.c (__casinh): Reduce finite argument to first
34579 quadrant then set signs of results at the end.
34580 * math/s_casinhf.c (__casinhf): Likewise.
34581 * math/s_casinhl.c (__casinhl): Likewise.
34582 * math/libm-test.inc (casin_test): Add more tests.
34583 (casinh_test): Likewise.
34584 * sysdeps/i386/fpu/libm-test-ulps: Update.
34585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34586
302913e1
SP
345872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34588
6420d207
SP
34589 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34590
a9e48ab4
SP
34591 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34592
b7837264
SP
34593 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34594 declarations.
34595 (denorm): Likewise.
34596 (__mp_dbl): Likewise.
34597 (__inv): Likewise.
34598
f8af25d2
SP
34599 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34600 and adjust the header comment.
34601
302913e1
SP
34602 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34603 variable name from declaration.
34604
5d7dd1ca
L
346052013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34606
34607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34608 Initialize COMMON_CPUID_INDEX_7 element.
34609 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34610 (CPUID_RTM): Likewise.
34611 (HAS_RTM): Likewise.
34612 (COMMON_CPUID_INDEX_7): New enum.
34613
2f5f40f4
AS
346142013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34615
34616 [BZ #14981]
34617 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34618 size is zero, record memory as freed.
34619
4056f4a0
AJ
346202013-01-03 Andreas Jaeger <aj@suse.de>
34621
34622 * po/ia.po: Add new Interlingua translation.
34623
ab15736f 346242012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34625
34626 * locale/programs/localedef.c: Fix description of '--posix' flag.
34627
568035b7
JM
346282013-01-02 Joseph Myers <joseph@codesourcery.com>
34629
e6898b8d
JM
34630 * NEWS: Update dates in second copyright notice.
34631 * README: Update copyright dates in example.
34632 * manual/libc.texinfo: Update copyright dates.
34633 * scripts/test-installation.pl: Update copyright date in --version
34634 output.
34635
0e2f9562
JM
34636 * hurd/ctty-input.c: Fix copyright notice formatting.
34637 * hurd/ctty-output.c: Likewise.
34638 * hurd/dtable.c: Likewise.
34639 * hurd/hurd-raise.c: Likewise.
34640 * hurd/hurdprio.c: Likewise.
34641 * hurd/msgportdemux.c: Likewise.
34642 * misc/sys/file.h: Likewise.
34643 * misc/sys/ioctl.h: Likewise.
34644 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34645 * sysdeps/mach/hurd/chdir.c: Likewise.
34646 * sysdeps/mach/hurd/fchdir.c: Likewise.
34647 * sysdeps/mach/hurd/rename.c: Likewise.
34648 * sysdeps/mach/hurd/rmdir.c: Likewise.
34649 * sysdeps/mach/hurd/seekdir.c: Likewise.
34650 * sysdeps/mach/hurd/setsid.c: Likewise.
34651 * sysdeps/posix/wait3.c: Likewise.
34652
568035b7
JM
34653 * All files with FSF copyright notices: Update copyright dates
34654 using scripts/update-copyrights.
34655 * intl/plural.c: Regenerated.
34656 * locale/programs/charmap-kw.h: Likewise.
34657 * locale/programs/locfile-kw.h: Likewise.
34658
da08f647
SP
346592013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34660
0f5477af
SP
34661 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34662 four values.
34663
44e0d4c2
SP
34664 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34665 calculation loop and add branch prediction.
34666
4d55b4e5
SP
34667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34668 check access beyond bounds of m1np.
34669
da08f647
SP
34670 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34671 MPTWO.
34672 (__inv): Remove local variable MPTWO to use the global
34673 constant.
34674 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34675 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34676 variable MPTWO.
34677 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34678 MP3HALFS static const.
34679
8e051029
DM
346802013-01-01 David S. Miller <davem@davemloft.net>
34681
34682 * po/ca.po: Update from translation team.
34683
f4cf5f2d
JM
346842013-01-01 Joseph Myers <joseph@codesourcery.com>
34685
34686 * scripts/update-copyrights: New file.
34687 * Makeconfig: Reformat copyright notice.
34688 * ctype/ctype.h: Likewise.
34689 * debug/swprintf_chk.c: Likewise.
34690 * elf/dl-cache.c: Likewise.
34691 * elf/dl-debug.c: Likewise.
34692 * elf/dl-object.c: Likewise.
34693 * grp/initgroups.c: Likewise.
34694 * hurd/Makefile: Likewise.
34695 * hurd/hurd/signal.h: Likewise.
34696 * hurd/hurdfault.c: Likewise.
34697 * hurd/hurdioctl.c: Likewise.
34698 * hurd/hurdlookup.c: Likewise.
34699 * hurd/intr-msg.c: Likewise.
34700 * iconv/gconv_open.c: Likewise.
34701 * libio/swprintf.c: Likewise.
34702 * locale/lc-ctype.c: Likewise.
34703 * locale/nl_langinfo.c: Likewise.
34704 * mach/Machrules: Likewise.
34705 * mach/Makefile: Likewise.
34706 * malloc/obstack.h: Likewise.
34707 * manual/Makefile: Likewise.
34708 * manual/tsort.awk: Likewise.
34709 * misc/bits/stab.def: Likewise.
34710 * nis/nis_print_group_entry.c: Likewise.
34711 * nis/nis_table.c: Likewise.
34712 * nis/nss_compat/compat-pwd.c: Likewise.
34713 * nis/nss_compat/compat-spwd.c: Likewise.
34714 * po/Makefile: Likewise.
34715 * posix/fnmatch.c: Likewise.
34716 * posix/regex.h: Likewise.
34717 * resolv/Makefile: Likewise.
34718 * resolv/nss_dns/dns-network.c: Likewise.
34719 * resolv/res_hconf.c: Likewise.
34720 * scripts/gen-sorted.awk: Likewise.
34721 * soft-fp/soft-fp.h: Likewise.
34722 * stdio-common/printf.h: Likewise.
34723 * stdlib/monetary.h: Likewise.
34724 * stdlib/random.c: Likewise.
34725 * stdlib/random_r.c: Likewise.
34726 * sysdeps/generic/Makefile: Likewise.
34727 * sysdeps/gnu/Makefile: Likewise.
34728 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34729 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34730 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34732 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34738 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34739 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34740 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34741 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34742 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34743 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34744 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34746 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34748 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34749 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34750 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34751 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34752 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34753 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34754 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34755 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34756 * sysdeps/mach/hurd/errnos.awk: Likewise.
34757 * sysdeps/mach/hurd/fork.c: Likewise.
34758 * sysdeps/mach/hurd/getcwd.c: Likewise.
34759 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34760 * sysdeps/mach/hurd/mmap.c: Likewise.
34761 * sysdeps/mach/hurd/utimes.c: Likewise.
34762 * sysdeps/mach/hurd/xmknod.c: Likewise.
34763 * sysdeps/posix/profil.c: Likewise.
34764 * sysdeps/posix/readdir_r.c: Likewise.
34765 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34766 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34767 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34768 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34770 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34771 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34774 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34775 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34776 * sysdeps/pthread/lio_listio.c: Likewise.
34777 * sysdeps/sparc/dl-procinfo.h: Likewise.
34778 * sysdeps/unix/i386/sysdep.S: Likewise.
34779 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34780 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34781 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34782 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34784 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34785 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34786 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34787 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34788 * sysdeps/wordsize-32/divdi3.c: Likewise.
34789 * time/sys/time.h: Likewise.
34790 * wcsmbs/Makefile: Likewise.
34791
0549fbba
DM
347922013-01-01 David S. Miller <davem@davemloft.net>
34793
a141f1a7
DM
34794 * po/fr.po: Update from translation team.
34795
0549fbba
DM
34796 * catgets/gencat.c: Update copyright year.
34797 * csu/version.c: Likewise.
34798 * debug/catchsegv.sh: Likewise.
34799 * debug/pcprofiledump.c: Likewise.
34800 * debug/xtrace.sh: Likewise.
34801 * elf/ldconfig.c: Likewise.
34802 * elf/ldd.bash.in: Likewise.
34803 * elf/pldd.c: Likewise.
34804 * elf/sotruss.ksh: Likewise.
34805 * elf/sprof.c: Likewise.
34806 * iconv/iconv_prog.c: Likewise.
34807 * iconv/iconvconfig.c: Likewise.
34808 * locale/programs/locale.c: Likewise.
34809 * locale/programs/localedef.c: Likewise.
34810 * login/programs/pt_chown.c: Likewise.
34811 * malloc/memusage.sh: Likewise.
34812 * malloc/memusagestat.c: Likewise.
34813 * malloc/mtrace.pl: Likewise.
34814 * nscd/nscd.c: Likewise.
34815 * nss/getent.c: Likewise.
34816 * nss/makedb.c: Likewise.
34817 * posix/getconf.c: Likewise.
34818
18ea052c
SP
348192012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34820
34821 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34822 numbers.
34823
9c89fca6
MF
348242012-12-30 Mike Frysinger <vapier@gentoo.org>
34825
34826 * math/bits/mathcalls.h (modf): Use __nonnull.
34827
085ec079
SP
348282012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34829
34830 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34831 (split): Use macro CN instead of the bare value.
34832 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34833 could be used.
34834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34835 instead of the bare value.
34836 (power1): Likewise.
34837
6d9f97e1
SP
348382012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34839
d63f73be
SP
34840 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34841 __ATAN_TWOM.
34842 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34843
6d9f97e1
SP
34844 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34845 their values.
34846 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34847 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34848 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34849 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34850
4c4febf5
AJ
348512012-12-28 Andreas Jaeger <aj@suse.de>
34852
af5843ef
AJ
34853 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34854 values are from Linux 3.7.
34855
4c4febf5
AJ
34856 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34857 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34858
99136f82
SP
348592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34860
2f216c3c 34861 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34862 TRUE case.
34863
99136f82
SP
34864 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34865 (norm): Likewise.
34866 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34867 variables with preprocessor constants.
34868 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34869 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34870 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34871
7fffbdff
BH
348722012-12-27 Bruno Haible <bruno@clisp.org>
34873
34874 [BZ #14317]
34875 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34876 only if needed.
34877
b76eb5f0
SP
348782012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34879
31a7fe5c
SP
34880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34881 and use variable directly.
34882 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34883
b76eb5f0
SP
34884 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34885 MPONE.
34886 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34887 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34888 variable MPONE.
34889 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34891 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34892 include directive. Remove local variable MPONE.
34893 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34894 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34895 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34896
2c8bfe7d
DM
348972012-12-25 David S. Miller <davem@davemloft.net>
34898
34899 * version.h (RELEASE): Set to "development".
34900 (VERSION): Set to "2.17.90".
34901 * NEWS: Add 2.18 section.
34902
147d03b0
DM
349032012-12-21 David S. Miller <davem@davemloft.net>
34904
34905 * po/hr.po: Update from translation team.
34906
a8ebb2b9
AK
349072012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34908
34909 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34910
95b4f1b6
SE
349112012-12-19 Steve Ellcey <sellcey@mips.com>
34912
b2d94007 34913 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34914
cedb2a90
MS
349152012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34916
34917 * manual/contrib.texi (Contributors): Spelling correction.
34918
bbf527d6
DM
349192012-12-15 David S. Miller <davem@davemloft.net>
34920
34921 * po/ru.po: Update from translation team.
34922
bc38c906
DM
349232012-12-13 David S. Miller <davem@davemloft.net>
34924
85429b1a
DM
34925 * NEWS: Mention IFUNC testsuite enhancements.
34926
d283e353
DM
34927 * po/pl.po: Update from translation team.
34928 * po/bg.po: Likewise.
34929
bc38c906
DM
34930 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34931 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34932
a181b0d7
DM
349332012-12-11 David S. Miller <davem@davemloft.net>
34934
4641d57e
DM
34935 * po/sv.po: Update from translation team.
34936
f7bc6495
DM
34937 * po/vi.po: Update from translation team.
34938
6fc9048f
DM
34939 * po/cs.po: Update from translation team.
34940
a181b0d7
DM
34941 * po/de.po: Update from translation team.
34942 * po/eo.po: Likewise.
34943 * po/nl.po: Likewise.
34944
f70bfe80
SP
349452012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34946
3c8b4190
SP
34947 [BZ #14246]
34948 * manual/argp.texi (Argp Helper Functions): Move node to follow
34949 Argp Parsing State.
34950
f70bfe80
SP
34951 [BZ #14872]
34952 * manual/conf.texi (Limits on File System Capacity): Mention if
34953 terminating null is included in the max size.
34954
188f0adf
AJ
349552012-12-10 Andreas Jaeger <aj@suse.de>
34956
34957 * po/cs.po: Update from translation team.
34958
56e7d3ad
SP
349592012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34960
34961 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34962 void pointer and cast to uintptr_t.
34963 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34964 path.
34965 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34966 * sysdeps/s390/s390-64/memset.S: Likewise.
34967
76f2d2ea 349682012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34969
34970 [BZ #14833]
34971 * menual/message.texi (Message Translation): Fix typos.
34972 (Helper programs for gettext): Likewise.
34973
67cbf9a2
AS
349742012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34975
34976 [BZ #14898]
34977 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34978 Change to -1.
34979
682d0e9a
DM
349802012-12-07 David S. Miller <davem@davemloft.net>
34981
34982 * po/libc.pot: Update.
34983
573cd484
RH
349842012-12-07 Richard Henderson <rth@redhat.com>
34985
7e9da188 34986 [BZ #10114]
573cd484
RH
34987 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34988 normal/normal case to before the switch.
34989 (_FP_DIV): Likewise.
34990
e933a943
MF
349912012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34992 Mike Frysinger <vapier@gentoo.org>
34993
34994 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34995 check for __NR_fadvise64_64.
34996
82123268
CM
349972012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34998
34999 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35000 0, not just to plain "0" as a statement.
35001 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35002 with cw.
35003
d9814526
JM
350042012-12-06 Joseph Myers <joseph@codesourcery.com>
35005
35006 * NEWS: Use sourceware.org in Bugzilla URL.
35007
7728c574
SP
350082012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35009
f16946dd
SP
35010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35011 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35012
5704bbcb
SP
35013 * stdio-common/tst-put-error.c (do_test): Add newline to the
35014 padded test to ensure flush.
35015
17aa0516
JL
350162012-12-05 Jeff Law <law@redhat.com>
35017
35018 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35019
363313b5
JM
350202012-12-05 Joseph Myers <joseph@codesourcery.com>
35021
effbd42a
JM
35022 * README: Don't refer to ports add-on as distributed separately.
35023 Mention AArch64 in list of systems supported in the ports add-on.
35024
87600365
JM
35025 * LICENSES: Add more non-FSF copyright and license notices.
35026
a0d7066a
JM
35027 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35028 ((unused)).
35029
66ca5a5b
JM
35030 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35031
363313b5
JM
35032 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35033 10000 as width of padded output.
35034
b37984ad
JM
350352012-12-04 Joseph Myers <joseph@codesourcery.com>
35036
9003570a
JM
35037 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35038
b37984ad
JM
35039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35040 variable LX with __attribute__ ((unused)).
35041 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35042 Likewise.
35043 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35044 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35045 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35046 with __attribute__ ((unused)).
35047
c8df52ec
DM
350482012-12-04 David S. Miller <davem@abraco.davemloft.net>
35049
35050 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35051
b3b099af
JM
350522012-12-04 Joseph Myers <joseph@codesourcery.com>
35053
c33aa6e3
JM
35054 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35055 (CFLAGS-nldbl-acos.c): New variable.
35056 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35057 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35058 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35059 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35060 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35061 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35062 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35063 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35064 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35065 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35066 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35067 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35068 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35069 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35070 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35071 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35072 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35073 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35074 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35075 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35076 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35077 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35078 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35079 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35080 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35081 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35082 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35083 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35084 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35085 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35086 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35087 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35088 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35089 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35090 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35091 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35092 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35093 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35094 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35095 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35096 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35097 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35098 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35099 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35100 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35101 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35102 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35103 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35104 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35105 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35106 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35107 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35108 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35109 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35110 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35111 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35112 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35113 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35114 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35115 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35116 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35117 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35118 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35119 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35120 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35121 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35122 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35123 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35124 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35125 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35126 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35127 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35128 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35129 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35130 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35131 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35132 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35133 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35134 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35135 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35136 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35137 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35138 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35139 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35140 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35141 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35142 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35143 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35144 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35145 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35146 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35147 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35148 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35149 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35150 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35151 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35152 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35153
20f0018d
JM
35154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35155 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35156
b3b099af
JM
35157 [BZ #14914]
35158 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35159 whole low double instead of just low 47 bits when splitting values
35160 into two parts.
35161
029264d1
AM
351622012-12-03 Allan McRae <allan@archlinux.org>
35163
35164 * manual/stdio.texi (Predefined Printf Handlers): Remove
35165 @hsep and @vsep usage.
35166
c9d6789e
MF
351672012-12-03 Mike Frysinger <vapier@gentoo.org>
35168
35169 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35170 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35171
4b7634a5
JL
351722012-12-03 Jeff Law <law@redhat.com>
35173
35174 * time/sys/time.h (settimeofday): Do not mark TV argument
35175 as __nonnull.
35176
eb6cbd24
MF
351772012-12-01 Mike Frysinger <vapier@gentoo.org>
35178
35179 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35180 when currently writing and seek to current position when not.
35181 * libio/Makefile (tests): Remove bug-fclose1.
35182 * libio/bug-fclose1.c: Delete.
35183
f638872a
JM
351842012-12-01 Joseph Myers <joseph@codesourcery.com>
35185
35186 * manual/arith.texi (feenableexcept): Fix typo.
35187 (fedisableexcept): Likewise.
35188
48085d14
RM
351892012-11-30 Roland McGrath <roland@hack.frob.com>
35190
35191 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35192 second, differently-typed declaration, rather than a cast.
35193
1a538b9f
SP
351942012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35195
35196 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35197 * include/rpc/svc.h: ... here.
35198
d07f2ff1 351992012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35200
35201 [BZ #13013]
35202 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35203 depending n and resplen2 to catch cases where answer
35204 equals answerp2.
35205
c93ec1f0
CD
352062012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35207
35208 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35209 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35210
37db69de
MF
352112012-11-29 Mike Frysinger <vapier@gentoo.org>
35212
35213 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35214
e10c4e4f
RM
352152012-11-29 Roland McGrath <roland@hack.frob.com>
35216
35217 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35218
2af1b328
JL
352192012-11-28 Jeff Law <law@redhat.com>
35220
35221 [BZ #13761]
35222 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35223 dataset_temporary. Track alloca usage into alloca_used.
35224 If dataset is large allocate and release it via malloc/free.
35225
111db5b1
FW
352262012-06-04 Florian Weimer <fweimer@redhat.com>
35227
f06cc227 35228 [BZ #14197]
111db5b1
FW
35229 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35230
dd694abd
DM
352312012-11-28 David S. Miller <davem@davemloft.net>
35232
35233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35234
9984dd01
JM
352352012-11-28 Joseph Myers <joseph@codesourcery.com>
35236
35237 [BZ #14803]
35238 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35239 of pi/2 rounded to nearest to 64 bits.
35240 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35241 nearest to 64 bits.
35242 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35243 bits.
35244
14bc93a9
JL
352452012-11-28 Jeff Law <law@redhat.com>
35246 Martin Osvald <mosvald@redhat.com>
35247
35248 [BZ #14889]
35249 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35250 * sunrpc/svc.c: Include time.h.
35251 (__svc_accept_failed): New function.
35252 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35253 any reason other than EINTR, call __svc_accept_failed.
35254 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35255 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35256
e3c6aa3a
AS
352572012-11-28 Andreas Schwab <schwab@suse.de>
35258
35259 * scripts/abilist.awk: Also handle indirect functions in .opd
35260 section.
35261
1bead169
JM
352622012-11-28 Joseph Myers <joseph@codesourcery.com>
35263
35264 [BZ #13881]
35265 * sysdeps/x86/fpu/powl_helper.c: New file.
35266 * sysdeps/x86/fpu/Makefile: Likewise.
35267 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35268 (p3): New object.
35269 (__ieee754_powl): Use __powl_helper for finite arguments except
35270 integer exponents below 8.
35271 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35272 (p3): New object.
35273 (__ieee754_powl): Use __powl_helper for finite arguments except
35274 integer exponents below 8.
35275 * math/libm-test.inc (pow_test): Add more tests and enable some
35276 previously disabled tests.
35277 * sysdeps/i386/fpu/libm-test-ulps: Update.
35278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35279
0817d63d
SP
352802012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35281 Carlos O'Donell <carlos_odonell@mentor.com>
35282
35283 * nss/makedb.c (is_prime): Assert that input is odd and greater
35284 than 4. Note that fact in a comment too.
35285 (next_prime): Add 4 to input.
35286
de2fd463
SP
352872012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35288
35289 [BZ #11741]
35290 * libio/Makefile (tests): Add test case tst-fwrite-error.
35291 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35292 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35293 * libio/tst-fwrite-error.c: New test case.
35294
c515fb51
L
352952012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35296
35297 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35298 before casting to void *.
35299 * include/libc-internal.h (__pointer_type): New macro.
35300 (__integer_if_pointer_type_sub): Likewise.
35301 (__integer_if_pointer_type): Likewise.
35302 (cast_to_integer): Likewise.
35303 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35304 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35305 before casting to atomic64_t.
35306 (atomic_exchange_acq): Likewise.
35307 (__arch_exchange_and_add_body): Likewise.
35308 (__arch_add_body): Likewise.
35309 (atomic_add_negative): Likewise.
35310 (atomic_add_zero): Likewise.
35311
4cf77aa9
JM
353122012-11-26 Joseph Myers <joseph@codesourcery.com>
35313
35314 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35315 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35316 (add_fdes): Likewise.
35317 (linear_search_fdes): Likewise.
35318 (binary_search_unencoded_fdes): Likewise.
35319
d260b3b4
AS
353202012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35321
35322 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35323
67060746
AC
353242012-11-24 Adam Conrad <adconrad@0c3.net>
35325
35326 * configure.in: Autodetect C++ header directories.
35327 * configure: Regenerated.
35328
800938a1
MF
353292012-11-23 Mike Frysinger <vapier@gentoo.org>
35330
35331 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35332
4e6e34e6
AS
353332012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35334
35335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35336
7c7feb47
JM
353372012-11-22 Joseph Myers <joseph@codesourcery.com>
35338
7184dcdf
JM
35339 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35340 LDBL_MANT_DIG == 106]: Disable some tests.
35341 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35342 Likewise.
35343 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35344 Likewise.
35345
0a42601f
JM
35346 [BZ #14871]
35347 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35348 input for small inputs. Return +/- pi/2 for large inputs.
35349 * math/libm-test.inc (atan_test): Add more tests.
35350
79c9b9fe
JM
35351 * sysdeps/generic/unwind-dw2-fde-glibc.c
35352 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35353 __attribute__ ((unused)).
35354
c60d3bf2
JM
35355 [BZ #14645]
35356 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35357 x * y if x and y are nonzero and z is zero.
35358
ef1e0867
JM
35359 [BZ #14811]
35360 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35361 nonzero exponents with absolute value below 0x1p-117 to +/-
35362 0x1p-117.
35363
1468ded3
JM
35364 [BZ #14869]
35365 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35366 up arguments below 2**-450, not just those below 2**-500.
35367 * math/libm-test.inc (hypot_test): Add another test.
35368
8e27e3cc
JM
35369 [BZ #14868]
35370 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35371 Return a+b for ratio over 2**120, not 2**60.
35372 * math/libm-test.inc (hypot_test): Add another test.
35373
c9c0279b
JM
35374 * math/libm-test.inc (clog_test): Use
35375 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35376 (clog10_test): Likewise.
35377
7c7feb47
JM
35378 [BZ #6778]
35379 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35380
fff1530e
AS
353812012-11-22 Andreas Schwab <schwab@suse.de>
35382
35383 * sysdeps/i386/fpu/libm-test-ulps: Update.
35384
94558d30
PT
353852012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35386
35387 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35388 printf output with newline.
35389
7e1be741
L
353902012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35391
6bfea974
L
35392 [BZ #14865]
35393 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35394 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35395 -z nodlopen, -z initfirst and -z execstack support.
35396 * configure: Regenerated.
35397
7e1be741
L
35398 * elf/elf.h (DF_1_NODIRECT): New macro.
35399 (DF_1_IGNMULDEF): Likewise.
35400 (DF_1_NOKSYMS): Likewise.
35401 (DF_1_NOHDR): Likewise.
35402 (DF_1_EDITED): Likewise.
35403 (DF_1_NORELOC): Likewise.
35404 (DF_1_SYMINTPOSE): Likewise.
35405 (DF_1_GLOBAUDIT): Likewise.
35406 (DF_1_SINGLETON): Likewise.
35407 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35408 DT_1_SUPPORTED_MASK bits.
35409 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35410
105ce2ce
CD
354112012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35412
35413 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35414
123be9de
TS
354152012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35416
d072f3f7
TS
35417 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35418 macro.
35419
123be9de
TS
35420 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35421 (sendmmsg): Move declarations...
35422 * socket/sys/socket.h: ... here.
35423 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35424 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35425 include it from...
35426 * socket/recvmmsg.c: ... this new file.
35427 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35428 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35429 definition of __sendmmsg hidden.
35430 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35431 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35432 Move ENOSYS stub into and include it from...
35433 * socket/sendmmsg.c: ... this new file.
35434 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35435 (sysdep_routines): Move recvmmsg and sendmmsg...
35436 * socket/Makefile (routines): ... here.
35437 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35438 (GLIBC_PRIVATE): Add __sendmmsg.
35439 * include/sys/socket.h (__sendmmsg): Add declarations.
35440 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35441 sendmmsg.
35442
cf9a5d18
JM
354432012-11-20 Joseph Myers <joseph@codesourcery.com>
35444
35445 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35446 variable I1 with __attribute__ ((unused)).
35447 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35448
ecd4caf9
JM
354492012-11-19 Joseph Myers <joseph@codesourcery.com>
35450
be14d48f
JM
35451 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35452 DUMMY variables with __attribute__ ((unused)).
35453
ecd4caf9
JM
35454 * bits/byteswap.h: Include <bits/types.h>.
35455 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35456
986cab95
PT
354572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35458
35459 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35460 string_t. Do not manually set errno.
35461 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35462 length with __strnlen. Make sure to both set errno and return it on
35463 failure.
35464
6d33cc9d
DM
354652012-11-19 David S. Miller <davem@davemloft.net>
35466
35467 With help from Joseph Myers.
35468 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35469 very large arguments properly.
35470 * math/libm-test.inc (atan_test): New tests.
35471 (atan2_test): New tests.
35472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35474
ee663277
JM
354752012-11-19 Joseph Myers <joseph@codesourcery.com>
35476
877f2d8e
JM
35477 [BZ #14856]
35478 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35479 Define to 3.
35480
116fc08a
JM
35481 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35482 [POSIX] (EADDRNOTAVAIL): Likewise.
35483 [POSIX] (EAFNOSUPPORT): Likewise.
35484 [POSIX] (EALREADY): Likewise.
35485 [POSIX] (ECONNABORTED): Likewise.
35486 [POSIX] (ECONNREFUSED): Likewise.
35487 [POSIX] (ECONNRESET): Likewise.
35488 [POSIX] (EDESTADDRREQ): Likewise.
35489 [POSIX] (EDQUOT): Likewise.
35490 [POSIX] (EHOSTUNREACH): Likewise.
35491 [POSIX] (EIDRM): Likewise.
35492 [POSIX] (EISCONN): Likewise.
35493 [POSIX] (ELOOP): Likewise.
35494 [POSIX] (EMULTIHOP): Likewise.
35495 [POSIX] (ENETDOWN): Likewise.
35496 [POSIX] (ENETUNREACH): Likewise.
35497 [POSIX] (ENOBUFS): Likewise.
35498 [POSIX] (ENODATA): Likewise.
35499 [POSIX] (ENOLINK): Likewise.
35500 [POSIX] (ENOMSG): Likewise.
35501 [POSIX] (ENOPROTOOPT): Likewise.
35502 [POSIX] (ENOSR): Likewise.
35503 [POSIX] (ENOSTR): Likewise.
35504 [POSIX] (ENOTCONN): Likewise.
35505 [POSIX] (ENOTSOCK): Likewise.
35506 [POSIX] (EOPNOTSUPP): Likewise.
35507 [POSIX] (EOVERFLOW): Likewise.
35508 [POSIX] (EPROTO): Likewise.
35509 [POSIX] (EPROTONOSUPPORT): Likewise.
35510 [POSIX] (EPROTOTYPE): Likewise.
35511 [POSIX] (ESTALE): Likewise.
35512 [POSIX] (ETIME): Likewise.
35513 [POSIX] (ETXTBSY): Likewise.
35514 [POSIX] (EWOULDBLOCK): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35516 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35517 [POSIX] (SEEK_CUR): Likewise.
35518 [POSIX] (SEEK_END): Likewise.
35519 [POSIX || UNIX98] (mode_t): Do not require.
35520 [POSIX] (off_t): Likewise.
35521 [POSIX] (pid_t): Likewise.
35522 [POSIX] (sys/stat.h): Do not allow header.
35523 [POSIX] (unistd.h): Likewise.
35524 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35525 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35526 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35527 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35528 require.
35529 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35530 sigevent): Specify elements.
35531 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35532 entry.
35533 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35534 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35535
a483863f
JM
35536 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35537 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35538 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35539 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35540 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35541 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35542 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35543 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35545 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35546 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35547 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35548 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35550 Likewise.
35551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35552 Likewise.
35553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35554 Likewise.
35555 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35556 Likewise.
35557 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35558 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35559 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35560 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35561 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35562 Specify lower bound on value.
35563 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35564 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35565 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35566 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35567 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35569 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35570 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35571 value.
35572 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35573 as optional.
35574 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35575 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35576 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35577 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35578 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35579 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35580 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35581 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35582 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35583 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35584 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35585 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35586 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35587 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35588 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35589 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35590 entry.
35591 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35592 optional.
35593 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35594 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35595 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35596 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35597 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35598 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35599 Likewise.
35600 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35601 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35602 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35603 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35604 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35605 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35606 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35607 as optional.
35608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35609 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35610 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35611 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35612 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35613 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35614 specify as optional.
35615 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35617 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35618 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35619 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35620 [XPG3] (NL_LANGMAX): Likewise.
35621 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35622 [POSIX || XPG3] (NL_NMAX): Likewise.
35623 [POSIX || XPG3] (NL_SETMAX): Likewise.
35624 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35625 [XPG3] (NZERO): Likewise.
35626 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35627 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35628 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35629 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35630 (REG_ERANGE): Expect.
35631 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35632 optional-constant.
35633 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35634 Use (void) in prototype.
35635 [POSIX] (*_t): Allow.
35636 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35637 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35638 (WRDE_BADVAL): Expect.
35639
5ba924e3
JM
35640 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35641 expect.
35642 [XPG3 || XPG4] (O_RSYNC): Likewise.
35643 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35644 Likewise.
35645 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35646 [XPG3 || XPG4] (sigqueue): Likewise.
35647 [XPG3 || XPG4] (sigtimedwait): Likewise.
35648 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35649 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35650 [XPG3 || XPG4] (vsnprintf): Likewise.
35651 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35652 Likewise.
35653 [XPG3 || XPG4] (blksize_t): Likewise.
35654 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35655 Likewise.
35656 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35657 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35658 [XPG3 || XPG4] (struct itimerspec): Likewise.
35659 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35660 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35661 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35662 [XPG3 || XPG4] (clockid_t): Likewise.
35663 [XPG3 || XPG4] (timer_t): Likewise.
35664 [XPG3 || XPG4] (clock_getres): Likewise.
35665 [XPG3 || XPG4] (clock_gettime): Likewise.
35666 [XPG3 || XPG4] (clock_settime): Likewise.
35667 [XPG3 || XPG4] (nanosleep): Likewise.
35668 [XPG3 || XPG4] (timer_create): Likewise.
35669 [XPG3 || XPG4] (timer_delete): Likewise.
35670 [XPG3 || XPG4] (timer_gettime): Likewise.
35671 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35672 [XPG3 || XPG4] (timer_settime): Likewise.
35673 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35674 [XPG3 || XPG4] (getlogin_r): Likewise.
35675 [XPG3 || XPG4] (pread): Likewise.
35676 [XPG3 || XPG4] (pthread_atfork): Likewise.
35677 [XPG3 || XPG4] (pwrite): Likewise.
35678
ee663277
JM
35679 [BZ #14835]
35680 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35681 <bits/siginfo.h>.
35682
942caa16
PT
356832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35684
e19af380
PT
35685 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35686 finalizing MALLSTREAM.
35687
942caa16
PT
35688 * sysdeps/mach/hurd/syncfs.c: New file.
35689
cfde9b46
SP
356902012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35691
35692 [BZ #14719]
35693 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35694 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35695 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35696 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35697 (_nss_dns_gethostbyname4_r): Likewise.
35698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35699 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35700
f6da27e5
PH
357012012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35702
35703 [BZ #13763]
35704 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35705
6665d4a2
SM
357062012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35707
1f51ee92
SM
35708 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35709 * elf/cache.c (print_entry): Print ",AArch64" for
35710 FLAG_AARCH64_LIB64
35711
6665d4a2
SM
35712 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35713 * elf/cache.c (print_entry): Print ",hard-float" for
35714 FLAG_ARM_LIBHF.
35715
05b227bd
DM
357162012-11-18 David S. Miller <davem@davemloft.net>
35717
35718 With help from Joseph Myers.
35719 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35720 cutoff to 2**-13.
35721 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35722 cutoff to 2**-25.
35723 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35724 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35725 small.
35726 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35727 * math/libm-test.inc (y0_test): New tests.
35728 (y1_test): New tests.
35729 * sysdeps/i386/fpu/libm-test-ulps: Update.
35730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35732
786b0b67
AS
357332012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35734
35735 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35736 64-bit targets.
35737 * configure: Regenerated.
35738
8e18b86d
DM
357392012-11-17 David S. Miller <davem@davemloft.net>
35740
35741 [BZ #14811]
35742 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35743 nonzero exponents with absolute value below 0x1p-128 to +/-
35744 0x1p-128.
35745
531f1ae0
JM
357462012-11-17 Joseph Myers <joseph@codesourcery.com>
35747
12df29e2
JM
35748 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35749
150dc1a0
JM
35750 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35751
531f1ae0
JM
35752 * posix/getconf-speclist.c: New file.
35753 * posix/posix-envs.def: Likewise.
35754 * posix/confstr.c (START_ENV_GROUP): New macro.
35755 (END_ENV_GROUP): Likewise.
35756 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35757 (KNOWN_PRESENT_ENV_STRING): Likewise.
35758 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35759 (UNKNOWN_ENVIRONMENT): Likewise.
35760 (confstr): Include posix-envs.def instead of handling
35761 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35762 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35763 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35764 (END_ENV_GROUP): Likewise.
35765 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35766 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35767 (UNKNOWN_ENVIRONMENT): Likewise.
35768 (__sysconf): Include posix-envs.def instead of handling associated
35769 cases directly here.
35770 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35771 preprocessing getconf-speclist.c rather than running getconf or
35772 generating empty file.
35773
a93f9cbc
PT
357742012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35775
35776 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35777
d64d9f87
AL
357782012-11-16 Andrej Lajovic <natrij@gmail.com>
35779
35780 [BZ #14672]
35781 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35782
447885eb
DM
357832012-11-16 David S. Miller <davem@davemloft.net>
35784
35785 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35786 smaller than LDBL_EPSILON/2.0L, just return xm1.
35787
bcbf9830
L
357882012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35789
35790 * elf/tst-array1.c (init): Set constructor priority to 1000.
35791 (fini): Set destructor priority to 1000.
35792 * elf/tst-array2dep.c: Likewise.
35793
2b766585
SP
357942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35795
35796 [BZ #11741]
35797 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35798 (_IO_new_file_xsputn): Also return EOF if none of the input
35799 data was written when overflow failed.
35800 * libio/iopadn.c (_IO_padn): Likewise.
35801 * libio/iowpadn.c (_IO_wpadn): Likewise.
35802 * stdio-common/tst-put-error.c: Add copyright notice.
35803 (do_test): Add case for printing padded string.
35804 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35805 _IO_padn returned error.
35806 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35807 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35808 return EOF.
35809
b1848fde
SP
358102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35811
35812 * libio/libioP.h: Add comment note that the references to C++
35813 bits are now obsolete.
35814
2fd89785
MS
358152012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35816
35817 * math/libm-test.inc (check_complex): Use asprintf.
35818
e3ea5409
JM
358192012-11-14 Joseph Myers <joseph@codesourcery.com>
35820
35821 * debug/pcprofiledump.c (print_version): Update copyright year.
35822 * malloc/memusagestat.c (print_version): Likewise.
35823
2e64d265
L
358242012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35825
35826 [BZ #14831]
35827 * elf/Makefile (tests): Add tst-audit8.
35828 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35829 ($(objpfx)tst-audit8.out): New target.
35830 (tst-audit8-ENV): New variable.
35831 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35832 audit if l_reloc_result is NULL.
35833 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35834 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35835 * elf/tst-audit8.c: New file.
35836
c485e4d2
MS
358372012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35838
35839 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35840 * misc/Makefile (CFLAGS-select.c): Define.
35841 * posix/Makefile (CFLAGS-pause.c): Define.
35842
3a0d900a
DM
358432012-11-13 David S. Miller <davem@davemloft.net>
35844
35845 * crypt/Makefile: Move test targets after toplevel Rules
35846 inclusion. Grab any necessary sysdep routines when linking.
35847 * crypt/md5.c (md5_process_block): Remove define, we will always
35848 name it __md5_process_block.
35849 (md5_finish_ctx): Update md5_process_block call.
35850 (md5_stream): Likewise.
35851 (md5_process_bytes): Likewise.
35852 (md5_process_block): Rename to __md5_process_block and move to ...
35853 * crypt/md5-block.c: ... here.
35854 * crypt/sha256.c (sha256_process_block): Move to ...
35855 * crypt/sha256-block.c: ... here.
35856 * crypt/sha512.c (sha512_process_block): Move to ...
35857 * crypt/sha512-block.c: ... here.
35858 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35859 path.
35860 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35861 * sysdeps/sparc/sparc64/multiarch/Makefile
35862 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35863 crypt subdir.
35864 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35865 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35866 multiarch changes.
35867 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35868 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35869 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35870 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35871 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35872 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35873 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35874 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35875 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35876 file.
35877 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35879 file.
35880 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35881
8ca89318
JM
358822012-11-13 Joseph Myers <joseph@codesourcery.com>
35883
e27d476a
JM
35884 * timezone/tzselect.ksh: Update from tzcode git revision
35885 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35886 * timezone/zdump.c: Likewise.
35887 * timezone/zic.c: Likewise.
35888 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35889 in TZVERSION setting, not $(PKGVERSION).
35890 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35891 REPORT_BUGS_TO settings.
35892
8ca89318
JM
35893 [BZ #14838]
35894 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35895 macro.
35896
47594329
MS
358972012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35898
35899 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35900 detection to immediately after _FP_ROUND().
35901 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35902 bits are 0.
35903
640ac3f1
DM
359042012-11-11 David S. Miller <davem@davemloft.net>
35905
35906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35907 inttypes.h
35908 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35909 __close rather than their public counterparts.
35910
3d2577bb
JM
359112012-11-10 Joseph Myers <joseph@codesourcery.com>
35912
35913 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35914 file.
35915 [UNIX98] (sem_timedwait): Do not expect.
35916 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35917 [XPG4 || UNIX98] (sockatmark): Do not expect.
35918 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35919 (clock_getcpuclockid): Do not expect.
35920 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35921 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35922 Do not expect.
35923 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35924 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35925 [UNIX98] (vwscanf): Likewise.
35926 [UNIX98] (vswscanf): Likewise.
35927
fb1ae1ee
JM
359282012-11-09 Joseph Myers <joseph@codesourcery.com>
35929
9ec6f8bd
JM
35930 * timezone/version.h: Remove file.
35931 * timezone/README: Do not refer to version.h.
35932 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35933 $(objpfx)version.h.
35934 ($(objpfx)zdump.o): Likewise.
c3f81911 35935 ($(objpfx)version.h): New target.
9ec6f8bd 35936
0aa8f8a1
JM
35937 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35938 2012i.
35939 * timezone/README: Don't mention modification to tzselect.ksh.
35940 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35941 work on unmodified tzselect.ksh. Substitute version numbers in
35942 tzselect.ksh.
35943
4e87147f
JM
35944 * Makefile (format-me): Remove.
35945 (INSTALL): Adjust indentation. Use commands directly instead of
35946 using $(format-me).
35947
8b748aed
JM
35948 * aclocal.m4 (ACX_PKGVERSION): New macro.
35949 (ACX_BUGURL): Likewise.
35950 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35951 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35952 (REPORT_BUGS_TO): Likewise.
35953 * configure: Regenerated.
35954 * config.h.in (PKGVERSION): New macro.
35955 (REPORT_BUGS_TO): Likewise.
35956 * config.make.in (PKGVERSION): New variable.
35957 (PKGVERSION_TEXI): Likewise.
35958 (REPORT_BUGS_TO): Likewise.
35959 (REPORT_BUGS_TEXI): Likewise.
35960 * Makefile (format-me): Use -I$(common-objpfx)manual.
35961 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35962 ($(common-objpfx)manual/%): New target.
35963 (manual/%): Remove target.
35964 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35965 (print_version): Use PKGVERSION.
35966 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35967 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35968 and REPORT_BUGS_TO.
35969 ($(objpfx)xtrace): Likewise.
35970 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35971 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35972 (print_version): Use PKGVERSION.
35973 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35974 (do_version): Use PKGVERSION.
35975 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35976 REPORT_BUGS_TO.
35977 (common-ldd-rewrite): Likewise.
35978 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35979 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35980 (print_version): Use PKGVERSION.
35981 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35982 * elf/pldd.c (argp_program_bug_address): Remove variable.
35983 (more_help): New function.
35984 (argp): Use more_help.
35985 (print_version): Use PKGVERSION.
35986 * elf/sln.c (main): Use PKGVERSION.
35987 (usage): Use REPORT_BUGS_TO.
35988 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35989 (top level): Use PKGVERSION.
35990 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35991 (print_version): Use PKGVERSION.
35992 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35993 (print_version): Use PKGVERSION.
35994 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35995 (print_version): Use PKGVERSION.
35996 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35997 (print_version): Use PKGVERSION.
35998 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35999 (print_version): Use PKGVERSION.
36000 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36001 (print_version): Use PKGVERSION.
36002 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36003 and BUGURL.
36004 ($(objpfx)memusage): Likewise.
36005 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36006 (do_version): Use PKGVERSION.
36007 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36008 (print_version): Use PKGVERSION.
36009 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36010 ($PKGVERSION): New variable.
36011 ($REPORT_BUGS_TO): Likewise.
36012 (usage): Use $REPORT_BUGS_TO.
36013 (top level): Use $PKGVERSION.
36014 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36015 ($(objpfx)pkgvers.texi): New rule.
36016 ($(objpfx)stamp-pkgvers): Likewise.
36017 * manual/install.texi: Include pkgvers.texi.
36018 (--with-pkgversion): Document new configure option.
36019 (--with-bugurl): Likewise.
36020 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36021 than necessarily for this particular distribution. Use
36022 REPORT_BUGS_TO for where to report bugs.
36023 * INSTALL: Regenerated.
36024 * manual/libc.texinfo: Include pkgvers.texi.
36025 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36026 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36027 (print_version): Use PKGVERSION.
36028 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36029 (print_version): Use PKGVERSION.
36030 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36031 (print_version): Use PKGVERSION.
36032 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36033 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36034 macro.
36035 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36036 (print_version): Use PKGVERSION.
36037 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36038 (print_version): Use PKGVERSION.
36039 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36040 and PKGVERSION.
36041
92e4b6a9
JM
36042 * timezone/checktab.awk: Update from tzcode 2012i.
36043 * timezone/ialloc.c: Likewise.
36044 * timezone/private.h: Likewise.
36045 * timezone/scheck.c: Likewise.
36046 * timezone/tzfile.h: Likewise.
36047 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36048 (TZVERSION): Hardcode tzcode version number.
36049 * timezone/zdump.c: Update from tzcode 2012i.
36050 * timezone/zic.c: Likewise.
36051 * timezone/version.h: New file.
36052 * timezone/README: Describe version.h. Update upstream location.
36053
9bde902c
JM
36054 [BZ #14824]
36055 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36056 (mktemp): Enable declaration.
36057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36061 Likewise.
36062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36063 Likewise.
36064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36065 Likewise.
36066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36067 Likewise.
36068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36069 Likewise.
36070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36071 Likewise.
36072
fb1ae1ee
JM
36073 [BZ #14821]
36074 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36075 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36076 for copies of such integer values.
36077 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36078 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36079
2c1adbcb
AJ
360802012-11-09 Andreas Jaeger <aj@suse.de>
36081
36082 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36083 definitions and declarations that are provided by
36084 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36085
d0f8457e
AK
360862012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36087
3a235abb 36088 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36089 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36090 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36091 definition.
36092
57241e26
MS
360932012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36094
36095 * elf/elf.h: Update comment before AArch64 relocations.
36096
60e8270d
DM
360972012-11-07 David S. Miller <davem@davemloft.net>
36098
36099 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36100 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36101 (__start_context): Declare.
36102 (__makecontext_ret): Delete.
36103 (__makecontext): Hook up __start_context instead of
36104 __makecontext_ret.
36105 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36106 (sysdep_routines): Add __start_context when in stdlib.
36107
0fbb0fbc
JM
361082012-11-07 Joseph Myers <joseph@codesourcery.com>
36109
36110 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36111 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36112 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36113 hardcoded "nm".
36114 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36115 (READELF): New variable. Use it instead of hardcoded "readelf".
36116
eb48db7e
L
361172012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36118
36119 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36120 * sysdeps/x86/Makefile: Here.
36121 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36122 * sysdeps/x86/tst-xmmymm.sh: This.
36123
05bcf62a
JM
361242012-11-07 Joseph Myers <joseph@codesourcery.com>
36125
c4b6cf53
JM
36126 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36127 expectations.
36128 [UNIX98] (pthread_barrier_t): Do not expect.
36129 [UNIX98] (pthread_barrierattr_t): Likewise.
36130 [UNIX98] (pthread_spinlock_t): Likewise.
36131 [UNIX98] (pthread_barrier_destroy): Likewise.
36132 [UNIX98] (pthread_barrier_init): Likewise.
36133 [UNIX98] (pthread_barrier_wait): Likewise.
36134 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36135 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36136 [UNIX98] (pthread_barrierattr_init): Likewise.
36137 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36138 [UNIX98] (pthread_getcpuclockid): Likewise.
36139 [UNIX98] (pthread_mutex_timedlock): Likewise.
36140 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36141 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36142 [UNIX98] (pthread_sigmask): Likewise.
36143 [UNIX98] (pthread_spin_destroy): Likewise.
36144 [UNIX98] (pthread_spin_init): Likewise.
36145 [UNIX98] (pthread_spin_lock): Likewise.
36146 [UNIX98] (pthread_spin_trylock): Likewise.
36147 [UNIX98] (pthread_spin_unlock): Likewise.
36148 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36149 Do not expect.
36150 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36151 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36152 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36153 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36154 [XPG3 || XPG4] (pthread_key_t): Likewise.
36155 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36156 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36157 [XPG3 || XPG4] (pthread_once_t): Likewise.
36158 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36159 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36160 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36161 [XPG3 || XPG4] (pthread_t): Likewise.
36162
cbe6e120
JM
36163 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36164 not expect.
36165 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36166
1b126443
JM
36167 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36168 Change function return type to int.
36169
b961a573
JM
36170 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36171 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36172 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36173 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36174 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36175 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36176 [!POSIX] (posix_madvise): Likewise.
36177 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36178 && !UNIX98].
36179 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36180 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36181 (mode_t): Likewise.
36182 (posix_mem_offset): Likewise.
36183 (posix_typed_mem_get_info): Likewise.
36184 (posix_typed_mem_open): Likewise.
36185
9e188909
JM
36186 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36187 Change condition to [XOPEN2K8].
36188
05bcf62a
JM
36189 * conform/conformtest.pl: Preprocess allow-header data with -x c
36190 instead of from stdin.
36191 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36192 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36193 [C99-based standards] (cerfc): Likewise.
36194 [C99-based standards] (cexp2): Likewise.
36195 [C99-based standards] (cexpm1): Likewise.
36196 [C99-based standards] (clog10): Likewise.
36197 [C99-based standards] (clog1p): Likewise.
36198 [C99-based standards] (clog2): Likewise.
36199 [C99-based standards] (clgamma): Likewise.
36200 [C99-based standards] (ctgamma): Likewise.
36201 [C99-based standards] (cerff): Likewise.
36202 [C99-based standards] (cerfcf): Likewise.
36203 [C99-based standards] (cexp2f): Likewise.
36204 [C99-based standards] (cexpm1f): Likewise.
36205 [C99-based standards] (clog10f): Likewise.
36206 [C99-based standards] (clog1pf): Likewise.
36207 [C99-based standards] (clog2f): Likewise.
36208 [C99-based standards] (clgammaf): Likewise.
36209 [C99-based standards] (ctgammaf): Likewise.
36210 [C99-based standards] (cerfl): Likewise.
36211 [C99-based standards] (cerfcl): Likewise.
36212 [C99-based standards] (cexp2l): Likewise.
36213 [C99-based standards] (cexpm1l): Likewise.
36214 [C99-based standards] (clog10l): Likewise.
36215 [C99-based standards] (clog1pl): Likewise.
36216 [C99-based standards] (clog2l): Likewise.
36217 [C99-based standards] (clgammal): Likewise.
36218 [C99-based standards] (ctgammal): Likewise.
36219 * conform/data/inttypes.h-data [C99-based standards]: Include
36220 stdint.h-data. Remove all expectations for stdint.h contents.
36221 [C99-based standards] (PRI*): Do not allow.
36222 [C99-based standards] (SCN*): Likewise.
36223 [C99-based standards] (*_t): Likewise.
36224 [C99-based-standards] (PRId8): Expect macro.
36225 [C99-based-standards] (PRIi8): Likewise.
36226 [C99-based-standards] (PRIo8): Likewise.
36227 [C99-based-standards] (PRIu8): Likewise.
36228 [C99-based-standards] (PRIx8): Likewise.
36229 [C99-based-standards] (PRIX8): Likewise.
36230 [C99-based-standards] (SCNd8): Likewise.
36231 [C99-based-standards] (SCNi8): Likewise.
36232 [C99-based-standards] (SCNo8): Likewise.
36233 [C99-based-standards] (SCNu8): Likewise.
36234 [C99-based-standards] (SCNx8): Likewise.
36235 [C99-based-standards] (PRIdLEAST8): Likewise.
36236 [C99-based-standards] (PRIiLEAST8): Likewise.
36237 [C99-based-standards] (PRIoLEAST8): Likewise.
36238 [C99-based-standards] (PRIuLEAST8): Likewise.
36239 [C99-based-standards] (PRIxLEAST8): Likewise.
36240 [C99-based-standards] (PRIXLEAST8): Likewise.
36241 [C99-based-standards] (SCNdLEAST8): Likewise.
36242 [C99-based-standards] (SCNiLEAST8): Likewise.
36243 [C99-based-standards] (SCNoLEAST8): Likewise.
36244 [C99-based-standards] (SCNuLEAST8): Likewise.
36245 [C99-based-standards] (SCNxLEAST8): Likewise.
36246 [C99-based-standards] (PRIdFAST8): Likewise.
36247 [C99-based-standards] (PRIiFAST8): Likewise.
36248 [C99-based-standards] (PRIoFAST8): Likewise.
36249 [C99-based-standards] (PRIuFAST8): Likewise.
36250 [C99-based-standards] (PRIxFAST8): Likewise.
36251 [C99-based-standards] (PRIXFAST8): Likewise.
36252 [C99-based-standards] (SCNdFAST8): Likewise.
36253 [C99-based-standards] (SCNiFAST8): Likewise.
36254 [C99-based-standards] (SCNoFAST8): Likewise.
36255 [C99-based-standards] (SCNuFAST8): Likewise.
36256 [C99-based-standards] (SCNxFAST8): Likewise.
36257 [C99-based-standards] (PRId16): Likewise.
36258 [C99-based-standards] (PRIi16): Likewise.
36259 [C99-based-standards] (PRIo16): Likewise.
36260 [C99-based-standards] (PRIu16): Likewise.
36261 [C99-based-standards] (PRIx16): Likewise.
36262 [C99-based-standards] (PRIX16): Likewise.
36263 [C99-based-standards] (SCNd16): Likewise.
36264 [C99-based-standards] (SCNi16): Likewise.
36265 [C99-based-standards] (SCNo16): Likewise.
36266 [C99-based-standards] (SCNu16): Likewise.
36267 [C99-based-standards] (SCNx16): Likewise.
36268 [C99-based-standards] (PRIdLEAST16): Likewise.
36269 [C99-based-standards] (PRIiLEAST16): Likewise.
36270 [C99-based-standards] (PRIoLEAST16): Likewise.
36271 [C99-based-standards] (PRIuLEAST16): Likewise.
36272 [C99-based-standards] (PRIxLEAST16): Likewise.
36273 [C99-based-standards] (PRIXLEAST16): Likewise.
36274 [C99-based-standards] (SCNdLEAST16): Likewise.
36275 [C99-based-standards] (SCNiLEAST16): Likewise.
36276 [C99-based-standards] (SCNoLEAST16): Likewise.
36277 [C99-based-standards] (SCNuLEAST16): Likewise.
36278 [C99-based-standards] (SCNxLEAST16): Likewise.
36279 [C99-based-standards] (PRIdFAST16): Likewise.
36280 [C99-based-standards] (PRIiFAST16): Likewise.
36281 [C99-based-standards] (PRIoFAST16): Likewise.
36282 [C99-based-standards] (PRIuFAST16): Likewise.
36283 [C99-based-standards] (PRIxFAST16): Likewise.
36284 [C99-based-standards] (PRIXFAST16): Likewise.
36285 [C99-based-standards] (SCNdFAST16): Likewise.
36286 [C99-based-standards] (SCNiFAST16): Likewise.
36287 [C99-based-standards] (SCNoFAST16): Likewise.
36288 [C99-based-standards] (SCNuFAST16): Likewise.
36289 [C99-based-standards] (SCNxFAST16): Likewise.
36290 [C99-based-standards] (PRId32): Likewise.
36291 [C99-based-standards] (PRIi32): Likewise.
36292 [C99-based-standards] (PRIo32): Likewise.
36293 [C99-based-standards] (PRIu32): Likewise.
36294 [C99-based-standards] (PRIx32): Likewise.
36295 [C99-based-standards] (PRIX32): Likewise.
36296 [C99-based-standards] (SCNd32): Likewise.
36297 [C99-based-standards] (SCNi32): Likewise.
36298 [C99-based-standards] (SCNo32): Likewise.
36299 [C99-based-standards] (SCNu32): Likewise.
36300 [C99-based-standards] (SCNx32): Likewise.
36301 [C99-based-standards] (PRIdLEAST32): Likewise.
36302 [C99-based-standards] (PRIiLEAST32): Likewise.
36303 [C99-based-standards] (PRIoLEAST32): Likewise.
36304 [C99-based-standards] (PRIuLEAST32): Likewise.
36305 [C99-based-standards] (PRIxLEAST32): Likewise.
36306 [C99-based-standards] (PRIXLEAST32): Likewise.
36307 [C99-based-standards] (SCNdLEAST32): Likewise.
36308 [C99-based-standards] (SCNiLEAST32): Likewise.
36309 [C99-based-standards] (SCNoLEAST32): Likewise.
36310 [C99-based-standards] (SCNuLEAST32): Likewise.
36311 [C99-based-standards] (SCNxLEAST32): Likewise.
36312 [C99-based-standards] (PRIdFAST32): Likewise.
36313 [C99-based-standards] (PRIiFAST32): Likewise.
36314 [C99-based-standards] (PRIoFAST32): Likewise.
36315 [C99-based-standards] (PRIuFAST32): Likewise.
36316 [C99-based-standards] (PRIxFAST32): Likewise.
36317 [C99-based-standards] (PRIXFAST32): Likewise.
36318 [C99-based-standards] (SCNdFAST32): Likewise.
36319 [C99-based-standards] (SCNiFAST32): Likewise.
36320 [C99-based-standards] (SCNoFAST32): Likewise.
36321 [C99-based-standards] (SCNuFAST32): Likewise.
36322 [C99-based-standards] (SCNxFAST32): Likewise.
36323 [C99-based-standards] (PRId64): Likewise.
36324 [C99-based-standards] (PRIi64): Likewise.
36325 [C99-based-standards] (PRIo64): Likewise.
36326 [C99-based-standards] (PRIu64): Likewise.
36327 [C99-based-standards] (PRIx64): Likewise.
36328 [C99-based-standards] (PRIX64): Likewise.
36329 [C99-based-standards] (SCNd64): Likewise.
36330 [C99-based-standards] (SCNi64): Likewise.
36331 [C99-based-standards] (SCNo64): Likewise.
36332 [C99-based-standards] (SCNu64): Likewise.
36333 [C99-based-standards] (SCNx64): Likewise.
36334 [C99-based-standards] (PRIdLEAST64): Likewise.
36335 [C99-based-standards] (PRIiLEAST64): Likewise.
36336 [C99-based-standards] (PRIoLEAST64): Likewise.
36337 [C99-based-standards] (PRIuLEAST64): Likewise.
36338 [C99-based-standards] (PRIxLEAST64): Likewise.
36339 [C99-based-standards] (PRIXLEAST64): Likewise.
36340 [C99-based-standards] (SCNdLEAST64): Likewise.
36341 [C99-based-standards] (SCNiLEAST64): Likewise.
36342 [C99-based-standards] (SCNoLEAST64): Likewise.
36343 [C99-based-standards] (SCNuLEAST64): Likewise.
36344 [C99-based-standards] (SCNxLEAST64): Likewise.
36345 [C99-based-standards] (PRIdFAST64): Likewise.
36346 [C99-based-standards] (PRIiFAST64): Likewise.
36347 [C99-based-standards] (PRIoFAST64): Likewise.
36348 [C99-based-standards] (PRIuFAST64): Likewise.
36349 [C99-based-standards] (PRIxFAST64): Likewise.
36350 [C99-based-standards] (PRIXFAST64): Likewise.
36351 [C99-based-standards] (SCNdFAST64): Likewise.
36352 [C99-based-standards] (SCNiFAST64): Likewise.
36353 [C99-based-standards] (SCNoFAST64): Likewise.
36354 [C99-based-standards] (SCNuFAST64): Likewise.
36355 [C99-based-standards] (SCNxFAST64): Likewise.
36356 [C99-based-standards] (PRIdMAX): Likewise.
36357 [C99-based-standards] (PRIiMAX): Likewise.
36358 [C99-based-standards] (PRIoMAX): Likewise.
36359 [C99-based-standards] (PRIuMAX): Likewise.
36360 [C99-based-standards] (PRIxMAX): Likewise.
36361 [C99-based-standards] (PRIXMAX): Likewise.
36362 [C99-based-standards] (SCNdMAX): Likewise.
36363 [C99-based-standards] (SCNiMAX): Likewise.
36364 [C99-based-standards] (SCNoMAX): Likewise.
36365 [C99-based-standards] (SCNuMAX): Likewise.
36366 [C99-based-standards] (SCNxMAX): Likewise.
36367 [C99-based-standards] (PRIdPTR): Likewise.
36368 [C99-based-standards] (PRIiPTR): Likewise.
36369 [C99-based-standards] (PRIoPTR): Likewise.
36370 [C99-based-standards] (PRIuPTR): Likewise.
36371 [C99-based-standards] (PRIxPTR): Likewise.
36372 [C99-based-standards] (PRIXPTR): Likewise.
36373 [C99-based-standards] (SCNdPTR): Likewise.
36374 [C99-based-standards] (SCNiPTR): Likewise.
36375 [C99-based-standards] (SCNoPTR): Likewise.
36376 [C99-based-standards] (SCNuPTR): Likewise.
36377 [C99-based-standards] (SCNxPTR): Likewise.
36378 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36379 allow.
36380 * conform/data/stdint.h-data: Update comments to clarify
36381 requirements.
36382 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36383 type.
36384 [C99-based standards] (INT8_MAX): Likewise.
36385 [C99-based standards] (INT16_MIN): Likewise.
36386 [C99-based standards] (INT16_MAX): Likewise.
36387 [C99-based standards] (INT32_MIN): Likewise.
36388 [C99-based standards] (INT32_MAX): Likewise.
36389 [C99-based standards] (INT64_MIN): Likewise.
36390 [C99-based standards] (INT64_MAX): Likewise.
36391 [C99-based standards] (UINT8_MAX): Likewise.
36392 [C99-based standards] (UINT16_MAX): Likewise.
36393 [C99-based standards] (UINT32_MAX): Likewise.
36394 [C99-based standards] (UINT64_MAX): Likewise.
36395 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36396 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36397 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36398 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36399 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36400 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36401 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36402 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36403 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36404 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36405 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36406 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36407 [C99-based standards] (INT_FAST8_MIN): Likewise.
36408 [C99-based standards] (INT_FAST8_MAX): Likewise.
36409 [C99-based standards] (INT_FAST16_MIN): Likewise.
36410 [C99-based standards] (INT_FAST16_MAX): Likewise.
36411 [C99-based standards] (INT_FAST32_MIN): Likewise.
36412 [C99-based standards] (INT_FAST32_MAX): Likewise.
36413 [C99-based standards] (INT_FAST64_MIN): Likewise.
36414 [C99-based standards] (INT_FAST64_MAX): Likewise.
36415 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36416 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36417 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36418 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36419 [C99-based standards] (INTPTR_MIN): Likewise.
36420 [C99-based standards] (INTPTR_MAX): Likewise.
36421 [C99-based standards] (UINTPTR_MAX): Likewise.
36422 [C99-based standards] (INTMAX_MIN): Likewise.
36423 [C99-based standards] (INTMAX_MAX): Likewise.
36424 [C99-based standards] (UINTMAX_MAX): Likewise.
36425 [C99-based standards] (PTRDIFF_MIN): Likewise.
36426 [C99-based standards] (PTRDIFF_MAX): Likewise.
36427 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36428 [C99-based standards] (SIZE_MAX): Likewise.
36429 [C99-based standards] (WCHAR_MAX): Likewise.
36430 [C99-based standards] (WINT_MAX): Likewise.
36431 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36432 constraint on value.
36433 [C99-based standards] (WCHAR_MIN): Likewise.
36434 [C99-based standards] (WINT_MIN): Likewise.
36435 [C99-based standards] (*_t): Allow.
36436 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36437 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36438 Include math.h-data and complex.h-data. Remove all expectations
36439 of math.h and complex.h contents.
36440 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36441 at end of line.
36442 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36443 (struct tm): Expect tag.
36444 [C99-based-standards] (wcstof): Expect function.
36445 [C99-based-standards] (wcstold): Likewise.
36446 [C99-based-standards] (wcstoll): Likewise.
36447 [C99-based-standards] (wcstoull): Likewise.
36448 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36449 macro-int-constant. Specify type.
36450 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36451 constraint on value.
36452 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36453 Specify type.
36454 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36455 Specify value.
36456 [ISO C standards]: Do not allow headers.
36457 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36458 wcs[abcdefghijklmnopqrstuvwxyz]*.
36459 [ISO C standards] (*_t): Do not allow.
36460 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36461 Expect function.
36462 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36463 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36464 Specify type.
36465 [ISO C standards]: Do not allow headers.
36466 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36467 is[abcdefghijklmnopqrstuvwxyz]*.
36468 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36469 to[abcdefghijklmnopqrstuvwxyz]*.
36470 [ISO C standards] (*_t): Do not allow.
36471 * conform/data/stdalign.h-data: New file.
36472 * conform/data/stdbool.h-data: Likewise.
36473 * conform/data/stdnoreturn.h-data: Likewise.
36474
7514feb8
RM
364752012-11-07 Roland McGrath <roland@hack.frob.com>
36476
36477 [BZ #14815]
36478 * manual/filesys.texi (Directory Entries): Typo fix.
36479 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36480
19b2ecfc
MS
364812012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36482
36483 * elf/elf.h (EM_AARCH64): New macro.
36484 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36485 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36486 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36487 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36488 (R_AARCH64_TLSDESC): Likewise.
36489 (NT_ARM_TLS): Likewise.
36490 (NT_ARM_HW_BREAK): Likewise.
36491 (NT_ARM_HW_WATCH): Likewise.
36492
60e235ee
JM
364932012-11-07 Joseph Myers <joseph@codesourcery.com>
36494
36495 [BZ #14811]
36496 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36497 (__ieee754_powl): Saturate nonzero exponents with absolute value
36498 below 0x1p-79 to +/- 0x1p-79.
36499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36500 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36501 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36502 nonzero exponents with absolute value below 0x1p-32 to +/-
36503 0x1p-32.
36504 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36505 (__ieee754_powl): Saturate nonzero exponents with absolute value
36506 below 0x1p-79 to +/- 0x1p-79.
36507 * math/libm-test.inc (pow_test): Add more tests.
36508
0ab234b7
AK
365092012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36510
36511 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36512 _dl_s390_cap_flags with kernel. Increase string length.
36513 (_dl_s390_platforms): Add z196 and zEC12.
36514
45832f74
JM
365152012-11-07 Joseph Myers <joseph@codesourcery.com>
36516
36517 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36518 Change XOPEN21K to XOPEN2K.
36519
19218757
MK
365202012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36521
36522 * string/memmove.c: Use memcpy when possible.
36523
c5f45721
AJ
365242012-11-06 Andreas Jaeger <aj@suse.de>
36525
36526 * po/eo.po: Update from translation team.
36527
82477c28
JM
365282012-11-06 Joseph Myers <joseph@codesourcery.com>
36529
36530 [BZ #14793]
36531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36532 exponent and small x and y exponents, scale x or y up. Increase
36533 by 2 the exponent used in scaling up.
36534 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36535 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36536 * math/libm-test.inc (fma_test): Add more tests.
36537 (fma_test_towardzero): Likewise.
36538 (fma_test_downward): Likewise.
36539 (fma_test_upward): Likewise.
36540
99252c8c
JM
365412012-11-05 Joseph Myers <joseph@codesourcery.com>
36542
acfa885f
JM
36543 [BZ #14805]
36544 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36545 fenv_t *.
36546
99252c8c
JM
36547 [BZ #14801]
36548 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36549 namespace for names of struct fields.
36550 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36551 fenv_t fields.
36552 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36553 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36554
d6d98dea
ST
365552012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36556
36557 [BZ #3665]
36558 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36559
e10bb107
TS
365602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36561
36562 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36563 PTR_DEMANGLE.
36564
36565 [BZ #5246]
36566 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36567 PTR_DEMANGLE.
36568
a0c2940d
JM
365692012-11-04 Joseph Myers <joseph@codesourcery.com>
36570
36571 [BZ #14797]
36572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36573 definitely overflow as x * y not x * y + z.
36574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36576 * math/libm-test.inc (fma_test): Add more tests.
36577 (fma_test_towardzero): Likewise.
36578 (fma_test_downward): Likewise.
36579 (fma_test_upward): Likewise.
36580
b830319d
TS
365812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36582
36583 [BZ #157]
36584
36585 * include/stub-tag.h: Remove file.
36586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36587 '#include' of it.
36588 * manual/maint.texi (Porting): Don't reference it.
36589 * Makerules ($(objpfx)stubs): Likewise.
36590 * dirent/closedir.c: Don't include <stub-tag.h>.
36591 * dirent/dirfd.c: Likewise.
36592 * dirent/fdopendir.c: Likewise.
36593 * dirent/getdents.c: Likewise.
36594 * dirent/getdents64.c: Likewise.
36595 * dirent/opendir.c: Likewise.
36596 * dirent/readdir.c: Likewise.
36597 * dirent/readdir64.c: Likewise.
36598 * dirent/readdir64_r.c: Likewise.
36599 * dirent/readdir_r.c: Likewise.
36600 * dirent/rewinddir.c: Likewise.
36601 * dirent/seekdir.c: Likewise.
36602 * dirent/telldir.c: Likewise.
36603 * gmon/profil.c: Likewise.
36604 * grp/setgroups.c: Likewise.
36605 * inet/if_index.c: Likewise.
36606 * io/access.c: Likewise.
36607 * io/chdir.c: Likewise.
36608 * io/chmod.c: Likewise.
36609 * io/chown.c: Likewise.
36610 * io/close.c: Likewise.
36611 * io/dup.c: Likewise.
36612 * io/dup2.c: Likewise.
36613 * io/dup3.c: Likewise.
36614 * io/euidaccess.c: Likewise.
36615 * io/faccessat.c: Likewise.
36616 * io/fchdir.c: Likewise.
36617 * io/fchmod.c: Likewise.
36618 * io/fchmodat.c: Likewise.
36619 * io/fchown.c: Likewise.
36620 * io/fchownat.c: Likewise.
36621 * io/fcntl.c: Likewise.
36622 * io/flock.c: Likewise.
36623 * io/fstatfs.c: Likewise.
36624 * io/fstatfs64.c: Likewise.
36625 * io/fstatvfs.c: Likewise.
36626 * io/fstatvfs64.c: Likewise.
36627 * io/futimens.c: Likewise.
36628 * io/fxstat.c: Likewise.
36629 * io/fxstat64.c: Likewise.
36630 * io/fxstatat.c: Likewise.
36631 * io/fxstatat64.c: Likewise.
36632 * io/getcwd.c: Likewise.
36633 * io/isatty.c: Likewise.
36634 * io/lchmod.c: Likewise.
36635 * io/lchown.c: Likewise.
36636 * io/link.c: Likewise.
36637 * io/linkat.c: Likewise.
36638 * io/lseek.c: Likewise.
36639 * io/lseek64.c: Likewise.
36640 * io/lxstat64.c: Likewise.
36641 * io/mkdir.c: Likewise.
36642 * io/mkdirat.c: Likewise.
36643 * io/mkfifo.c: Likewise.
36644 * io/mkfifoat.c: Likewise.
36645 * io/open.c: Likewise.
36646 * io/open64.c: Likewise.
36647 * io/openat.c: Likewise.
36648 * io/openat64.c: Likewise.
36649 * io/pipe.c: Likewise.
36650 * io/pipe2.c: Likewise.
36651 * io/poll.c: Likewise.
36652 * io/posix_fadvise.c: Likewise.
36653 * io/posix_fadvise64.c: Likewise.
36654 * io/posix_fallocate.c: Likewise.
36655 * io/posix_fallocate64.c: Likewise.
36656 * io/read.c: Likewise.
36657 * io/readlink.c: Likewise.
36658 * io/readlinkat.c: Likewise.
36659 * io/rmdir.c: Likewise.
36660 * io/sendfile.c: Likewise.
36661 * io/sendfile64.c: Likewise.
36662 * io/statfs.c: Likewise.
36663 * io/statfs64.c: Likewise.
36664 * io/statvfs.c: Likewise.
36665 * io/statvfs64.c: Likewise.
36666 * io/symlink.c: Likewise.
36667 * io/symlinkat.c: Likewise.
36668 * io/ttyname.c: Likewise.
36669 * io/ttyname_r.c: Likewise.
36670 * io/umask.c: Likewise.
36671 * io/unlink.c: Likewise.
36672 * io/unlinkat.c: Likewise.
36673 * io/utime.c: Likewise.
36674 * io/utimensat.c: Likewise.
36675 * io/write.c: Likewise.
36676 * io/xmknod.c: Likewise.
36677 * io/xmknodat.c: Likewise.
36678 * io/xstat.c: Likewise.
36679 * io/xstat64.c: Likewise.
36680 * login/getpt.c: Likewise.
36681 * login/grantpt.c: Likewise.
36682 * login/unlockpt.c: Likewise.
36683 * math/e_acoshl.c: Likewise.
36684 * math/e_acosl.c: Likewise.
36685 * math/e_asinl.c: Likewise.
36686 * math/e_atan2l.c: Likewise.
36687 * math/e_atanhl.c: Likewise.
36688 * math/e_coshl.c: Likewise.
36689 * math/e_expl.c: Likewise.
36690 * math/e_fmodl.c: Likewise.
36691 * math/e_gammal_r.c: Likewise.
36692 * math/e_hypotl.c: Likewise.
36693 * math/e_j0l.c: Likewise.
36694 * math/e_j1l.c: Likewise.
36695 * math/e_jnl.c: Likewise.
36696 * math/e_lgammal_r.c: Likewise.
36697 * math/e_log10l.c: Likewise.
36698 * math/e_log2l.c: Likewise.
36699 * math/e_logl.c: Likewise.
36700 * math/e_powl.c: Likewise.
36701 * math/e_rem_pio2l.c: Likewise.
36702 * math/e_sinhl.c: Likewise.
36703 * math/e_sqrtl.c: Likewise.
36704 * math/fclrexcpt.c: Likewise.
36705 * math/fedisblxcpt.c: Likewise.
36706 * math/feenablxcpt.c: Likewise.
36707 * math/fegetenv.c: Likewise.
36708 * math/fegetexcept.c: Likewise.
36709 * math/fegetround.c: Likewise.
36710 * math/feholdexcpt.c: Likewise.
36711 * math/fesetenv.c: Likewise.
36712 * math/fesetround.c: Likewise.
36713 * math/feupdateenv.c: Likewise.
36714 * math/fgetexcptflg.c: Likewise.
36715 * math/fraiseexcpt.c: Likewise.
36716 * math/fsetexcptflg.c: Likewise.
36717 * math/ftestexcept.c: Likewise.
36718 * math/k_cosl.c: Likewise.
36719 * math/k_rem_pio2l.c: Likewise.
36720 * math/k_sinl.c: Likewise.
36721 * math/k_tanl.c: Likewise.
36722 * math/s_asinhl.c: Likewise.
36723 * math/s_atanl.c: Likewise.
36724 * math/s_cbrtl.c: Likewise.
36725 * math/s_erfl.c: Likewise.
36726 * math/s_expm1l.c: Likewise.
36727 * math/s_log1pl.c: Likewise.
36728 * math/s_tanhl.c: Likewise.
36729 * misc/acct.c: Likewise.
36730 * misc/brk.c: Likewise.
36731 * misc/chflags.c: Likewise.
36732 * misc/chroot.c: Likewise.
36733 * misc/fchflags.c: Likewise.
36734 * misc/fgetxattr.c: Likewise.
36735 * misc/flistxattr.c: Likewise.
36736 * misc/fremovexattr.c: Likewise.
36737 * misc/fsetxattr.c: Likewise.
36738 * misc/fsync.c: Likewise.
36739 * misc/ftruncate.c: Likewise.
36740 * misc/futimes.c: Likewise.
36741 * misc/futimesat.c: Likewise.
36742 * misc/getdomain.c: Likewise.
36743 * misc/getdtsz.c: Likewise.
36744 * misc/gethostid.c: Likewise.
36745 * misc/gethostname.c: Likewise.
36746 * misc/getloadavg.c: Likewise.
36747 * misc/getpagesize.c: Likewise.
36748 * misc/getsysstats.c: Likewise.
36749 * misc/getxattr.c: Likewise.
36750 * misc/gtty.c: Likewise.
36751 * misc/ioctl.c: Likewise.
36752 * misc/lgetxattr.c: Likewise.
36753 * misc/listxattr.c: Likewise.
36754 * misc/llistxattr.c: Likewise.
36755 * misc/lremovexattr.c: Likewise.
36756 * misc/lsetxattr.c: Likewise.
36757 * misc/lutimes.c: Likewise.
36758 * misc/madvise.c: Likewise.
36759 * misc/mincore.c: Likewise.
36760 * misc/mlock.c: Likewise.
36761 * misc/mlockall.c: Likewise.
36762 * misc/mmap.c: Likewise.
36763 * misc/mprotect.c: Likewise.
36764 * misc/msync.c: Likewise.
36765 * misc/munlock.c: Likewise.
36766 * misc/munlockall.c: Likewise.
36767 * misc/munmap.c: Likewise.
36768 * misc/preadv.c: Likewise.
36769 * misc/preadv64.c: Likewise.
36770 * misc/ptrace.c: Likewise.
36771 * misc/pwritev.c: Likewise.
36772 * misc/pwritev64.c: Likewise.
36773 * misc/readv.c: Likewise.
36774 * misc/reboot.c: Likewise.
36775 * misc/remap_file_pages.c: Likewise.
36776 * misc/removexattr.c: Likewise.
36777 * misc/revoke.c: Likewise.
36778 * misc/select.c: Likewise.
36779 * misc/setdomain.c: Likewise.
36780 * misc/setegid.c: Likewise.
36781 * misc/seteuid.c: Likewise.
36782 * misc/sethostid.c: Likewise.
36783 * misc/sethostname.c: Likewise.
36784 * misc/setregid.c: Likewise.
36785 * misc/setreuid.c: Likewise.
36786 * misc/setxattr.c: Likewise.
36787 * misc/sstk.c: Likewise.
36788 * misc/stty.c: Likewise.
36789 * misc/swapoff.c: Likewise.
36790 * misc/swapon.c: Likewise.
36791 * misc/sync.c: Likewise.
36792 * misc/syncfs.c: Likewise.
36793 * misc/syscall.c: Likewise.
36794 * misc/truncate.c: Likewise.
36795 * misc/ualarm.c: Likewise.
36796 * misc/usleep.c: Likewise.
36797 * misc/ustat.c: Likewise.
36798 * misc/utimes.c: Likewise.
36799 * misc/vhangup.c: Likewise.
36800 * misc/writev.c: Likewise.
36801 * posix/_exit.c: Likewise.
36802 * posix/alarm.c: Likewise.
36803 * posix/execve.c: Likewise.
36804 * posix/fexecve.c: Likewise.
36805 * posix/fork.c: Likewise.
36806 * posix/fpathconf.c: Likewise.
36807 * posix/getaddrinfo.c: Likewise.
36808 * posix/getegid.c: Likewise.
36809 * posix/geteuid.c: Likewise.
36810 * posix/getgid.c: Likewise.
36811 * posix/getgroups.c: Likewise.
36812 * posix/getlogin.c: Likewise.
36813 * posix/getlogin_r.c: Likewise.
36814 * posix/getpgid.c: Likewise.
36815 * posix/getpid.c: Likewise.
36816 * posix/getppid.c: Likewise.
36817 * posix/getresgid.c: Likewise.
36818 * posix/getresuid.c: Likewise.
36819 * posix/getsid.c: Likewise.
36820 * posix/getuid.c: Likewise.
36821 * posix/glob64.c: Likewise.
36822 * posix/nanosleep.c: Likewise.
36823 * posix/pathconf.c: Likewise.
36824 * posix/pause.c: Likewise.
36825 * posix/posix_madvise.c: Likewise.
36826 * posix/pread.c: Likewise.
36827 * posix/pread64.c: Likewise.
36828 * posix/pwrite.c: Likewise.
36829 * posix/pwrite64.c: Likewise.
36830 * posix/sched_getaffinity.c: Likewise.
36831 * posix/sched_getp.c: Likewise.
36832 * posix/sched_gets.c: Likewise.
36833 * posix/sched_primax.c: Likewise.
36834 * posix/sched_primin.c: Likewise.
36835 * posix/sched_rr_gi.c: Likewise.
36836 * posix/sched_setaffinity.c: Likewise.
36837 * posix/sched_setp.c: Likewise.
36838 * posix/sched_sets.c: Likewise.
36839 * posix/sched_yield.c: Likewise.
36840 * posix/setgid.c: Likewise.
36841 * posix/setlogin.c: Likewise.
36842 * posix/setpgid.c: Likewise.
36843 * posix/setresgid.c: Likewise.
36844 * posix/setresuid.c: Likewise.
36845 * posix/setsid.c: Likewise.
36846 * posix/setuid.c: Likewise.
36847 * posix/sleep.c: Likewise.
36848 * posix/spawni.c: Likewise.
36849 * posix/sysconf.c: Likewise.
36850 * posix/times.c: Likewise.
36851 * posix/wait.c: Likewise.
36852 * posix/wait3.c: Likewise.
36853 * posix/wait4.c: Likewise.
36854 * posix/waitpid.c: Likewise.
36855 * resolv/gai_sigqueue.c: Likewise.
36856 * resource/getpriority.c: Likewise.
36857 * resource/getrlimit.c: Likewise.
36858 * resource/getrusage.c: Likewise.
36859 * resource/nice.c: Likewise.
36860 * resource/setpriority.c: Likewise.
36861 * resource/setrlimit.c: Likewise.
36862 * resource/ulimit.c: Likewise.
36863 * rt/aio_cancel.c: Likewise.
36864 * rt/aio_fsync.c: Likewise.
36865 * rt/aio_read.c: Likewise.
36866 * rt/aio_sigqueue.c: Likewise.
36867 * rt/aio_suspend.c: Likewise.
36868 * rt/aio_write.c: Likewise.
36869 * rt/clock_getres.c: Likewise.
36870 * rt/clock_gettime.c: Likewise.
36871 * rt/clock_nanosleep.c: Likewise.
36872 * rt/clock_settime.c: Likewise.
36873 * rt/lio_listio.c: Likewise.
36874 * rt/mq_close.c: Likewise.
36875 * rt/mq_getattr.c: Likewise.
36876 * rt/mq_notify.c: Likewise.
36877 * rt/mq_open.c: Likewise.
36878 * rt/mq_receive.c: Likewise.
36879 * rt/mq_send.c: Likewise.
36880 * rt/mq_setattr.c: Likewise.
36881 * rt/mq_timedreceive.c: Likewise.
36882 * rt/mq_timedsend.c: Likewise.
36883 * rt/mq_unlink.c: Likewise.
36884 * rt/shm_open.c: Likewise.
36885 * rt/shm_unlink.c: Likewise.
36886 * rt/timer_create.c: Likewise.
36887 * rt/timer_delete.c: Likewise.
36888 * rt/timer_getoverr.c: Likewise.
36889 * rt/timer_gettime.c: Likewise.
36890 * rt/timer_settime.c: Likewise.
36891 * setjmp/__longjmp.c: Likewise.
36892 * setjmp/setjmp.c: Likewise.
36893 * signal/kill.c: Likewise.
36894 * signal/killpg.c: Likewise.
36895 * signal/raise.c: Likewise.
36896 * signal/sigaction.c: Likewise.
36897 * signal/sigaltstack.c: Likewise.
36898 * signal/sigblock.c: Likewise.
36899 * signal/sigignore.c: Likewise.
36900 * signal/sigintr.c: Likewise.
36901 * signal/signal.c: Likewise.
36902 * signal/sigpause.c: Likewise.
36903 * signal/sigpending.c: Likewise.
36904 * signal/sigqueue.c: Likewise.
36905 * signal/sigreturn.c: Likewise.
36906 * signal/sigset.c: Likewise.
36907 * signal/sigsetmask.c: Likewise.
36908 * signal/sigstack.c: Likewise.
36909 * signal/sigsuspend.c: Likewise.
36910 * signal/sigtimedwait.c: Likewise.
36911 * signal/sigvec.c: Likewise.
36912 * signal/sigwait.c: Likewise.
36913 * signal/sigwaitinfo.c: Likewise.
36914 * signal/sysv_signal.c: Likewise.
36915 * socket/accept.c: Likewise.
36916 * socket/accept4.c: Likewise.
36917 * socket/bind.c: Likewise.
36918 * socket/connect.c: Likewise.
36919 * socket/getpeername.c: Likewise.
36920 * socket/getsockname.c: Likewise.
36921 * socket/getsockopt.c: Likewise.
36922 * socket/isfdtype.c: Likewise.
36923 * socket/listen.c: Likewise.
36924 * socket/recv.c: Likewise.
36925 * socket/recvfrom.c: Likewise.
36926 * socket/recvmsg.c: Likewise.
36927 * socket/send.c: Likewise.
36928 * socket/sendmsg.c: Likewise.
36929 * socket/sendto.c: Likewise.
36930 * socket/setsockopt.c: Likewise.
36931 * socket/shutdown.c: Likewise.
36932 * socket/sockatmark.c: Likewise.
36933 * socket/socket.c: Likewise.
36934 * socket/socketpair.c: Likewise.
36935 * stdio-common/ctermid.c: Likewise.
36936 * stdio-common/cuserid.c: Likewise.
36937 * stdio-common/remove.c: Likewise.
36938 * stdio-common/rename.c: Likewise.
36939 * stdio-common/renameat.c: Likewise.
36940 * stdio-common/tempname.c: Likewise.
36941 * stdlib/getcontext.c: Likewise.
36942 * stdlib/makecontext.c: Likewise.
36943 * stdlib/setcontext.c: Likewise.
36944 * stdlib/swapcontext.c: Likewise.
36945 * stdlib/system.c: Likewise.
36946 * streams/fattach.c: Likewise.
36947 * streams/fdetach.c: Likewise.
36948 * streams/getmsg.c: Likewise.
36949 * streams/getpmsg.c: Likewise.
36950 * streams/putmsg.c: Likewise.
36951 * streams/putpmsg.c: Likewise.
36952 * sysdeps/unix/bsd/getpt.c: Likewise.
36953 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36954 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36955 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36957 Likewise.
36958 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36959 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36960 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36961 * sysvipc/msgctl.c: Likewise.
36962 * sysvipc/msgget.c: Likewise.
36963 * sysvipc/msgrcv.c: Likewise.
36964 * sysvipc/msgsnd.c: Likewise.
36965 * sysvipc/semctl.c: Likewise.
36966 * sysvipc/semget.c: Likewise.
36967 * sysvipc/semop.c: Likewise.
36968 * sysvipc/semtimedop.c: Likewise.
36969 * sysvipc/shmat.c: Likewise.
36970 * sysvipc/shmctl.c: Likewise.
36971 * sysvipc/shmdt.c: Likewise.
36972 * sysvipc/shmget.c: Likewise.
36973 * termios/tcdrain.c: Likewise.
36974 * termios/tcflow.c: Likewise.
36975 * termios/tcflush.c: Likewise.
36976 * termios/tcgetattr.c: Likewise.
36977 * termios/tcgetpgrp.c: Likewise.
36978 * termios/tcsendbrk.c: Likewise.
36979 * termios/tcsetattr.c: Likewise.
36980 * termios/tcsetpgrp.c: Likewise.
36981 * time/adjtime.c: Likewise.
36982 * time/clock.c: Likewise.
36983 * time/getitimer.c: Likewise.
36984 * time/gettimeofday.c: Likewise.
36985 * time/setitimer.c: Likewise.
36986 * time/settimeofday.c: Likewise.
36987 * time/stime.c: Likewise.
36988 * time/time.c: Likewise.
36989
369902012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36991
a20492cf
PT
36992 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36993 /usr/old/bin.
36994
72e182e3
PT
36995 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36996 instead of spaces.
36997 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36998
fbeafede
JM
369992012-11-03 Joseph Myers <joseph@codesourcery.com>
37000
5b5b04d6
JM
37001 [BZ #14796]
37002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37003 FE_TONEAREST before applying Dekker multiplication and Knuth
37004 addition. Clear inexact exceptions and check for exact zero
37005 results afterwards.
37006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37007 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37009 * math/libm-test.inc (fma_test): Add more tests.
37010 (fma_test_towardzero): Likewise.
37011 (fma_test_downward): Likewise.
37012 (fma_test_upward): Likewise.
37013 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37014 function.
37015 (libc_fesetround): New macro.
37016 (libc_fesetroundf): Likewise.
37017 (libc_fesetroundl): Likewise.
37018 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37019 function.
37020 (libc_fesetround_387): Likewise.
37021 (libc_fesetroundf): New macro.
37022 (libc_fesetround): Likewise.
37023 (libc_fesetroundl): Likewise.
37024 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37025 function.
37026 (libc_fesetroundf): New macro.
37027 (libc_fesetround): Likewise.
37028 (libc_fesetroundl): Likewise.
37029 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37030 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37031 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37032 libm_hidden_ver.
37033 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37034 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37035 libm_hidden_def.
37036 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37037 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37038 libm_hidden_ver.
37039 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37040 libm_hidden_def.
37041
fbeafede
JM
37042 [BZ #3439]
37043 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37044 integer constant usable in #if and use that to give value to enum
37045 constant.
37046 (FE_DIVBYZERO): Likewise.
37047 (FE_UNDERFLOW): Likewise.
37048 (FE_OVERFLOW): Likewise.
37049 (FE_INVALID): Likewise.
37050 (FE_INVALID_SNAN): Likewise.
37051 (FE_INVALID_ISI): Likewise.
37052 (FE_INVALID_IDI): Likewise.
37053 (FE_INVALID_ZDZ): Likewise.
37054 (FE_INVALID_IMZ): Likewise.
37055 (FE_INVALID_COMPARE): Likewise.
37056 (FE_INVALID_SOFTWARE): Likewise.
37057 (FE_INVALID_SQRT): Likewise.
37058 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37059 (FE_TONEAREST): Likewise.
37060 (FE_TOWARDZERO): Likewise.
37061 (FE_UPWARD): Likewise.
37062 (FE_DOWNWARD): Likewise.
37063 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37064 (FE_DIVBYZERO): Likewise.
37065 (FE_OVERFLOW): Likewise.
37066 (FE_UNDERFLOW): Likewise.
37067 (FE_INEXACT): Likewise.
37068 (FE_TONEAREST): Likewise.
37069 (FE_DOWNWARD): Likewise.
37070 (FE_UPWARD): Likewise.
37071 (FE_TOWARDZERO): Likewise.
37072 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37073 (FE_UNDERFLOW): Likewise.
37074 (FE_OVERFLOW): Likewise.
37075 (FE_DIVBYZERO): Likewise.
37076 (FE_INVALID): Likewise.
37077 (FE_TONEAREST): Likewise.
37078 (FE_TOWARDZERO): Likewise.
37079 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37080 (FE_OVERFLOW): Likewise.
37081 (FE_UNDERFLOW): Likewise.
37082 (FE_DIVBYZERO): Likewise.
37083 (FE_INEXACT): Likewise.
37084 (FE_TONEAREST): Likewise.
37085 (FE_TOWARDZERO): Likewise.
37086 (FE_UPWARD): Likewise.
37087 (FE_DOWNWARD): Likewise.
37088 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37089 (FE_DIVBYZERO): Likewise.
37090 (FE_OVERFLOW): Likewise.
37091 (FE_UNDERFLOW): Likewise.
37092 (FE_INEXACT): Likewise.
37093 (FE_TONEAREST): Likewise.
37094 (FE_DOWNWARD): Likewise.
37095 (FE_UPWARD): Likewise.
37096 (FE_TOWARDZERO): Likewise.
37097
105ca950
CM
370982012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37099
37100 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37101
a542b389
AS
371022012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37103
37104 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37105 commands. Quote $PWD.
37106 (blacklist_exports): Don't use remove_newlines. Replace "declare
37107 -x" by "export".
37108 (remove_newlines): Remove.
37109
f62c8abc
L
371102012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37111
37112 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37113 * stdlib/stdlib.h (atof): Moved to ...
37114 * include/bits/stdlib-float.h: Here. New file.
37115 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37116 * stdlib/bits/stdlib-float.h: New file.
37117 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37118 -mno-sse -mno-mmx.
37119 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37120 <xmmintrin.h>.
37121
0155d5b2
JM
371222012-11-02 Joseph Myers <joseph@codesourcery.com>
37123
a68d0680
JM
37124 * conform/conformtest.pl (@headers): Add fenv.h.
37125 * conform/data/fenv.h-data: New file.
37126 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37127 include of <math/fenv.h>.
37128
caf7f573
JM
37129 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37130 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37131 && !UNIX98]. Enables tests for XOPEN2K8.
37132 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37133 POSIX2008]: Likewise.
37134
6c073ad6
JM
37135 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37136 (struct rusage): Do not expect type or its members.
37137
0155d5b2
JM
37138 [BZ #3439]
37139 * math/math.h (FP_NAN): Define macro to integer constant usable in
37140 #if and use that to give value to enum constant.
37141 (FP_INFINITE): Likewise.
37142 (FP_ZERO): Likewise.
37143 (FP_SUBNORMAL): Likewise.
37144 (FP_NORMAL): Likewise.
37145
b5dcacb4
AS
371462012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37147
37148 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37149 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37150 arguments.
37151
f7934be8
RM
371522012-11-02 Roland McGrath <roland@hack.frob.com>
37153
37154 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37155 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37156 autoconf-time if not.
37157 * configure.in: Remove AC_PREREQ.
37158
d7d08bde
TMQMF
371592012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37160
37161 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37162 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37163 of the internal implementation.
37164
dcdae19a
JM
371652012-11-02 Joseph Myers <joseph@codesourcery.com>
37166
37167 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37168 except include of <misc/sys/syslog.h>.
37169
d6cffd3e
AS
371702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37171
37172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37173 function returns with a NULL context exit with zero.
37174
b3563932
TMQMF
371752012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37176
37177 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37178
b288a93d
L
371792012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37180
37181 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37182 (run_program_cmd): This.
37183 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37184 (tst_langinfo): New variable. Use it.
37185
a2421a68
SAS
371862012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37187
37188 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37189 floating point opcodes.
37190
6f796e1b
TS
371912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37192
7402596b
TS
37193 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37194 variable.
37195
d0d4f868
TS
37196 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37197
6f796e1b
TS
37198 * sysdeps/mach/hurd/powerpc: Remove directory.
37199 * sysdeps/mach/powerpc: Likewise.
37200
4da224a2
AS
372012012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37202
37203 * scripts/check-local-headers.sh: Ignore c++ headers.
37204
341dd673
TS
372052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37206
37207 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37208 __libc_cleanup_region_start argument.
37209
473611b2
JM
372102012-11-01 Joseph Myers <joseph@codesourcery.com>
37211
37212 [BZ #14784]
37213 [BZ #14785]
37214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37215 x * y using scaling, not as x * y + z.
37216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37218 * math/libm-test.inc (fma_test): Add more tests.
37219 (fma_test_towardzero): Likewise.
37220 (fma_test_downward): Likewise.
37221 (fma_test_upward): Likewise.
37222
4078da3d
TS
372232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37224
37225 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37226
903252aa
JM
372272012-10-31 Joseph Myers <joseph@codesourcery.com>
37228
37229 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37230 New variable.
37231
cbc818d0
TS
372322012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37233
37234 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37235
5a03cb1e
AS
372362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37237
37238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37239 Fix sort order.
37240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37241 Likewise.
37242
90aff2ff
TMQMF
372432012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37244
37245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37246 Fix the order of the list for glibc 2.17.
37247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37248 Likewise.
37249
1818fcb7
AS
372502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37251
37252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37253
ef82f4da
JM
372542012-10-31 Joseph Myers <joseph@codesourcery.com>
37255
16a0e2ec
JM
37256 [BZ #14610]
37257 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37258 for low part of x being zero before using __atanl (y).
37259 * math/libm-test.inc (atan2_test): Add another test.
37260
0eb69512
JM
37261 * manual/install.texi (Configuring and compiling): Document
37262 general use of test-wrapper and test-wrapper-env.
37263 * INSTALL: Regenerated.
37264
ef82f4da
JM
37265 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37266 (__fma): Do not extract and scale down low bits on after-rounding
37267 systems when result rounded to normal precision would have normal
37268 exponent.
37269 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37270 (__fmal): Do not extract and scale down low bits on after-rounding
37271 systems when result rounded to normal precision would have normal
37272 exponent.
37273 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37274 (__fmal): Do not extract and scale down low bits on after-rounding
37275 systems when result rounded to normal precision would have normal
37276 exponent.
37277 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37278 macro.
37279 (fma_test): Add more tests.
37280 (fma_test_towardzero): Likewise.
37281 (fma_test_downward): Likewise.
37282 (fma_test_upward): Likewise.
37283
954ef0d9
L
372842012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37285
37286 * sysdeps/i386/tininess.h: Renamed to ...
37287 * sysdeps/x86/tininess.h: This.
37288 * sysdeps/x86_64/tininess.h: Removed.
37289
df61ffb2
JM
372902012-10-30 Joseph Myers <joseph@codesourcery.com>
37291
37292 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37293 input. Use $(build-program-cmd).
37294 ($(objpfx)tst-array1-static.out): Likewise.
37295 ($(objpfx)tst-array2.out): Likewise.
37296 ($(objpfx)tst-array3.out): Likewise.
37297 ($(objpfx)tst-array4.out): Likewise.
37298 ($(objpfx)tst-array5.out): Likewise.
37299 ($(objpfx)tst-array5-static.out): Likewise.
37300
01767843
CM
373012012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37302
47cc1490
CM
37303 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37304 if defined.
37305
01767843
CM
37306 * nss/nsswitch.h (nss_interface_function): Provide new
37307 macro for use with NSS functions.
37308 * grp/initgroups.c: Use new macro.
37309 * nss/getXXbyYY.c: Likewise.
37310 * nss/getXXbyYY_r.c: Likewise.
37311 * nss/getXXent.c: Likewise.
37312 * nss/getXXent_r.c: Likewise.
37313 * sysdeps/posix/getaddrinfo.c: Likewise.
37314
8321aa97
AJ
373152012-10-30 Andreas Jaeger <aj@suse.de>
37316
37317 * po/ru.po: Update Russion translation from translation project.
37318
2a27fd6d
JM
373192012-10-30 Joseph Myers <joseph@codesourcery.com>
37320
8627a232
JM
37321 [BZ #14152]
37322 [BZ #14783]
37323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37324 result and shift together with sticky bit instead of replicating
37325 round-to-nearest rounding.
37326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37328 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37329 missing underflow exceptions.
37330 (fma_test_towardzero): Add more tests.
37331 (fma_test_downward): Likewise.
37332 (fma_test_upward): Likewise.
37333
2a27fd6d
JM
37334 [BZ #14047]
37335 * sysdeps/generic/tininess.h: New file.
37336 * sysdeps/i386/tininess.h: Likewise.
37337 * sysdeps/sh/tininess.h: Likewise.
37338 * sysdeps/x86_64/tininess.h: Likewise.
37339 * stdlib/tst-strtod-underflow.c: Likewise.
37340 * stdlib/tst-tininess.c: Likewise.
37341 * stdlib/strtod_l.c: Include <tininess.h>.
37342 (round_and_return): Do not set errno for exact underflow cases.
37343 Force an underflow exception when setting errno for underflow.
37344 Determine underflow based on rounding to normal precision if
37345 TININESS_AFTER_ROUNDING.
37346 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37347 ERANGE for exact underflow cases.
37348 * stdlib/Makefile (tests): Add tst-tininess and
37349 tst-strtod-underflow.
37350 ($(objpfx)tst-tininess): Use $(link-libm).
37351 ($(objpfx)tst-strtod-underflow): Likewise.
37352
e7170363
AJ
373532012-10-30 Andreas Jaeger <aj@suse.de>
37354
e5088dc6
AJ
37355 [BZ#14767]
37356 * elf/Makefile (tests): Remove conditional for have-initfini-array
37357 since this is now always required and the variable does not exist
37358 anymore.
37359 (tests-static): Likewise.
37360 (modules-names): Likewise.
37361
e7170363 37362 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37363
37364 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37365 merged with constructor/destructor.
37366 (init_array): Likewise.
37367 * elf/tst-array2dep.c (fini_array): Likewise.
37368 (init_array): Likewise.
37369
60457d8a
MF
373702012-10-29 Mike Frysinger <vapier@gentoo.org>
37371
37372 * manual/message.texi: Delete @cartouche tags.
37373
8bece752
PT
373742012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37375
94ce799f
PT
37376 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37377 EOPNOTSUPP.
37378 * sysdeps/mach/hurd/fsync.c: Likewise.
37379
8bece752
PT
37380 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37381 [_POSIX_REALTIME_SIGNALS]: Change condition to
37382 [_POSIX_REALTIME_SIGNALS > 0].
37383
86ebe6b1
AJ
373842012-10-27 Andreas Jaeger <aj@suse.de>
37385
37386 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37387 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37389 [__WORDSIZE != 64]: Likewise.
37390
54399c08
L
373912012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37392
37393 * iconvdata/tst-table.sh: Remove ${SHELL}.
37394 * iconvdata/tst-tables.sh: Likewise.
37395
e2211bed
DM
373962012-10-25 David S. Miller <davem@davemloft.net>
37397
37398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37399 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37400 of strtoull.
37401
f303f97c
DM
37402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37403 ifunc-impl-list.c
37404 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37405 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37406 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37407 file.
37408
1e9d84cd
RM
374092012-10-25 Roland McGrath <roland@hack.frob.com>
37410
37411 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37412 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37413 __getdirentries.
37414
df381762
JM
374152012-10-25 Joseph Myers <joseph@codesourcery.com>
37416 Jim Blandy <jimb@codesourcery.com>
37417
37418 * scripts/cross-test-ssh.sh: New file.
37419 * manual/install.texi (Configuring and compiling): Document use of
37420 cross-test-ssh.sh.
37421 * INSTALL: Regenerated.
37422
bff64913
PT
374232012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37424
37425 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37426 EOPNOTSUPP.
37427
25fe8932
JM
374282012-10-25 Joseph Myers <joseph@codesourcery.com>
37429
37430 * Makeconfig (run-program-prefix): Fix comment.
37431
cc1290d0
JM
374322012-10-24 Joseph Myers <joseph@codesourcery.com>
37433 Jim Blandy <jimb@codesourcery.com>
37434
37435 * Makeconfig (test-wrapper): New variable,
37436 (test-wrapper-env): Likewise.
37437 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37438 (run-built-tests): Define to yes.
37439 (run-program-prefix): Use $(test-wrapper).
37440 (built-program-cmd): Likewise.
37441 * Rules (make-test-out): Use $(test-wrapper-env) and
37442 $(host-built-program-cmd).
37443 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37444 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37445 tst-pathopt.sh.
37446 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37447 $(test-wrapper-env) to tst-rtld-load-self.sh.
37448 ($(objpfx)order2.out): Use $(test-wrapper).
37449 ($(objpfx)tst-initorder.out): Likewise.
37450 ($(objpfx)tst-initorder2.out): Likewise.
37451 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37452 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37453 (test_wrapper_env): New variable. Use it to run ld.so.
37454 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37455 Use it to run ld.so.
37456 (test_wrapper_env): Likewise.
37457 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37458 $(test-wrapper) to run-iconv-test.sh.
37459 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37460 (ICONV): Use $test_wrapper.
37461 * posix/Makefile ($(objpfx)globtest.out): Pass
37462 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37463 globtest.sh, not $(run-program-prefix).
37464 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37465 (test_wrapper): Likewise.
37466 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37467 set together with run_via_rtld_prefix.
37468 (run_program_prefix): Define in terms of test_wrapper and
37469 run_via_rtld_prefix.
37470
6e6249d0
RM
374712012-10-24 Roland McGrath <roland@hack.frob.com>
37472
37473 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37474 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37475 Targets removed.
37476
37477 [BZ #14743]
37478 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37479 Declare __clock_getres, __clock_gettime, __clock_settime,
37480 __clock_nanosleep, and __clock_getcpuclockid.
37481 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37482 Remove librt_hidden_def (clock_gettime).
37483 * sysdeps/unix/clock_gettime.c: Likewise.
37484 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37486 * rt/clock_getres.c: Define __clock_getres as an alias.
37487 * sysdeps/posix/clock_getres.c: Likewise.
37488 * rt/clock_settime.c: Define __clock_settime as an alias.
37489 * sysdeps/unix/clock_settime.c: Likewise.
37490 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37491 * sysdeps/unix/clock_nanosleep.c: Likewise.
37492 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37493 * rt/clock-compat.c: New file.
37494 * rt/Makefile (librt-routines): Add clock-compat and move
37495 $(clock-routines) to ...
37496 (routines): ... here, new variable.
37497 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37498 Don't add get_clockfreq here.
37499 * rt/Versions (libc: GLIBC_2.17): New version set.
37500 Add clock_* symbols here.
37501 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37502 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37503 (GLIBC_2.17): Add clock_* symbols.
37504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37508 Likewise.
37509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37510 Likewise.
37511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37515 * NEWS: Mention the move.
37516
37517 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37518 Use __open, __read, __close rather than their public counterparts.
37519 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37520 (__get_clockfreq_via_cpuinfo): Likewise.
37521 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37522 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37523
37524 * config.h.in (HAVE_IFUNC): New #undef.
37525 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37526 was successful.
37527 * configure: Regenerated.
37528
0cae3f4b
MF
375292012-10-24 Mike Frysinger <vapier@gentoo.org>
37530
37531 * configure.in: Move READELF check to start of file.
37532 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37533 libc_cv_asm_gnu_indirect_function in the process.
37534 * configure: Regenerated.
37535
8175a253
MF
375362012-10-24 Mike Frysinger <vapier@gentoo.org>
37537
37538 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37539 send the output to /dev/null.
37540 (libc_cv_cc_with_libunwind): Likewise.
37541 (libc_cv_as_noexecstack): Likewise.
37542 * configure: Regenerate.
37543
0708a7d1
JM
375442012-10-24 Joseph Myers <joseph@codesourcery.com>
37545
10b40d85
JM
37546 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37547
0708a7d1
JM
37548 * posix/globtest.sh (TMPDIR): Do not set.
37549 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37550 (testout): Likewise.
37551
9fddec1a
AJ
375522012-10-24 Andreas Jaeger <aj@suse.de>
37553
3a8db22f
AJ
37554 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37555 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37556 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37557 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37558 posix_fadvise64, posix_fallocate64.
37559
9fddec1a
AJ
37560 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37561 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37562 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37563 Likewise.
37564 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37565 Likewise.
37566 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37567
37568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37569 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37570 <bits/fcntl-linux.h>.
37571 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37572
37573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37574 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37575 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37576 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37577 [__WORDSIZE != 64]: Likewise.
37578
ebfd1bbd
JM
375792012-10-23 Joseph Myers <joseph@codesourcery.com>
37580
03ac099f
JM
37581 * Makeconfig (run-built-tests): New variable.
37582 * Rules [$(cross-compiling) = yes]: Change condition to
37583 [$(run-built-tests) = no].
37584 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37585 to [$(run-built-tests) = yes].
37586 * elf/Makefile [$(cross-compiling) = no]: Likewise
37587 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37588 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37589 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37590 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37591 * io/Makefile [$(cross-compiling) = no]: Likewise.
37592 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37593 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37594 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37595 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37596 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37597 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37598 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37599 * string/Makefile [$(cross-compiling) = no]: Likewise.
37600
ebfd1bbd
JM
37601 * posix/Makefile ($(objpfx)globtest.out): Pass
37602 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37603 $(rtld-installed-name).
37604 * posix/globtest.sh (elf_objpfx): Remove variable.
37605 (rtld_installed_name): Likewise.
37606 (library_path): Likewise.
37607 (run_program_prefix): New variable. Use for running globtest
37608 binary.
37609
166bca24
JB
376102012-10-23 Jim Blandy <jimb@codesourcery.com>
37611 Joseph Myers <joseph@codesourcery.com>
37612
37613 * Makeconfig (host-built-program-cmd): New variable.
37614 * elf/Makefile (tst-stackguard1-ARGS): Use
37615 $(host-built-program-cmd).
37616 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37617 (tst-spawn-ARGS): Likewise.
37618 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37619
88866099
JM
376202012-10-23 Joseph Myers <joseph@codesourcery.com>
37621 Jim Blandy <jimb@codesourcery.com>
37622
37623 * Makeconfig (run-via-rtld-prefix): New variable.
37624 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37625 (built-program-cmd): Likewise.
37626
b4b4c296
AJ
376272012-10-22 Andreas Jaeger <aj@suse.de>
37628
37629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37630 __O_RSYNC if it exists, otherwise to O_SYNC.
37631
6fb54a22
JB
376322012-10-22 Jim Blandy <jimb@codesourcery.com>
37633 Joseph Myers <joseph@codesourcery.com>
37634
37635 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37636 /dev/null.
37637 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37638 from /dev/null
37639 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37640 /dev/null.
37641
481b90b9
AJ
376422012-10-22 Andreas Jaeger <aj@suse.de>
37643
2a0e2669
AJ
37644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37645 Define always.
37646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37647
76e38f9a
AJ
37648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37649 bits/fcntl-linux.h.
37650
7cd37b43
AJ
37651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37652 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37653
481b90b9
AJ
37654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37655 to __O_LARGEFILE.
37656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37657 to __O_LARGEFILE.
37658
aba75984
JB
376592012-10-21 Jim Blandy <jimb@codesourcery.com>
37660 Joseph Myers <joseph@codesourcery.com>
37661
37662 * config.make.in (NM): New variable.
37663
88d4247f
AJ
376642012-10-21 Andreas Jaeger <aj@suse.de>
37665
37666 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37667 definitions and declarations that are provided by
37668 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37669
f2eed205
L
376702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37671
37672 [BZ #14683]
37673 * elf/Makefile (tests-static): Add tst-leaks1-static.
37674 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37675 ($(objpfx)tst-leaks1-static): New rule.
37676 ($(objpfx)tst-leaks1-static-mem): Likewise.
37677 (tst-leaks1-static-ENV): New macro.
37678 * elf/dl-open.c (dl_open_worker): Check the main application
37679 only if SHARED is defined.
37680 * elf/tst-leaks1-static.c: New file.
37681
335e6931
AJ
376822012-10-20 Andreas Jaeger <aj@suse.de>
37683
37684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37685 generic values for Linux.
37686 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37687 and declarations that are provided by <bits/fcntl-linux.h> and
37688 include <bits/fcntl-linux.h>.
37689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37691
ac5c94d3
RM
376922012-10-20 Roland McGrath <roland@hack.frob.com>
37693
37694 * io/fcntl.h: Move include of <bits/types.h> to the top and
37695 include it unconditionally.
37696
de54b33a
L
376972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37698
228cfb01
L
37699 * wcsmbs/Makefile (tests-ifunc): New variable.
37700 (tests): Add $(tests-ifunc).
37701 * wcsmbs/test-wcschr-ifunc.c: New file.
37702 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37703 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37704 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37705 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37706 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37707
69f07e5f
L
37708 * string/Makefile (tests-ifunc): New variable.
37709 (tests): Add $(tests-ifunc).
37710 * string/test-memccpy.c (TEST_NAME): New macro.
37711 * string/test-memchr.c (TEST_NAME): Likewise.
37712 * string/test-memcmp.c (TEST_NAME): Likewise.
37713 * string/test-memcpy.c (TEST_NAME): Likewise.
37714 * string/test-memmem.c (TEST_NAME): Likewise.
37715 * string/test-memmove.c (TEST_NAME): Likewise.
37716 * string/test-memset.c (TEST_NAME): Likewise.
37717 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37718 * string/test-stpcpy.c (TEST_NAME): Likewise.
37719 * string/test-stpncpy.c (TEST_NAME): Likewise.
37720 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37721 * string/test-strcasestr.c (TEST_NAME): Likewise.
37722 * string/test-strcat.c (TEST_NAME): Likewise.
37723 * string/test-strchr.c (TEST_NAME): Likewise.
37724 * string/test-strcmp.c(TEST_NAME): Likewise.
37725 * string/test-strcpy.c (TEST_NAME): Likewise.
37726 * string/test-strcspn.c (TEST_NAME): Likewise.
37727 * string/test-strlen.c (TEST_NAME): Likewise.
37728 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37729 * string/test-strncmp.c (TEST_NAME): Likewise.
37730 * string/test-strncpy.c (TEST_NAME): Likewise.
37731 * string/test-strnlen.c (TEST_NAME): Likewise.
37732 * string/test-strpbrk.c (TEST_NAME): Likewise.
37733 * string/test-strrchr.c (TEST_NAME): Likewise.
37734 * string/test-strspn.c (TEST_NAME): Likewise.
37735 * string/test-strstr.c (TEST_NAME): Likewise.
37736 * string/test-bcopy-ifunc.c: New file.
37737 * string/test-bzero-ifunc.c: Likewise.
37738 * string/test-memccpy-ifunc.c: Likewise.
37739 * string/test-memchr-ifunc.c: Likewise.
37740 * string/test-memcmp-ifunc.c: Likewise.
37741 * string/test-memcpy-ifunc.c: Likewise.
37742 * string/test-memmem-ifunc.c: Likewise.
37743 * string/test-memmove-ifunc.c: Likewise.
37744 * string/test-mempcpy-ifunc.c: Likewise.
37745 * string/test-memset-ifunc.c: Likewise.
37746 * string/test-rawmemchr-ifunc.c: Likewise.
37747 * string/test-stpcpy-ifunc.c: Likewise.
37748 * string/test-stpncpy-ifunc.c: Likewise.
37749 * string/test-strcasecmp-ifunc.c: Likewise.
37750 * string/test-strcasestr-ifunc.c: Likewise.
37751 * string/test-strcat-ifunc.c: Likewise.
37752 * string/test-strchr-ifunc.c: Likewise.
37753 * string/test-strchrnul-ifunc.c: Likewise.
37754 * string/test-strcmp-ifunc.c: Likewise.
37755 * string/test-strcpy-ifunc.c: Likewise.
37756 * string/test-strcspn-ifunc.c: Likewise.
37757 * string/test-strlen-ifunc.c: Likewise.
37758 * string/test-strncasecmp-ifunc.c: Likewise.
37759 * string/test-strncat-ifunc.c: Likewise.
37760 * string/test-strncmp-ifunc.c: Likewise.
37761 * string/test-strncpy-ifunc.c: Likewise.
37762 * string/test-strnlen-ifunc.c: Likewise.
37763 * string/test-strpbrk-ifunc.c: Likewise.
37764 * string/test-strrchr-ifunc.c: Likewise.
37765 * string/test-strspn-ifunc.c: Likewise.
37766 * string/test-strstr-ifunc.c: Likewise.
37767
de54b33a
L
37768 * debug/Makefile (tests-ifunc): New variable.
37769 (tests): Add $(tests-ifunc).
37770 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37771 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37772 * debug/test-stpcpy_chk-ifunc.c: New file.
37773 * debug/test-strcpy_chk-ifunc.c: Likewise.
37774
88481c16
SP
377752012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37776
37777 [BZ #13601]
37778 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37779 header is not read in.
37780
135948bd
JM
377812012-10-19 Joseph Myers <joseph@codesourcery.com>
37782
89f1c388
JM
37783 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37784 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37785 directly. Pass built executable to script as
37786 $(built-program-cmd).
37787 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37788 $testprogram without using LD_LIBRARY_PATH and $ldso.
37789
e40a0d21
JM
37790 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37791 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37792 $(rtld-installed-name).
37793 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37794 (rtld_installed_name): Likewise.
37795 (library_path): Likewise.
37796 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37797 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37798 $(run-program-prefix) to tst-tables.sh.
37799 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37800 it to run tst-table-from and tst-table-to.
37801 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37802 Pass it to tst-table.sh.
37803 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37804 $(run-program-prefix) to tst-gettext.sh.
37805 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37806 tst-translit.sh.
37807 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37808 tst-gettext2.sh.
37809 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37810 to run tst-gettext.
37811 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37812 to run tst-gettext2.
37813 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37814 to run tst-translit.
37815 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37816 $(run-program-prefix) to tst-mtrace.sh.
37817 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37818 to run tst-mtrace.
37819 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37820 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37821 $(rtld-installed-name).
37822 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37823 (rtld_installed_name): Likewise.
37824 (run_program_prefix): New variable. Use it to run wordexp-test.
37825
728e272a
JM
37826 * Makeconfig (ARCH): Remove all definitions.
37827 (machine): Likewise.
37828 [ARCH]: Remove conditional code.
37829 [!objdir]: Give error.
37830 [!objdir] (objpfx): Remove.
37831 [!objdir] (common-objpfx): Likewise.
37832 [!objdir] (common-objdir): Likewise.
37833 * configure.in (config_makefile): Remove. Hardcode Makefile in
37834 AC_CONFIG_FILES call.
37835 * configure: Regenerated.
37836
d528cdcf
JM
37837 [BZ #13888]
37838 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37839 or TMPDIR.
37840 (testout): Likewise.
37841
135948bd
JM
37842 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37843 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37844 $(rtld-installed-name).
37845 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37846 (rtld_installed_name): Likwise.
37847 (runit): Remove function.
37848 (run_getconf): New variable, Use it for running getconf binary.
37849
38c78296
L
378502012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37851
37852 [BZ #14716]
37853 * string/test-memmem.c (check_result): New function.
37854 (do_one_test): Use it.
37855 (check1): New function.
37856 (test_main): Use it.
37857
d077f65f
MT
378582012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37859
37860 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37861
ced52c71
JM
378622012-10-18 Joseph Myers <joseph@codesourcery.com>
37863
37864 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37865 (_G_LSEEK64): Likewise.
37866 (_G_MMAP64): Likewise.
37867 (_G_FSTAT64): Likewise.
37868 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37869 (_G_LSEEK64): Likewise.
37870 (_G_MMAP64): Likewise.
37871 (_G_FSTAT64): Likewise.
37872 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37873 unconditional. Call __mmap64 directly.
37874 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37875 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37876 __lseek64 directly.
37877 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37878 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37879 __mmap64 directly.
37880 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37881 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37882 __lseek64 directly.
37883 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37884 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37885 __lseek64 directly.
37886 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37887 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37888 __lseek64 directly.
37889 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37890 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37891 __fxstat64 directly.
37892 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37893 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37894 unconditional.
37895 (freopen64) [!_G_OPEN64]: Remove conditional code.
37896 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37897 unconditional.
37898 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37899 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37900 unconditional.
37901 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37902 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37903 unconditional.
37904 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37905 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37906 unconditional.
37907 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37908 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37909 unconditional.
37910 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37911 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37912 unconditional.
37913 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37914 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37915 unconditional.
37916 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37917
b741de23
SP
379182012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37919
37920 [BZ #12140]
37921 * manual/memory.texi (Malloc Tunable Parameters): Add note
37922 about free list pointers overwriting some perturb bytes.
37923 Wording suggested by Roland McGrath.
37924
f9b9d9c9
JM
379252012-10-17 Joseph Myers <joseph@codesourcery.com>
37926
37927 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37928 (lgamma_test): Likewise.
37929 (tgamma_test): Likewise.
37930
172a631a
FW
379312012-10-16 Florian Weimer <fweimer@redhat.com>
37932
37933 [BZ #14700]
37934 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37935 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37936
e9f37252
MK
379372012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37938
37939 * NEWS: Mention BZ #14716.
37940 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37941 when removing AVAILABLE1_USES_J macro.
37942
d394eb74
L
379432012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37944
37945 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37946 (__bswap_64): __uint64_t for unsigned 64-bit int.
37947
ca38dc17
AS
379482012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37949
37950 * include/string.h (memmem): Declare libc hidden alias.
37951 * string/memmem.c (memmem): Define libc hidden alias.
37952 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37953 __read, __close instead of open, read, close.
37954
9a387d1f
L
379552012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37956
ac49ecaf
L
37957 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37958 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37959 global and hidden.
37960 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37961 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37962 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37963 Likewise.
37964 (__rawmemchr_sse2): Likewise.
37965 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37966 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37967 (__strchr_sse2): Likewise.
37968 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37969 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37970 (__strcasecmp_sse2): Likewise.
37971 (__strncasecmp_sse2): Likewise.
37972 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37973 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37974 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37975 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37976 (__strrchr_sse2): Likewise.
37977 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37978 ifunc-impl-list.c.
37979 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37980 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37981 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37982 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37983 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37984 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37985 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37986 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37987 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37988 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37989 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37990 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37991 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37992 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37993 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37994 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37995 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37996 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37997 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37998 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37999 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38000 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38001 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38002 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38003 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38004 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38005 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38006 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38007 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38008 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38009
b090e8ea
L
38010 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38011 global and hidden.
38012 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38013 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38014 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38015 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38016 Likewise.
38017 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38018 Likewise.
38019 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38020 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38021 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38022 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38023 ifunc-impl-list.c.
38024 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38025 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38026 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38027 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38028 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38029 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38030 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38031 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38032 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38033 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38034 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38035 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38036 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38037 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38038 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38040 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38041 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38042 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38043 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38044 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38045 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38046 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38047 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38048 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38049 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38050 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38051 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38052 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38053 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38054 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38055 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38056 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38057 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38058 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38059 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38060 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38061 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38062 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38063 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38064 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38065
11dd4af6
L
38066 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38067 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38068 * include/ifunc-impl-list.h: New file.
38069 * misc/ifunc-impl-list.c: Likewise.
38070 * misc/Makefile (routines): Add ifunc-impl-list.
38071 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38072 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38073 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38074 TEST_NAME]: New variables.
11dd4af6
L
38075 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38076 are defined.
38077 (test_init): Call __libc_ifunc_impl_list to initialize
38078 func_list if TEST_IFUNC and TEST_NAME are defined.
38079
9a387d1f
L
38080 * string/Makefile (strop-tests): Add bcopy and bzero.
38081 * string/test-bcopy.c: New file.
38082 * string/test-bzero.c: Likewise.
38083 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38084 defined.
38085 * string/test-memset.c: Support bzero test if TEST_BZERO is
38086 defined.
38087 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38088 __libc_memmove.
38089 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38090 __libc_memset.
38091 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38092 of memset.
38093
472371b9
JM
380942012-10-10 Joseph Myers <joseph@codesourcery.com>
38095
1e4a9536
JM
38096 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38097 * configure: Regenerated.
38098
d173d12e
JM
38099 * Makeconfig (+link-static-before-libc): Don't include
38100 $(link-static-libc).
38101
472371b9
JM
38102 * libio/libio.h (_IO_pos_t): Remove.
38103
89a3ad0b
AO
381042012-10-10 Alexandre Oliva <aoliva@redhat.com>
38105
38106 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38107 McGrath.
38108
e7451425
AO
381092012-10-10 Alexandre Oliva <aoliva@redhat.com>
38110
38111 * crypt/crypt-entry.c: Include fips-private.h.
38112 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38113 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38114 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38115 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38116
4ba74a35
AO
381172012-10-10 Alexandre Oliva <aoliva@redhat.com>
38118
38119 * crypt/crypt-private.h: Include stdbool.h.
38120 (_ufc_setup_salt_r): Return bool.
38121 * crypt/crypt-entry.c: Include errno.h.
38122 (__crypt_r): Return NULL with EINVAL for bad salt.
38123 * crypt/crypt_util.c (bad_for_salt): New.
38124 (_ufc_setup_salt_r): Check that salt is long enough and within
38125 the specified alphabet.
38126 * crypt/badsalttest.c: New file.
38127 * crypt/Makefile (tests): Add it.
38128 ($(objpfx)badsalttest): New.
38129
f96f1242
MK
381302012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38131
38132 * NEWS: Add entry for BZ #14602.
38133
0e8e0c1c
JM
381342012-10-09 Joseph Myers <joseph@codesourcery.com>
38135
38136 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38137 type-generic.
38138 * math/libm-test.inc: Update comment listing what functions and
38139 macros are tested.
38140 (isgreater_test): New function.
38141 (isgreaterequal_test): Likewise.
38142 (isless_test): Likewise.
38143 (islessequal_test): Likewise.
38144 (islessgreater_test): Likewise.
38145 (isunordered_test): Likewise.
38146 (main): Call the new functions.
38147
273edc5e
RM
381482012-10-09 Roland McGrath <roland@hack.frob.com>
38149
b8493de0
RM
38150 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38151 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38152 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38153 * sysdeps/i386/configure: Regenerated.
38154 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38155 * sysdeps/mach/configure: Regenerated.
38156 * sysdeps/mach/hurd/configure: Regenerated.
38157 * sysdeps/powerpc/configure: Regenerated.
38158 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38159 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38160 * sysdeps/s390/s390-32/configure: Regenerated.
38161 * sysdeps/s390/s390-64/configure: Regenerated.
38162 * sysdeps/sh/configure: Regenerated.
38163 * sysdeps/sparc/configure: Regenerated.
38164 * sysdeps/unix/sysv/linux/configure: Regenerated.
38165 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38166 * sysdeps/x86_64/configure: Regenerated.
38167
273edc5e
RM
38168 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38169 defined. Don't check if MAP is NULL.
38170
c8450f70
JM
381712012-10-09 Joseph Myers <joseph@codesourcery.com>
38172
38173 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38174 (_G_stat64): Likewise.
38175 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38176 (_G_stat64): Likewise.
38177 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38178 instead of struct _G_stat64.
38179 * libio/fileops.c (mmap_remap_check): Likewise.
38180 (decide_maybe_mmap): Likewise.
38181 (_IO_new_file_seekoff): Likewise.
38182 (_IO_file_stat): Likewise.
38183 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38184 _G_off64_t.
38185 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38186 instead of struct _G_stat64.
38187 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38188
57e605ba
MK
381892012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38190
38191 [BZ #14602]
38192 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38193 Replace with ...
38194 (CHECK_EOL): New macro.
38195 (two_way_short_needle): Check beginning of haystack for EOL. Use
38196 CHECK_EOL.
38197 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38198 Replace with CHECK_EOL.
38199 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38200 Replace with CHECK_EOL.
38201
ef1bb361
JM
382022012-10-08 Joseph Myers <joseph@codesourcery.com>
38203
38204 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38205 type-generic.
38206 * math/libm-test.inc: Update comment listing what functions and
38207 macros are tested.
38208 (finite_test): New function.
38209 (isinf_test): Likewise.
38210 (isnan_test): Likewise.
38211 (fpclassify_test): Test subnormal input.
38212 (isfinite_test): Likewise.
38213 (isnormal_test): Likewise.
38214 (main): Call the new functions.
38215
55f11534
JN
382162012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38217
38218 [BZ #14660]
38219 * Makerules (%.dynsym): Force C locale when running
38220 $(OBJDUMP) --dynamic-syms.
38221
1ab29350
AS
382222012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38223
38224 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38225 <stdint.h>.
38226
f1ecb7ef
DM
382272012-10-06 David S. Miller <davem@davemloft.net>
38228
38229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38230 upper 32-bits of the length value in %o2 since we use branch-on-register
38231 tests which consider the entire 64-bit register.
38232
5d41d91a
L
382332012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38234
38235 * string/test-strstr.c (check2): Add a test for page boundary.
38236
3baddb72
DM
382372012-10-05 David S. Miller <davem@davemloft.net>
38238
38239 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38240 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38241 file.
38242 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38243 sysdep_routines.
38244 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38245 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38246 and bzero when HWCAP_SPARC_CRYPTO is present.
38247
9cee5585
L
382482012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38249
d7e0dab9
L
38250 [BZ #14602]
38251 * string/test-strstr.c (check2): New function.
38252 (test_main): Call check2.
38253
03759f47
L
38254 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38255 and bug-strchr1.
38256 * string/bug-strcasestr1.c (do_test): Moved to ...
38257 * string/test-strcasestr.c (check1): Here. New function.
38258 (do_one_test): Break out result checking code into ...
38259 (check_result): This. New function.
38260 (do_one_test): Call check_result.
38261 (test_main): Call check1.
38262 * string/bug-strchr1.c (do_test): Moved to ...
38263 * string/test-strchr.c (check1): Here. New function.
38264 (do_one_test): Break out result checking code into ...
38265 (check_result): This. New function.
38266 (do_one_test): Call check_result.
38267 (test_main): Call check1.
38268 * string/bug-strstr1.c (main): Moved to ...
046f153e 38269 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38270 (do_one_test): Break out result checking code into ...
38271 (check_result): This. New function.
38272 (do_one_test): Call check_result.
38273 (test_main): Call check1.
38274 * string/bug-strcasestr1.c: Removed.
38275 * string/bug-strchr1.c: Likewise.
38276 * string/bug-strstr1.c: Likewise.
38277
53cea63e
L
38278 * elf/Makefile (dl-routines): Add hwcaps.
38279 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38280 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38281 (_dl_important_hwcaps): Moved to ...
38282 * elf/dl-hwcaps.c: Here. New file.
38283 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38284
9cee5585 38285 [BZ #14557]
bb859b06
L
38286 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38287 if IS_IN_rtld isn't defined.
38288
9cee5585
L
38289 * elf/dl-support.c (_dl_sysinfo_map): New.
38290 Include "get-dynamic-info.h" and "setup-vdso.h".
38291 (_dl_non_dynamic_init): Call setup_vdso.
38292 * elf/dynamic-link.h: Don't include <assert.h>.
38293 (elf_get_dynamic_info): Moved to ...
38294 * elf/get-dynamic-info.h: Here. New file.
38295 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38296 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38297 * elf/setup-vdso.h: Here. New file.
38298 * elf/rtld.c: Include "setup-vdso.h".
38299 (dl_main): Call setup_vdso.
38300
23c31b76
JM
383012012-10-05 Joseph Myers <joseph@codesourcery.com>
38302
28234b07
JM
38303 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38304 creal in comment listing functions tested. List finite, isinf,
38305 isnan, isless, islessequal, isgreater, isgreaterequal,
38306 islessgreater, isunordered, lgamma_r and pow10 as functions and
38307 macros not tested. Mention which functions not tested are aliases
38308 for other functions. Fix typo. Note that signs of NaNs are not
38309 tested.
38310
23c31b76
JM
38311 * scripts/config.guess: Update from config.git.
38312 * scripts/config.sub: Likewise.
38313
9043e228
RM
383142012-10-04 Roland McGrath <roland@hack.frob.com>
38315
38316 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38317 * misc/madvise.c (madvise): Renamed to __madvise.
38318 Make madvise a weak alias.
38319 * include/sys/mman.h: Declare __madvise.
38320 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38321 * sysdeps/unix/syscalls.list
38322 (madvise): Make __madvise the strong name, and madvise a weak alias.
38323 * sysdeps/unix/sysv/linux/syscalls.list
38324 (madvise, mmap): Remove redundant entries.
38325 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38326 * malloc/malloc.c (mtrim): Likewise.
38327 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38328
f57f8055
RM
383292012-10-03 Roland McGrath <roland@hack.frob.com>
38330
38331 * sysdeps/mach/hurd/dl-cache.c: File removed.
38332 * config.h.in (USE_LDCONFIG): New #undef.
38333 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38334 * configure: Regenerated.
38335 * elf/Makefile (dl-routines): Add dl-cache only under
38336 [$(use-ldconfig) = yes].
38337 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38338 cache on [USE_LDCONFIG].
38339 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38340 [USE_LDCONFIG].
38341 * elf/rtld.c (dl_main): Likewise.
38342
5bb0c10a
PT
383432012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38344
38345 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38346 _SC_LEVEL4_CACHE_LINESIZE.
38347
010188c6
RM
383482012-10-03 Roland McGrath <roland@hack.frob.com>
38349
38350 * sysdeps/unix/bsd/confstr.h: File removed.
38351
b6c5ec07
AO
383522012-10-02 Alexandre Oliva <aoliva@redhat.com>
38353
38354 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38355 sys/sdt-config.h.
38356
408223d4
RM
383572012-10-02 Roland McGrath <roland@hack.frob.com>
38358
38359 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38360 Make 'mapoff' field ElfW(Off) rather than off_t.
38361
bb9510dc
DL
383622012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38363
fc997c6e
DL
38364 * nscd/Makefile: Remove nscd-cflags and all its users.
38365 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38366 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38367
bb9510dc
DL
38368 [BZ #10631]
38369 * malloc.c (malloc_printerr): Clarify error message.
38370
05699367
L
383712012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38372
38373 [BZ #14648]
38374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38375 Set bit_FMA_Usable if FMA is supported.
38376 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38377 macro.
38378 (bit_FMA4_Usable): Updated.
38379 (index_FMA_Usable): New macro.
38380 (CPUID_FMA): Likewise
38381 (HAS_FMA): Defined with bit_FMA_Usable.
38382
51367701
RM
383832012-10-01 Roland McGrath <roland@hack.frob.com>
38384
38385 * bits/types.h (__swblk_t): Type removed.
38386 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38387 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38389 (__SWBLK_T_TYPE): Likewise.
38390 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38391 (__SWBLK_T_TYPE): Likewise.
38392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38393 (__SWBLK_T_TYPE): Likewise.
38394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38395 (__SWBLK_T_TYPE): Likewise.
38396
4d57bf63 383972012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38398 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38399
38400 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38401 (xdr_mapname): Use YPMAXMAP as maxsize.
38402 (xdr_peername): Use YPMAXPEER as maxsize.
38403 (xdr_keydat): Use YPAXRECORD as maxsize.
38404 (xdr_valdat): Use YPMAXRECORD as maxsize.
38405
93c65d43
RM
384062012-10-01 Roland McGrath <roland@hack.frob.com>
38407
497a03d6
RM
38408 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38409
93c65d43
RM
38410 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38411 * csu/init-first.c: ... here.
38412 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38413 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38414 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38415 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38416 * sysdeps/i386/init-first.c: File removed.
38417 * sysdeps/sh/init-first.c: File removed.
38418
bec749fd
JM
384192012-10-01 Joseph Myers <joseph@codesourcery.com>
38420
38421 [BZ #14645]
38422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38423 if x * y might underflow to zero and z is zero.
38424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38426 * math/libm-test.inc (min_subnorm_value): New variable.
38427 (fma_test): Add more tests.
38428 (fma_test_towardzero): Likewise.
38429 (fma_test_downward): Likewise
38430 (fma_test_upward): Likewise.
38431 (initialize): Set min_subnorm_value.
38432
8ec5b013
JM
384332012-09-29 Joseph Myers <joseph@codesourcery.com>
38434
38435 [BZ #14638]
38436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38437 0 + 0.
38438 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38439 mode for addition resulting in exact zero.
38440 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38442 exact 0 + 0.
38443 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38444 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38445 * math/libm-test.inc (fma_test): Add more tests.
38446 (fma_test_towardzero): New function.
38447 (fma_test_downward): Likewise.
38448 (fma_test_upward): Likewise.
38449 (main): Call the new functions.
38450
b1fa802e
DM
384512012-09-28 David S. Miller <davem@davemloft.net>
38452
38453 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38454
d3b9fd9e
RM
384552012-09-28 Roland McGrath <roland@hack.frob.com>
38456
ea4d37b3
RM
38457 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38458 instead of SIGALRM.
38459
ac51c949
RM
38460 * sysdeps/gnu/_G_config.h: Moved to ...
38461 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38462 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38463 * sysdeps/generic/_G_config.h: ... here.
38464
28c195f7
RM
38465 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38466
848917f9
RM
38467 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38468
6bacf05b
RM
38469 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38470 Conditionalize target on [libnss_test1.so-version].
38471
91363dbb
RM
38472 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38473
cc87f7d8
RM
38474 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38475 (elfobjdir): Move out of conditionals.
38476
b1c608fe
RM
38477 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38478 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38479 (__nss_lookup_function): Conditionalize label remove_from_tree on
38480 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38481
1d9a6d96
DM
384822012-09-28 David S. Miller <davem@davemloft.net>
38483
38484 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38485 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38486 file.
38487 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38488 sysdep_routines.
38489 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38491 when HWCAP_SPARC_CRYPTO is present.
38492
72581615
PT
384932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38494
38495 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38496
715a900c
JL
384972012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38498
38499 [BZ #6530]
38500 * stdio-common/vfprintf.c (process_string_arg): Revert
38501 2000-07-22 change.
38502
385032011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38504
38505 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38506 for testcase.
38507 * stdio-common/tst-sprintf.c: Include <locale.h>
38508 (main): Test sprintf's handling of incomplete multibyte
38509 characters.
38510
9bac1d86
L
385112012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38512
38513 * elf/dl-runtime.c (VERSYMIDX): Removed.
38514 * elf/dl-version.c (VERSYMIDX): Likewise.
38515 * elf/do-rel.h (VERSYMIDX): Likewise.
38516 (VALIDX): Likewise.
38517 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38518 * elf/rtld.c (VALIDX): Likewise.
38519 (ADDRIDX): Likewise.
9bac1d86
L
38520 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38521 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38522 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38523 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38524 (VALIDX): Likewise.
38525 (ADDRIDX): Likewise.
9bac1d86 38526
b31606c0
PT
385272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38528
38529 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38530
11541177
JL
385312012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38532
38533 [BZ #11438]
38534 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38535 to global scope.
38536 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38537 addresses are in the same scope as 192.0.2/24.
38538 * posix/gai.conf: Document new scope table defaults.
38539
adb26fae
SP
385402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38541
38542 [BZ #5298]
38543 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38544 for ftell. Compute offsets from write pointers instead.
38545 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38546
4573c6b0
SP
385472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38548
38549 [BZ #14543]
38550 * libio/Makefile (tests): New test case tst-fseek.
38551 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38552 combination works in wide mode.
38553 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38554 state when the external buffer state changes.
38555
aa9bbfe6
DM
385562012-09-27 David S. Miller <davem@davemloft.net>
38557
38558 [BZ #14376]
38559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38560 pass reloc->r_addend in as the 'high' argument to
38561 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38562
784421e7
DM
38563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38564
c39bc8b8
PT
385652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38566
38567 * rt/tst-aio2.c: Include <pthread.h>.
38568 * rt/tst-aio3.c: Likewise.
38569
1ccc2399
SE
385702012-09-27 Steve Ellcey <sellcey@mips.com>
38571
38572 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38573
31ed4153
L
385742012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38575
25f5f885
L
38576 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38577 contents on [SHARED].
31ed4153 38578
b7bfe116
MP
385792012-09-26 Marek Polacek <polacek@redhat.com>
38580
38581 [BZ #14530]
38582 [BZ #13741]
38583 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38584 for C++ and GCC <4.3 as well as for non GCC compilers.
38585
43c4edba
MT
385862012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38587
38588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38589
6a1bf82f
RM
385902012-09-25 Roland McGrath <roland@hack.frob.com>
38591
38592 * Makefile.in (all, install): Declare with .PHONY.
38593 Reported by Michael Hope <michael.hope@linaro.org>.
38594
8ad11b9a
TMQMF
385952012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38596
38597 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38598 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38599 system header.
38600 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38601 Likewise.
38602 (sydep_routines): Add the new and the internal functions.
38603 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38604 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38606 (GLIBC_2.17): Add the new function.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38608 (GLIBC_2.17): Likewise.
38609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38610 (GLIBC_2.17): Likewise.
38611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38612 (GLIBC_2.17): Likewise.
38613 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38614
7e2fca8d
AM
386152012-09-25 Alan Modra <amodra@gmail.com>
38616
38617 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38618 Add release barrier before setting once_control to say
38619 initialisation is done. Add hints on lwarx. Use macro in
38620 place of isync.
38621 (clear_once_control): Add release barrier.
38622
b87c4b24
JM
386232012-09-25 Joseph Myers <joseph@codesourcery.com>
38624
d032e0d2
JM
38625 [BZ #13629]
38626 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38627 specially.
38628 * math/s_clog10.c (__clog10): Likewise.
38629 * math/s_clog10f.c (__clog10f): Likewise.
38630 * math/s_clog10l.c (__clog10l): Likewise.
38631 * math/s_clogf.c (__clogf): Likewise.
38632 * math/s_clogl.c (__clogl): Likewise.
38633 * math/Makefile (libm-calls): Add x2y2m1.
38634 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38635 (__x2y2m1): Likewise.
38636 (__x2y2m1l): Likewise.
38637 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38638 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38639 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38640 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38641 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38642 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38643 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38644 * sysdeps/i386/fpu/libm-test-ulps: Update.
38645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38646
b87c4b24
JM
38647 [BZ #14621]
38648 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38649 int as type of variable DEPTH.
38650 (glob): Use size_t instead of int as type of variables NEWCOUNT
38651 and OLD_PATHC.
38652
6d3bf199
LD
386532012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38654
22bf5c17
LD
38655 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38656 Add s_sincosf-sse2.
38657 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38658 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38659 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38660 macros for using routine as __sincosf_ia32.
38661 Use macro for function declaration and weak_alias.
38662 * sysdeps/i386/fpu/libm-test-ulps: Update.
38663
38664 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38666
38667 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38668 subnormal argument.
38669 * math/s_cexpf.c (__cexpf): Likewise.
38670 * math/s_csinf.c (__csinf): Likewise.
38671 * math/s_csinhf.c (__csinhf): Likewise.
38672 * math/s_ctanf.c (__ctanf): Likewise.
38673 * math/s_ctanhf.c (__ctanhf): Likewise.
38674 * math/s_ccosh.c (__ccoshf): Likewise.
38675 * math/s_cexp.c (__cexpl): Likewise.
38676 * math/s_csin.c (__csin): Likewise.
38677 * math/s_csinh.c (__csinh): Likewise.
38678 * math/s_ctan.c (__ctan): Likewise.
38679 * math/s_ctanh.c (ctanh): Likewise.
38680 * math/s_ccoshl.c (__ccoshl): Likewise.
38681 * math/s_cexpl.c (__cexpl): Likewise.
38682 * math/s_csinl.c (__csinl): Likewise.
38683 * math/s_csinhl.c (__csinhl): Likewise.
38684 * math/s_ctanl.c (__ctanl): Likewise.
38685 * math/s_ctanhl.c (__ctanhl): Likewise.
38686
203e5603
JM
386872012-09-25 Joseph Myers <joseph@codesourcery.com>
38688
38689 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38690 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38691 (_IO_off_t): Define to __off_t, not _G_off_t.
38692 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38693 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38694 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38695 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38696 type of __dummy and __dummy2 fields.
38697 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38698 (_G_ssize_t): Likewise.
38699 (_G_off_t): Likewise.
38700 (_G_pid_t): Likewise.
38701 (_G_uid_t): Likewise.
38702 (_G_wchar_t): Likewise.
38703 (_G_wint_t): Likewise.
38704 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38705 (_G_ssize_t): Likewise.
38706 (_G_off_t): Likewise.
38707 (_G_pid_t): Likewise.
38708 (_G_uid_t): Likewise.
38709 (_G_wchar_t): Likewise.
38710 (_G_wint_t): Likewise.
38711 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38712 (_G_ssize_t): Likewise.
38713 (_G_off_t): Likewise.
38714 (_G_pid_t): Likewise.
38715 (_G_uid_t): Likewise.
38716 (_G_wchar_t): Likewise.
38717 (_G_wint_t): Likewise.
38718
9fab36eb
SP
387192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38720
38721 * malloc/arena.c: Include malloc-sysdep.h.
38722 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38723 is sufficient to shrink the heap or an unmap is needed.
38724 * sysdeps/generic/malloc-sysdep.h: New file. Define
38725 new function check_may_shrink_heap.
38726 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38727 new function check_may_shrink_heap.
38728
2b4f00d1
SP
387292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38730
38731 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38732 comments.
38733
9a9028b1
DL
387342012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38735
57c69bef
DL
38736 * catgets/test-gencat.sh: Add "set -e".
38737 * elf/tst-pathopt.sh: Likewise.
38738 * grp/tst_fgetgrent.sh: Likewise.
38739 * iconvdata/run-iconv-test.sh: Likewise.
38740 * intl/tst-gettext.sh: Likewise.
38741 * intl/tst-gettext2.sh: Likewise.
38742 * intl/tst-gettext4.sh: Likewise.
38743 * intl/tst-gettext6.sh: Likewise.
38744 * intl/tst-translit.sh: Likewise.
38745 * io/ftwtest-sh: Likewise.
38746 * libio/test-freopen.sh: Likewise.
38747 * malloc/tst-mtrace.sh: Likewise.
38748 * posix/globtest.sh: Likewise.
38749 * posix/tst-getconf.sh: Likewise.
38750 * posix/wordexp-tst.sh: Likewise.
38751 * stdio-common/tst-printf.sh: Likewise.
38752 * stdio-common/tst-unbputc.sh: Likewise.
38753 * stdlib/tst-fmtmsg.sh: Likewise.
38754 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38755 * catgets/Makefile: Do not specify -e option when running
38756 testsuite shell scripts.
38757 * elf/Makefile: Likewise.
38758 * grp/Makefile: Likewise.
38759 * iconvdata/Makefile: Likewise.
38760 * intl/Makefile: Likewise.
38761 * io/Makefile: Likewise.
38762 * libio/Makefile: Likewise.
38763 * malloc/Makefile: Likewise.
38764 * posix/Makefile: Likewise.
38765 * stdio-common/Makefile: Likewise.
38766 * stdlib/Makefile: Likewise.
38767 * sysdeps/x86_64/Makefile: Likewise.
38768
9a9028b1
DL
38769 * io/ftwtest-sh: Add copyright header.
38770 * posix/globtest.sh: Likewise.
38771 * posix/tst-getconf.sh: Likewise.
38772 * posix/wordexp-tst.sh: Likewise.
38773 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38774
ced6f16e
L
387752012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38776
94b32c39
L
38777 [BZ #13679]
38778 * Makeconfig (+link): Defined as $(+link-static) if
38779 $(build-shared) isn't yes.
38780 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38781 isn't yes.
38782 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38783
189e935b
L
38784 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38785
ced6f16e
L
38786 [BZ #14562]
38787 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38788 new chunk size with MALLOC_ALIGN_MASK.
38789
a9f8e53a
JM
387902012-09-24 Joseph Myers <joseph@codesourcery.com>
38791
38792 [BZ #5044]
38793 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38794 <rounding-mode.h>.
38795 (__printf_fphex): Determine rounding using get_rounding_mode and
38796 round_away.
38797 * stdio-common/tst-printf-round.c (struct hex_test): New
38798 structure.
38799 (hex_tests): New variable.
38800 (test_hex_in_one_mode): New function.
38801 (do_test): Also run tests for hex float output.
38802
43153109
JM
388032012-09-21 Joseph Myers <joseph@codesourcery.com>
38804
38805 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38806 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38807 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38808 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38809 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38810 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38811 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38812 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38813
8a26625d
JM
388142012-09-20 Joseph Myers <joseph@codesourcery.com>
38815
38816 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38817 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38818 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38819 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38820
f3fd569c
DL
388212012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38822
38823 [BZ #14579]
38824 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38825 mode only.
38826 * elf/tst-rtld-load-self.sh: New test.
38827 * elf/Makefile: Run it.
38828
63bbedd4
JM
388292012-09-18 Joseph Myers <joseph@codesourcery.com>
38830
38831 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38832 (tst-writev-ENV): Remove.
38833 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38834
626f8b6a
CM
388352012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38836
38837 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38838
b7aaa4d6
JM
388392012-09-17 Joseph Myers <joseph@codesourcery.com>
38840
38841 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38842 unconditional.
38843 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38844 Likewise.
38845 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38846 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38847 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38848 Likewise.
38849
65513990
L
388502012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38851
38852 [BZ #14587]
38853 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38854 * config.make.in (have-cpp-asm-debuginfo): Removed.
38855 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38856 * configure: Regenerated.
38857
784761be
JM
388582012-09-14 Joseph Myers <joseph@codesourcery.com>
38859
38860 [BZ #5044]
38861 * stdio-common/printf_fp.c: Include <stdbool.h> and
38862 <rounding-mode.h>.
38863 (___printf_fp): Determine rounding using get_rounding_mode and
38864 round_away.
38865 * stdio-common/tst-printf-round.c: New file.
38866 * stdio-common/Makefile (tests): Add tst-printf-round.
38867 (link-libm): New variable.
38868 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38869
9503345f
L
388702012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38871
38872 [BZ #14576]
38873 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38874 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38875 Likewise.
38876 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38877 Likewise.
38878
ad35fc00
JM
388792012-09-13 Joseph Myers <joseph@codesourcery.com>
38880
38881 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38882 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38883 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38884 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38885
6c9b0f68
JM
388862012-09-12 Joseph Myers <joseph@codesourcery.com>
38887
38888 [BZ #14518]
38889 * include/rounding-mode.h: New file.
38890 * sysdeps/generic/get-rounding-mode.h: Likewise.
38891 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38892 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38893 (MAX_VALUE): New macro.
38894 (MIN_VALUE): Likewise.
38895 (overflow_value): New function.
38896 (underflow_value): Likewise.
38897 (round_and_return): Use overflow_value and underflow_value to
38898 determine return values in overflow and underflow cases. Use
38899 round_away to determine rounding depending on rounding mode.
38900 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38901 determine return values in overflow and underflow cases.
38902 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38903 (struct test_results): New structure.
38904 (struct test): Use struct test_results to store expected results
38905 for all rounding modes.
38906 (TEST): Include expected results for all rounding modes.
38907 (test_in_one_mode): New function.
38908 (do_test): Use test_in_one_mode to compute and check results.
38909 Check results for all rounding modes.
38910 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38911 $(link-libm).
38912
19fcedd5
AM
389132012-12-09 Allan McRae <allan@archlinux.org>
38914
1e9d84cd 38915 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38916
8bbfd2f1
JM
389172012-09-11 Joseph Myers <joseph@codesourcery.com>
38918
38919 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38920 (_G_int32_t): Likewise.
38921 (_G_uint16_t): Likewise.
38922 (_G_uint32_t): Likewise.
38923 (_G_HAVE_BOOL): Likewise.
38924 (_G_HAVE_ATEXIT): Likewise.
38925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38926 (_G_HAVE_IO_FILE_OPEN): Likewise.
38927 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38928 (_G_int32_t): Likewise.
38929 (_G_uint16_t): Likewise.
38930 (_G_uint32_t): Likewise.
38931 (_G_HAVE_BOOL): Likewise.
38932 (_G_HAVE_ATEXIT): Likewise.
38933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38934 (_G_HAVE_IO_FILE_OPEN): Likewise.
38935 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38936 (_G_int32_t): Likewise.
38937 (_G_uint16_t): Likewise.
38938 (_G_uint32_t): Likewise.
38939 (_G_HAVE_BOOL): Likewise.
38940 (_G_HAVE_ATEXIT): Likewise.
38941 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38942 (_G_HAVE_IO_FILE_OPEN): Likewise.
38943
b1dc5912
L
389442012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38945
38946 * csu/libc-tls.c: Update copyright years.
38947
0e886ef9
JM
389482012-09-10 Joseph Myers <joseph@codesourcery.com>
38949
28361c5e
JM
38950 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38951 [!_G_USING_THUNKS]: Remove conditional code.
38952 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38953 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38954
0e886ef9
JM
38955 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38956 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38957 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38958 (_G_VTABLE_LABEL_PREFIX): Likewise.
38959 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38960 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38961 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38962 (_G_VTABLE_LABEL_PREFIX): Likewise.
38963 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38964 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38965 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38966 (_G_VTABLE_LABEL_PREFIX): Likewise.
38967 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38968
bcba7aa2
L
389692012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38970
38971 * libio/Makefile: Include ../Makeconfig before tests.
38972 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38973 only if $(build-shared) is yes.
38974
06585ee8
L
38975 * iconv/gconv_db.c: Update copyright years.
38976
80ccd52c
LD
389772012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38978
38979 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38980 unwind info if defined PIC. Fix special cases description.
38981 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38982
38983 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38984 DP_HI_MASK entry.
38985 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38986
691bc9c1
L
389872012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38988
3d9b46b3
L
38989 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38990
de2139a9
L
38991 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38992 is NULL.
38993
5ca78dd0
L
38994 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38995 (LDLIBS-tst-chk4): This.
38996 (LDFLAGS-tst-chk5): Renamed to ...
38997 (LDLIBS-tst-chk5): This.
38998 (LDFLAGS-tst-chk6): Renamed to ...
38999 (LDLIBS-tst-chk6): This.
39000 (LDFLAGS-tst-lfschk4): Renamed to ...
39001 (LDLIBS-tst-lfschk4): This.
39002 (LDFLAGS-tst-lfschk5): Renamed to ...
39003 (LDLIBS-tst-lfschk5): This.
39004 (LDFLAGS-tst-lfschk6): Renamed to ...
39005 (LDLIBS-tst-lfschk6): This.
39006
691bc9c1
L
39007 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39008 on $(common-objpfx)soversions.mk.
39009
65cafb1c
JM
390102012-09-07 Joseph Myers <joseph@codesourcery.com>
39011
39012 [BZ #10014]
39013 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39014 example host name.
39015
c78ab094
SP
390162012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39017
39018 * malloc/arena.c (arena_get_retry): New function that gets
39019 another arena for the caller to try its request on.
39020 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39021 current arena cannot fulfill the request.
39022 (__libc_memalign): Likewise.
39023 (__libc_memalign): Likewise.
39024 (__libc_pvalloc): Likewise.
39025 (__libc_calloc): Likewise.
39026
01f49f59
JT
390272012-09-05 John Tobey <john.tobey@gmail.com>
39028
39029 [BZ #13542]
39030 * manual/arith.texi (Operations on Complex): Fix description
39031 of carg branch cut.
39032
4c23fed5
JM
390332012-09-06 Joseph Myers <joseph@codesourcery.com>
39034
1d3c8572
JM
39035 [BZ #10014]
39036 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39037 host name.
39038
4c23fed5
JM
39039 [BZ #10038]
39040 * manual/memory.texi (Memory): Make order of menu items match
39041 order of sections.
39042
04570aaa
L
390432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39044
39045 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39046 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39047 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39048
b80af2f4
L
390492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39050
39051 * csu/libc-tls.c (static_dtv): Renamed to ...
39052 (_dl_static_dtv): This. Make it global.
39053 (_dl_initial_dtv): Removed.
39054 (__libc_setup_tls): Updated.
39055 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39056 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39057 DL_INITIAL_DTV.
39058
2abe9f15
PM
390592012-09-06 Petr Machata <pmachata@redhat.com>
39060
39061 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39062 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39063 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39064 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39065
0948c3af
L
390662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39067
39068 [BZ #14545]
39069 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39070 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39071 freeing dtv[-1].
39072
a5055ad1
L
390732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39074
39075 [BZ #14544]
39076 * Makeconfig (link-static-before-libc): Replace $(+prector)
39077 with $(+prectorT).
39078 (link-static-after-libc): Replace $(+postctor) with
39079 $(+postctorT).
39080 (link-bounded): Replace $(+prector)/$(+postctor) with
39081 $(+prectorT)/$(+postctorT).
39082 (+prectorT): New macro.
39083 (+postctorT): Likewise.
39084
ed8c2ecd
JM
390852012-09-06 Joseph Myers <joseph@codesourcery.com>
39086
39087 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39088 (round_str): Handle values above the maximum for IBM long double
39089 as inexact.
39090 * stdlib/tst-strtod-round.c (tests): Regenerated.
39091
14c996c8
AK
390922012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39093
39094 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39095 assembler flag.
39096 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39097 zarch_nohighgprs around the zarch optimized routines.
39098 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39099 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39100 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39101 for zarch.
39102
430d6ce6
DM
391032012-09-05 David S. Miller <davem@davemloft.net>
39104
39105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39106
57f41c40
AS
39107 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39108 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39109 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39110 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39111 entries.
39112
24d4e01b
AO
391132012-09-05 Alexandre Oliva <aoliva@redhat.com>
39114
39115 * malloc/arena.c: Fold copyright years.
39116 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39117
61d58174
AO
391182012-09-05 Alexandre Oliva <aoliva@redhat.com>
39119
39120 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39121
20196a5e
AO
391222012-09-05 Alexandre Oliva <aoliva@redhat.com>
39123
39124 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39125
5c447383
AO
391262012-09-05 Alexandre Oliva <aoliva@redhat.com>
39127
39128 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39129 change internal state upon failure.
39130
fad64255
AO
391312012-09-05 Alexandre Oliva <aoliva@redhat.com>
39132
39133 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39134 * malloc/memusage.c (mmap): Likewise.
39135 (mmap64, mremap): Likewise. Adjust name in comment.
39136
1ffb8c90
SP
391372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39138
39139 * libio/fileops.c: Fix typos in comments.
39140 * libio/oldfileops.c: Likewise.
39141 * libio/wfileops.c: Likewise.
39142
6ef9cc37
SP
391432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39144
39145 [BZ #1349]
39146 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39147 (tst-malloc-usable-ENV): Set environment for test case.
39148 * malloc/hooks.c (malloc_check_get_size): New function to get
39149 requested size.
39150 * malloc/malloc.c (musable): Use malloc_check_get_size.
39151 * malloc/tst-malloc-usable.c: New test case.
39152
4d038ae3
AS
391532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39154
39155 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39156
c4e85184
AM
391572012-09-05 Allan McRae <allan@archlinux.org>
39158
b9dafc56 39159 [BZ #13966]
c4e85184
AM
39160 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39161 determine header location.
39162 * configure: Regenerated.
39163
e1343020
AS
391642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39165
39166 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39167 float format.
39168 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39169 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39170 format.
e1343020
AS
39171 (test): Regenerate.
39172
0a9f1987
DM
391732012-09-04 David S. Miller <davem@davemloft.net>
39174
39175 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39176 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39177 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39178
29237804
FW
391792012-09-04 Florian Weimer <fweimer@redhat.com>
39180
39181 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39182 failures.
39183
edb3cb88
FW
39184 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39185
60160d83
JM
391862012-09-04 Joseph Myers <joseph@codesourcery.com>
39187
39188 [BZ #9914]
39189 * libio/iogetdelim.c: Include <limits.h>.
39190 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39191 + len + 1 would overflow.
39192
bcd6c8dc
AJ
391932012-09-03 Andreas Jaeger <aj@suse.de>
39194
39195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39196 * sysdeps/i386/fpu/libm-test-ulps: Update.
39197
4ffffbd2
LD
391982012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39199
39200 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39201 Add s_sinf-sse2, s_conf-sse2.
39202
39203 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39204 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39205 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39206 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39207
39208 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39209 for using routine as __sinf_ia32.
39210 Use macro for function declaration and weak_alias.
39211 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39212 for using routine as __cosf_ia32.
39213 Use macro for function declaration and weak_alias.
39214
39215 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39216 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39217
39218 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39219 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39221
39222 * math/libm-test.inc (cos_test): Add more test cases.
39223 (sin_test): Likewise.
39224 (sincos_test): Likewise.
39225
511fa286
AK
392262012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39227
39228 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39229 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39230 hidden.
39231 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39232
5f30cfec
L
392332012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39234
39235 [BZ #14538]
39236 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39237 first element of the GOT.
39238 (elf_machine_load_address): Return the difference between
39239 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39240
0786794f
AM
392412012-09-01 Allan McRae <allan@archlinux.org>
39242
5f30cfec
L
39243 [BZ #13412]
39244 * configure.in (AWK): Require gawk version 3.0 or later.
39245 * configure: Regenerated.
0786794f 39246
26889eac
JM
392472012-09-01 Joseph Myers <joseph@codesourcery.com>
39248
39249 * sysdeps/unix/sysv/linux/kernel-features.h
39250 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39251 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39252 [__NR_clock_getres]: Make code unconditional.
39253 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39254 (clock_getcpuclockid): Remove code left unreachable by removal of
39255 conditionals.
39256 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39257 code unconditional.
39258 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39259 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39260 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39261 Make code unconditional.
39262 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39263 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39264 * sysdeps/unix/sysv/linux/clock_settime.c
39265 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39266 conditional code.
39267 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39268 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39269
d22e28b0
L
392702012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39271
39272 [BZ #14476]
39273 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39274 scripts/test-installation.pl.
39275
39276 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39277 and $ld_so_version if it is set.
39278
050af9c4
SP
392792012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39280
39281 [BZ #14516]
39282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39283 failure if reading from procfs failed.
39284 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39285
ad845c0b
JM
392862012-08-27 Joseph Myers <joseph@codesourcery.com>
39287
39288 * sysdeps/unix/sysv/linux/kernel-features.h
39289 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39290 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39291 Remove conditional code.
39292 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39293 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39294 Remove conditional code.
39295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39296 * sysdeps/unix/sysv/linux/i386/fxstat.c
39297 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39299 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39300 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39302 * sysdeps/unix/sysv/linux/i386/lxstat.c
39303 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39305 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39306 Remove conditional code.
39307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39308 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39309 Remove conditional code.
39310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39311 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39312 <kernel-features.h>.
39313 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39314 Remove.
39315 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39316 Remove conditional code.
39317 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39318 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39319 Remove conditional.
39320
5dbf56af
MF
393212012-08-27 Mike Frysinger <vapier@gentoo.org>
39322
39323 [BZ #5400]
39324 * NEWS: Add fixed bug number.
39325
d6e70f43
JM
393262012-08-27 Joseph Myers <joseph@codesourcery.com>
39327
7efb4737
JM
39328 [BZ #14519]
39329 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39330 underflowing exponent in case of negative sign.
39331 * stdlib/tst-strtod-round-data: Add more tests.
39332 * stdlib/tst-strtod-round.c (tests): Regenerated.
39333
af92131a
JM
39334 [BZ #3479]
39335 * stdlib/strtod_l.c (NDIG): Remove.
39336 (HEXNDIG): Likewise.
39337 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39338 smallest representable value.
39339 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39340 lie within an exact representation of 1/2 ulp of the result.
39341 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39342 unconditionally.
39343 (TENS_P9_IDX): Define unconditionally.
39344 (TENS_P9_SIZE): Likewise.
39345 (TENS_P10_IDX): Likewise.
39346 (TENS_P10_SIZE): Likewise.
39347 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39348 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39349 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39350 entries for 10^2^13 and 10^2^14.
39351 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39352 (TENS_P13_IDX): Define.
39353 (TENS_P13_SIZE): Likewise.
39354 (TENS_P14_IDX): Likewise.
39355 (TENS_P14_SIZE): Likewise.
39356 (_fpioconst_pow10): Change array size to
39357 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39358 unconditional.
39359 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39360 1024]: Add entries for 10^2^13 and 10^2^14.
39361 [LAST_POW10 > _LAST_POW10]: Remove #error.
39362 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39363 (_fpioconst_pow10): Change array size to
39364 FPIOCONST_POW10_ARRAY_SIZE.
39365 * stdlib/gen-fpioconst.c: New file.
39366 * stdlib/gen-tst-strtod-round.c: Likewise.
39367 * stdlib/tst-strtod-round-data: Likewise.
39368 * stdlib/tst-strtod-round.c: Likewise.
39369 * stdlib/Makefile (tests): Add tst-strtod-round.
39370
d6e70f43
JM
39371 [BZ #14459]
39372 * stdlib/strtod_l.c: Include <stdint.h>.
39373 (NDEBUG): Do not define.
39374 (round_and_return): Change EXPONENT parameter to type intmax_t.
39375 Rearrange calculations to avoid internal overflow possibilities.
39376 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39377 Rearrange calculations to avoid internal overflow possibilities.
39378 Assert that number fits inside MPNSIZE limbs.
39379 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39380 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39381 calculations and add assertions to avoid internal overflow
39382 possibilities. Add casts to avoid signed/unsigned operations.
39383 * stdlib/tst-strtod-overflow.c: New file.
39384 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39385
1f529f7d
MP
393862012-08-25 Marek Polacek <polacek@redhat.com>
39387
39388 * time/time.h: Fix some typos in comments.
39389
59a629f1
RM
393902012-08-23 Roland McGrath <roland@hack.frob.com>
39391
39392 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39393 * posix/tst-rfc3484-2.c: Likewise.
39394 * posix/tst-rfc3484-3.c: Likewise.
39395
d3bafbc9
SM
393962012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39397
39398 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39399 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39400
4efcc022
JM
394012012-08-23 Joseph Myers <joseph@codesourcery.com>
39402
39403 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39404 #include of fxstatat64.c.
39405
3cc3ef96
RM
394062012-08-22 Roland McGrath <roland@hack.frob.com>
39407
f04e2132
RM
39408 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39409 * shadow/getspent_r.c: Likewise.
39410 * shadow/getspnam.c: Likewise.
39411 * shadow/getspnam_r.c: Likewise.
39412 * gshadow/getsgent.c: Likewise.
39413 * gshadow/getsgent_r.c: Likewise.
39414 * gshadow/getsgnam.c: Likewise.
39415 * gshadow/getsgnam_r.c: Likewise.
39416 * inet/getnetbyad.c: Likewise.
39417 * inet/getnetbyad_r.c: Likewise.
39418 * inet/getnetbynm.c: Likewise.
39419 * inet/getnetbynm_r.c: Likewise.
39420 * inet/getnetent.c: Likewise.
39421 * inet/getnetent_r.c: Likewise.
39422 * inet/getproto.c: Likewise.
39423 * inet/getproto_r.c: Likewise.
39424 * inet/getprtent.c: Likewise.
39425 * inet/getprtent_r.c: Likewise.
39426 * inet/getprtname.c: Likewise.
39427 * inet/getprtname_r.c: Likewise.
39428 * inet/getrpcbyname.c: Likewise.
39429 * inet/getrpcbyname_r.c: Likewise.
39430 * inet/getrpcbynumber.c: Likewise.
39431 * inet/getrpcbynumber_r.c: Likewise.
39432 * inet/getrpcent.c: Likewise.
39433 * inet/getrpcent_r.c: Likewise.
39434 * inet/getaliasent.c: Likewise.
39435 * inet/getaliasent_r.c: Likewise.
39436 * inet/getaliasname.c: Likewise.
39437 * inet/getaliasname_r.c: Likewise.
39438 * nscd/getgrgid_r.c: Likewise.
39439 * nscd/getgrnam_r.c: Likewise.
39440 * nscd/gethstbyad_r.c: Likewise.
39441 * nscd/gethstbynm3_r.c: Likewise.
39442 * nscd/getpwnam_r.c: Likewise.
39443 * nscd/getpwuid_r.c: Likewise.
39444 * nscd/getsrvbynm_r.c: Likewise.
39445 * nscd/getsrvbypt_r.c: Likewise.
39446 * nscd/gai.c: Likewise.
39447
c53d909c
RM
39448 * configure.in (build_nscd): New substituted variable, set
39449 by --disable-build-nscd and defaults to $use_nscd.
39450 * configure: Regenerated.
39451 * config.make.in (build-nscd): New substituted variable.
39452 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39453 Change conditional to require [$(build-nscd) = yes] as well.
39454 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39455
3cc3ef96
RM
39456 [BZ# 13696]
39457 * configure.in (use_nscd): New substituted variable, set by
39458 --disable-nscd. If enabled, define USE_NSCD.
39459 * configure: Regenerated.
39460 * config.h.in: Add USE_NSCD.
39461 * config.make.in (use-nscd): New substituted variable.
39462 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39463 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39464 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39465 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39466 (CFLAGS-getgrnam_r.c): Likewise.
39467 (CFLAGS-initgroups.c): Likewise.
39468 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39469 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39470 Variables removed.
39471 * inet/getnetgrent_r.c
39472 (nscd_setnetgrent): New function, broken out of ...
39473 (setnetgrent): ... here. Call it.
39474 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39475 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39476 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39477 * nscd/Makefile (routines, aux): Move definitions after include of
39478 Makeconfig. Conditionalize on [$(use-nscd) != no].
39479 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39480 Conditionalize on [USE_NSCD].
39481 (is_nscd, nscd_init_cb): Likewise.
39482 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39483 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39484 * nss/nss_db/db-init.c: Likewise.
39485 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39486 [USE_NSCD].
39487 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39488 (make_request): Use it.
39489 (cache_valid_p): New function.
39490 (__check_pf): Use it.
39491 * NEWS: Add item for --disable-nscd.
39492
07e51550
DL
394932012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39494
39495 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39496 to support sed >= 4.2.1-20-ga9bf076.
39497 * configure: Regenerated.
39498
35a5b08b
RM
394992012-08-22 Roland McGrath <roland@hack.frob.com>
39500
39501 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39502 Conditionalize whole body on [IREL].
39503
8479f23a
JL
395042012-08-22 Jeff Law <law@redhat.com>
39505
39506 [BZ #14505]
39507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39508 if the family is PF_UNSPEC.
39509
48da0b21
MF
395102012-08-22 Mike Frysinger <vapier@gentoo.org>
39511
39512 * Makerules (lib-version): Rename from V.
39513 (install-lib-nosubdir): Change V to lib-version.
39514
15d0da8c
WS
395152012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39516
39517 [BZ #14252]
39518 * powerpc32/power6/wcschr.c: New file.
39519 * powerpc32/power6/wcscpy.c: New file.
39520 * powerpc32/power6/wcsrchr.c: New file.
39521 * powerpc64/power6/wcschr.c: New file.
39522 * powerpc64/power6/wcscpy.c: New file.
39523 * powerpc64/power6/wcsrchr.c: New file.
39524
bcca0895
MK
395252012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39526
39527 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39528 (two_way_short_needle): Use it.
5a4aaa33
RM
39529 * string/strstr.c (AVAILABLE1_USES_J): Define.
39530 * string/strcasestr.c: Likewise.
99677e57
MK
39531
39532 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39533 array references.
39534 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39535
400726de
MK
39536 [BZ #11607]
39537 * NEWS: Add an entry.
39538 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39539 define their defaults.
39540 (two_way_short_needle): Detect end-of-string on-the-fly.
39541 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39542 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39543 * string/bug-strcasestr1.c: New test.
39544 * string/Makefile: Run it.
39545
20a71f2c
MK
395462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39547
39548 [BZ #11607]
39549 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39550 the first character.
39551
21ad0558
RM
395522012-08-21 Roland McGrath <roland@hack.frob.com>
39553
39554 * csu/elf-init.c (__libc_csu_irel): Function removed.
39555 * csu/libc-start.c (apply_irel): New function.
39556 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39557
0e1d9911
JM
395582012-08-21 Joseph Myers <joseph@codesourcery.com>
39559
39560 * sysdeps/unix/sysv/linux/kernel-features.h
39561 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39562 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39563 <kernel-features.h>.
39564 [__NR_fadvise64_64]: Make code unconditional.
39565 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39566 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39567 !__NR_fadvise64_64)]: Likewise.
39568 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39569 !__NR_fadvise64_64))]: Likewise.
39570 [__NR_fadvise64]: Make code unconditional.
39571 [!__NR_fadvise64]: Remove conditional code.
39572 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39573 <kernel-features.h>.
39574 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39575 unconditional.
39576 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39577 conditional code.
39578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39579 not include <kernel-features.h>.
39580 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39581 unconditional.
39582 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39583 conditional code.
39584 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39585 include <kernel-features.h>.
39586 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39587 unconditional.
39588 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39589 conditional code.
39590
14a50c9d
WS
395912012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39592
39593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39594 slight instruction rearrangements per scrollpipe analysis.
39595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39596
c0f4faf0
RM
395972012-08-20 Roland McGrath <roland@hack.frob.com>
39598
696da859
RM
39599 * manual/syslog.texi (syslog; vsyslog, closelog):
39600 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39601 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39602
c0f4faf0
RM
39603 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39604 DSOCAPS to match condition on defining it.
39605
348363b2
JM
396062012-08-20 Joseph Myers <joseph@codesourcery.com>
39607
a35cbf28
JM
39608 * sysdeps/unix/sysv/linux/kernel-features.h
39609 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39611 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39612 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39614 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39615 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39617 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39618 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39619
445f7ecd
JM
39620 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39621 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39622
348363b2
JM
39623 * sysdeps/unix/sysv/linux/kernel-features.h
39624 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39625 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39626 unconditional.
39627 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39628 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39629 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39630 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39631 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39632 Make code unconditional.
39633 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39634 (__mmap64) [!__NR_mmap2]: Likewise.
39635 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39636 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39637 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39638 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39639 [__NR_mmap2]: Make code unconditional.
39640 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39641 (__mmap64) [!__NR_mmap2]: Likewise.
39642
bc5bc0e5
AK
396432012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39644
39645 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39646
88d506de
AJ
396472012-08-18 Andreas Jaeger <aj@suse.de>
39648
39649 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39650
493387d2
MF
396512012-08-18 Mike Frysinger <vapier@gentoo.org>
39652
39653 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39654 * include/unistd.h (__have_sock_cloexec): Likewise.
39655 (__have_pipe2): Likewise.
39656 (__have_dup3): Likewise.
39657
a277af22
MF
396582012-08-18 Mike Frysinger <vapier@gentoo.org>
39659
39660 [BZ #9685]
39661 * include/unistd.h (__have_pipe2): Change define into an extern int.
39662 (__have_dup3): Likewise.
39663 * socket/have_sock_cloexec.c: Include fcntl.h.
39664 (__have_pipe2): New variable.
39665 (__have_dup3): Likewise.
39666
fdab8fd3
MF
396672012-08-17 Mike Frysinger <vapier@gentoo.org>
39668
39669 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39670
31035e80
MP
396712012-08-17 Marek Polacek <polacek@redhat.com>
39672
39673 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39674 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39675
3bd9e993
RM
396762012-08-17 Roland McGrath <roland@hack.frob.com>
39677
c91c505f
RM
39678 * configure.in: Add AC_SUBST for sysheaders.
39679 * configure: Regenerated.
39680 * config.make.in (sysheaders): New substituted variable.
39681
7c6f9d53
RM
39682 * sysdeps/unix/mkfifo.c: Moved ...
39683 * sysdeps/posix/mkfifo.c: ... here.
39684 * sysdeps/unix/mkfifoat.c: Moved ...
39685 * sysdeps/posix/mkfifoat.c: ... here.
39686
39687 * sysdeps/unix/utime.c: Moved ...
39688 * sysdeps/posix/utime.c: ... here.
39689
39690 * sysdeps/unix/time.c: Moved ...
39691 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39692 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39693 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39694
39695 * sysdeps/unix/nice.c: Moved ...
39696 * sysdeps/posix/nice.c: ... here.
39697
39698 * sysdeps/unix/alarm.c: Moved ...
39699 * sysdeps/posix/alarm.c: ... here.
39700
3bd9e993
RM
39701 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39702
d1f09384
JL
397032012-08-17 Jeff Law <law@redhat.com>
39704
39705 * intl/Makefile (codeset_mo): New variable.
39706 ($(codeset_mo)): New target.
39707 (tst-codeset.out): Depend on that. Remove explicit rule.
39708 (tst-gettext3.out, tst-gettext5.out): Likewise.
39709 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39710 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39711 * intl/tst-codeset.sh: Remove.
39712 * intl/tst-gettext3.sh: Likewise.
39713 * intl/tst-gettext5.sh: Likewise.
39714
2ae1ae5c
RM
397152012-08-17 Roland McGrath <roland@hack.frob.com>
39716
c31fdb83
RM
39717 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39718 * sysdeps/unix/syscalls.list: ... here.
39719
a0844057
RM
39720 * sysdeps/posix/getaddrinfo.c
39721 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39722 (gaiconf_init, gaiconf_reload): Use them.
39723 [!_STATBUF_ST_NSEC]
39724 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39725 Define using time_t rather than struct timespec.
39726
750c1f2a
RM
39727 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39728 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39729 Macros removed.
39730 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39731 [!NO_THREADS].
39732 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39733 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39734 Likewise.
39735
2ae1ae5c
RM
39736 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39737 __libc_cleanup_push argument.
39738
e66a42f5
RM
39739 * bits/param.h: New file.
39740 * misc/sys/param.h: New file.
39741 * include/sys/param.h: New file.
39742 * misc/Makefile (headers): Add bits/param.h.
39743 * sysdeps/generic/sys/param.h: File removed.
39744 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39745 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39746 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39747 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39748
b7c08a66
RM
39749 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39750 last change.
39751
b2e1c562
RM
39752 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39753 [_IO_MTSAFE_IO].
39754 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39755 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39756 New macros.
39757
c75ccd4c
RM
39758 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39759 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39760 rather than -D_IO_MTSAFE_IO conditionally.
39761 * stdio-common/Makefile (CPPFLAGS): Likewise.
39762 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39763 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39764 Use $(libio-mtsafe).
39765 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39766 of -D_IO_MTSAFE_IO.
39767 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39768 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39769 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39770 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39771 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39772 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39773 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39774 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39775 (CFLAGS-fread_u_chk.c): Likewise.
39776 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39777 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39778 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39779 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39780 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39781 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39782 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39783 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39784 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39785
39786 * libio/Makefile: Test [$(libc-reentrant) = yes]
39787 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39788
39789 * Makeconfig
39790 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39791 * sysdeps/pthread/configure: File removed.
39792 * sysdeps/pthread/Makeconfig: New file.
39793 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39794 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39795
d9195db8
GB
397962012-08-16 Gary Benson <gbenson@redhat.com>
39797
39798 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39799 unmapping the first object in a namespace.
39800
86466cd9
RM
398012012-08-16 Roland McGrath <roland@hack.frob.com>
39802
39803 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39804 (__internal_setnetgrent): ... this. Add internal_function to
39805 definition. Add libc_hidden_def.
39806 (setnetgrent): Update caller.
39807 (internal_endnetgrent): Renamed to ...
39808 (__internal_endnetgrent): ... this. Add internal_function to
39809 definition. Add libc_hidden_def.
39810 (endnetgrent): Update caller.
39811 (internal_getnetgrent_r): Renamed to ...
39812 (__internal_getnetgrent_r): ... this. Add internal_function to
39813 definition. Add libc_hidden_def.
39814 (__getnetgrent_r): Update caller.
39815 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39816
c3c8283c
JM
398172012-08-16 Joseph Myers <joseph@codesourcery.com>
39818
39819 * stdlib/longlong.h: Update from GCC.
39820
db1ee0a8
RM
398212012-08-16 Roland McGrath <roland@hack.frob.com>
39822
39823 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39824 on _QL, which is set by umul_ppmm but never used.
39825 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39826 variables, which are set by GMP macros but never used.
39827 * stdio-common/_itowa.c (_itowa): Likewise.
39828 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39829 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39830
30f69637
CD
398312012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39832
39833 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39834 struct La_sh_regs is not constant.
39835 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39836 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39837 and struct La_sparc64_regs are not constant.
39838
93a78ac4
JM
398392012-08-16 Joseph Myers <joseph@codesourcery.com>
39840
39841 * sysdeps/unix/sysv/linux/kernel-features.h
39842 (__ASSUME_POSIX_TIMERS): Remove.
39843 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39844 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39845 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39846 Make code unconditional.
39847 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39848 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39849 Make code unconditional.
39850 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39851 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39852 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39853 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39854 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39855 Make code unconditional.
39856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39857 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39858 (__libc_missing_posix_timers): Remove.
39859
dd924cd7
RM
398602012-08-15 Roland McGrath <roland@hack.frob.com>
39861
4b4f2771
RM
39862 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39863 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39864
601c888b
RM
39865 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39866
176790a7
RM
39867 * elf/dl-sym.c: Include <stdlib.h>.
39868
329bc018
RM
39869 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39870 constants, which avoids warnings in 32-bit builds.
39871
e04e272d
RM
39872 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39873 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39874
952bf94a
RM
39875 * misc/lseek.c: File moved to ...
39876 * io/lseek.c: ... here.
39877
7c99b50a
RM
39878 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39879
dd924cd7
RM
39880 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39881 shifting LEN more than 31 bits at once.
39882
b3f479a8
LD
398832012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39884
39885 [BZ #14195]
8c4ae0d4
RM
39886 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39887 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39888 * string/test-strncasecmp.c (check1): Renamed to...
39889 (bz12205): ...this.
39890 (bz14195): Add new testcase for two empty input strings and N > 0.
39891 (test_main): Call new testcase, adapt for renamed function.
39892
9c55864e
AJ
398932012-08-15 Andreas Jaeger <aj@suse.de>
39894
39895 [BZ #14090]
39896 * crypt/md5test2.c: New test, based on test supplied by Serge
39897 Belyshev <belyshev@depni.sinp.msu.ru>.
39898 * crypt/Makefile (xtests): Add md5test-giant..
39899 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39900
02dcb6c5
PE
399012012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39902
39903 [BZ #14090]
39904 * crypt/md5.c (md5_process_block): Don't assume the buffer
39905 length is less than 2**32.
39906 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39907 length is less than 2**64.
39908
a3f95dcc
RM
399092012-08-15 Roland McGrath <roland@hack.frob.com>
39910
be75d758
RM
39911 * string/str-two-way.h: Include <sys/param.h>.
39912 (MAX): Macro removed.
39913
7312ca90
RM
39914 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39915 Move #define and #undef of memmove to just before and after
39916 including <string.h>.
39917
9a0a5486
RM
39918 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39919 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39920 and after including <string.h>. Move declarations of
39921 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39922 to before #include "string/memmove.c".
39923
67cc348d
RM
39924 * include/dirent.h: Declare __getdirentries.
39925
a3f95dcc
RM
39926 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39927 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39928
ca98e171
MF
399292012-08-14 Mike Frysinger <vapier@gentoo.org>
39930
39931 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39932 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39933 * sysdeps/i386/configure: Regenerated.
39934 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39935 STABS_CURRENT_FILE, and STABS_FUN.
39936 (END): Remove call to STABS_FUN_END.
39937 (STABS_CURRENT_FILE1): Delete.
39938 (STABS_CURRENT_FILE): Likewise.
39939 (STABS_FUN): Likewise.
39940 (STABS_FUN_END): Likewise.
39941 (STABS_FUN2): Likewise.
39942 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39943 * sysdeps/x86_64/configure: Regenerated.
39944
5908bf46
RM
399452012-08-14 Roland McGrath <roland@hack.frob.com>
39946
39947 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39948 * elf/dl-lookup.c: Likewise.
5908bf46 39949
f2c05b9e
JM
399502012-08-14 Joseph Myers <joseph@codesourcery.com>
39951
39952 * sysdeps/unix/sysv/linux/kernel-features.h
39953 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39954 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39955 unconditionally.
39956 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39957 unconditionally.
39958 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39959 condition on __ASSUME_CLONE_THREAD_FLAGS.
39960
e11f5155
AJ
399612012-08-14 Andreas Jaeger <aj@suse.de>
39962
39963 * sysdeps/i386/fpu/libm-test-ulps: Update.
39964
51a9ba86
MK
399652012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39966
2fdd4f78
AJ
39967 * include/atomic.h (atomic_exchange_and_add): Split into ...
39968 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39969 New atomic macros.
51a9ba86 39970
ba6cba9e
MT
399712012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39972
39973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39974
42443a47
JL
399752012-08-13 Jeff Law <law@redhat.com>
39976
39977 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39978 null byte in the output string.
39979
121dce05
JM
399802012-08-10 Joseph Myers <joseph@codesourcery.com>
39981
39982 * sysdeps/unix/sysv/linux/kernel-features.h
39983 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39984 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39985 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39986 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39987 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39988 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39989 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39990
bf51f568
JL
399912012-08-09 Jeff Law <law@redhat.com>
39992
39993 [BZ #13939]
39994 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39995 When avoid_arena is set, don't retry in the that arena. Pick the
39996 next one, whatever it might be.
39997 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39998 (arena_lock): Pass in new parameter to arena_get2.
39999 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40000 arena_get2.
40001 (__libc_malloc): Unify retrying after main arena failure with
40002 __libc_memalign version.
40003 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40004
f85fa270
L
400052012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40006
40007 [BZ #14166]
40008 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40009 to __redirect_strstr.
40010 (__strstr_sse42): Use typeof __redirect_strstr.
40011 (__strstr_ia32): Likewise.
40012 (__libc_strstr): New prototype.
40013 (strstr): Renamed to ...
40014 (__libc_strstr): This.
40015 (strstr): New strong alias of __libc_strstr.
40016 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40017 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40018 __redirect_time.
40019 Include <time.h>.
40020 (__libc_time): New prototype.
40021 (time_ifunc): Replace time with __libc_time.
40022 (time): New strong alias and hidden definition of __libc_time.
40023 (__GI_time): Remove strong alias.
40024 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40025 Include <stddef.h>.
40026 (memmove): Redefined to __redirect_memmove.
40027 (__memmove_sse2): Use typeof __redirect_memmove.
40028 (__memmove_ssse3): Likewise.
40029 (__memmove_ssse3_back): Likewise.
40030 (__libc_memmove): New prototype.
40031 (memmove): Renamed to ...
40032 (__libc_memmove): This.
40033 (memmove): New strong alias of __libc_memmove.
40034
33b4a91e
MS
400352012-08-08 Mark Salter <msalter@redhat.com>
40036
40037 * elf/elf.h
40038 (R_MN10300_TLS_GD): Define.
40039 (R_MN10300_TLS_LD): Likewise.
40040 (R_MN10300_TLS_LDO): Likewise.
40041 (R_MN10300_TLS_GOTIE): Likewise.
40042 (R_MN10300_TLS_IE): Likewise.
40043 (R_MN10300_TLS_LE): Likewise.
40044 (R_MN10300_TLS_DTPMOD): Likewise.
40045 (R_MN10300_TLS_DTPOFF): Likewise.
40046 (R_MN10300_TLS_TPOFF): Likewise.
40047 (R_MN10300_SYM_DIFF): Likewise.
40048 (R_MN10300_ALIGN): Likewise.
40049 (R_MN10300_NUM): Update.
40050
b36137f1
JM
400512012-08-08 Joseph Myers <joseph@codesourcery.com>
40052
40053 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40054 Remove.
40055
cdd915fd
RM
400562012-08-08 Roland McGrath <roland@hack.frob.com>
40057
a2433aac
RM
40058 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40059
cdd915fd
RM
40060 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40061 sysdeps/unix -> sysdeps/posix move.
40062 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40063
bf9b740a
AM
400642012-08-07 Allan McRae <allan@archlinux.org>
40065
40066 [BZ #14303]
40067 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40068 (SUNOS_CPP): Likewise.
40069 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40070 not found.
40071 (open_input): Call CPP using execvp.
40072
93df14ee
JM
400732012-08-07 Joseph Myers <joseph@codesourcery.com>
40074
40075 * sysdeps/unix/sysv/linux/kernel-features.h
40076 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40077 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40078 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40079 (__ASSUME_WAITID_SYSCALL): Likewise.
40080 * sysdeps/unix/sysv/linux/dl-execstack.c
40081 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40082 code unconditional.
40083 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40084 conditional code.
40085 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40086 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40087 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40088 code.
40089 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40090 unconditional.
40091 [__ASSUME_WAITID_SYSCALL]: Likewise.
40092 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40093
d34689de
RM
400942012-08-07 Roland McGrath <roland@hack.frob.com>
40095
a281decc
RM
40096 * sysdeps/unix/closedir.c: Renamed to ...
40097 * sysdeps/posix/closedir.c: ... here.
40098 * sysdeps/unix/dirfd.c: Renamed to ...
40099 * sysdeps/posix/dirfd.c: ... here.
40100 * sysdeps/unix/dirstream.h: Renamed to ...
40101 * sysdeps/posix/dirstream.h: ... here.
40102 * sysdeps/unix/fdopendir.c: Renamed to ...
40103 * sysdeps/posix/fdopendir.c: ... here.
40104 * sysdeps/unix/opendir.c: Renamed to ...
40105 * sysdeps/posix/opendir.c: ... here.
40106 * sysdeps/unix/readdir.c: Renamed to ...
40107 * sysdeps/posix/readdir.c: ... here.
40108 * sysdeps/unix/readdir_r.c: Renamed to ...
40109 * sysdeps/posix/readdir_r.c: ... here.
40110 * sysdeps/unix/rewinddir.c: Renamed to ...
40111 * sysdeps/posix/rewinddir.c: ... here.
40112 * sysdeps/unix/seekdir.c: Renamed to ...
40113 * sysdeps/posix/seekdir.c: ... here.
40114 * sysdeps/unix/telldir.c: Renamed to ...
40115 * sysdeps/posix/telldir.c: ... here.
40116 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40117 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40118 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40119 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40120
22895b47
RM
40121 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40122 * bits/fcntl.h: ... here.
40123
707a53b6
RM
40124 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40125 not 0.
40126 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40127 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40128 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40129 (struct flock): Move l_start, l_len to the beginning.
40130 Use __pid_t for l_pid.
40131 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40132 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40133 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40134 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40135 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40136 [__USE_LARGEFILE64] (struct flock64): New type.
40137 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40138
f0bd3e25
RM
40139 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40140 * bits/dirent.h: ... here.
40141
d34689de
RM
40142 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40143 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40144
6dad2c06
JM
401452012-08-07 Joseph Myers <joseph@codesourcery.com>
40146
40147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40148 Change from 2.6.0 to 2.6.16.
40149 * sysdeps/unix/sysv/linux/configure: Regenerated.
40150 * sysdeps/unix/sysv/linux/kernel-features.h
40151 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40152 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40153 version.
40154 (__ASSUME_UTIMES): Likewise.
40155 (__ASSUME_CLONE_STOPPED): Remove.
40156 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40157 architectures, not kernel version.
40158 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40159 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40160 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40161 (__ASSUME_WAITID_SYSCALL): Likewise.
40162 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40163 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40164 * README: State 2.6.16 as minimum Linux kernel version. Do not
40165 refer to older versions.
40166
03af9520
RM
401672012-08-06 Roland McGrath <roland@hack.frob.com>
40168
8e49df1d
RM
40169 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40170 Define alphasort64 as an alias.
40171 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40172 Define versionsort64 as an alias.
40173 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40174 Define scandir64 as an alias.
40175 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40176 Define scandirat64 as an alias.
40177 * dirent/alphasort64.c (alphasort64):
40178 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40179 * dirent/versionsort64.c: Likewise.
40180 * dirent/scandir64.c: Likewise.
40181 * dirent/scandirat64.c: Likewise.
40182 * sysdeps/wordsize-64/alphasort.c: File removed.
40183 * sysdeps/wordsize-64/alphasort64.c: File removed.
40184 * sysdeps/wordsize-64/scandir.c: File removed.
40185 * sysdeps/wordsize-64/scandir64.c: File removed.
40186 * sysdeps/wordsize-64/scandirat.c: File removed.
40187 * sysdeps/wordsize-64/scandirat64.c: File removed.
40188 * sysdeps/wordsize-64/versionsort.c: File removed.
40189 * sysdeps/wordsize-64/versionsort64.c: File removed.
40190 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40191 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40192 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40193 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40194 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40195 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40196 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40197 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40198
40199 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40201 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40203 [defined __arch64__ || defined __sparcv9]
40204 (__INO_T_MATCHES_INO64_T): New macro.
40205 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40206 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40207 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40208 * sysdeps/unix/sysv/linux/bits/dirent.h
40209 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40210 (_DIRENT_MATCHES_DIRENT64): New macro.
40211
03af9520
RM
40212 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40213 Define lockf64 as an alias.
40214 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40215 Define fseeko64 as an alias.
40216 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40217 Define ftello64 as an alias.
40218 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40219 Define _IO_fgetpos64 and fgetpos64 as aliases.
40220 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40221 Define _IO_fsetpos64 and fsetpos64 as aliases.
40222 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40223 Conditionalize body on this.
40224 * libio/fseeko64.c: Likewise.
40225 * libio/ftello64.c: Likewise.
40226 * libio/iofgetpos64.c: Likewise.
40227 * libio/iofsetpos64.c: Likewise.
40228 * sysdeps/wordsize-64/lockf.c: File removed.
40229 * sysdeps/wordsize-64/lockf64.c: File removed.
40230 * sysdeps/wordsize-64/fseeko.c: File removed.
40231 * sysdeps/wordsize-64/fseeko64.c: File removed.
40232 * sysdeps/wordsize-64/ftello.c: File removed.
40233 * sysdeps/wordsize-64/ftello64.c: File removed.
40234 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40235 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40236 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40237 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40239 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40241 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40243 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40244 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40245 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40246 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40247 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40248
40249 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40251 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40253 [defined __arch64__ || defined __sparcv9]
40254 (__OFF_T_MATCHES_OFF64_T): New macro.
40255 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40256 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40257 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40258 (__OFF_T_MATCHES_OFF64_T): New macro.
40259
c5757acd
L
402602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40261
40262 * stdlib/secure-getenv.c (__secure_getenv): Replace
40263 GLIBC_2_16 with GLIBC_2_17.
40264
3a31811e
L
402652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40266
40267 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40268 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40269
faa2bccb
DM
402702012-08-03 David S. Miller <davem@davemloft.net>
40271
40272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40273
85fe1997
JM
402742012-08-03 Joseph Myers <joseph@codesourcery.com>
40275
40276 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40277 Remove.
40278 (__ASSUME_CORRECT_SI_PID): Likewise.
40279 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40280 (__ASSUME_TMPFS_NAME): Likewise.
40281 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40282 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40283 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40284 (HAVE_AUX_SECURE): Make definition unconditional.
40285 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40286 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40287
4f75b7a0
RM
402882012-08-03 Roland McGrath <roland@hack.frob.com>
40289
40290 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40291 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40292 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40293 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40294 __eloop_threshold instead of SYMLOOP_MAX.
40295
40296 * sysdeps/generic/eloop-threshold.h: New file.
40297 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40298 of MAXSYMLINKS.
40299 * elf/chroot_canon.c (chroot_canon): Likewise.
40300
7aab07e4
JM
403012012-08-03 Joseph Myers <joseph@codesourcery.com>
40302
40303 [BZ #13717]
40304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40305 Change to 2.6.0 everywhere.
40306 * sysdeps/unix/sysv/linux/configure: Regenerated.
40307 * sysdeps/unix/sysv/linux/kernel-features.h
40308 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40309 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40310 kernel versions.
40311 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40312 (__ASSUME_FUTEX_REQUEUE): Remove.
40313 (__ASSUME_STATFS64): Define unconditionally.
40314 (__ASSUME_AT_SECURE): Likewise.
40315 (__ASSUME_CORRECT_SI_PID): Likewise.
40316 (__ASSUME_TGKILL): Define without depending on kernel version for
40317 i386.
40318 (__ASSUME_UTIMES): Likewise.
40319 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40320 kernel version.
40321 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40322 (__ASSUME_TMPFS_NAME): Likewise.
40323 * README: Update reference to Linux kernel versions.
40324
b67e9372
MP
403252012-08-02 Marek Polacek <polacek@redhat.com>
40326
1f529f7d 40327 [BZ# 14150]
b67e9372
MP
40328 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40329 libc_cv_asm_type_prefix with %.
40330 * configure: Regenerated.
d2441631
RM
40331 * include/libc-symbols.h: Remove comment about
40332 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40333 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40334 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40335 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40336 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40337 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40338 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40339 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40340 * elf/tst-unique2mod1.c: Likewise.
40341 * elf/tst-unique1mod2.c: Likewise.
40342 * elf/tst-unique1mod1.c: Likewise.
40343 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40344 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40345 Replace ASM_TYPE_DIRECTIVE with .type.
40346 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40347 * sysdeps/i386/sysdep.h: Likewise.
40348 * sysdeps/x86_64/sysdep.h: Likewise.
40349 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40351 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40352 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40353 * sysdeps/powerpc/powerpc32/sysdep.h:
40354 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40355 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40356 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40357 * sysdeps/i386/fpu/e_powf.S: Likewise.
40358 * sysdeps/i386/fpu/e_expl.S: Likewise.
40359 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40360 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40361 * sysdeps/i386/fpu/e_pow.S: Likewise.
40362 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40363 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40364 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40365 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40366 * sysdeps/i386/fpu/e_log2.S: Likewise.
40367 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40368 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40369 * sysdeps/i386/fpu/e_powl.S: Likewise.
40370 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40371 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40372 * sysdeps/i386/fpu/e_logl.S: Likewise.
40373 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40374 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40375 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40376 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40377 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40378 * sysdeps/i386/fpu/e_log.S: Likewise.
40379 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40380 * sysdeps/i386/fpu/e_logf.S: Likewise.
40381 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40382 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40383 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40384 * sysdeps/i386/fpu/e_log10.S: Likewise.
40385 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40387 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40388 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40390 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40391 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40392 * sysdeps/i386/i686/strtok.S: Likewise.
40393 * sysdeps/i386/i386-mcount.S: Likewise.
40394 * sysdeps/i386/strtok.S: Likewise.
40395 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40396 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40397 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40398 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40399 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40400 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40401 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40402 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40403 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40404 * sysdeps/x86_64/_mcount.S: Likewise.
40405 * sysdeps/x86_64/strtok.S: Likewise.
40406 * sysdeps/sh/_mcount.S: Likewise.
40407
2747bf9a
RM
404082012-08-01 Roland McGrath <roland@hack.frob.com>
40409
40410 * libio/iofopen.c: Include <fcntl.h>.
40411 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40412 (_IO_fopen64, fopen64): Define as aliases.
40413 * libio/iofopen64.c: Include <fcntl.h>.
40414 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40415 Conditionalize body on this.
40416 * sysdeps/wordsize-64/iofopen.c: File removed.
40417 * sysdeps/wordsize-64/iofopen64.c: File removed.
40418
3fb791b8
MP
404192012-08-01 Marek Polacek <polacek@redhat.com>
40420
40421 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40422 Use dlfcn directly instead of a variable.
40423 (binfmt-subdir): Do not define.
40424 (dlfcn): Likewise.
40425
a9f1039f
JM
404262012-08-01 Joseph Myers <joseph@codesourcery.com>
40427
23bddc06
JM
40428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40429 Remove all definitions.
40430 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40431 <kernel-features.h>.
40432 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40433 (miss_F_GETOWN_EX): Remove all definitions.
40434 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40435 macro definition.
40436 [!__ASSUME_FCNTL64]: Remove conditional code.
40437 [__ASSUME_FCNTL64]: Make code unconditional.
40438 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40439 <kernel-features.h>.
40440 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40441 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40442 (lockf64) [__NR_fcntl64]: Make code unconditional.
40443 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40444
a9f1039f
JM
40445 * sysdeps/unix/sysv/linux/kernel-features.h
40446 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40447 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40448 Make code unconditional.
40449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40452 [__NR_vfork]: Make code unconditional.
40453 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40454 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40456 [__NR_vfork]: Make code unconditional.
40457 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40458 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40459
09c0ee5f
RM
404602012-08-01 Roland McGrath <roland@hack.frob.com>
40461
48aec5b9
RM
40462 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40463 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40464
cd97c966
RM
40465 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40466 Define mkstemp64 as an alias.
3f55550c
RM
40467 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40468 Define mkstemps64 as an alias.
cd97c966
RM
40469 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40470 Define mkostemp64 as an alias.
b8625cfc
RM
40471 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40472 Define mkostemps64 as an alias.
cd97c966
RM
40473 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40474 Conditionalize body on this.
40475 * misc/mkostemp64.c: Likewise.
b8625cfc 40476 * misc/mkostemps64.c: Likewise.
3f55550c 40477 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40478 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40479 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40480 * sysdeps/wordsize-64/mkostemp.c: File removed.
40481 * sysdeps/wordsize-64/mkstemp.c: File removed.
40482 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40483 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40484 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40485 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40486
09c0ee5f
RM
40487 [BZ #14138]
40488 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40489 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40490 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40491 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40492
40493 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40494 compat_symbol macros from <shlib-compat.h> rather than the underlying
40495 default_symbol_version and symbol_version macros, so that DEFAULT
40496 lines in shlib-versions are respected.
40497 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40498
7e66ee51
FW
404992012-08-01 Florian Weimer <fweimer@redhat.com>
40500
40501 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40502 Declare with warn_unused_result.
40503 (setgid, setregid, setegid, setresgid): Likewise.
40504 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40505 Likewise.
40506 * WUR-REPORT: Remove set*id functions.
40507
d2a54255
PT
405082012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40509
40510 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40511
7ecdb005
RM
405122012-07-31 Roland McGrath <roland@hack.frob.com>
40513
b4180a5e 40514 [BZ #10191]
789bd351
RM
40515 * include/sys/socket.h (__libc_accept, __libc_accept4):
40516 Add attribute_hidden.
40517 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40518
40ce302d
RM
40519 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40520 use of PTR_MANGLE.
40521 * inet/getnetgrent_r.c (setup): Likewise.
40522
7ecdb005
RM
40523 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40524
e2eabb2c
DM
405252012-07-31 David S. Miller <davem@davemloft.net>
40526
40527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40528
d0419dbf
JM
405292012-07-31 Joseph Myers <joseph@codesourcery.com>
40530
40531 [BZ #13629]
40532 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40533 value between 1.0 and 2.0 and smaller part has absolute value less
40534 than 1.0.
40535 * math/s_clog10.c (__clog10): Likewise.
40536 * math/s_clog10f.c (__clog10f): Likewise.
40537 * math/s_clog10l.c (__clog10l): Likewise.
40538 * math/s_clogf.c (__clogf): Likewise.
40539 * math/s_clogl.c (__clogl): Likewise.
40540 * math/libm-test.inc (clog_test): Add more tests.
40541 (clog10_test): Likewise.
40542 * sysdeps/i386/fpu/libm-test-ulps: Update.
40543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40544
2bc13872
FW
405452012-07-31 Florian Weimer <fweimer@redhat.com>
40546
40547 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40548 Exit with zero in case no suitable GID is found, and write a
40549 message to standard error.
40550
bea9b193
RM
405512012-07-30 Roland McGrath <roland@hack.frob.com>
40552
40553 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40554 rather than to 1.
40555 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40556 (MAXPATHLEN): Removed.
40557 (NOGROUP, NODEV): New macros.
40558 (setbit, clrbit, isset, isclr): New macros.
40559 (howmany, roundup, powerof2): New macros.
40560 (DEV_BSIZE): New macro.
40561
40562 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40563 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40564
40565 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40566 definition on [!__NO_LONG_DOUBLE_MATH].
40567
40568 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40569 PTR_MANGLE and PTR_DEMANGLE.
40570
40571 * socket/accept4.c (accept4): Rename to __libc_accept4.
40572 Define accept4 as a weak alias.
40573
40574 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40575 on [_DIRENT_HAVE_D_TYPE].
40576 * io/ftw.c (ftw_dir): Likewise.
40577
40578 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40579
40580 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40581
40582 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40583 Use the BSD numbers rather than the arbitrary ones we had.
40584 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40585 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40586 (SIGXCPU, SIGXFSZ): New macros.
40587 (_NSIG): Now 32.
40588
40589 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40590 initializer on [_LIBC_REENTRANT].
40591
40592 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40593 definitions inside [_POSIX_MAPPED_FILES].
40594
40595 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40596
40597 * dirent/opendir.c: Include <fcntl.h>.
40598
40599 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40600 (__libc_getspecific): Likewise.
40601 (__libc_key_create): Likewise.
40602
40603 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40604 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40605 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40606 (tmpfile64): Define as alias.
40607 * sysdeps/wordsize-64/tmpfile.c: File removed.
40608 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40609 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40610 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40611
40612 * stdio-common/vfscanf.c: Include <stdbool.h>.
40613 * nss/makedb.c: Likewise.
40614 * stdio-common/_i18n_number.h: Likewise.
40615 * argp/argp-help.c: Likewise.
40616 * posix/wordexp.c: Likewise.
40617 * sysdeps/posix/spawni.c: Likewise.
40618 * nss/nss_files/files-initgroups.c: Likewise.
40619 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40620 * nss/nss_files/files-initgroups.c: Likewise.
40621 * nss/nss_db/db-netgrp.c: Likewise.
40622 * nss/nss_db/db-initgroups.c: Likewise.
40623 * io/fchmodat.c: Include <sys/stat.h>.
40624
40625 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40626 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40627
40628 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40629 [HAVE_MMAP].
40630
40631 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40632 Add multiple inclusion protection.
40633
e5abc686
DM
406342012-07-27 David S. Miller <davem@davemloft.net>
40635
40636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40637
815e6fa3
GB
406382012-07-27 Gary Benson <gbenson@redhat.com>
40639
40640 [BZ #14298]
40641 * elf/rtld.c: Include <stap-probe.h>.
40642 (dl_main): Added static probes "init_start" and "init_complete".
40643 * elf/dl-load.c: Include <stap-probe.h>.
40644 (lose): Take new parameter "nsid".
40645 Added static probe "map_failed".
40646 (_dl_map_object_from_fd): Pass namespace id to lose.
40647 Added static probe "map_start".
40648 (open_verify): Pass namespace id to lose.
40649 * elf/dl-open.c: Include <stap-probe.h>.
40650 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40651 and "reloc_complete".
40652 * elf/dl-close.c: Include <stap-probe.h>.
40653 (_dl_close_worker): Added static probes "unmap_start" and
40654 "unmap_complete".
40655 * elf/rtld-debugger-interface.txt: New file documenting the above.
40656
9f98c16c
RM
406572012-07-26 Roland McGrath <roland@hack.frob.com>
40658
40659 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40660 rather than a string variable.
40661 * sunrpc/rpc_main.c (h_output): Likewise.
40662 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40663
f3c22df3
PT
406642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40665
40666 * inet/check_native.c: New file.
40667
3129cfc6
JM
406682012-07-26 Joseph Myers <joseph@codesourcery.com>
40669
da865e95
JM
40670 [BZ #13629]
40671 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40672 if larger part has absolute value 1.0.
40673 * math/s_clog10.c (__clog10): Likewise.
40674 * math/s_clog10f.c (__clog10f): Likewise.
40675 * math/s_clog10l.c (__clog10l): Likewise.
40676 * math/s_clogf.c (__clogf): Likewise.
40677 * math/s_clogl.c (__clogl): Likewise.
40678 * math/libm-test.inc (clog_test): Add more tests.
40679 (clog10_test): Likewise.
40680 * sysdeps/i386/fpu/libm-test-ulps: Update.
40681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40682
3129cfc6
JM
40683 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40684 (pltexit): Likewise.
40685 (La_regs): Likewise.
40686 (La_retval): Likewise.
40687 (int_retval): Likewise.
40688 Update #error for removed macros to refer only to definitions in
40689 tst-audit.h.
40690 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40691 macro.
40692 (pltexit): Likewise.
40693 (La_regs): Likewise.
40694 (La_retval): Likewise.
40695 (int_retval): Likewise.
40696 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40697 macro.
40698 (pltexit): Likewise.
40699 (La_regs): Likewise.
40700 (La_retval): Likewise.
40701 (int_retval): Likewise.
40702 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40703 macro.
40704 (pltexit): Likewise.
40705 (La_regs): Likewise.
40706 (La_retval): Likewise.
40707 (int_retval): Likewise.
40708 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40709 macro.
40710 (pltexit): Likewise.
40711 (La_regs): Likewise.
40712 (La_retval): Likewise.
40713 (int_retval): Likewise.
40714 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40715 macro.
40716 (pltexit): Likewise.
40717 (La_regs): Likewise.
40718 (La_retval): Likewise.
40719 (int_retval): Likewise.
40720 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40721 macro.
40722 (pltexit): Likewise.
40723 (La_regs): Likewise.
40724 (La_retval): Likewise.
40725 (int_retval): Likewise.
40726 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40727 macro definitions in tst-audit.h.
40728 * sysdeps/i386/tst-audit.h: New file.
40729 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40730 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40731 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40732 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40733 * sysdeps/sh/tst-audit.h: Likewise.
40734 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40735 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40736 * sysdeps/x86_64/tst-audit.h: Likewise.
40737
bfc07087
AJ
407382012-07-26 Andreas Jaeger <aj@suse.de>
40739
b1b2aaf8
AJ
40740 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40741 ptrace.
40742
40743 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40744 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40745 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40746 PTRACE_O_MASK.
40747 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40748 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40749 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40750
bfc07087
AJ
40751 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40752 value.
40753
40754 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40755 _sigsys.
40756 (si_call_addr, si_syscall, si_arch): Define new macro.
40757 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40758 _sigsys.
40759 (si_call_addr, si_syscall, si_arch): Define new marcro.
40760 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40761 _sigsys.
40762 (si_call_addr, si_syscall, si_arch): Define new macro.
40763 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40764 _sigsys.
40765 (si_call_addr, si_syscall, si_arch): Define new macro.
40766
89b4b02f
JM
407672012-07-25 Joseph Myers <joseph@codesourcery.com>
40768
40769 [BZ #13717]
40770 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40771 Change to 2.4.21 where previously 2.4.1.
40772 * sysdeps/unix/sysv/linux/configure: Regenerated.
40773 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40774 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40775 Linux kernel version.
40776 (__ASSUME_STD_AUXV): Remove.
40777 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40778 kernel version.
40779 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40780 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40781 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40782 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40783 (__ASSUME_NETLINK_SUPPORT): Likewise.
40784 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40785 (__no_netlink_support): Remove conditional definition.
40786 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40787 Remove.
40788 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40789 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40790 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40791 (if_nameindex_ioctl): Remove.
40792 (if_nameindex_netlink): Do not handle __no_netlink_support.
40793 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40794 code.
40795 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40796 Remove conditional code.
40797 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40798 code.
40799 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40800 unconditional.
40801 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40802 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40803 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40804 Remove.
40805 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40806 [!__ASSUME_STD_AUXV]: Remove conditional code.
40807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40808 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40809 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40811 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40812 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40813 code.
40814 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40816 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40817 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40818 conditional code.
40819 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40821 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40822 code.
40823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40824 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40825 conditional code.
40826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40827 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40828 code unconditional.
40829 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40830 conditional code.
40831 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40832 unconditional.
40833 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40834 conditional code.
40835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40836 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40837 unconditional.
40838 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40839 conditional code.
40840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40841 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40842 code unconditional.
40843 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40844 conditional code.
40845 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40846 unconditional.
40847 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40848 conditional code.
40849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40850 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40851 code unconditional.
40852 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40853 conditional code.
40854 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40855 unconditional.
40856 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40857 conditional code.
40858
842a39cd
AS
408592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40860
40861 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40862 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40863 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40864 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40865 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40866 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40867 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40868 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40869 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40870 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40871 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40872 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40873 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40874 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40876 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40877 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40878 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40879 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40881 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40882 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40883 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40884
84b3fd84
FW
408852012-07-25 Florian Weimer <fweimer@redhat.com>
40886
40887 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40888 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40889 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40890 Introduce __libc_secure_getenv.
0c7936d5
FW
40891 * stdlib/Versions (2.17): Add secure_getenv
40892 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40893 * stdlib/secure-getenv.c: Rename __secure_getenv to
40894 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40895 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40896 * stdlib/tst-secure-getenv.c: New.
40897 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40898 * manual/startup.texi (Environment Access): Document
40899 secure_getenv.
84b3fd84
FW
40900 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40901 __libc_secure_getenv.
40902 * inet/ruserpass.c (ruserpass): Likewise.
40903 * malloc/mtrace.c (mtrace): Likewise.
40904 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40905 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40906 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40907 * sysdeps/posix/tempname.c: Likewise. Evaluate
40908 HAVE_SECURE_GETENV.
40909 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40910 __secure_getenv to __libc_secure_getenv.
84b3fd84 40911 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40913 Likewise.
40914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40915 Likewise.
40916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40923
56e49b71
JM
409242012-07-25 Joseph Myers <joseph@codesourcery.com>
40925
40926 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40927 (struct La_i86_retval): Likewise.
40928 (struct La_x86_64_regs): Likewise.
40929 (struct La_x86_64_retval): Likewise.
40930 (struct La_x32_regs): Likewise.
40931 (struct La_x32_retval): Likewise.
40932 (struct La_ppc32_regs): Likewise.
40933 (struct La_ppc32_retval): Likewise.
40934 (struct La_ppc64_regs): Likewise.
40935 (struct La_ppc64_retval): Likewise.
40936 (struct La_sh_regs): Likewise.
40937 (struct La_sh_retval): Likewise.
40938 (struct La_s390_32_regs): Likewise.
40939 (struct La_s390_32_retval): Likewise.
40940 (struct La_s390_64_regs): Likewise.
40941 (struct La_s390_64_retval): Likewise.
40942 (struct La_sparc32_regs): Likewise.
40943 (struct La_sparc32_retval): Likewise.
40944 (struct La_sparc64_regs): Likewise.
40945 (struct La_sparc64_retval): Likewise.
40946 (struct audit_ifaces): Remove architecture-specific pltenter and
40947 pltexit members.
40948 * sysdeps/i386/ldsodefs.h: New file.
40949 * sysdeps/powerpc/ldsodefs.h: Likewise.
40950 * sysdeps/s390/ldsodefs.h: Likewise.
40951 * sysdeps/sh/ldsodefs.h: Likewise.
40952 * sysdeps/sparc/ldsodefs.h: Likewise.
40953 * sysdeps/x86_64/ldsodefs.h: Likewise.
40954
354691b7
MP
409552012-07-25 Marek Polacek <polacek@redhat.com>
40956
40957 [BZ #6808]
40958 * math/libm-test.inc (yn_test): Add another test.
40959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40960 to ERANGE when the result is +-Inf.
40961 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40962 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40963 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40964 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40965
bf9e2071
JM
409662012-07-24 Joseph Myers <joseph@codesourcery.com>
40967
40968 * conform/data/time.h-data (NULL): Use macro-constant. Require
40969 equal to 0.
40970 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40971 clock_t.
40972 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40973
57633811
TS
409742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40975
40976 * configure.in <sysdeps resolving>: Correct printing
40977 Implies_before.
40978 * configure: Regenerate.
40979
c23c33b0
TS
409802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40981
40982 * math/w_ilogb.c: Include <limits.h>.
40983 * math/w_ilogbl.c: Likewise.
40984
b5982523
JM
409852012-07-20 Joseph Myers <joseph@codesourcery.com>
40986
40987 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40988 va_copy. Document allowing for unavailable va_copy only as
40989 pre-C99 compatibility.
40990 * manual/string.texi (Copying and Concatenation): Use va_copy
40991 instead of __va_copy in concat example.
40992
ac4ea442
PT
409932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40994
40995 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40996 (__sendto): Use create_address_port. Initialize APORT and deallocate
40997 it if not null.
40998
f98eafbd
PT
40999 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41000 with O_NOLINK passed to __file_name_lookup.
41001
898c7aab
PT
41002 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41003 with O_NOLINK passed to __file_name_lookup.
41004
0ced335a
PT
41005 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41006 negative N or less than NGIDS.
41007
b3404dbd
PT
41008 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41009 type to string_t. Set ERANGE as errno and return it if NAME is not big
41010 enough. Use memcpy instead of strncpy.
41011
0f48659e
JM
410122012-07-20 Joseph Myers <joseph@codesourcery.com>
41013
41014 * elf/Makefile (check-data): Remove.
41015 (localplt.data): New vpath directive.
41016 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41017 instead of $(check-data).
41018 * scripts/data/localplt-generic.data: Move to ...
41019 * sysdeps/generic/localplt.data: ... here.
41020 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41021 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41022 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41024 ... here.
41025 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41027 ... here.
41028 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41030 ... here.
41031 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41033 ... here.
41034 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41036 ... here.
41037 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41039 ... here.
41040
d37cbdaa
AZ
410412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41042
41043 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41044 PPC32 and PPC64 files.
41045 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41046 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41047
46f85fc2
AK
410482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41049
41050 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41051 __makecontext_ret to ...
41052 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41053 ... here and call exit if uc_link is NULL. New file.
41054 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41055 __makecontext_ret.S.
41056 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41057 __makecontext_ret to ...
41058 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41059 ... here and call exit if uc_link is NULL. New file.
41060 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41061 __makecontext_ret.S.
41062
08f43f9b
AK
410632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41064
41065 * elf/elf.h (R_390_IRELATIVE): New definition.
41066 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41067 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41068 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41069 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41070 (elf_machine_lazy_rel): Likewise.
41071 * sysdeps/s390/dl-irel.h: New file.
41072 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41073 * sysdeps/s390/s390-64/memset.S: New asm code.
41074 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41075 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41076 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41077 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41078 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41079 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41080 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41081 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41082 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41083 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41084 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41085 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41086 * sysdeps/s390/s390-32/memset.S: New asm code.
41087 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41088
3b05db33
MP
410892012-07-17 Marek Polacek <polacek@redhat.com>
41090
41091 [BZ #14349]
41092 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41093 * sysdeps/s390/s390-64/configure.in: Likewise.
41094 * sysdeps/sparc/configure.in: Likewise.
41095 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41096 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41097 * sysdeps/i386/configure.in: Likewise.
41098 * sysdeps/x86_64/configure.in: Likewise.
41099 * sysdeps/sh/configure.in: Likewise.
41100 * sysdeps/s390/s390-32/configure: Regenerated.
41101 * sysdeps/s390/s390-64/configure: Likewise.
41102 * sysdeps/x86_64/configure: Likewise.
41103 * sysdeps/sh/configure: Likewise.
41104 * sysdeps/powerpc/powerpc64/configure: Likewise.
41105 * sysdeps/powerpc/powerpc32/configure: Likewise.
41106 * sysdeps/sparc/configure: Likwise.
41107 * sysdeps/i386/configure: Likewise.
41108
a66877c6
MP
41109 * elf/dl-open.c: Comment fixes.
41110
cfc82fd8
JM
411112012-07-17 Joseph Myers <joseph@codesourcery.com>
41112
bd29910a
JM
41113 * Makefile [CXX] (check-data): Remove.
41114 [CXX] (c++-types.data): New vpath directive.
41115 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41116 vpath. Do not allow for C++ type data being missing.
41117 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41118 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41119 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41120 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41121 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41122 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41123 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41125 ... here.
41126 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41128 ... here.
41129 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41131 ... here.
41132 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41134 ... here.
41135 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41137 ... here.
41138 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41140 ... here.
41141 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41143 ... here.
41144 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41146
cfc82fd8
JM
41147 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41148 definitions to architecture-specific files.
41149 (TLS_IE): Likewise.
41150 (TLS_LD): Likewise.
41151 (TLS_GD): Likewise.
41152 * sysdeps/i386/tls-macros.h: New file.
41153 * sysdeps/powerpc/tls-macros.h: Likewise.
41154 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41155 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41156 * sysdeps/sh/tls-macros.h: Likewise.
41157 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41158 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41159 * sysdeps/x86_64/tls-macros.h: Likewise.
41160
f7db3170
TS
411612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41162
07cbfc23
TS
41163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41164 zero value for regular exit case.
41165
f7db3170
TS
41166 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41167 (__start_context): Preserve zero value for regular exit case.
41168
dc97c227
TS
411692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41170 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41171
41172 * manual/setjmp.texi (setcontext): Clarify normal process
41173 termination when uc_link is the null pointer.
41174 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41175 exit call.
41176
d0cd7d02
AS
411772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41178
41179 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41180 preprocessor. Test for each exception mask separately.
41181
dd318934
AJ
411822012-07-16 Andreas Jaeger <aj@suse.de>
41183
41184 * po/ru.po: Update from translation team.
41185
8048311a
JM
411862012-07-15 Joseph Myers <joseph@codesourcery.com>
41187
41188 * conform/data/string.h-data (NULL): Use macro-constant. Require
41189 equal to 0.
41190 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41191 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41192 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41193 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41194 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41195
b637d46e
AJ
411962012-07-13 Andreas Jaeger <aj@suse.de>
41197
41198 * po/fr.po: Update from translation team.
41199
541428fe
MP
412002012-07-12 Marek Polacek <polacek@redhat.com>
41201
41202 [BZ #14173]
41203 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41204 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41205 loop condition.
41206
ec332e94
JM
412072012-07-12 Joseph Myers <joseph@codesourcery.com>
41208
41209 [BZ #13717]
41210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41211 Change to 2.4.1 where previously 2.4.0.
41212 * sysdeps/unix/sysv/linux/configure: Regenerated.
41213 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41214 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41215 version.
41216 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41217 (__ASSUME_AT_CLKTCK): Remove.
41218 (__ASSUME_AT_PAGESIZE): Likewise.
41219 (__ASSUME_AT_XID): Likewise.
41220 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41221 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41222 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41223 unconditionally.
41224 (HAVE_AUX_PAGESIZE): Likewise.
41225 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41226 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41227 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41228
7b6e99be
JB
412292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41230
41231 [BZ #14307]
41232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41233 the temporary buffer used to invoke __gethostbyname2_r,
41234 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41235 host_data / struct gaih_addrtuple.
41236 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41237 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41238 header file nss/nsswitch.h.
41239 * nss/nsswitch.h (global scope): Add definition of implementation
41240 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41241 resolv/nss_dns/dns-host.c).
41242
608404eb
AJ
412432012-07-11 Andreas Jaeger <aj@suse.de>
41244
41245 * po/fr.po: Update from translation team.
41246
71220aca
AJ
41247 * po/sv.po: Update from translation team
41248 * po/fr.po: Another update from translation team.
41249
28cfe843
AZ
412502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41251
41252 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41253 for subnormals or multiply small sinh result by itself.
41254 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41256
6b90f981
DM
412572012-07-11 David S. Miller <davem@davemloft.net>
41258
41259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41260
c6825772
AS
412612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41262
41263 [BZ #14347]
41264 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41265 (INTERNAL_MARK): Shift it here.
41266
7b8e0d49
MP
412672012-07-10 Marek Polacek <polacek@redhat.com>
41268
41269 [BZ #14151]
41270 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41271 libc_cv_asm_global_directive with .globl.
41272 * configure: Regenerated.
41273 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41274 with .globl.
41275 * sysdeps/i386/configure: Regenerated.
41276 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41277 with .globl.
41278 * sysdeps/x86_64/configure: Regenerated.
41279 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41280 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41281 * elf/tst-unique2mod2.c: Likewise.
41282 * elf/tst-unique2mod1.c: Likewise.
41283 * elf/tst-unique1mod2.c: Likewise.
41284 * elf/tst-unique1mod1.c: Likewise.
41285 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41286 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41288 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41289 * sysdeps/mach/sysdep.h: Likewise.
41290 * sysdeps/i386/sysdep.h: Likewise.
41291 * sysdeps/i386/i386-mcount.S: Likewise.
41292 * sysdeps/x86_64/_mcount.S: Likewise.
41293 * sysdeps/x86_64/sysdep.h: Likewise.
41294 * sysdeps/sh/_mcount.S: Likewise.
41295 * sysdeps/sh/sysdep.h: Likewise.
41296 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41297 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41298 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41299 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41300 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41301 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41302 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41303 * locale/localeinfo.h: Likewise.
41304 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41305 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41306
6c55cda3
RM
413072012-07-09 Roland McGrath <roland@hack.frob.com>
41308
41309 [BZ #14336]
41310 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41311 system".
41312 * manual/message.texi (The Uniforum approach): Likewise.
41313 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41314 (glibc iconv Implementation): Likewise.
41315
638a572e
JM
413162012-07-09 Joseph Myers <joseph@codesourcery.com>
41317
41318 [BZ #14337]
41319 * math/s_clog.c (__clog): Avoid scaling a value down where that
41320 could result in underflow.
41321 * math/s_clog10.c (__clog10): Likewise.
41322 * math/s_clog10f.c (__clog10f): Likewise.
41323 * math/s_clog10l.c (__clog10l): Likewise.
41324 * math/s_clogf.c (__clogf): Likewise.
41325 * math/s_clogl.c (__clogl): Likewise.
41326 * math/libm-test.inc (clog_test): Add more tests.
41327 (clog10_test): Likewise.
41328 * sysdeps/i386/fpu/libm-test-ulps: Update.
41329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41330
261f4859
AS
413312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41332
0abaf3e4
AS
41333 [BZ #14283]
41334 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41335 by 7 not 8 to examine high bit of fractional part.
41336
261f4859
AS
41337 [BZ #14042]
41338 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41339 for call to __mcount_internal.
41340 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41341 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41342 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41343
f17ac40d
JM
413442012-07-06 Joseph Myers <joseph@codesourcery.com>
41345
9ad63c23
JM
41346 [BZ #14154]
41347 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41348 approximation for values within 0x1p-13f of an odd multiple of
41349 pi/4.
41350 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41351 exception. Add more tests.
41352 * sysdeps/i386/fpu/libm-test-ulps: Update.
41353
f17ac40d
JM
41354 [BZ #6778]
41355 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41356 inputs and return -1 for them. Do not check for +Inf in case not
41357 reachable for +Inf.
41358 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41359 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41360 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41361 and return -1 for them. Do not check for +Inf in case not
41362 reachable for +Inf.
41363 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41364 define.
41365 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41366 and return -1 for them. Do not check for +Inf in case not
41367 reachable for +Inf.
41368 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41369 spurious underflow.
41370 * sysdeps/i386/fpu/libm-test-ulps: Update.
41371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41372
fb21f89b
MF
413732012-07-06 Mike Frysinger <vapier@gentoo.org>
41374
41375 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41376
cdfe2c5e
JM
413772012-07-05 Joseph Myers <joseph@codesourcery.com>
41378
41379 [BZ #14157]
41380 [BZ #14331]
41381 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41382 could result in spurious underflow. Scale down values above
41383 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41384 * math/s_csqrtf.c (__csqrtf): Likewise.
41385 * math/s_csqrtl.c (__csqrtl): Likewise.
41386 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41387 spurious underflow.
41388 * sysdeps/i386/fpu/libm-test-ulps: Update.
41389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41390
70d35b67
AS
413912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41392
704bc459
AS
41393 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41394 xopen-msg.sed.
41395 * catgets/xopen-msg.awk: New file.
41396 * catgets/xopen-msg.sed: Removed.
41397
70d35b67
AS
41398 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41399 po2text.sed.
41400 * intl/po2test.awk: New file.
41401 * intl/po2test.sed: Removed.
41402
ca61cf32
JM
414032012-07-04 Joseph Myers <joseph@codesourcery.com>
41404
41405 [BZ #14328]
41406 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41407 or multiply small sinh result by itself.
41408 * math/s_ctanf.c (__ctanf): Likewise.
41409 * math/s_ctanh.c (__ctanh): Likewise.
41410 * math/s_ctanhf.c (__ctanhf): Likewise.
41411 * math/s_ctanhl.c (__ctanhl): Likewise.
41412 * math/s_ctanl.c (__ctanl): Likewise.
41413 * math/libm-test.inc (ctan_test_tonearest): New function.
41414 (ctan_test_towardzero): Likewise.
41415 (ctan_test_downward): Likewise.
41416 (ctan_test_upward): Likewise.
41417 (ctanh_test_tonearest): Likewise.
41418 (ctanh_test_towardzero): Likewise.
41419 (ctanh_test_downward): Likewise.
41420 (ctanh_test_upward): Likewise.
41421 (main): Call these new functions.
41422 * sysdeps/i386/fpu/libm-test-ulps: Update.
41423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41424
ca48a46a
MF
414252012-07-03 Mike Frysinger <vapier@gentoo.org>
41426
41427 * .gitignore: Delete /ports entry.
41428
9d63d37d
AJ
414292012-07-03 Andreas Jaeger <aj@suse.de>
41430
41431 * po/bg.po: Update from translation team.
41432 * po/cs.po: Likewise.
41433 * po/de.po: Likewise.
41434 * po/hr.po: Likewise.
41435 * po/nl.pl: Likewise.
41436 * po/pl.po: Likewise.
41437 * po/vi.po: Likewise.
41438
370ca3d2
JM
414392012-07-03 Joseph Myers <joseph@codesourcery.com>
41440
95f5a9a8
JM
41441 * Makeconfig [!+link] (+link-before-libc): New variable.
41442 [!+link] (+link-after-libc): Likewise.
41443 [!+link] (+link-tests): Likewise.
41444 [!+link] (+link): Define in terms of $(+link-before-libc) and
41445 $(+link-after-libc).
41446 [!+link-static] (+link-static-before-libc): New variable.
41447 [!+link-static] (+link-static-after-libc): Likewise.
41448 [!+link-static] (+link-static-tests): Likewise.
41449 [!+link-static] (+link-static): Define in terms of
41450 $(+link-static-before-libc) and $(+link-static-after-libc).
41451 [build-shared] (link-libc-before-gnulib): New variable.
41452 [build-shared] (link-libc-tests): Likewise.
41453 [build-shared] (link-libc): Define in terms of
41454 $(link-libc-before-gnulib).
41455 [!build-shared] (link-libc-tests): New variable.
41456 (link-libc-static-tests): New variable.
41457 [!gnulib] (gnulib-arch): New variable.
41458 [!gnulib] (gnulib-tests): Likewise.
41459 [!gnulib] (static-gnulib-arch): Likewise.
41460 [!gnulib] (static-gnulib-tests): Likewise.
41461 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41462 Define with "=" instead of ":=".
41463 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41464 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41465 * Rules (binaries-all-notests): New variable.
41466 (binaries-all-tests): Likewise.
41467 (binaries-static-notests): Likewise.
41468 (binaries-static-tests): Likewise.
41469 (binaries-all): Define using $(binaries-all-notests) and
41470 $(binaries-all-tests).
41471 (binaries-static): Define using $(binaries-static-notests) and
41472 $(binaries-static-tests).
41473 (binaries-shared-tests): New variable.
41474 (binaries-shared-notests): Likewise.
41475 (binaries-shared): Remove variable.
41476 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41477 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41478 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41479 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41480 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41481 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41482 * elf/Makefile (sln-modules): New variable.
41483 (extra-objs): Add $(sln-modules:=.o).
41484 (ldconfig-modules): Add static-stubs.
41485 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41486 * elf/static-stubs.c: New file.
41487
7a845b2c
JM
41488 [BZ #14283]
41489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41490 by 7 not 8 to examine high bit of fractional part. Use volatile
41491 variables when splitting into final array of floats if
41492 __FLT_EVAL_METHOD__ != 0.
41493 * math/libm-test.inc (cos_test): Add another test.
41494 (sin_test): Likewise.
41495 * sysdeps/i386/fpu/libm-test-ulps: Update.
41496
e2283f38
JM
41497 [BZ #14273]
41498 * math/libm-test.inc (cosh_test): Add more tests.
41499
370ca3d2
JM
41500 * version.h (RELEASE): Set to "development".
41501 (VERSION): Set to "2.16.90".
41502
ee9247c3
CD
415032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41504
41505 * NEWS: Update copyright. Remove last-updated date.
41506 Mention math library bug fixes and timezone data changes.
41507 * README: Mention GNU/Hurd, x32, and HPPA support status.
41508
4648c381
TS
415092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41510
41511 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41512
aac78a43
AJ
415132012-06-27 Andreas Jaeger <aj@suse.de>
41514
41515 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41516
ed3dbfad
AJ
415172012-06-25 Andreas Jaeger <aj@suse.de>
41518
41519 * sysdeps/s390/fpu/libm-test-ulps: Update.
41520
4d0ee855
AS
415212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41522 Thomas Schwinge <thomas@codesourcery.com>
41523
41524 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41525 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41527 fanotify_mark.
41528
af1bce34
TS
415292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41530
a9fa33ba
TS
41531 * sysdeps/mach/start.c: Remove file.
41532 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41533 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41534 * sysdeps/sh/init-first.c: Likewise.
41535
58f902b8
TS
41536 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41537 registers for frame unwinding purposes, add CFI directives.
41538 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41539 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41540 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41541 Likewise.
41542
1518f58b
TS
41543 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41544 __fortify_fail returning.
41545 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41546
db9b5059
TS
41547 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41548 sysdeps/sh/____longjmp_chk.S.
41549 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41550 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41551 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41552 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41553
967705fe
TS
41554 * sysdeps/sh/abort-instr.h: New file.
41555 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41556 process in case exit returns.
41557
a9def8c4
TS
41558 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41559 initialize the GOT register before use.
41560
2a649725
TS
41561 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41562 calculation of ARGC > 4.
41563
af1bce34
TS
41564 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41565 meaningful names to some local labels.
41566
d230f50a
KK
415672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41568 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41569
41570 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41571 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41572 (__arch_compare_and_exchange_val_16_acq): Likewise.
41573 (__arch_compare_and_exchange_val_32_acq): Likewise.
41574 (atomic_exchange_and_add): Fix gUSA sequence.
41575 (atomic_add): Likewise.
41576 (atomic_add_negative): Likewise.
41577 (atomic_add_zero): Likewise.
41578 (atomic_bit_test_set): Likewise.
41579
0479b305
AS
415802012-06-22 Andreas Schwab <schwab@redhat.com>
41581
41582 [BZ #13579]
41583 * include/link.h (struct link_map): Add l_free_initfini.
41584 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41585 l_initfini.
41586 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41587 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41588 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41589 set.
41590
0e3933b9
CD
415912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41592
41593 * configure.in: Use AC_LANG_SOURCE.
41594 * configure: Regenerate.
41595
4248b1b1
RM
415962012-06-22 Roland McGrath <roland@hack.frob.com>
41597
41598 * configure.in (libc_cv_localstatedir): New substituted variable.
41599 * configure: Regenerated.
41600 * config.make.in (localstatedir): New variable, substituted from
41601 libc_cv_localstatedir.
41602 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41603 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41604 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41605 * sysdeps/gnu/configure: Regenerated.
41606
006dd861
JL
416072012-06-21 Jeff Law <law@redhat.com>
41608
41609 [BZ #14277]
41610 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41611 free. Simplify list management for _LIBC case.
41612
79662d42
JM
416132012-06-21 Joseph Myers <joseph@codesourcery.com>
41614
b7abb4bf
JM
41615 [BZ #14273]
41616 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41617 Clear sign bit of 64-bit integer value before comparing against
41618 overflow value.
41619
79662d42
JM
41620 * sysdeps/mach/configure: Regenerated.
41621
1f150908
L
416222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41623
41624 [BZ #14278]
41625 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41626
28363bbf
JL
416272012-06-21 Jeff Law <law@redhat.com>
41628
41629 [BZ #13882]
41630 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41631 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41632 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41633 * elf/dl-open.c (dl_open_worker): Likewise.
41634
09615db4
CD
416352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41636
41637 * scripts/list-sources.sh: Scan PORTS for translations.
41638 * po/libc.pot: Regenerated.
41639
2174c6dd
AJ
416402012-06-21 Andreas Jaeger <aj@suse.de>
41641
41642 [BZ #12194]
41643 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41644 warning.
41645 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41646 * bits/byteswap-16.h (__bswap_16): Likewise.
41647 * bits/byteswap.h (__bswap_constant_16): Likewise.
41648
3ee947b1
L
416492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41650
41651 [BZ #14117]
a2f34833
L
41652 * sysdeps/i386/fpu_control.h: Removed.
41653 * sysdeps/x86_64/fpu_control.h: Moved to ...
41654 * sysdeps/x86/fpu_control.h: Here.
41655
3ee947b1
L
41656 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41657 (_FPU_SETCW): Likewise.
41658
ed1825f8
L
416592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41660
25f1282a
L
41661 [BZ #14117]
41662 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41663 * sysdeps/x86/fpu/bits/mathinline.h: This.
41664 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41665
ed1825f8
L
41666 [BZ #14050]
41667 [BZ #14117]
41668 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41669 functions if __x86_64__ is defined.
41670
36d54b74
CLT
416712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41672
41673 * string/endian.h: Add !__ASSEMBLER__ condition for including
41674 conversion interfaces.
41675
10285c21
JM
416762012-06-15 Joseph Myers <joseph@codesourcery.com>
41677
41678 [BZ #14241]
41679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41680 of ABS(x) in calculating zero to negative powers other than odd
41681 integers.
41682 * math/libm-test.inc (pow_test): Add more tests.
41683
06c5abbd
AJ
416842012-06-15 Andreas Jaeger <aj@suse.de>
41685
41686 * manual/contrib.texi (Contributors): Update entry of Liubov
41687 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41688 Machado Filho.
41689
a3aeac40
CH
416902012-06-15 Cyril Hrubis <metan@ucw.cz>
41691
41692 * string/string.h: Add __wur to GNU version of strerror_r.
41693
49bdf4c1
L
416942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41695
41696 [BZ #14229]
41697 * string/Makefile (tests): Add tst-strtok_r.
41698 * string/tst-strtok_r.c: New file.
41699 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41700 RAX_LP/RDX_LP on SAVE_PTR.
41701
834f9b8d
RM
417022012-06-14 Roland McGrath <roland@hack.frob.com>
41703
41704 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41705
75fa1921
JM
417062012-06-14 Joseph Myers <joseph@codesourcery.com>
41707
41708 * libm_test.inc (csqrt_test): Allow more spurious underflow
41709 exceptions.
41710 (j0_test): Likewise.
41711 (j1_test): Likewise.
41712 (y0_test): Likewise.
41713 (y1_test): Likewise.
41714
771766df
CD
417152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41716
41717 * po/Makefile (libc.pot): Use UTF-8 charset.
41718
ceb9e56b
PP
417192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41720
41721 [BZ #14210]
41722 Suppress sign-conversion warning from FD_SET.
41723 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41724 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41725 not unsigned long int.
41726 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41727
ddb28975
L
417282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41729
41730 [BZ #14050]
41731 [BZ #14117]
41732 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41733 __extern_always_inline instead of __extern_inline.
41734 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41735 (__signbit): Likewise.
41736 (__signbitl): Support C++ namespace.
41737 (lrintf): New inline function.
41738 (lrint): Likewise.
41739 (llrintf): Likewise.
41740 (llrint): Likewise.
41741 (fmaxf): Likewise.
41742 (fmax): Likewise.
41743 (fminf): Likewise.
41744 (fmin): Likewise.
41745 (rint): Likewise.
41746 (rintf): Likewise.
41747 (ceil): Likewise.
41748 (ceilf): Likewise.
41749 (floor): Likewise.
41750 (floorf): Likewise.
41751 (nearbyint): Likewise.
41752 (nearbyintf): Likewise.
41753
d7b4fb26
TS
417542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41755
41756 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41757 non-default versions.
41758
eb55f5c2
RM
417592012-06-11 Roland McGrath <roland@hack.frob.com>
41760
41761 [BZ #14218]
41762 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41763
366af02c
TS
417642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41765
99ff6e5c
TS
41766 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41767 (FE_UPWARD, FE_DOWNWARD): Don't define.
41768 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41769 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41770
366af02c
TS
41771 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41772 reading it.
41773 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41774 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41775
793ea851
KK
417762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41777
41778 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41780 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41781 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41782
a728a38f
L
417832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41784
41785 [BZ #14117]
c08010c7
L
41786 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41787 * sysdeps/i386/fpu/Implies: New file.
41788 * sysdeps/x86_64/fpu/Implies: Likewise.
41789 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41790 * sysdeps/x86/fpu/bits/fenv.h: This.
41791
a728a38f
L
41792 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41793 __SSE_MATH__.
41794
6e230d11
SP
417952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41796
41797 [BZ #14134]
41798 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41799 character 0xffff that matches the last element of the
41800 conversion table.
41801
1b671feb
AZ
418022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41803
41804 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41805 fmodl commit.
41806
6043738b
AZ
418072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41808
41809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41810 values higher than 25.6283.
41811
34ae0b32
AZ
418122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41813
41814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41815 subnormal exponent extraction and add some __builtin_expect.
41816 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41817 Fix for subnormal mantissa calculation.
41818
1214ec8f
MF
418192012-06-04 Mike Frysinger <vapier@gentoo.org>
41820
41821 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41822 cpu2 is -1 and errno is not ENOSYS.
41823
f3d1f93c
L
418242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41825
41826 [BZ #14117]
0e4a3cd7
L
41827 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41828 * sysdeps/x86/bits/string.h: This.
41829 * sysdeps/x86_64/bits/string.h: Removed.
41830
6704c645
L
41831 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41832 if not compiling for x86-64, but compiling for >= i486.
41833
48495318
L
41834 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41835 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41836
14adcbfc
L
41837 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41838 New macro from Linux kernel 3.4.0.
41839 (FP_XSTATE_MAGIC2): Likewise.
41840 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41841 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41842 (struct _fpx_sw_bytes): New struct.
41843 (struct _xsave_hdr): Likewise.
41844 (struct _ymmh_state): Likewise.
41845 (struct _xstate): Likewise.
41846
68e408ab
L
41847 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41848 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41849 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41850 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41851 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41852 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41853
f3d1f93c
L
41854 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41855 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41856 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41857 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41858 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41859 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41860
d9dc34cd
TMQMF
418612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41862
41863 [BZ #13743]
41864 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41865 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41866 (sysdep_headers): Include sys/platform/ppc.h.
41867 * sysdeps/powerpc/test-gettimebase.c: Test for
41868 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41869 * manual/Makefile (appendices): Include platform.texi.
41870 * manual/contrib.texi (Contributors): Update @node pointers.
41871 * manual/maint.texi (Maintenance): Likewise.
41872 (Platform): New node.
41873 * manual/platform.texi: New file. Document the new features.
41874
4af3879c
SP
418752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41876 Jakub Jelinek <jakub@redhat.com>
41877
41878 [BZ #14188]
41879 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41880 where __builtin_expect is unavailable.
41881
2fd6ff13
DM
418822012-06-03 David S. Miller <davem@davemloft.net>
41883
41884 * stdlib/longlong.h: Updated from GCC.
41885
173f7220
AS
418862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41887
41888 [BZ #14042]
41889 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41890 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41891 __mcount_internal.
41892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41893 (GLIBC_2.16): Likewise.
41894
f34a1c6f
L
418952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41896
41897 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41898
88a4576f
JM
418992012-06-01 Joseph Myers <joseph@codesourcery.com>
41900
ea32bcdd
JM
41901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41902 (default-abi): New variable.
41903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41904 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41905 variable.
41906 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41907 Likewise.
41908 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41909 Likewise.
41910 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41911 Likewise.
41912
88a4576f
JM
41913 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41914 definition. Document in comment.
41915
402fe938
DM
419162012-06-01 David S. Miller <davem@davemloft.net>
41917
41918 * stdlib/longlong.h: Updated from GCC.
41919
3553723f
L
419202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41921
41922 [BZ #14117]
3bd872c4
L
41923 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41924 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41925 sys/debugreg.h sys/io.h here.
41926 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41927 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41928 sys/io.h.
41929 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41930 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41931 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41932 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41933 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41934 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41935
3553723f
L
41936 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41937 Define only if __x86_64__ is defined.
41938
4842e4fe
JM
419392012-06-01 Joseph Myers <joseph@codesourcery.com>
41940
c5bfe3d5
JM
41941 [BZ #14048]
41942 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41943 Use int64_t for variable i.
41944 * math/libm-test.inc (fmod_test): Add more tests.
41945
4842e4fe
JM
41946 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41947 z computation is not scheduled after fetestexcept.
41948 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41949 Use math_force_eval instead of asm to ensure calculation scheduled
41950 before exception test.
41951 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41952 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41953
efb73488
AJ
419542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41955
41956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41957 computation is not scheduled after fetestexcept.
41958
29bcce7c
L
419592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41960
41961 [BZ #14117]
41962 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41963 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41964
73a68f94
AZ
419652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41966
41967 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41968 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41969
67b6df78
L
419702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41971
edf2933a 41972 [BZ #14117]
ebc64a18
L
41973 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41974 <bits/wordsize.h>.
41975 (__WCHAR_MIN): Support __WORDSIZE == 64.
41976 (__WCHAR_MAX): Likewise.
41977
edf2933a
L
41978 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41979 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41980
57c6cf40
L
41981 [BZ #14183]
41982 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41983 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41984
67b6df78 41985 [BZ #14117]
8eb6281e
L
41986 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41987 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41988
aac639f4
L
41989 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41990 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41991
67b6df78
L
41992 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41993 Defined to 1 if __x86_64__ isn't defined.
41994 (_STAT_VER_LINUX_OLD): New.
41995 (st_atime): Remove duplicate.
41996 (st_mtime): Likewise.
41997 (st_ctime): Likewise.
41998
1c2cfe81
DM
419992012-05-31 David S. Miller <davem@davemloft.net>
42000
42001 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42002 entries.
42003
5be8418c
AS
420042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42005
e7725326
AS
42006 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42007 gen-libm-test.pl.
42008
5be8418c
AS
42009 [BZ #14132]
42010 * elf/dl-reloc.c: Include <_itoa.h>.
42011 (_dl_reloc_bad_type): Remove use of INTUSE.
42012 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42013 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42014 * stdio-common/psiginfo.c (psiginfo): Likewise.
42015 * stdio-common/psignal.c (psignal): Likewise.
42016 * string/strsignal.c (strsignal): Likewise.
42017 * include/signal.h (_sys_siglist): Declare hidden proto.
42018 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42019 INTVARDEF with libc_hidden_data_def.
42020 * stdio-common/itoa-udigits.c: Likewise.
42021 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42022 (_itoa_lower_digits_internal): Remove declaration.
42023 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42024 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42025 (_sys_sigabbrev_internal): Remove aliases.
42026 (_sys_siglist): Define hidden alias.
42027
507352f1
MT
420282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42029
42030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42031 bits/sysctl.h.
42032
42bbb1c3
L
420332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42034
42035 [BZ #14117]
6bd784b6
L
42036 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42037 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42038
8bca20f0
L
42039 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42040 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42041 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42042 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42044 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42045
f9e890a9
L
42046 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42047 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42048 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42049
471101a1
L
42050 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42051 with __addr.
42052 (insw): Likewise.
42053 (insl): Likewise.
42054 (outsb): Likewise.
42055 (outsw): Likewise.
42056 (outsl): Likewise.
42057
6451c862
L
42058 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42059 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42060 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42061
a254b8c9
L
42062 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42063 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42064 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42065 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42066 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42067 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42068
b8dfdd92
L
42069 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42070 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42071
578cd270
L
42072 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42073 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42074
de662f5f
L
42075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42077 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42078
25653439
L
42079 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42080 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42081 to ...
42082 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42083
6bad24a0
L
42084 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42085 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42086 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42087
42bbb1c3
L
42088 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42089 for x86-64.
42090 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42091
2d10d547
JM
420922012-05-31 Joseph Myers <joseph@codesourcery.com>
42093
42094 * math/math.h (M_El): Use two more decimal places.
42095 (M_LOG2El): Likewise.
42096 (M_LOG10El): Likewise.
42097 (M_LN2l): Likewise.
42098 (M_LN10l): Likewise.
42099 (M_PIl): Likewise.
42100 (M_PI_2l): Likewise.
42101 (M_PI_4l): Likewise.
42102 (M_1_PIl): Likewise.
42103 (M_2_PIl): Likewise.
42104 (M_2_SQRTPIl): Likewise.
42105 (M_SQRT2l): Likewise.
42106 (M_SQRT1_2l): Likewise.
42107
f230c29b
DM
421082012-05-31 David S. Miller <davem@davemloft.net>
42109
42110 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42111 values between float registers.
42112 * sysdeps/sparc/sparc64/memset.S: Likewise.
42113 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42114
fed806c3
MF
421152012-05-31 Mike Frysinger <vapier@gentoo.org>
42116
42117 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42118 -D_FORTIFY_SOURCE=1.
42119 (CPPFLAGS-tst-longjmp_chk.c): Define.
42120 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42121 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42122 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42123 CFLAGS-tst-wchar-h.c.
42124
30917259
MP
421252012-05-31 Marek Polacek <polacek@redhat.com>
42126
42127 [BZ #14132]
42128 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42129 __endmntent_internal): Remove declaration.
42130 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42131 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42132 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42133
1c58d5dc
DM
421342012-05-30 David S. Miller <davem@davemloft.net>
42135
42136 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42137 (___Q_simulate_exceptions): Use real FP ops rather than writing
42138 into the %fsr.
42139 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42140 Likewise.
42141
7dc00e0d
L
421422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42143
42144 [BZ #14117]
0bd53985
L
42145 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42146 * sysdeps/x86/bits/xtitypes.h: This.
42147
3a257e66
L
42148 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42149 * sysdeps/x86/bits/wordsize.h: This.
42150
62f62904
L
42151 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42152 * sysdeps/x86/bits/huge_vall.h: This.
42153
404fe9d9
L
42154 * sysdeps/i386/bits/select.h: Removed.
42155 * sysdeps/x86_64/bits/select.h: Renamed to ...
42156 * sysdeps/x86/bits/select.h: This.
42157
d48d0446
L
42158 * sysdeps/i386/bits/setjmp.h: Removed.
42159 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42160 * sysdeps/x86/bits/setjmp.h: This.
42161
7dc00e0d
L
42162 * sysdeps/i386/bits/mathdef.h: Removed.
42163 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42164 * sysdeps/x86/bits/mathdef.h: This.
42165
03277f8f
AS
421662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42167
42168 [BZ #14132]
42169 * include/sys/socket.h (__connect_internal)
42170 (__libc_sa_len_internal): Remove declaration.
42171 (__connect, __libc_sa_len): Declare hidden_proto.
42172 (SA_LEN): Remove use of INTUSE.
42173 * socket/connect.c: Add libc_hidden_def.
42174 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42175 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42176 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42177 alias.
42178 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42179 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42180 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42181 of adding _internal alias.
42182
13764867
L
421832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42184
42185 [BZ #14117]
6bd97696
L
42186 * sysdeps/i386/bits/link.h: Removed.
42187 * sysdeps/i386/bits/linkmap.h: Likewise.
42188 * sysdeps/x86_64/bits/link.h: Renamed to ...
42189 * sysdeps/x86/bits/link.h: This.
42190 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42191 * sysdeps/x86/bits/linkmap.h: This.
42192
f726f0bb
L
42193 * sysdeps/i386/bits/endian.h: Removed.
42194 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42195 * sysdeps/x86/bits/endian.h: This.
42196
13764867
L
42197 * sysdeps/i386/bits/byteswap.h: Removed.
42198 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42199 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42200 * sysdeps/x86/bits/byteswap.h: This.
42201 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42202 * sysdeps/x86/bits/byteswap-16.h: This.
42203 * sysdeps/i386/Implies: Add x86.
42204 * sysdeps/x86_64/Implies: Likewise.
42205
ae251b0b
DM
422062012-05-30 David S. Miller <davem@davemloft.net>
42207
42208 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42209 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42210 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42211 (FP_TRAPPING_EXCEPTIONS): Define.
42212 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42213 (FP_TRAPPING_EXCEPTIONS): Define.
42214 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42215 subnormals only when inexact has been signalled or underflow
42216 exceptions are enabled.
42217 (_FP_PACK_CANONICAL): Likewise.
42218
d5c90867
L
422192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42220
42221 [BZ #14183]
42222 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42223 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42224
63f1549e
RH
422252012-05-30 Richard Henderson <rth@twiddle.net>
42226
8d8f2279
RH
42227 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42228 with #ifndef NOT_IN_libc.
42229
63f1549e
RH
42230 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42231 marked to avoid plt entry.
42232
0ab0291b
L
422332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42234
42235 [BZ #14112]
42236 * Makeconfig (default-abi): New macro.
42237 (abi-includes): Likewise.
42238 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42239 $(abi-$(default-abi)-lib-soname) for soname if defined.
42240 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42241 abi-variants.
42242 * Makefile (installed-stubs): Likewise.
42243 * include/stubs-biarch.h: Removed.
42244 * scripts/lib-names.awk: Only handle one library at a time.
42245 * scripts/soversions.awk: Remove WORDSIZE support.
42246 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42247 entries.
42248 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42249 Removed.
42250 (syscall-list-default-condition): Likewise.
42251 (syscall-list-default-condition): Likewise.
42252 (syscall-list-includes): Likewise.
42253 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42254 syscall-list-* with abi-*. Handle undefined abi-variants.
42255 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42256 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42257 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42258 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42259 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42260 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42261 Removed.
42262 (syscall-list-32-options): Likewise.
42263 (syscall-list-32-condition): Likewise.
42264 (syscall-list-64-options): Likewise.
42265 (syscall-list-64-condition): Likewise.
42266 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42267 macro.
42268 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42269 Renamed to ...
42270 (abi-*): This.
42271 (abi-64-ld-soname): New macro.
42272 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42273 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42274 Renamed to ...
42275 (abi-*): This.
42276 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42277 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42278
4da0431d
JM
422792012-05-30 Joseph Myers <joseph@codesourcery.com>
42280
3a85279c
JM
42281 * sysdeps/unix/sysv/linux/kernel-features.h
42282 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42283 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42284 include <kernel-features.h>.
42285 [!__NR_ftruncate64]: Remove conditional code.
42286 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42287 [__NR_ftruncate64]: Make code unconditional.
42288 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42289 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42290 include <kernel-features.h>.
42291 [!__NR_ftruncate64]: Remove conditional code.
42292 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42293 [__NR_ftruncate64]: Make code unconditional.
42294 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42296 include <kernel-features.h>.
42297 [!__NR_ftruncate64]: Remove conditional code.
42298 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42299 [__NR_ftruncate64]: Make code unconditional.
42300 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42302 include <kernel-features.h>.
42303 [!__NR_ftruncate64]: Remove conditional code.
42304 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42305 [__NR_ftruncate64]: Make code unconditional.
42306 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42307
4da0431d
JM
42308 * configure.in (libc_cv_fpie): Weaken to a compile test using
42309 LIBC_TRY_CC_OPTION.
42310 * configure: Regenerated.
42311
11ef492c
AK
423122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42313
42314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42318 Refreshed.
42319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42325 Refreshed.
42326
d66ef399
DM
423272012-05-27 David S. Miller <davem@davemloft.net>
42328
42329 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42330 (___Q_zero): New.
42331 (__Q_simulate_exceptions): Return void. Change to simulate
42332 exceptions by writing into the %fsr.
42333 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42334 (__Qp_handle_exceptions): Likewise.
42335 (numbers): Delete.
42336 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42337 __Qp_handle_exceptions.
42338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42339 __Qp_handle_exceptions.
42340 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42341 as unused and give dummy FP_RND_NEAREST initializer.
42342 (FP_INHIBIT_RESULTS): Define.
42343 (___Q_simulate_exceptions): Update declaration.
42344 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42345 formatting.
42346 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42347 as unused and give dummy FP_RND_NEAREST initializer.
42348 (__Qp_handle_exceptions): Update declaration.
42349 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42350 formatting.
42351
04fb54b5
TS
423522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42353
42354 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42355 the temporary FPU control word.
42356 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42357 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42358 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42359 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42361 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42362 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42364 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42365 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42366 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42367
3f99608f
KK
423682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42369
42370 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42371 fields.
42372
65a4de4e
CLT
423732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42374
42375 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42376 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42377 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42378 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42379 Likewise.
42380 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42381 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42382 Likewise.
42383
15749d40
UD
423842012-05-27 Ulrich Drepper <drepper@gmail.com>
42385
42386 * po/h.po: Update from translation team.
42387
25dbcb27
AS
423882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42389
3d3f8e55
AS
42390 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42391
25dbcb27
AS
42392 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42393 handling of denormals.
42394 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42395 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42396 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42397 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42399 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42401 Likewise.
42402
7ad47a80 424032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42404
42405 [BZ #14152]
42406 * math/libm-test.inc (fma_test): Don't always expect underflow
42407 exception.
42408
9c6ea9fa
SP
424092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42410
42411 [BZ #12416]
42412 * elf/tst-execstack.c: Include stackinfo.h.
42413 (do_test): Adjust test case to ensure that pthread_getattr_np
42414 behaviour remains the same after marking stack executable.
42415
a8239222
JM
424162012-05-25 Joseph Myers <joseph@codesourcery.com>
42417
42418 * sysdeps/unix/sysv/linux/kernel-features.h
42419 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42420 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42421 kernel-features.h.
42422 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42423 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42424 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42425 kernel-features.h.
42426 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42427 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42428
918b5606
L
424292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42430
42431 * configure.in: Define the default includes to being none.
42432 * configure: Regenerated.
42433
3a097cc7
RM
424342012-05-25 Roland McGrath <roland@hack.frob.com>
42435
8422c9a5
RM
42436 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42437 * sysdeps/x86_64/setjmp.S: Likewise.
42438 * sysdeps/i386/bsd-setjmp.S: Likewise.
42439 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42440 * sysdeps/i386/setjmp.S: Likewise.
42441 * sysdeps/i386/__longjmp.S: Likewise.
42442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42443 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42444
3a097cc7
RM
42445 * include/stap-probe.h: New file.
42446 * configure.in: Handle --enable-systemtap.
42447 * configure: Regenerated.
42448 * config.h.in (USE_STAP_PROBE): New #undef.
42449 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42450 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42451 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42452
21708942
JM
424532012-05-25 Joseph Myers <joseph@codesourcery.com>
42454
42455 [BZ #13717]
42456 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42457 to 2.4.0 where earlier.
42458 * sysdeps/unix/sysv/linux/configure: Regenerated.
42459 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42460 <kernel-features.h>.
42461 [__ASSUME_32BITUIDS]: Make code unconditional.
42462 [!__ASSUME_32BITUIDS]: Remove conditional code.
42463 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42464 <kernel-features.h>.
42465 [__ASSUME_32BITUIDS]: Make code unconditional.
42466 [!__ASSUME_32BITUIDS]: Remove conditional code.
42467 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42468 [__ASSUME_32BITUIDS]: Make code unconditional.
42469 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42470 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42471 <kernel-features.h>.
42472 [__ASSUME_32BITUIDS]: Make code unconditional.
42473 [!__ASSUME_32BITUIDS]: Remove conditional code.
42474 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42475 <kernel-features.h>.
42476 [__ASSUME_32BITUIDS]: Make code unconditional.
42477 [!__ASSUME_32BITUIDS]: Remove conditional code.
42478 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42479 <kernel-features.h>.
42480 [__ASSUME_32BITUIDS]: Make code unconditional.
42481 [!__ASSUME_32BITUIDS]: Remove conditional code.
42482 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42483 <kernel-features.h>.
42484 [__ASSUME_32BITUIDS]: Make code unconditional.
42485 [!__ASSUME_32BITUIDS]: Remove conditional code.
42486 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42487 <kernel-features.h>.
42488 [__ASSUME_32BITUIDS]: Make code unconditional.
42489 [!__ASSUME_32BITUIDS]: Remove conditional code.
42490 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42491 <kernel-features.h>.
42492 [__ASSUME_32BITUIDS]: Make code unconditional.
42493 [!__ASSUME_32BITUIDS]: Remove conditional code.
42494 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42495 <kernel-features.h>.
42496 [__ASSUME_32BITUIDS]: Make code unconditional.
42497 [!__ASSUME_32BITUIDS]: Remove conditional code.
42498 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42499 <kernel-features.h>.
42500 [__ASSUME_32BITUIDS]: Make code unconditional.
42501 [!__ASSUME_32BITUIDS]: Remove conditional code.
42502 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42503 <kernel-features.h>.
42504 [__ASSUME_32BITUIDS]: Make code unconditional.
42505 [!__ASSUME_32BITUIDS]: Remove conditional code.
42506 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42507 <kernel-features.h>.
42508 [__ASSUME_32BITUIDS]: Make code unconditional.
42509 [!__ASSUME_32BITUIDS]: Remove conditional code.
42510 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42511 <kernel-features.h>.
42512 [__NR_setresgid] (__setresgid): Do not declare.
42513 [__ASSUME_32BITUIDS]: Make code unconditional.
42514 [!__ASSUME_32BITUIDS]: Remove conditional code.
42515 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42516 <kernel-features.h>.
42517 [__NR_setresuid] (__setresuid): Do not declare.
42518 [__ASSUME_32BITUIDS]: Make code unconditional.
42519 [!__ASSUME_32BITUIDS]: Remove conditional code.
42520 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42521 <kernel-features.h>.
42522 [__ASSUME_32BITUIDS]: Make code unconditional.
42523 [!__ASSUME_32BITUIDS]: Remove conditional code.
42524 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42525 <kernel-features.h>.
42526 [__ASSUME_32BITUIDS]: Make code unconditional.
42527 [!__ASSUME_32BITUIDS]: Remove conditional code.
42528 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42529 <kernel-features.h>.
42530 [__ASSUME_32BITUIDS]: Make code unconditional.
42531 [!__ASSUME_32BITUIDS]: Remove conditional code.
42532 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42533 <kernel-features.h>.
42534 [__ASSUME_32BITUIDS]: Make code unconditional.
42535 [!__ASSUME_32BITUIDS]: Remove conditional code.
42536 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42537 <kernel-features.h>.
42538 [__ASSUME_32BITUIDS]: Make code unconditional.
42539 [!__ASSUME_32BITUIDS]: Remove conditional code.
42540 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42541 <kernel-features.h>.
42542 [__ASSUME_32BITUIDS]: Make code unconditional.
42543 [!__ASSUME_32BITUIDS]: Remove conditional code.
42544 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42545 <kernel-features.h>.
42546 [__ASSUME_32BITUIDS]: Make code unconditional.
42547 [!__ASSUME_32BITUIDS]: Remove conditional code.
42548 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42549 <kernel-features.h>.
42550 [__ASSUME_32BITUIDS]: Make code unconditional.
42551 [!__ASSUME_32BITUIDS]: Remove conditional code.
42552 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42553 <kernel-features.h>.
42554 [__ASSUME_32BITUIDS]: Make code unconditional.
42555 [!__ASSUME_32BITUIDS]: Remove conditional code.
42556 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42557 <kernel-features.h>.
42558 [__ASSUME_32BITUIDS]: Make code unconditional.
42559 [!__ASSUME_32BITUIDS]: Remove conditional code.
42560 * sysdeps/unix/sysv/linux/kernel-features.h
42561 (__ASSUME_SETRESUID_SYSCALL): Remove.
42562 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42563 (__ASSUME_32BITUIDS): Likewise.
42564 (__ASSUME_LDT_WORKS): Likewise.
42565 (__ASSUME_O_DIRECTORY): Likewise.
42566 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42567 architecture but not kernel version.
42568 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42569 (__ASSUME_MMAP2_SYSCALL): Likewise.
42570 (__ASSUME_STAT64_SYSCALL): Likewise.
42571 (__ASSUME_IPC64): Likewise.
42572 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42573 <kernel-features.h>.
42574 [__ASSUME_32BITUIDS]: Make code unconditional.
42575 [!__ASSUME_32BITUIDS]: Remove conditional code.
42576 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42577 <kernel-features.h>.
42578 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42579 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42580 132096]: Remove conditional code.
42581 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42582 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42583 <kernel-features.h>.
42584 [__ASSUME_32BITUIDS]: Make code unconditional.
42585 [!__ASSUME_32BITUIDS]: Remove conditional code.
42586 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42587 <kernel-features.h>.
42588 [__ASSUME_32BITUIDS]: Make code unconditional.
42589 [!__ASSUME_32BITUIDS]: Remove conditional code.
42590 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42591 <kernel-features.h>.
42592 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42593 unconditional.
42594 (__setresgid): Do not declare.
42595 [__ASSUME_32BITUIDS]: Make code unconditional.
42596 [!__ASSUME_32BITUIDS]: Remove conditional code.
42597 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42598 <kernel-features.h>.
42599 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42600 unconditional.
42601 (__setresuid): Do not declare.
42602 [__ASSUME_32BITUIDS]: Make code unconditional.
42603 [!__ASSUME_32BITUIDS]: Remove conditional code.
42604 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42605 <kernel-features.h>.
42606 [__ASSUME_32BITUIDS]: Make code unconditional.
42607 [!__ASSUME_32BITUIDS]: Remove conditional code.
42608 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42609 <kernel-features.h>.
42610 [__ASSUME_32BITUIDS]: Make code unconditional.
42611 [!__ASSUME_32BITUIDS]: Remove conditional code.
42612
a386f1cc
RH
426132012-05-25 Richard Henderson <rth@twiddle.net>
42614
42615 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42616 dl_hwcap to ifunc resolver.
42617 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42618 elf_ifunc_invoke.
42619 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42620 dl_hwcap to ifunc resolver.
42621 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42622
b6550497
JM
426232012-05-24 Joseph Myers <joseph@codesourcery.com>
42624
42625 [BZ #14153]
42626 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42627 for |x| <= 2**-26, not 2**-57.
42628 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42629 exception.
42630
b0bc23a1
JL
426312012-05-24 Jeff Law <law@redhat.com>
42632
42633 * stdio-common/Makefile (tests): Add bug25.
42634 * stdio-common/bug25.c: New test.
42635
347c92e9
L
426362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42637
42638 [BZ #13576]
42639 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42640 multiple of MALLOC_ALIGNMENT in size.
42641 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42642
6bcc8b3f
JM
426432012-05-24 Joseph Myers <joseph@codesourcery.com>
42644
42645 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42646 Require >= 256.
42647 (FILENAME_MAX): Use macro-int-constant.
42648 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42649 (_IOFBF): Use macro-int-constant.
42650 (_IOLBF): Likewise.
42651 (_IONBF): Likewise.
42652 (SEEK_CUR): Likewise.
42653 (SEEK_END): Likewise.
42654 (SEEK_SET): Likewise.
42655 (TMP_MAX): Likewise.
42656 (EOF): Use macro-int-constant. Require < 0.
42657 (NULL): Use macro-constant. Require == 0.
42658 (stdin): Require type to be FILE *.
42659 (stdout): Likewise.
42660 (stderr): Likewise.
42661 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42662 macro-int-constant.
42663 (EXIT_SUCCESS): Likewise.
42664 (NULL): Use macro-constant. Require == 0.
42665 (RAND_MAX): Use macro-int-constant.
42666 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42667 [C99-based standards] (strtof): Require function.
42668 [C99-based standards] (strtold): Likewise.
42669 [C99-based standards] (strtoll): Likewise.
42670 [C99-based standards] (strtoull): Likewise.
42671 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42672 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42673 [ISO || ISO99 || ISO11] (math.h): Likewise.
42674 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42675 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42676 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42677
d18ea0c5
AS
426782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42679
42680 [BZ #14132]
56d25bb8
AS
42681 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42682 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42683 * intl/dgettext.c (DCGETTEXT): Likewise.
42684 * intl/gettext.c (DCGETTEXT): Likewise.
42685 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42686 * posix/regex_internal.h (gettext): Likewise.
42687 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42688 Remove declaration.
42689 * include/argz.h (__argz_count_internal)
42690 (__argz_stringify_internal): Remove declaration.
42691 (__argz_count, __argz_stringify): Declare hidden proto.
42692 * intl/dcgettext.c: Remove use of INTDEF.
42693 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42694 * string/argz-stringify.c: Likewise.
42695 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42696 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42697 Declare hidden proto.
d18ea0c5
AS
42698 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42699 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42700 Declare hidden proto.
42701 * include/stdio.h (__asprintf_internal): Don't declare.
42702 (__asprintf): Don't define as macro. Declare hidden proto.
42703 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42704 (__fsetlocking): Declare hidden proto.
42705 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42706 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42707 hidden proto.
42708 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42709 (_IO_setlinebuf): Remove use of INTUSE.
42710 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42711 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42712 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42713 Remove declaration.
42714 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42715 (_IO_do_flush): Remove use of INTUSE.
42716 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42717 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42718 (_IO_adjust_column, _IO_least_wmarker)
42719 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42720 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42721 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42722 (_IO_default_doallocate, _IO_wdefault_doallocate)
42723 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42724 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42725 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42726 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42727 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42728 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42729 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42730 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42731 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42732 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42733 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42734 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42735 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42736 proto.
42737 (_IO_flush_all_internal, _IO_adjust_column_internal)
42738 (_IO_default_uflow_internal, _IO_default_finish_internal)
42739 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42740 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42741 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42742 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42743 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42744 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42745 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42746 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42747 (_IO_file_close_internal, _IO_file_close_it_internal)
42748 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42749 (_IO_file_init_internal, _IO_file_attach_internal)
42750 (_IO_file_fopen_internal, _IO_file_read_internal)
42751 (_IO_file_sync_internal, _IO_file_seek_internal)
42752 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42753 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42754 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42755 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42756 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42757 (_IO_list_all_internal, _IO_link_in_internal)
42758 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42759 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42760 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42761 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42762 (_IO_do_write_internal, _IO_padn_internal)
42763 (_IO_getline_info_internal, _IO_getline_internal)
42764 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42765 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42766 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42767 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42768 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42769 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42770 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42771 with libc_hidden_ver, remove use of INTUSE.
42772 * libio/genops.c: Likewise.
42773 * libio/freopen.c: Likewise.
42774 * libio/freopen64.c: Likewise.
42775 * libio/iofclose.c: Likewise.
42776 * libio/iofdopen.c: Likewise.
42777 * libio/iofflush.c: Likewise.
42778 * libio/iofflush_u.c: Likewise.
42779 * libio/iofgets.c: Likewise.
42780 * libio/iofgets_u.c: Likewise.
42781 * libio/iofopen.c: Likewise.
42782 * libio/iofopncook.c: Likewise.
42783 * libio/iofread.c: Likewise.
42784 * libio/iofread_u.c: Likewise.
42785 * libio/ioftell.c: Likewise.
42786 * libio/iofwrite.c: Likewise.
42787 * libio/iogetline.c: Likewise.
42788 * libio/iogets.c: Likewise.
42789 * libio/iogetwline.c: Likewise.
42790 * libio/iopadn.c: Likewise.
42791 * libio/iopopen.c: Likewise.
42792 * libio/ioseekoff.c: Likewise.
42793 * libio/ioseekpos.c: Likewise.
42794 * libio/iosetbuffer.c: Likewise.
42795 * libio/iosetvbuf.c: Likewise.
42796 * libio/ioungetc.c: Likewise.
42797 * libio/ioungetwc.c: Likewise.
42798 * libio/iovdprintf.c: Likewise.
42799 * libio/iovsprintf.c: Likewise.
42800 * libio/iovsscanf.c: Likewise.
42801 * libio/memstream.c: Likewise.
42802 * libio/obprintf.c: Likewise.
42803 * libio/oldfileops.c: Likewise.
42804 * libio/oldiofclose.c: Likewise.
42805 * libio/oldiofdopen.c: Likewise.
42806 * libio/oldiofopen.c: Likewise.
42807 * libio/oldiopopen.c: Likewise.
42808 * libio/oldstdfiles.c: Likewise.
42809 * libio/putc.c: Likewise.
42810 * libio/setbuf.c: Likewise.
42811 * libio/setlinebuf.c: Likewise.
42812 * libio/stdfiles.c: Likewise.
42813 * libio/strops.c: Likewise.
42814 * libio/vasprintf.c: Likewise.
42815 * libio/vscanf.c: Likewise.
42816 * libio/vsnprintf.c: Likewise.
42817 * libio/vswprintf.c: Likewise.
42818 * libio/wfiledoalloc.c: Likewise.
42819 * libio/wfileops.c: Likewise.
42820 * libio/wgenops.c: Likewise.
42821 * libio/wmemstream.c: Likewise.
42822 * libio/wstrops.c: Likewise.
42823 * libio/__fpurge.c: Likewise.
42824 * libio/__fsetlocking.c: Likewise.
42825 * assert/assert.c: Likewise.
42826 * debug/fgets_chk.c: Likewise.
42827 * debug/fgets_u_chk.c: Likewise.
42828 * debug/fread_chk.c: Likewise.
42829 * debug/fread_u_chk.c: Likewise.
42830 * debug/gets_chk.c: Likewise.
42831 * debug/obprintf_chk.c: Likewise.
42832 * debug/vasprintf_chk.c: Likewise.
42833 * debug/vdprintf_chk.c: Likewise.
42834 * debug/vsnprintf_chk.c: Likewise.
42835 * debug/vsprintf_chk.c: Likewise.
42836 * malloc/mtrace.c: Likewise.
42837 * misc/error.c: Likewise.
42838 * misc/syslog.c: Likewise.
42839 * stdio-common/asprintf.c: Likewise.
42840 * stdio-common/fxprintf.c: Likewise.
42841 * stdio-common/getw.c: Likewise.
42842 * stdio-common/isoc99_fscanf.c: Likewise.
42843 * stdio-common/isoc99_scanf.c: Likewise.
42844 * stdio-common/isoc99_vfscanf.c: Likewise.
42845 * stdio-common/isoc99_vscanf.c: Likewise.
42846 * stdio-common/isoc99_vsscanf.c: Likewise.
42847 * stdio-common/printf-prs.c: Likewise.
42848 * stdio-common/printf_fp.c: Likewise.
42849 * stdio-common/printf_fphex.c: Likewise.
42850 * stdio-common/printf_size.c: Likewise.
42851 * stdio-common/putw.c: Likewise.
42852 * stdio-common/scanf.c: Likewise.
42853 * stdio-common/sprintf.c: Likewise.
42854 * stdio-common/tmpfile.c: Likewise.
42855 * stdio-common/vfprintf.c: Likewise.
42856 * stdio-common/vfscanf.c: Likewise.
42857 * stdlib/strfmon_l.c: Likewise.
42858 * sunrpc/openchild.c: Likewise.
42859 * sunrpc/xdr_stdio.c: Likewise.
42860 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42861 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42862
d6c33fda
RM
428632012-05-24 Roland McGrath <roland@hack.frob.com>
42864
c1487492
RM
42865 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42866
42867 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42868 in the third column, to generate for the shared library an IFUNC
42869 that uses _dl_vdso_vsym.
42870 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42871 * Makeconfig (object-suffixes-noshared): New variable.
42872
42873 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42874 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42875 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42876 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42877
d6c33fda
RM
42878 [BZ #14132]
42879 * include/sys/time.h (__gettimeofday): Remove macro.
42880 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42881 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42882 Remove INTDEF.
42883 (__gettimeofday): Add libc_hidden_def.
42884 (gettimeofday): Add libc_hidden_weak.
42885 * sysdeps/mach/gettimeofday.c: Likewise.
42886 * sysdeps/posix/gettimeofday.c: Likewise.
42887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42888 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42890 (__gettimeofday_internal): Remove strong_alias.
42891 (__gettimeofday): Add libc_hidden_def.
42892 (gettimeofday): Add libc_hidden_weak.
42893 * sysdeps/unix/syscalls.list (gettimeofday):
42894 Remove __gettimeofday_internal alias.
42895
b5a2bbe6
L
428962012-05-24 Daniel Jacobowitz <drow@false.org>
42897 H.J. Lu <hongjiu.lu@intel.com>
42898
42899 [BZ #12495]
42900 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42901 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42902 (largebin_index_32_big): New.
42903 (largebin_index): Use it for 16-byte alignment.
42904 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42905 correction with front_misalign.
42906
cfba4fda
L
429072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42908
7f907421
L
42909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42911 Likewise.
42912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42913 Likewise.
42914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42915 Likewise.
42916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42917 Likewise.
42918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42919 Likewise.
42920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42921 Likewise.
42922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42923 Likewise.
42924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42925 Likewise.
42926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42927 Likewise.
42928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42929 Likewise.
42930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42931 Likewise.
42932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42933 Likewise.
42934
cfba4fda
L
42935 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42936 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42937
80bad0cc
JM
429382012-05-24 Joseph Myers <joseph@codesourcery.com>
42939
7a25eb06
JM
42940 [BZ #10846]
42941 [BZ #14036]
42942 * math/libm-test.inc (exp_test): Add test from bug 14036.
42943 (pow_test): Add test from bug 10846.
42944
795405f9
JM
42945 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42946 and other flags.
42947 (special_function): Do not include flags in test name.
42948 (parse_args): Likewise.
42949 * sysdeps/i386/fpu/libm-test-ulps: Update.
42950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42951 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42952 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42954
80bad0cc
JM
42955 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42956 exceptions.
42957 * math/libm-test.inc ("Philosophy"): Update comment about
42958 exception testing.
42959 (UNDERFLOW_EXCEPTION): New macro.
42960 (UNDERFLOW_EXCEPTION_OK): Likewise.
42961 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42962 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42963 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42964 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42965 (INVALID_EXCEPTION_OK): Update value.
42966 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42967 (OVERFLOW_EXCEPTION_OK): Likewise.
42968 (IGNORE_ZERO_INF_SIGN): Likewise.
42969 (test_exceptions): Handle underflow exceptions.
42970 (acos_test): Update for underflow exception expectations.
42971 (cexp_test): Likewise.
42972 (clog_test): Likewise.
42973 (clog10_test): Likewise.
42974 (csqrt_test): Likewise.
42975 (ctan_test): Likewise.
42976 (ctanh_test): Likewise.
42977 (exp_test): Likewise.
42978 (exp10_test): Likewise.
42979 (exp2_test): Likewise.
42980 (expm1_test): Likewise.
42981 (fma_test): Likewise.
42982 (j0_test): Likewise.
42983 (jn_test): Likewise.
42984 (nexttoward_test): Likewise.
42985 (pow_test): Likewise.
42986 (scalbn_test): Likewise.
42987 (scalbln_test): Likewise.
42988 (tan_test): Likewise.
42989 (y1_test): Likewise.
42990 * sysdeps/i386/fpu/libm-test-ulps: Update.
42991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42992
9e0e3d0b
DM
429932012-05-23 David S. Miller <davem@davemloft.net>
42994
42995 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42996 (__libc_sigaction): Remove unused local variables.
42997
ccd0a08f
L
429982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42999
43000 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43001
62bdf9a6
PE
430022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43003
f8591f80
PE
43004 mktime: avoid signed integer overflow
43005 * time/mktime.c (__mktime_internal): Do not mishandle the case
43006 where diff == INT_MIN.
43007
94c7d826
PE
43008 mktime: simplify computation of average
43009 * time/mktime.c (ranged_convert): Use new time_t_avg function
43010 instead of rolling our own (probably-slower) code.
43011
ce73d683
PE
43012 mktime: do not assume signed right shift propagates sign bit
43013 * time/mktime.c (isdst_differ): New static function.
43014 (__mktime_internal): No need to normalize tm_isdst now.
43015 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43016 tm_isdst values.
43017
72a22e59
PE
43018 mktime: merge another wrapv change from gnulib
43019 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43020 from some compilers.
43021
68605433
PE
43022 mktime: remove incorrect attempt at unusual arithmetics
43023 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43024 The code didn't really work on such machines anyway.
43025 (TYPE_MINIMUM): Assume two's complement.
43026 (twos_complement_arithmetic): Verify that long_int and time_t
43027 are two's complement (or unsigned, in the latter case).
43028
03cf7fe3
PE
43029 mktime: check signed shifts on long_int and time_t, too
43030 * time/mktime.c (SHR): Check that shifts work as desired
43031 on the types long_int and time_t too, as SHR is used on
43032 such types.
43033
f04dfbc2
PE
43034 mktime: do not assume 'long' is wide enough
43035 * time/mktime.c (verify): Move decl up.
43036 (long_int): New type.
43037 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43038 to remove assumption in the code that 'long' is wide enough to
43039 store year values. This assumption is not true on x32 and on
43040 some non-glibc platforms.
43041
62bdf9a6
PE
43042 mktime: merge wrapv change from gnulib
43043 * time/mktime.c (WRAPV): New macro.
43044 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43045 (guess_time_tm, __mktime_internal): Do not assume that signed
43046 integer overflow wraps around; modern compilers generate code
43047 where this assumption is no longer valid.
43048
5e292e4f
L
430492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43050
43051 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43052 Replace "jmp L(pseudo_end)" with "ret".
43053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43054 Likewise.
43055
8caf8c87
AJ
430562012-05-23 Andreas Jaeger <aj@suse.de>
43057
43058 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43059 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43060
1a09dc56
AJ
430612012-05-23 Andreas Jaeger <aj@suse.de>
43062 Maximilian Attems <max@stro.at>
43063
43064 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43065 New macros.
43066
1c87aba0
L
430672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43068
43069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43070 code so that pseudo_end is just ret and the stack pointer is
43071 correct also for static library in error case.
43072
40e45bd5
JM
430732012-05-23 Joseph Myers <joseph@codesourcery.com>
43074
c2670533
JM
43075 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43076 move to syscalls.list.
43077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43081
40e45bd5
JM
43082 * manual/install.texi (Running make install): Do not mention Linux
43083 kernel version for which pt_chown is not needed.
43084 (Linux): Do not mention problems with nscd with 2.0 kernels.
43085 * INSTALL: Regenerated.
43086
be08eda5
AJ
430872012-05-23 Andreas Jaeger <aj@suse.de>
43088
43089 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43090 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43091 macro.
43092 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43094 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43096 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43098 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43102 * sysdeps/unix/sysv/linux/bits/in.h
43103 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43104
a6a056bb
RM
431052012-05-22 Roland McGrath <roland@hack.frob.com>
43106
43107 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43108 (PREPARE_VERSION): Just use assert instead, it will be elided
43109 under [NDEBUG] anyway.
43110
c9009328
L
431112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43112
43113 * sysdeps/unix/sysv/linux/Makefile: Include
43114 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43115 (sysdep_routines): Remove sysctl.
c9009328
L
43116 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43117 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43118 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43119 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43120 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43121
73338355
AJ
431222012-05-22 Andreas Jaeger <aj@suse.de>
43123
43124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43125 that pseudo_end is just ret and the stack pointer is correct also
43126 for static library in error case.
43127
d44638b0
PP
431282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43129
43130 [BZ #14122]
43131 * nss/nsswitch.c (defconfig_entries): New variable.
43132 (__nss_database_lookup): Don't leak defconfig entries.
43133 (nss_parse_service_list): Don't leak on error paths.
43134 (free_database_entries): New function.
43135 (free_defconfig): New function.
43136 (free_mem): Move common code to free_database_entries.
43137
31a39bd8
L
431382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43139
da0331a8
L
43140 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43141 Add arch_prctl.
43142 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43143
31a39bd8
L
43144 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43145 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43147 New macro.
43148 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43149 (INTERNAL_SYSCALL_TYPES): Likewise.
43150 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43151 (LOAD_REGS_TYPES_[1-6]): Likewise.
43152 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43153 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43154
45470df3
AZ
431552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43156
43157 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43158 copysignl for GLIBC_2_0.
43159 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43160 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43162 logbl for GLIBC_2_0.
43163 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43164 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43165
98a61bcb
L
431662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43167
a4f6e481
L
43168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43169 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43170
f63d5db6
L
43171 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43172 Use "neg %eax".
43173
98a61bcb
L
43174 * time/mktime.c: Update copyright years.
43175
95770f14
PE
431762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43177
6226efbd
PE
43178 mktime: merge comment-quoting-style change from gnulib
43179 * time/mktime.c: Quote 'like this' in comments.
43180 The GNU coding standards suggest that we no longer quote `like this',
43181 as "`" and "'" are typically rendered asymmetrically nowadays.
43182 The typical gnulib style is to quote 'like this' when quoting
43183 code, and "like this" when quoting English.
43184
b99e4f78
PE
43185 * time/mktime.c (compile-command): Add "-I.".
43186
643e01e6
PE
43187 mktime: merge mktime-internal.h change from gnulib
43188 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43189
2554247d
PE
43190 mktime: merge time_r change from gnulib
43191 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43192
826dd0ab
PE
43193 mktime: merge DEBUG change from gnulib
43194 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43195 case system <time.h> has a #define.
43196
bd83aabe
PE
43197 mktime: merge <sys/types.h> change from gnulib
43198 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43199 since <time.t> is now guaranteed to define time_t.
43200
95770f14
PE
43201 mktime: merge HAVE_CONFIG_H change from gnulib
43202 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43203
5e1a27a9
L
432042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43205
0e44a77e
L
43206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43207 Use "neg %eax".
43208
5e1a27a9
L
43209 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43210 __rlim_t cast.
43211 (struct rusage): Use anonymous union to pad each field to
43212 __syscall_slong_t.
43213
46259bec
DM
432142012-05-21 David S. Miller <davem@davemloft.net>
43215
43216 * Makefules (o-iterator): Remove .s cases.
43217 (compile-command.s): Delete.
43218 (COMPILE.s): Delete.
43219 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43220
59f0c22e
JM
432212012-05-21 Joseph Myers <joseph@codesourcery.com>
43222
43223 * configure.in (libc_cv_predef_stack_protector): Only consider
43224 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43225 * configure: Regenerated.
43226
20c07380
L
432272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43228
bbb3154b
L
43229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43230 New macro. Use R*LP on int and pointer.
43231 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43232 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43233 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43234 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43235
20c07380
L
43236 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43237 [__WORDSIZE_TIME64_COMPAT32] instead of
43238 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43239 (struct utmp): Likewise.
43240 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43241 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43242 Renamed to ...
43243 (__WORDSIZE_TIME64_COMPAT32): This.
43244 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43245 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43246 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43247 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43248 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43249 (__WORDSIZE_TIME64_COMPAT32): New macro.
43250
d8d1017e
AJ
432512012-05-21 Andreas Jaeger <aj@suse.de>
43252
43253 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43254 only if [SHARED]. Add prototype for __wcschr_ia32.
43255
6c7fb145
RM
432562012-05-21 Roland McGrath <roland@hack.frob.com>
43257
43258 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43259 of %rbp unmolested in the jmp_buf while mangling the low bits.
43260 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43261 unmolested high bits of %rbp while demangling the low bits.
43262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43263
66274218
AJ
432642012-05-21 Andreas Jaeger <aj@suse.de>
43265
07c58f8f
AJ
43266 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43267 * sunrpc/svc_simple.c: Use it for registerrpc.
43268 * sunrpc/xcrypt.c: Use it for passwd2des.
43269
66274218
AJ
43270 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43271
61f65140
L
432722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43273
43274 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43275 Don't define if [__SYSCALL_WORDSIZE != 32].
43276 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43277 New macro.
43278
5fefb436
AJ
432792012-05-21 Bruno Haible <bruno@clisp.org>
43280 Andreas Jaeger <aj@suse.de>
43281
43282 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43283 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43284 inptr and inend for must_buffer_ch.
43285 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43286 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43287 * stdio-common/Makefile (tests): Remove bug15.
43288 (bug15-ENV): Remove macro.
43289 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43290 anymore.
43291
d8e272ab
AJ
432922012-05-19 Andreas Jaeger <aj@suse.de>
43293 Roland McGrath <roland@hack.frob.com>
43294
43295 * manual/contrib.texi: Completely rewritten. It contains now an
43296 alphabetical list of contributors and their contributions.
43297
4a56a162
RH
432982012-05-21 Richard Henderson <rth@twiddle.net>
43299
43300 * misc/getauxval.c (__getauxval): Use unsigned long int.
43301 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43302 (getauxval): Use unsigned long int.
43303
d024d23c
L
433042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43305
43306 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43307
cbc00a03
RM
433082012-05-21 Roland McGrath <roland@hack.frob.com>
43309
43310 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43311 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43312 __alignof__ (long double).
43313
478143fa
AZ
433142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43315
43316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43317
c7683a6d
RH
433182012-05-20 Richard Henderson <rth@twiddle.net>
43319
43320 * misc/getauxval.c: New file.
43321 * misc/sys/auxv.h: New file.
43322 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43323 (routines): Add getauxval.
43324 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43325 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43326 * elf/dl-sysdep.c (_dl_auxv): Remove.
43327 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43328 * elf/dl-support.c (_dl_auxv): New variable.
43329 (_dl_aux_init): Initialize it.
43330 * manual/startup.texi (Auxiliary Vector): New node.
43331 * sysdeps/generic/bits/hwcap.h: New file.
43332 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43333 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43334 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43335 * sysdeps/sparc/sysdep.h: ... here. Include it.
43336 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43339 Update.
c7683a6d
RH
43340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43348
a6f1845d
AZ
433492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43350
43351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43352
cbcbe830
DM
433532012-05-19 David S. Miller <davem@davemloft.net>
43354
43355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43356
e0b16cc2
JM
433572012-05-19 Joseph Myers <joseph@codesourcery.com>
43358
43359 [BZ #14123]
43360 * math/s_ccosh.c: Include <float.h>
43361 (__ccosh): Avoid internal overflow calculating sinh and cosh
43362 values before multiplying by sin and cos values.
43363 * math/s_ccoshf.c: Likewise.
43364 * math/s_ccoshl.c: Likewise.
43365 * math/s_csin.c: Likewise.
43366 * math/s_csinf.c: Likewise.
43367 * math/s_csinl.c: Likewise.
43368 * math/s_csinh.c: Likewise.
43369 * math/s_csinhf.c: Likewise.
43370 * math/s_csinhl.c: Likewise.
43371 * math/libm-test.inc (ccos_test): Add more tests.
43372 (ccosh_test): Likewise.
43373 (csin_test): Likewise.
43374 (csinh_test): Likewise.
43375 * sysdeps/i386/fpu/libm-test-ulps: Update.
43376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43377
6ad13e08
L
433782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43379
f66f0ce8
L
43380 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43381 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43382
6ad13e08
L
43383 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43384
b1d072a7
JM
433852012-05-19 Joseph Myers <joseph@codesourcery.com>
43386
43387 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43388 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43389 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43390 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43391 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43392 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43393 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43394 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43395 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43396 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43397 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43398 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43399 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43400 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43401 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43402 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43403 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43404 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43405 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43406 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43407 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43408 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43409 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43410 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43411 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43412 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43413 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43414 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43415 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43416 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43417 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43418
9eae47cb
AJ
434192012-05-18 Andreas Jaeger <aj@suse.de>
43420
43421 * csu/.gitignore: Delete.
43422
bb07f69f
L
434232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43424
43425 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43426 (timex): Use __syscall_slong_t.
43427
e6bdb741
AJ
434282012-05-18 Andreas Jaeger <aj@suse.de>
43429 Carlos O'Donell <carlos_odonell@mentor.com>
43430
43431 * manual/install.texi (Configuring and compiling): Update
43432 description about files modified in the source directory.
d6c33fda 43433 * INSTALL: Regenerated.
e6bdb741 43434
1b74487e
L
434352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43436
43437 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43438 value. Use "or" to set return value to -1.
43439 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43440 negate return value.
43441
a88b64b9
TMQMF
434422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43443
57f41c40
AS
43444 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43445 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43446 failure if the compiler has Graphite support disabled.
43447 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43448 Likewise.
57f41c40
AS
43449 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43450 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43451 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43452 Likewise.
43453
3707636e
L
434542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43455
610b8622
L
43456 * sysdeps/x86_64/x32/_itoa.h: New file.
43457
7cd195df
L
43458 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43459 getdents system call only if kernel and user dirents have the
43460 same d_ino and d_off.
43461
94b07d20
L
43462 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43463 LLONG_MAX != LONG_MAX.
43464 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43465 (_fitoa_word): Likewise.
43466
18298070
L
43467 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43468 years.
43469 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43470 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43471 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43472
553c7ea4
L
43473 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43474 include <bits/wordsize.h>. Check __x86_64__ instead of
43475 __WORDSIZE.
43476 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43477 if __x86_64__ is defined. Use anonymous union on fpstate.
43478
3707636e
L
43479 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43480 anonymous union.
43481
b53ef01a
AS
434822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43483
37fb1dc0
AS
43484 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43485 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43486 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43487 Refer to _rtld_local_ro instead of _rtld_global_ro.
43488 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43489 Likewise.
43490 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43491 Likewise.
43492 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43493 Likewise.
43494 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43495 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43496 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43497
b53ef01a
AS
43498 * sysdeps/powerpc/powerpc32/dl-machine.c
43499 (__elf_machine_runtime_setup) [PROF]: Don't reference
43500 _dl_prof_resolve.
43501
7a185db2
AJ
435022012-05-18 Andreas Jaeger <aj@suse.de>
43503
43504 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43505 function only available for GCCs before 3.4 since GCC 3.4
43506 introduced a builtin.
43507 (lrint): Likewise.
43508 (llrintf): Likewise.
43509 (llrint): Likewise.
43510 (fmaxf): Likewise.
43511 (fmax): Likewise.
43512 (fminf): Likewise.
43513 (fmin): Likewise.
43514 (rint): Likewise.
43515 (rintf): Likewise.
43516 (nearbyint): Likewise.
43517 (nearbyintf): Likewise.
43518 (ceil): Likewise.
43519 (ceilf): Likewise.
43520 (floor): Likewise.
43521 (floorf): Likewise.
43522
3e5aef87
L
435232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43524
428bd707
L
43525 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43526 on both fields and cast pointer to __syscall_ulong_t.
43527
3e5aef87
L
43528 * bits/types.h (__fsword_t): New type.
43529 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43530 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43532 (__FSWORD_T_TYPE): Likewise.
43533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43534 (__FSWORD_T_TYPE): Likewise.
43535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43536 (__FSWORD_T_TYPE): Likewise.
43537 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43538 (__FSWORD_T_TYPE): Likewise.
43539 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43540 __SWORD_TYPE with __fsword_t.
43541 (statfs64): Likewise.
43542
1ba7c3dc
DM
435432012-05-17 David S. Miller <davem@davemloft.net>
43544
43545 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43546
59910343
AJ
435472012-05-17 Andreas Jaeger <aj@suse.de>
43548
43549 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43550 warning.
43551
2e4c1e9e
L
435522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43553
43554 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43555
de7f5ce7
AJ
435562012-05-17 Andreas Jaeger <aj@suse.de>
43557
43558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43559 when it is used.
43560
286abc3d
CM
435612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43562
43563 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43564
477cc68e
L
435652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43566
43567 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43568 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43569
1a0994f5
CD
435702012-05-17 Andreas Jaeger <aj@suse.de>
43571 Carlos O'Donell <carlos_odonell@mentor.com>
43572
43573 [BZ #14059]
43574 * sysdeps/x86_64/multiarch/init-arch.h
43575 (bit_YMM_Usable): Rename to...
43576 (bit_AVX_Usable): ... this.
43577 (bit_FMA4_Usable): New macro.
43578 (bit_XMM_state): New macro.
43579 (bit_YMM_state): New macro.
43580 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43581 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43582 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43583 (CPUID_OSXSAVE): New macro.
43584 (CPUID_AVX): New macro.
43585 (CPUID_FMA4): New macro.
43586 (index_YMM_Usable): Rename to...
43587 (index_AVX_Usable): ... this.
43588 (HAS_AVX): Use HAS_ARCH_FEATURE.
43589 (HAS_FMA4): Likewise.
43590 (HAS_YMM_USABLE): Remove.
43591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43592 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43593 are present.
43594 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43595 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43596 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43597 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43598 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43599
0af797de
CM
436002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43601
43602 * math/libm-test.c: Support platforms without multiple rounding modes.
43603 * math/bug-nextafter.c: Support platforms without FP exceptions.
43604 * math/bug-nexttoward.c: Likewise.
43605 * math/test-fenv.c: Likewise.
43606 * math/test-misc.c: Likewise.
43607 * stdlib/bug-getcontext.c: Likewise.
43608
e39745ff
AJ
436092012-05-17 Andreas Jaeger <aj@suse.de>
43610
43611 * manual/examples/search.c (critter_cmp): Change signature to
43612 avoid warnings.
43613 * manual/string.texi (Collation Functions): Likewise.
43614
48970aba
L
436152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43616
43617 * bits/types.h: Fold copyright years.
43618 * bits/typesizes.h: Likewise.
43619 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43623 * time/time.h: Likewise.
43624
bedee953
PP
436252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43626
43627 [BZ #208]
43628 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43629 in instead of returning them. Return void.
43630 (__libc_mallinfo): Accumulate over all arenas.
43631 (__malloc_stats): Adjust for change in int_mallinfo interface.
43632
61653dfb
RM
436332012-05-16 Roland McGrath <roland@hack.frob.com>
43634
30b99d79
RM
43635 [BZ #10375]
43636 * configure.in (NM): Add AC_CHECK_TOOL for it.
43637 (libc_extra_cflags): New substituted variable.
43638 Check for -fstack-protector being used implicitly.
43639 * configure: Regenerated.
43640 * config.make.in (config-extra-cflags): New variable,
43641 gets @libc_extra_cflags@.
43642 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43643
61653dfb
RM
43644 [BZ #10375]
43645 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43646 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43647 * configure: Regenerated.
43648 * config.make.in (CPPUNDEFS): New substituted variable.
43649 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43650 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43651 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43652
661768bb
L
436532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43654
43655 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43656 (mq_attr): Use __syscall_slong_t.
43657
d4261567
L
436582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43659
43660 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43661 Check __x86_64__ instead of __WORDSIZE.
43662 (_STAT_VER_LINUX): Likewise.
43663 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43664 __syscall_ulong_t and __syscall_slong_t.
43665 (stat64): Likewise.
43666
cf3ff365
L
436672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43668
43669 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43670
76cf3e4d
L
436712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43672
43673 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43674
a637753a
L
436752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43676
43677 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43678 __syscall_ulong_t.
43679
d5e05119
L
43680 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43681 include <bits/wordsize.h>. Check __x86_64__ instead of
43682 __WORDSIZE.
43683 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43684 defined.
43685 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43686
f62ee380
L
43687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43688 include <bits/wordsize.h>. Check __x86_64__ instead of
43689 __WORDSIZE.
43690 (user_regs_struct): Use "__extension__ unsigned long long"
43691 instead of "unsigned long" if __x86_64__ is defined.
43692 (user): Likewise. Pad after pointer field if __ILP32__ is
43693 defined.
43694
4e124ced
JM
436952012-05-16 Joseph Myers <joseph@codesourcery.com>
43696
6a3951a0
JM
43697 * configure.in (makeinfo): Require version 4.5 or later. Allow
43698 versions 5 to 9.
43699 * configure: Regenerated.
43700 * manual/install.texi (texinfo): Increase version requirement to
43701 4.5 or later.
43702 * INSTALL: Regenerated.
43703
4e124ced
JM
43704 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43705
953ca31a
L
437062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43707
43708 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43709
617aca05
L
43710 * sysdeps/x86_64/x32/ffs.c: New file.
43711
5762f7ae
L
43712 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43713 __syscall_ulong_t.
43714 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43715 defined. Use __syscall_ulong_t.
43716 (shminfo): Use __syscall_ulong_t.
43717 (shm_info): Likewise.
43718
a26b6856
L
43719 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43720 __syscall_ulong_t.
43721
cb2b9ef7
L
43722 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43723 <bits/wordsize.h>.
43724 (msgqnum_t): Use __syscall_ulong_t.
43725 (msglen_t): Likewise.
43726 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43727 __syscall_ulong_t.
43728
34683bb0
L
43729 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43730 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43731
84a68786
L
43732 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43733
48baa5f1
L
43734 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43735 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43736
180be88b
L
43737 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43738 __syscall_slong_t.
43739
5e90c8ad
L
43740 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43741 include <bits/wordsize.h>. Check __x86_64__ instead of
43742 __WORDSIZE.
43743
23dfb58b
L
43744 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43745 "unsigned long long int" if __x86_64__ is defined.
43746 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43747
ce5d54b0
L
43748 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43749 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43750 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43751
13dc9eac
L
43752 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43753 <stdint.h>.
43754 (GET_PC): Cast to uintptr_t first.
43755 (GET_FRAME): Likewise.
43756 (GET_STACK): Likewise.
43757
a7895d15
L
43758 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43760 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43761 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43762 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43763 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43764 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43765 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43766 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43767 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43769 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43770 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43771 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43772 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43773 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43774 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43777 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43778 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43779 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43780 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43781 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43782 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43783 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43784 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43785 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43787
656416c9
AS
437882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43789
5bd66283
AS
43790 * Makerules (+depfiles): Also collect depfiles from .oS in
43791 $(extra-objs).
43792 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43793 .oS, $(libnldbl-routines)).
43794
656416c9
AS
43795 * Makerules (native-compile-mkdep-flags): Define.
43796 * sunrpc/Makefile (extra-objs): Add $(addprefix
43797 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43798 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43799 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43800 calling $(make-target-directory).
43801
a46f2169
L
438022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43803
43804 * bits/types.h (__snseconds_t): Removed.
43805 * time/time.h (struct timespec): Replace __snseconds_t with
43806 __syscall_slong_t.
43807 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43808 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43809 Likewise.
43810 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43811 (__SNSECONDS_T_TYPE): Likewise.
43812 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43813 (__SNSECONDS_T_TYPE): Likewise.
43814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43815 (__SNSECONDS_T_TYPE): Likewise.
43816
6af6528b
L
438172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43818
43819 * sysdeps/mach/hurd/bits/typesizes.h
43820 (__SYSCALL_SLONG_TYPE): New macro.
43821 (__SYSCALL_ULONG_TYPE): Likewise.
43822
de986b56
L
438232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43824
43825 * bits/types.h (__syscall_slong_t): New type.
43826 (__syscall_ulong_t): Likewise.
43827
43828 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43829 (__SYSCALL_ULONG_TYPE): Likewise.
43830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43831 (__SYSCALL_SLONG_TYPE): Likewise.
43832 (__SYSCALL_ULONG_TYPE): Likewise.
43833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43834 (__SYSCALL_SLONG_TYPE): Likewise.
43835 (__SYSCALL_ULONG_TYPE): Likewise.
43836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43837 (__SYSCALL_SLONG_TYPE): Likewise.
43838 (__SYSCALL_ULONG_TYPE): Likewise.
43839
85736dc7
L
438402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43841
43842 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43843 Add sigaltstack-offsets.sym.
43844 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43845 <sigaltstack-offsets.h>.
43846 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43847 longjmp_msg pointer.
43848 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43849 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43850 signal stack.
43851 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43852
cc03b296
JM
438532012-05-15 Joseph Myers <joseph@codesourcery.com>
43854
a9538892
JM
43855 * elf/stackguard-macros.h: Remove file.
43856 * sysdeps/generic/stackguard-macros.h: New file.
43857 * sysdeps/i386/stackguard-macros.h: Likewise.
43858 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43859 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43860 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43861 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43862 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43863 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43864 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43865 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43866 <elf/stackguard-macros.h>.
43867
cc03b296
JM
43868 [BZ #14109]
43869 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43870 __aligned__ in attribute.
43871 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43872 (gregset_t): Likewise.
43873
93171016
L
438742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43875
43876 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43877 * sysdeps/x86_64/64/Implies-after: Here. New file.
43878 * sysdeps/x86_64/x32/Implies-after: New file.
43879
d86813a0
L
438802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43881
43882 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43883 and access return value for _dl_profile_fixup. Use R10_LP to
43884 load frame size.
43885
2953ec75
L
438862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43887
43888 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43889
3b550e9e
L
438902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43891
43892 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43893 * sysdeps/x86_64/x32/sysdep.h: New file.
43894
eda41706
L
438952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43896
43897 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43898 * sysdeps/x86_64/setjmp.S: Likewise.
43899
9ea01d93
AZ
439002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43901
43902 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43904 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43905 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43906 remove unused global constant.
43907
02a91938
CM
439082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43909
43910 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43911 include of <not-cancel.h>.
43912
6540185f
RM
439132012-05-15 Roland McGrath <roland@hack.frob.com>
43914
43915 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43916
509072a0
AJ
439172012-05-15 Jeff Law <law@redhat.com>
43918 Andreas Jaeger <aj@suse.de>
43919
43920 [BZ #13594]
43921 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43922 out from...
43923 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43924 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43925 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43926 code changing __hst_map_handle.map.
43927
ba75122d
RM
439282012-05-15 Roland McGrath <roland@hack.frob.com>
43929
43930 * configure.in (sysnames): Look for Implies-before and Implies-after
43931 files.
43932 * configure: Regenerated.
43933
890d8bd8
L
439342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43935
43936 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43937 8-byte data alignment with LP_SIZE alignment.
43938
f6ee6623
L
439392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43940
43941 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43942 into R10_LP.
43943
ea2626f6
L
439442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43945
43946 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43947
085f715e
L
439482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43949
43950 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43951 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43952 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43953 Likewise.
43954 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43955
be8498fc
L
439562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43957
43958 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43959 (stackinfo_sub_sp): Likewise.
43960
70bc83b9
L
439612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43962
43963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43964 RAX_LP.
43965
9bc0b730
L
439662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43967
43968 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43969 into R*_LP.
43970
6d2850e7
L
439712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43972
43973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43974 sizes into R*_LP.
43975
3cb84561
L
439762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43977
43978 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43979
54e2ed81
L
439802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43981
43982 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43983 into R11_LP and load __x86_64_shared_cache_size_half into
43984 R8_LP.
43985
8a17f349
L
439862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43987
43988 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43989 R8_LP.
43990
777b1eea
AZ
439912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43992
43993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43994 logb for POWER7.
43995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43996 logbf for POWER7.
43997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43998 logbl for POWER7.
43999 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44000 powerpc32/power7/fpu/s_logb.c via #include.
44001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44002 powerpc32/power7/fpu/s_logbf.c via #include.
44003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44004 powerpc32/power7/fpu/s_logbl.c via #include.
44005
d20d4ac2
JM
440062012-05-15 Joseph Myers <joseph@codesourcery.com>
44007
44008 * README.libm: Remove file.
44009
6cdef1ab
L
440102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44011
44012 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44013 count for x32. Use R*_LP and omit operand-size suffix.
44014
0b254d8f
L
440152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44016
44017 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44018 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44019 * sysdeps/x86_64/x32/shlib-versions: New file.
44020
ceb809dc
RM
440212012-05-14 Roland McGrath <roland@hack.frob.com>
44022
44023 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44024 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44025 Use _dl_fatal_printf instead.
44026
37f1abd4
JM
440272012-05-14 Joseph Myers <joseph@codesourcery.com>
44028
44029 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44030 set if not set by the user. Do not allow for being unset.
44031 * sysdeps/unix/sysv/linux/configure: Regenerated.
44032
11de3a33
L
440332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44034
44035 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44036 the `q' suffix from lea and replace .quad with ASM_ADDR.
44037
e02f153a
L
440382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44039
44040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44041 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44042 instead of $17.
44043 (PTR_DEMANGLE): Likewise.
44044
520ae0fd
L
440452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44046
44047 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44048 (LP_OP): Likewise.
44049 (ASM_ADDR): Likewise.
44050 (RAX_LP): Likewise.
44051 (RBP_LP): Likewise.
44052 (RBX_LP): Likewise.
44053 (RCX_LP): Likewise.
44054 (RDI_LP): Likewise.
44055 (RSI_LP): Likewise.
44056 (RSP_LP): Likewise.
44057 (R8_LP): Likewise.
44058 (R9_LP): Likewise.
44059 (R10_LP): Likewise.
44060 (R10_LP): Likewise.
44061 (R11_LP): Likewise.
44062 (R12_LP): Likewise.
44063 (R13_LP): Likewise.
44064 (R14_LP): Likewise.
44065 (R15_LP): Likewise.
44066
b985be81
L
440672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44068
44069 * sysdeps/x86_64/x32/dl-machine.h: New file.
44070
6a4888ff
AJ
440712012-05-14 Andreas Jaeger <aj@suse.de>
44072
44073 * manual/Makefile (subdir): Remove export of subdir.
44074 (all): Remove target.
44075 (.PHONY): Remove all from list.
44076 (mkinstalldirs): Remove.
44077 (.PHONY): Remove installdirs from list.
44078 ($(inst_infodir)/libc.info): Use make-target-directory.
44079 (installdirs): Remove.
44080 (subdir_%): Remove.
44081 (glibc-targets): Remove.
44082 (lib): Remove.
44083 (stubs): Remove.
44084 ($(objpfx)stubs ../po/manual.pot): Remove.
44085 ($(objpfx)stamp%): Remove.
44086 (make-target-directory): Remove.
44087 (subdir_install): Remove.
44088 (routines): Remove.
44089 (aux): Remove.
44090 (sources): Remove.
44091 (objects): Remove.
44092 (headers): Remove.
44093
44094 [BZ #13750]
44095 * manual/.gitignore: Remove, it's not needed anymore.
44096 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44097 all files in it.
44098 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44099 directory.
44100 (texis): Renamed to $(objpfx)texis.
44101 (texis-path): New, contains path to generated files.
44102 (chapters.%): Use texis-path for complete path, add extra argument
44103 libc-texinfo.sh.
44104 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44105 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44106 (summary,texi, stamp-summary): Use complete path of
44107 files. Generate files in build dir.
44108 (dir-add.texi): Build in build dir.
44109 (libm-err.texi,stamp-libm-err): Likewise.
44110 (version.texi, stamp-version): Likewise.
44111 (.%c.texi): Likewise.
44112 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44113 (mostlyclean): Remove target.
44114 (realclean): Remove target.
44115 (generated): Add new variable with contents from mostlyclean and
44116 realclean, remove entries duplicated in common-mostlyclean, add
44117 stamp-libm-err and stamp-version.
44118 (generated-dirs): Add libc directory.
44119 ($(inst_infodir)/libc.info): Install files from build dir.
44120
44121 * manual/install.texi (Configuring and compiling): Adjust since
44122 the info files are not part of the tar ball anymore.
44123
7ac77294
AJ
441242012-05-14 Andreas Jaeger <aj@suse.de>
44125
44126 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44127 variable.
44128
ffb7875d
JM
441292012-05-14 Joseph Myers <joseph@codesourcery.com>
44130
44131 [BZ #13717]
44132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44133 to 2.2.0 where earlier.
44134 * sysdeps/unix/sysv/linux/configure: Regenerated.
44135 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44136 Remove conditional code.
44137 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44138 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44139 Remove conditional code.
44140 [!__NR_lchown]: Likewise.
44141 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44142 [__NR_lchown]: Likewise.
44143 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44144 comment referencing __ASSUME_LCHOWN_SYSCALL.
44145 * sysdeps/unix/sysv/linux/i386/sigaction.c
44146 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44147 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44148 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44149 Remove conditional code.
44150 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44151 (__protocol_available): Remove #if 0 code.
44152 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44153 conditional code.
44154 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44155 * sysdeps/unix/sysv/linux/kernel-features.h
44156 (__ASSUME_GETCWD_SYSCALL): Don't define.
44157 (__ASSUME_REALTIME_SIGNALS): Likewise.
44158 (__ASSUME_PREAD_SYSCALL): Likewise.
44159 (__ASSUME_PWRITE_SYSCALL): Likewise.
44160 (__ASSUME_POLL_SYSCALL): Likewise.
44161 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44162 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44163 non-SPARC.
44164 (__ASSUME_SIOCGIFNAME): Don't define.
44165 (__ASSUME_MSG_NOSIGNAL): Likewise.
44166 (__ASSUME_SENDFILE): Define unconditionally.
44167 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44168 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44169 conditional code.
44170 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44171 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44172 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44173 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44174 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44175 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44176 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44178 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44181 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44184 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44187 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44201 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44202 Remove conditional code.
44203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44204 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44205 Remove conditional code.
44206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44207 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44208 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44209 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44210 Remove conditional code.
44211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44212 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44213 Remove conditional code.
44214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44215 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44216 Remove conditional code.
44217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44218 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44219 Remove conditional code.
44220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44221 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44222 Remove conditional code.
44223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44224 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44225 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44227 * sysdeps/unix/sysv/linux/sigaction.c
44228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44230 * sysdeps/unix/sysv/linux/sigpending.c
44231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44233 * sysdeps/unix/sysv/linux/sigprocmask.c
44234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44236 * sysdeps/unix/sysv/linux/sigsuspend.c
44237 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44238 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44239 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44240 (__libc_missing_rt_sigs): Remove.
44241 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44242 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44243 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44244 Remove conditional code.
44245 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44246 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44247 return 1.
44248 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44249 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44250 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44251 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44252
1bfb7291
AJ
442532012-05-14 Andreas Jaeger <aj@suse.de>
44254
caae5a81
AJ
44255 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44256 it's not used in glibc.
44257 (__coshm1): Likewise.
44258 (__acosh1p): Likewise.
44259 (__sgn): Likewise.
44260
1bfb7291
AJ
44261 * manual/string.texi (Copying and Concatenation): Add missing
44262 variable in concat example.
44263 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44264
c044d724
L
442652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44266
144c5467 44267 [BZ #14103]
c044d724
L
44268 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44269 __builtin_clzl with __builtin_clzll.
44270
2523c62b
L
442712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44272
44273 [BZ #14104]
44274 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44275 libc_freeres_ptr.
44276
d7bb4c42
LD
442772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44278
44279 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44280 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44281 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44282 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44283
9dc4e1fb
MF
442842012-05-14 Mike Frysinger <vapier@gentoo.org>
44285
44286 * NEWS: Update ia64 info.
44287
c7df0112
AS
442882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44289
44290 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44291 used as bcopy.
44292
dc70356c
TS
442932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44294
44295 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44296 * sysdeps/unix/syscalls.list (dup3): Likewise.
44297 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44298 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44299
9fb1a21f
L
443002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44301
44302 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44303 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44304
4822a2a5
L
443052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44306
44307 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44308 thread pointer.
44309 (TLS_IE): Use mov/add instead of movq/addq to load thread
44310 pointer.
44311 (TLS_GD_PREFIX): New.
44312 (TLS_GD): Use it.
44313
842b81d6
DM
443142012-05-11 David S. Miller <davem@davemloft.net>
44315
44316 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44317 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44318 (_FPU_SETCW): Likewise.
44319
1cf463cd
L
443202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44321
44322 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44323 is 32-byte aligned.
44324
60cc4a18
AS
443252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44326
44327 [BZ #11837]
44328 * iconvdata/gb18030.c: Update tables.
44329 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44330 characters specially.
44331 (BODY for TO_LOOP): Add encoding of missing ranges.
44332
febb44a4
TS
443332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44334
44335 [BZ #13673]
44336 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44337 * sysdeps/mach/hurd/dup3.c: Likewise.
44338 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44339 * sysdeps/powerpc/memmove.c:: Likewise.
44340
0a10fb9e
L
443412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44342
44343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44344 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44345
df8a552f
L
443462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44347
44348 * elf/elf.h (R_X86_64_RELATIVE64): New.
44349 (R_X86_64_NUM): Updated.
44350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44351 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44352 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44353 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44354 tst-quad1pie tst-quad2pie
44355 (modules-names): Add tst-quadmod1 tst-quadmod2.
44356 ($(objpfx)tst-quad1): New dependency.
44357 ($(objpfx)tst-quad2): Likewise.
44358 ($(objpfx)tst-quad1pie): Likewise.
44359 ($(objpfx)tst-quad2pie): Likewise.
44360 * sysdeps/x86_64/tst-quad1.c: New file.
44361 * sysdeps/x86_64/tst-quad1pie.c: New file.
44362 * sysdeps/x86_64/tst-quad2.c: Likewise.
44363 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44364 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44365 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44366 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44367 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44368
f34d6f84
ST
443692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44370
f42d41d1
ST
44371 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44372 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44373 * streams/stropts.h (t_scalar_t): Define type.
44374
3c3571fc
ST
44375 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44376 (_PATH_PRESERVE): Set to "/var/lib".
44377 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44378
61f06bd3
ST
44379 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44380 instead of int.
44381
918d4d71
ST
44382 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44383 if __dir_mkfile succeeded.
44384
f34d6f84
ST
44385 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44386 checking for _hurd_dtablesize. Unlock it right after having
44387 finished _hurd_dtable allocation.
44388
10589b4a
TS
443892012-05-10 Thomas Schwinge <thomas@schwinge.name>
44390
674cdbc7
TS
44391 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44392 * sysdeps/mach/hurd/configure: Regenerated.
44393 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44394 special-casing to...
44395 * sysdeps/gnu/configure.in: ... this new file.
44396 * sysdeps/unix/sysv/linux/configure: Regenerated.
44397 * sysdeps/gnu/configure: New generated file.
44398
8e41b99f
TS
44399 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44400 for Linux: use nsec instead of usec, as well as:
44401 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44402 members of type struct timespec.
44403 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44404 New macros.
44405 (struct stat64): Likewise.
44406 (_STATBUF_ST_NSEC): New macro.
44407 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44408
10589b4a
TS
44409 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44410 __strtoul_internal rather than strtoul.
44411
63643c85
PT
444122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44413
44414 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44415 and reject them.
44416
3faebe6a
ST
444172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44418
44419 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44420 which preserves existing values.
44421 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44422
c6474b07
PT
444232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44424
44425 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44426 TIMEOUT values. Return EINVAL for NFDS values either negative or
44427 greater than FD_SETSIZE.
44428
1043890b
ST
444292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44430
44431 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44432 allocated, call __vm_protect to finish enabling the existing space, and
44433 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44434 allocate the remainder.
44435
37ed8b9b
PT
444362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44437
44438 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44439 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44440
db653660
ST
444412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44442
37ed8b9b
PT
44443 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44444 sysdeps/mach/hurd/readlink.c.
b29d4053 44445
db653660
ST
44446 * posix/tst-sysconf.c (posix_options): Only use
44447 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44448 _POSIX_SYNCHRONIZED_IO when they are defined
44449 * sysdeps/mach/hurd/bits/posix_opt.h:
44450 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44451 (_XOPEN_REALTIME): Undefine macro.
44452 (_XOPEN_REALTIME_THREADS): Undefine macro.
44453 (_XOPEN_SHM): Undefine macro.
44454 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44455 macro to -1.
44456 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44457 macro to -1.
44458 (_POSIX_ASYNC_IO): Undefine macro.
44459 (_POSIX_PRIORITIZED_IO): Undefine macro.
44460 (_POSIX_SPIN_LOCKS): Define macro to -1.
44461
ee16e894
ST
44462 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44463 SA_NODEFER, SA_RESETHAND.
44464 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44465 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44466 F_DUPFD_CLOEXEC.
44467
6103ae3b
TS
444682012-05-10 Thomas Schwinge <thomas@schwinge.name>
44469
44470 * elf/Makefile (pldd-modules): Define unconditionally.
44471
80b4e5f3
TS
444722012-05-10 Thomas Schwinge <thomas@schwinge.name>
44473
44474 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44475
edadcbd6
ST
444762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44477
44478 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44479 Return ENOENT when name is empty.
44480 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44481
80694780
TS
444822012-05-10 Thomas Schwinge <thomas@schwinge.name>
44483
1792c087
TS
44484 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44485
80694780
TS
44486 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44487
6b645f0d
ST
444882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44489
80694780
TS
44490 Fix mlock in all cases except non-readable pages.
44491 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44492 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44493
6b645f0d
ST
44494 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44495 (__mkdir): When path is `/', just fail with EEXIST.
44496 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44497
e468f8a3
TS
444982012-05-10 Thomas Schwinge <thomas@schwinge.name>
44499
44500 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44501 <sys/uio.h> (for writev).
44502 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44503 and <sys/param.h> (for MIN).
44504
a4186cff
PT
445052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44506
44507 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44508 REQUESTED_TIME. Properly set the remaining time and return EINTR
44509 if interrupted.
44510
510bbf14
TS
445112012-05-10 Thomas Schwinge <thomas@schwinge.name>
44512
44513 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44514 Depend on against $(link-rpcuserlibs).
44515
5d5722e8
ST
445162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44517
a4186cff
PT
44518 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44519 (__libc_stack_end): Do not use attribute_relro.
44520 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44521 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44522 to libthread-provided value.
a4186cff
PT
44523 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44524 attribute_relro.
5d5722e8 44525
37233df9
TS
445262012-05-10 Thomas Schwinge <thomas@schwinge.name>
44527
be971a2b
TS
44528 [BZ #3748]
44529 * bits/libc-lock.h (__libc_once_get): New macro.
44530 * sysdeps/mach/bits/libc-lock.h: Likewise.
44531 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44532 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44533 instead of using implementation details.
44534
37233df9
TS
44535 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44536 * libio/freopen.c: Likewise.
44537 * libio/freopen64.c: Likewise.
44538 * misc/syslog.c: Likewise.
44539 * nscd/connections.c: Likewise.
44540 * nscd/netgroupcache.c: Likewise.
44541 * sysdeps/posix/getcwd.c: Likewise.
44542
38de94a5
RM
445432012-05-10 Roland McGrath <roland@hack.frob.com>
44544
44545 * math/w_ilogbf.c: Add #include <limits.h>.
44546
67530489
ST
445472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44548
a4186cff 44549 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44550 path instead of returning without unlocking.
44551
67530489
ST
44552 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44553 immediate-write ioctls.
44554 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44555
5aa3a74a
TS
445562012-05-10 Thomas Schwinge <thomas@schwinge.name>
44557
18bad2ae
TS
44558 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44559 __builtin_frame_address instead of making assumptions about the
44560 location of the return address relative to DATA. Force early load of
44561 the return address.
44562 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44563 __builtin_frame_address.
44564
5aa3a74a
TS
44565 dup3 for GNU Hurd.
44566 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44567 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44568 implement dup3 and do some further code clean-ups.
44569 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44570 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44571
ecd0de9a
ST
445722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44573
cd9fa985
ST
44574 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44575
a4186cff
PT
44576 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44577 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44578 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44579 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44580 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44581 d->port.lock.
802ca5a5 44582
a4186cff
PT
44583 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44584 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44585 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44586
bcf55240
TS
445872012-05-10 Thomas Schwinge <thomas@schwinge.name>
44588
6960eb42
TS
44589 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44590 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44591 definitions.
44592
eb43375f
TS
44593 accept4 for GNU Hurd.
44594 * include/sys/socket.h (__libc_accept4): New prototype.
44595 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44596 to implement __libc_accept4.
44597 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44598 __libc_accept4.
44599 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44600
bcf55240
TS
44601 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44602 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44603 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44604 signal-defines.sym.
44605
6178c55b
ST
446062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44607
a4186cff 44608 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44609
6f080c2f
TS
446102012-05-10 Thomas Schwinge <thomas@schwinge.name>
44611
44612 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44613 assertion on O_CLOEXEC flag.
44614 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44615 * hurd/intern-fd.c: Likewise.
44616 * hurd/port2fd.c: Likewise.
44617
bcfe3a54
ST
446182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44619
44620 [BZ #3906]
44621 * bits/in.h (IPV6_PKTINFO): Define new macro.
44622 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44623
89c9aa49
AZ
446242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44625
44626 [BZ #13954]
44627 [BZ #13955]
44628 [BZ #13956]
44629 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44631 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44632 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44634 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44635 * math/libm-test.inc (logb_test) : Additional logb tests.
44636
021db4be
AJ
446372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44638 Andreas Jaeger <aj@suse.de>
44639
44640 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44641 * configure: Regenerated.
44642 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44643 * config.make.in (link-obsolete-rpc): New substituted variable.
44644 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44645 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44646 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44647 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44648 so that libc.a contains the symbols.
44649 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44650 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44651 * sunrpc/auth_none.c: Likewise.
44652 * sunrpc/auth_unix.c: Likewise.
44653 * sunrpc/authdes_prot.c: Likewise.
44654 * sunrpc/authuxprot.c: Likewise.
44655 * sunrpc/clnt_gen.c: Likewise.
44656 * sunrpc/clnt_perr.c: Likewise.
44657 * sunrpc/clnt_raw.c: Likewise.
44658 * sunrpc/clnt_simp.c: Likewise.
44659 * sunrpc/clnt_tcp.c: Likewise.
44660 * sunrpc/clnt_udp.c: Likewise.
44661 * sunrpc/clnt_unix.c: Likewise.
44662 * sunrpc/des_crypt.c: Likewise.
44663 * sunrpc/des_soft.c: Likewise.
44664 * sunrpc/get_myaddr.c: Likewise.
44665 * sunrpc/key_call.c: Likewise.
44666 * sunrpc/key_prot.c: Likewise.
44667 * sunrpc/netname.c: Likewise.
44668 * sunrpc/pm_getmaps.c: Likewise.
44669 * sunrpc/pm_getport.c: Likewise.
44670 * sunrpc/pmap_clnt.c: Likewise.
44671 * sunrpc/pmap_prot.c: Likewise.
44672 * sunrpc/pmap_prot2.c: Likewise.
44673 * sunrpc/pmap_rmt.c: Likewise.
44674 * sunrpc/publickey.c: Likewise.
44675 * sunrpc/rpc_cmsg.c: Likewise.
44676 * sunrpc/rpc_common.c: Likewise.
44677 * sunrpc/rpc_dtable.c: Likewise.
44678 * sunrpc/rpc_prot.c: Likewise.
44679 * sunrpc/rpc_thread.c: Likewise.
44680 * sunrpc/rtime.c: Likewise.
44681 * sunrpc/svc.c: Likewise.
44682 * sunrpc/svc_auth.c: Likewise.
44683 * sunrpc/svc_raw.c: Likewise.
44684 * sunrpc/svc_run.c: Likewise.
44685 * sunrpc/svc_tcp.c: Likewise.
44686 * sunrpc/svc_udp.c: Likewise.
44687 * sunrpc/svc_unix.c: Likewise.
44688 * sunrpc/svcauth_des.c: Likewise.
44689 * sunrpc/xcrypt.c: Likewise.
44690 * sunrpc/xdr.c: Likewise.
44691 * sunrpc/xdr_array.c: Likewise.
44692 * sunrpc/xdr_float.c: Likewise.
44693 * sunrpc/xdr_intXX_t.c: Likewise.
44694 * sunrpc/xdr_mem.c: Likewise.
44695 * sunrpc/xdr_rec.c: Likewise.
44696 * sunrpc/xdr_ref.c: Likewise.
44697 * sunrpc/xdr_sizeof.c: Likewise.
44698 * sunrpc/xdr_stdio.c: Likewise.
44699
b5c086a2
RM
447002012-05-10 Roland McGrath <roland@hack.frob.com>
44701
44702 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44703 change. Update copyright years.
44704
6d74dd09
JM
447052012-05-10 Joseph Myers <joseph@codesourcery.com>
44706
44707 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44708
28e72501
MK
447092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44710 Joseph Myers <joseph@codesourcery.com>
44711 Paul Pluzhnikov <ppluzhnikov@google.com>
44712
44713 [BZ #14012]
44714 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44715 requiring rpcgen.
44716 [cross-compiling] (extra-libs): Likewise.
44717 [cross-compiling] (extra-libs-others): Likewise.
44718 [cross-compiling] (librpcsvc-routines): Likewise.
44719 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44720 [cross-compiling] (omit-deps): Likewise.
44721 (sunrpc-CPPFLAGS): New variable.
44722 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44723 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44724 (cross-rpcgen-objs): New variable.
44725 (extra-objs): Append $(cross-rpcgen-objs).
44726 ($(cross-rpcgen-objs)): New rule.
44727 ($(objpfx)cross-rpcgen): Likewise.
44728 (rpcgen-cmd): Define to use $(built-program-file). Expand
44729 comment.
44730 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44731 ($(objpfx)x%.stmp): Likewise.
44732 * sunrpc/proto.h [IS_IN_build] (_): Define.
44733 [IS_IN_build] (_libc_intl_domainname): Likewise.
44734
c8c59454
L
447352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44736
44737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44738 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44739 and R_X86_64_TPOFF64.
44740
6f27cd16
JM
447412012-05-10 Joseph Myers <joseph@codesourcery.com>
44742
44743 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44744 sysdeps/unix/sysv/syscalls.list.
44745 (stime): Likewise.
44746 (utime): Likewise.
44747 * sysdeps/unix/sysv/syscalls.list: Remove file.
44748
02467e1c
PE
447492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44750
44751 [BZ #3440]
44752 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44753 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44754 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44755 (__LC_IDENTIFICATION): Make these macros useful in #if
44756 expressions, as required by C99.
44757
da392631
AS
447582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44759
44760 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44761 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44762 after this.
44763
8115f29b
L
447642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44765
44766 * stdlib/longlong.h: Updated from GCC.
44767
bdd74070
AJ
447682012-05-09 Andreas Jaeger <aj@suse.de>
44769
edfe0dbe
AJ
44770 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44771 default is first entry.
44772 (run_mode): Set type.
44773 (main): Remove informal message about syslog.
44774 (options): Fix typo.
44775
bcfe3a54
ST
44776 [BZ #14053]
44777 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44778 to asm.
bcfe3a54
ST
44779 (lrint): Likewise.
44780 (llrintf): Likewise.
44781 (llrint): Likewise.
44782 (rint): Likewise.
44783 (rintf): Likewise.
44784 (nearbyint): Likewise.
44785 (nearbyintf): Likewise.
bdd74070 44786
91d8d69e
AJ
447872012-05-09 Andreas Jaeger <aj@suse.de>
44788 Pedro Alves <palves@redhat.com>
44789
44790 * nscd/nscd.c (run_mode): Use enum.
44791 (main): Cleanup coding style issue.
44792
bb90b80b
AJ
447932012-05-09 Alexandre Oliva <aoliva@redhat.com>
44794 Andreas Jaeger <aj@suse.de>
44795
bcfe3a54
ST
44796 * nscd/nscd.c (go_background): Replaced with...
44797 (run_mode): ... this.
bb90b80b 44798 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44799 (options): Add -F --foreground.
44800 (main): Implement it.
44801 (parse_opt): Parse it.
bb90b80b 44802
1a4b75a1
AJ
448032012-05-09 Andreas Jaeger <aj@suse.de>
44804
44805 [BZ #14083]
44806 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44807 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44808 -Wconversion warning.
44809 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44810 Likewise.
44811
b1cc2472
JM
448122012-05-09 Joseph Myers <joseph@codesourcery.com>
44813
44814 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44815 == 0.
44816 (LC_ALL): Use macro-int-constant.
44817 (LC_COLLATE): Likewise.
44818 (LC_CTYPE): Likewise.
44819 (LC_MESSAGES): Likewise.
44820 (LC_MONETARY): Likewise.
44821 (LC_NUMERIC): Likewise.
44822 (LC_TIME): Likewise.
44823 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44824 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44826 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44827 Specify type.
44828 [C99-based standards] (float_t): Expect type.
44829 [C99-based standards] (double_t): Expect type.
44830 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44831 type.
44832 [C99-based standards] (HUGE_VALL): Likewise.
44833 [C99-based standards] (INFINITY): Likewise.
44834 [C99-based standards] (NAN): Likewise.
44835 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44836 [C99-based standards] (FP_NAN): Likewise.
44837 [C99-based standards] (FP_NORMAL): Likewise.
44838 [C99-based standards] (FP_SUBNORMAL): Likewise.
44839 [C99-based standards] (FP_ZERO): Likewise.
44840 [C99-based standards] (FP_FAST_FMA): Use
44841 optional-macro-int-constant. Specify type. Require == 1.
44842 [C99-based standards] (FP_FAST_FMAF): Likewise.
44843 [C99-based standards] (FP_FAST_FMAL): Likewise.
44844 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44845 [C99-based standards] (FP_ILOGBNAN): Likewise.
44846 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44847 Specify type.
44848 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44849 [C99-based standards] (math_errhandling): Specify type.
44850 [ISO99 || ISO11] (signgam): Do not allow.
44851 [non-C99-based standards] (copysignf): Do not allow.
44852 [non-C99-based standards] (exp2f): Likewise.
44853 [non-C99-based standards] (log2f): Likewise.
44854 [non-C99-based standards] (modff): Allow.
44855 [non-C99-based standards] (erff): Do not allow.
44856 [non-C99-based standards] (erfcf): Likewise.
44857 [non-C99-based standards] (gammaf): Likewise.
44858 [non-C99-based standards] (hypotf): Likewise.
44859 [non-C99-based standards] (j0f): Likewise.
44860 [non-C99-based standards] (j1f): Likewise.
44861 [non-C99-based standards] (jnf): Likewise.
44862 [non-C99-based standards] (lgammaf): Likewise.
44863 [non-C99-based standards] (tgammaf): Likewise.
44864 [non-C99-based standards] (y0f): Likewise.
44865 [non-C99-based standards] (y1f): Likewise.
44866 [non-C99-based standards] (ynf): Likewise.
44867 [non-C99-based standards] (isnanf): Likewise.
44868 [non-C99-based standards] (acoshf): Likewise.
44869 [non-C99-based standards] (asinhf): Likewise.
44870 [non-C99-based standards] (atanhf): Likewise.
44871 [non-C99-based standards] (cbrtf): Likewise.
44872 [non-C99-based standards] (expm1f): Likewise.
44873 [non-C99-based standards] (ilogbf): Likewise.
44874 [non-C99-based standards] (log1pf): Likewise.
44875 [non-C99-based standards] (logbf): Likewise.
44876 [non-C99-based standards] (nextafterf): Likewise.
44877 [non-C99-based standards] (remainderf): Likewise.
44878 [non-C99-based standards] (rintf): Likewise.
44879 [non-C99-based standards] (scalbf): Likewise.
44880 [non-C99-based standards] (copysignl): Likewise.
44881 [non-C99-based standards] (exp2l): Likewise.
44882 [non-C99-based standards] (log2l): Likewise.
44883 [non-C99-based standards] (modfl): Allow.
44884 [non-C99-based standards] (erfl): Do not allow.
44885 [non-C99-based standards] (erfcl): Likewise.
44886 [non-C99-based standards] (gammal): Likewise.
44887 [non-C99-based standards] (hypotl): Likewise.
44888 [non-C99-based standards] (j0l): Likewise.
44889 [non-C99-based standards] (j1l): Likewise.
44890 [non-C99-based standards] (jnl): Likewise.
44891 [non-C99-based standards] (lgammal): Likewise.
44892 [non-C99-based standards] (tgammal): Likewise.
44893 [non-C99-based standards] (y0l): Likewise.
44894 [non-C99-based standards] (y1l): Likewise.
44895 [non-C99-based standards] (ynl): Likewise.
44896 [non-C99-based standards] (isnanl): Likewise.
44897 [non-C99-based standards] (acoshl): Likewise.
44898 [non-C99-based standards] (asinhl): Likewise.
44899 [non-C99-based standards] (atanhl): Likewise.
44900 [non-C99-based standards] (cbrtl): Likewise.
44901 [non-C99-based standards] (expm1l): Likewise.
44902 [non-C99-based standards] (ilogbl): Likewise.
44903 [non-C99-based standards] (log1pl): Likewise.
44904 [non-C99-based standards] (logbl): Likewise.
44905 [non-C99-based standards] (nextafterl): Likewise.
44906 [non-C99-based standards] (remainderl): Likewise.
44907 [non-C99-based standards] (rintl): Likewise.
44908 [non-C99-based standards] (scalbl): Likewise.
44909 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44910 [non-C99-based standards] (FP_*): Do not allow.
44911 [C99-based standards] (FP_*): Change to
44912 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44913 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44914 allow.
44915 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44916 (SIG_ERR): Likewise.
44917 [X/Open-based standards] (SIG_HOLD): Likewise.
44918 (SIG_IGN): Likewise.
44919 (SIGABRT): Use macro-int-constant. Specify type. Require
44920 positive value.
44921 (SIGFPE): Likewise.
44922 (SIGILL): Likewise.
44923 (SIGINT): Likewise.
44924 (SIGSEGV): Likewise.
44925 (SIGTER): Likewise.
44926 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44927 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44928 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44929 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44930 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44931 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44932 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44933 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44934 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44935 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44936 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44937 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44938 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44939 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44940 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44941 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44942 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44943 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44944 [X/Open-based standards] (SIGTRAP): Likewise.
44945 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44946 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44947 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44948 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44949 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44950 allow.
44951
b9f1922d
IW
449522012-05-08 Ian Wienand <ianw@vmware.com>
44953
44954 [BZ #14080]
44955 * time/tzset.c (__tzset_parse_tz): Update default rules for
44956 daylight time changes in the Energy Policy Act of 2005.
44957
1db86e88
AJ
449582012-05-09 Andreas Jaeger <aj@suse.de>
44959
44960 [BZ #13983]
44961 * elf/ldconfig.c (parse_conf): Change string to make clear that
44962 ldconfig only issued a warning if ld.so.conf does not exist.
44963
dee4a4e3
DM
449642012-05-08 David S. Miller <davem@davemloft.net>
44965
ee0db190
DM
44966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44967 movxtod instead of popping the value on the stack.
44968
dee4a4e3
DM
44969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44970
6a43ec98
CD
449712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44972
44973 * config.h.in: Add HAVE_ARM_PCS_VFP.
44974
05c2c961
RMG
449752012-05-08 Roland Mc Grath <roland@hack.frob.com>
44976
bcfe3a54
ST
44977 [BZ #13979]
44978 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44979 checking but the checks are disabled for any reason.
05c2c961 44980
4b30f61a
L
449812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44982
44983 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44984 and ELF64_R_TYPE with ELFW(R_TYPE).
44985
eee2bc67
JM
449862012-05-08 Joseph Myers <joseph@codesourcery.com>
44987
7ea5391a
JM
44988 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44989 (ulimit): Likewise.
44990
eee2bc67
JM
44991 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44992 (settimeofday): Likewise.
44993
abb66a67
MF
449942012-05-08 Mike Frysinger <vapier@gentoo.org>
44995
44996 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44997 a struct th_u2 inside the union, and move tu_block/tu_code into
44998 a new th_u3 union of tu_block/tu_code inside of that. Move
44999 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45000 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45001 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45002 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45003 (th_stuff): Change to th_u1.tu_stuff.
45004 (th_data): Define.
45005 (th_msg): Change to th_u1.th_u2.tu_data.
45006
7f18b530
DM
450072012-05-07 David S. Miller <davem@davemloft.net>
45008
05760585
DM
45009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45010
7f18b530
DM
45011 [BZ #14074]
45012 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45013 (SETUP_PIC_REG): Use it.
45014 (SETUP_PIC_REG_LEAF): Use it.
45015
495fd99f
JM
450162012-05-07 Joseph Myers <joseph@codesourcery.com>
45017
45018 [BZ #13885]
45019 [BZ #13923]
45020 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45021 USE_AS_EXPM1L.
45022 (EXPL_FINITE): Likewise.
45023 (FLDLOG): Likewise.
45024 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45025 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45026 e_expl.S.
45027 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45028 USE_AS_EXPM1L.
45029 (EXPL_FINITE): Likewise.
45030 (FLDLOG): Likewise.
45031 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45032 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45033 e_expl.S.
45034 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45035 test of -max_value argument for long double.
45036 * sysdeps/i386/fpu/libm-test-ulps: Update.
45037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45038
6693d694
DM
450392012-05-06 David S. Miller <davem@davemloft.net>
45040
45041 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45042 quad soft-float symbols whose references which are compiler
45043 generated.
45044 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45045
6c23e11c
JM
450462012-05-06 Joseph Myers <joseph@codesourcery.com>
45047
d8b82cad
JM
45048 [BZ #13884]
45049 [BZ #13914]
45050 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45051 USE_AS_EXP10L.
45052 (EXPL_FINITE): Likewise.
45053 (FLDLOG): Likewise.
45054 (c0): Likewise.
45055 (c1): Likewise.
45056 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45057 Adjust comments for base varying.
45058 (__expl_finite): Change alias to EXPL_FINITE.
45059 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45060 e_expl.S.
45061 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45062 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45063 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45064 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45065 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45066 USE_AS_EXP10L.
45067 (EXPL_FINITE): Likewise.
45068 (FLDLOG): Likewise.
45069 (c0): Likewise.
45070 (c1): Likewise.
45071 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45072 Adjust comments for base varying.
45073 (__expl_finite): Change alias to EXPL_FINITE.
45074 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45075 tests for bugs.
45076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45077
6c23e11c
JM
45078 [BZ #14064]
45079 * math/libm-test.inc (check_float_internal): Correct ulp
45080 calculation for subnormal expected results.
45081
29ba805c
AJ
450822012-05-06 Andreas Jaeger <aj@suse.de>
45083
45084 * Makeconfig (+math-flags): New, set to -frounding-math.
45085 (+cflags): Add +math-flags so that all of glibc gets compiled with
45086 it.
45087
45088 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45089
7b17aeda
JM
450902012-05-05 Joseph Myers <joseph@codesourcery.com>
45091
5779f134
JM
45092 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45093 Disable one test.
45094
41498f4d
JM
45095 [BZ #13787]
45096 [BZ #13922]
45097 [BZ #14036]
45098 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45099 (__ieee754_expl): Allow for and saturate large arguments.
45100 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45101 (u_threshold): Likewise.
45102 (__exp): Call __ieee754_exp before checking for overflow and
45103 underflow.
45104 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45105 (u_threshold): Likewise.
45106 (__expf): Call __ieee754_expf before checking for overflow and
45107 underflow.
45108 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45109 (u_threshold): Likewise.
45110 (__expl): Call __ieee754_expl before checking for overflow and
45111 underflow.
45112 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45113 (__ieee754_expl): Allow for and saturate large arguments.
45114 * math/libm-test.inc (exp_test): Add another test. Do not allow
45115 missing overflow exception on overflow.
45116 (expm1_test): Do not allow missing overflow exception on overflow.
45117
6698b8bf
JM
45118 * sysdeps/i386/fpu/e_expl.c: Move to ...
45119 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45120 rather than using inline asm.
45121 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45122 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45123 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45124
7b17aeda
JM
45125 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45126 (nice): Likewise.
45127 (poll): Likewise.
45128 (signal): Likewise.
45129 (time): Likewise.
45130 (times): Likewise.
45131
f7c85819
JM
451322012-05-04 Joseph Myers <joseph@codesourcery.com>
45133
45134 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45135 sysdeps/unix/common/syscalls.list.
45136 (fchmod): Likewise.
45137 (fchown): Likewise.
45138 (ftruncate): Likewise.
45139 (getrusage): Likewise.
45140 (gettimeofday): Likewise.
45141 (setpgid): Likewise.
45142 (setregid): Likewise.
45143 (setreuid): Likewise.
45144 (sigaction): Likewise.
45145 (truncate): Likewise.
45146 (vhangup): Likewise.
45147 * sysdeps/unix/common/syscalls.list: Remove file.
45148 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45149 * sysdeps/unix/sysv/linux/Implies: Likewise.
45150
336270d0
L
451512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45152
45153 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45155 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45156 Moved to ...
45157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45158 Here.
45159 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45160 to ...
45161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45162 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45163 to ...
45164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45165 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45166 to ...
45167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45168 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45169 to ...
45170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45171 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45172 to ...
45173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45174 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45175 to ...
45176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45177 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45178 to ...
45179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45180 Here.
45181 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45182 to ...
45183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45184 Here.
45185 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45186 to ...
45187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45188 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45189 Moved to ...
45190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45191 Here.
45192 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45193 to ...
45194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45195
d128e450
JM
451962012-05-04 Joseph Myers <joseph@codesourcery.com>
45197
fa8ee516
JM
45198 * sysdeps/unix/common/bits/dirent.h: Remove file.
45199 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45200
d128e450
JM
45201 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45202 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45203 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45204 * sysdeps/unix/bsd/isatty.c: Likewise.
45205 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45206 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45207 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45208
ff8faaf0 452092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45210
62881be4 45211 [BZ #13563]
31dc8730
AZ
45212 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45213 long double comparison inaccuracies.
45214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45216
6fef930c
AS
452172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45218
45219 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45220 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45221
8f203e6c
JM
452222012-05-04 Joseph Myers <joseph@codesourcery.com>
45223
45224 [BZ #14049]
45225 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45226 nonzero digits before rounding a hex value.
45227 * stdlib/tst-strtod.c (tests): Add another test.
45228
5197d9c2
AK
452292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45230
45231 * sysdeps/s390/fpu/libm-test-ulps: Update.
45232
f0c1dedf
AJ
452332012-05-03 Andreas Jaeger <aj@suse.de>
45234
45235 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45236 does not get optimized out.
45237 (malloc_opt_barrier): New.
45238
a65ef2ae 452392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45240 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45241
2b942cb7 45242 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45243 intermediate file deletion.
2b942cb7 45244 (generated): Add .symlist files.
a65ef2ae 45245
54b71e02
JM
452462012-05-03 Joseph Myers <joseph@codesourcery.com>
45247
45248 [BZ #13775]
45249 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45250 Redirect under this condition.
45251 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45252 [__USE_GNU] (__dprintf_chk): Not under this condition.
45253 [__USE_GNU] (__vdprintf_chk): Likewise.
45254 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45255 under this condition.
45256 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45257 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45258 [__USE_XOPEN2K8] (vdprintf): Likewise.
45259 [__USE_GNU] (__dprintf_chk): Not under this condition.
45260 [__USE_GNU] (__vdprintf_chk): Likewise.
45261 [__USE_GNU] (dprintf): Likewise.
45262 [__USE_GNU] (vdprintf): Likewise.
45263
d3dfcc41
RM
452642012-05-03 Roland McGrath <roland@hack.frob.com>
45265
45266 * elf/Makefile (common-generated): Set this instead of generated for
45267 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45268 $(all-built-dso)-derived lists.
45269
7ac30cc5
AJ
452702012-05-03 Andreas Jaeger <aj@suse.de>
45271
0c51e550
AJ
45272 * sysdeps/i386/fpu/libm-test-ulps: Update.
45273
7ac30cc5
AJ
45274 * FAQ: Removed.
45275 * FAQ.in: Likewise.
45276 * scripts/gen-FAQ.pl: Likewise.
45277 * manual/install.texi (Installation): Point to online location of
45278 FAQ.
45279 * Makefile (files-for-dist): Remove FAQ.
45280 (FAQ): Remove.
45281
d4c2917f
AM
452822012-05-02 Allan McRae <allan@archlinux.org>
45283
45284 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45285 (LDFLAGS-reldepmod5.so): Likewise.
45286 (LDFLAGS-reldep6mod1.so): Likewise.
45287 (LDFLAGS-reldep6mod4.so): Likewise.
45288 (LDFLAGS-reldep8mod3.so): Likewise.
45289 (LDFLAGS-unload4mod1.so): Likewise.
45290 (LDFLAGS-unload4mod2.so): Likewise.
45291 (LDFLAGS-tst-initorder): Likewise.
45292 (LDFLAGS-tst-initordera2.so): Likewise.
45293 (LDFLAGS-tst-initordera3.so): Likewise.
45294 (LDFLAGS-tst-initordera4.so): Likewise.
45295 (LDFLAGS-tst-initorderb2.so): Likewise.
45296 (LDFLAGS-noload): Likewise.
45297 (LDFLAGS-next): Likewise.
45298 (LDFLAGS-order2mod1.so): Likewise.
45299 (LDFLAGS-order2mod2.so): Likewise.
45300 (LDFLAGS-tst-initorder2): Likewise.
45301 (LDFLAGS-tst-initorder2a.so): Likewise.
45302 (LDFLAGS-tst-initorder2b.so): Likewise.
45303 (LDFLAGS-tst-initorder2c.so): Likewise.
45304 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45305
d77f993f
DM
453062012-05-02 David S. Miller <davem@davemloft.net>
45307
45308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45309
171a70b4
PP
453102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45311
45312 [BZ #14055]
45313 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45314
0be196ad
AJ
453152012-05-02 Andreas Jaeger <aj@suse.de>
45316
45317 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45318 since we manipulate rounding mode.
45319 (CPPFLAGS-test-idouble.c): Likewise.
45320 (CPPFLAGS-test-ifloat.c): Likewise.
45321 (CFLAGS-test-ldouble.c): Likewise.
45322 (CFLAGS-test-double.c): Likewise.
45323 (CFLAGS-test-float.c): Likewise.
45324 (CFLAGS-test-misc.c): Likewise.
45325 (CFLAGS-test-test-fenv.c): Likewise.
45326
4f9d04aa
AZ
453272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45328
2b942cb7
RM
45329 [BZ #2550]
45330 [BZ #2570]
45331 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45332 comparisons to determine direction to adjust input.
4f9d04aa 45333
82a79e7d
RM
453342012-05-01 Roland McGrath <roland@hack.frob.com>
45335
f5a01ca9
RM
45336 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45337 output to the target.
45338
90fe4186
RM
45339 * scripts/localplt.awk: New file.
45340 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45341 (check-localplt-CFLAGS): Variable removed.
45342 ($(all-built-dso:=.jmprel)): New static pattern rule.
45343 (generated): Add those targets.
45344 (localplt-built-dso): New variable.
45345 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45346
45347 * elf/check-localplt.c: File removed.
45348
82397ed6
RM
45349 * scripts/check-execstack.awk: New file.
45350 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45351 (check-execstack-CFLAGS): Variable removed.
45352 ($(objpfx)check-execstack.h): Target removed.
45353 ($(objpfx)execstack-default): New target.
45354 (generated): Add that instead of check-execstack.h.
45355 ($(all-built-dso:=.phdr)): New static pattern rule.
45356 (generated): Add those targets.
45357 * elf/check-execstack.c: File removed.
45358
82a79e7d
RM
45359 * scripts/check-textrel.awk: New file.
45360 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45361 (check-textrel-CFLAGS): Variable removed.
45362 (all-built-dso): Use := to define.o
45363 ($(all-built-dso:=.dyn)): New static pattern rule.
45364 (generated): Add those targets.
45365 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45366 * config.make.in (READELF): New substituted variable.
45367 * elf/check-textrel.c: File removed.
45368
62fde54f 453692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45370
615605c9
JM
45371 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45372 allow.
45373 * conform/data/ctype.h-data [C99-based standards] (isblank):
45374 Expect function.
45375 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45376 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45378 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45379 Specify type. Require positive value.
45380 (EILSEQ): Likewise.
45381 (ERANGE): Likewise.
45382 [ISO || POSIX] (EILSEQ): Do not expect.
45383 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45384 Specify type. Require positive value.
45385 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45386 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45387 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45388 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45389 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45390 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45391 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45392 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45393 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45394 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45395 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45396 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45397 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45398 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45399 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45400 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45401 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45402 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45403 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45404 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45405 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45406 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45407 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45408 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45409 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45410 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45411 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45412 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45413 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45414 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45415 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45416 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45417 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45418 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45419 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45420 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45421 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45422 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45423 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45424 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45425 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45426 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45427 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45428 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45429 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45430 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45431 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45432 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45433 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45434 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45435 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45436 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45437 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45438 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45439 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45440 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45441 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45442 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45443 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45444 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45445 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45446 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45447 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45448 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45449 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45450 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45451 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45452 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45453 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45454 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45455 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45456 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45457 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45458 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45459 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45460 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45461 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45462 Require >= 2.
45463 (FLT_ROUNDS): Expect as macro, not constant.
45464 (FLT_MANT_DIG): Use macro-int-constant.
45465 (DBL_MANT_DIG): Likewise.
45466 (LDBL_MANT_DIG): Likewise.
45467 (FLT_DIG): Likewise.
45468 (DBL_DIG): Likewise.
45469 (LDBL_DIG): Likewise.
45470 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45471 (DBL_MIN_EXP): Likewise.
45472 (LDBL_MIN_EXP): Likewise.
45473 (FLT_MAX_EXP): Use macro-int-constant.
45474 (DBL_MAX_EXP): Likewise.
45475 (LDBL_MAX_EXP): Likewise.
45476 (FLT_MAX_10_EXP): Likewise.
45477 (DBL_MAX_10_EXP): Likewise.
45478 (LDBL_MAX_10_EXP): Likewise.
45479 (FLT_MAX): Use macro-constant.
45480 (DBL_MAX): Likewise.
45481 (LDBL_MAX): Likewise.
45482 (FLT_EPSILON): Use macro-constant. Give upper bound.
45483 (DBL_EPSILON): Likewise.
45484 (LDBL_EPSILON): Likewise.
45485 (FLT_MIN): Likewise.
45486 (DBL_MIN): Likewise.
45487 (LDBL_MIN): Likewise.
45488 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45489 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45490 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45491 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45492 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45493 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45494 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45495 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45496 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45497 [ISO11] (FLT_TRUE_MIN): Likewise.
45498 [ISO11] (LDBL_TRUE_MIN): Likewise.
45499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45500 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45501 (SCHAR_MIN): Use macro-int-constant. Specify type.
45502 (SCHAR_MAX): Likewise.
45503 (UCHAR_MAX): Likewise.
45504 (CHAR_MIN): Likewise.
45505 (CHAR_MAX): Likewise.
45506 (MB_LEN_MAX): Use macro-int-constant.
45507 (SHRT_MIN): Use macro-int-constant. Specify type.
45508 (SHRT_MAX): Likewise.
45509 (USHRT_MAX): Likewise.
45510 (INT_MAX): Likewise.
45511 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45512 bound negative.
45513 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45514 bound with "U".
45515 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45516 bound with "L".
45517 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45518 bound negative. Suffix upper bound with "L".
45519 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45520 bound with "UL".
45521 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45522 Specify type.
45523 [C99-based standards] (LLONG_MAX): Likewise.
45524 [C99-based standards] (ULLONG_MAX): Likewise.
45525 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45526 == 0.
45527 [ISO11] (max_align_t): Require type.
45528 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45529
c9140a62
JM
45530 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45531 from $CFLAGS, without defining away __attribute__ calls.
45532 (checknamespace): Use $CFLAGS_namespace.
45533
9af0bf29
JM
45534 * conform/conformtest.pl (@keywords): Only include C99 keywords
45535 for standards based on C99 or C11.
45536
343222a2
JM
45537 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45538 Disable tests.
45539 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45540 UNIX98]: Likewise.
45541
661f8cf0
JM
45542 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45543 usability of symbols in #if.
45544
ee74b9cb
JM
45545 * conform/conformtest.pl: If macro or constant types start
45546 "promoted:", expect the symbol to be of the following type
45547 promoted by the integer promotions.
62fde54f 45548
aafc49b3
JM
45549 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45550 in one place. Also handle "macro-constant".
45551
fefdf574
JM
45552 * conform/conformtest.pl: Only accept expected macro values with
45553 "==". Parse all "macro" lines in one place.
45554 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45555
f2d922fe
JM
45556 * conform/conformtest.pl: Handle braced types on "constant" lines
45557 instead of handling "typed-constant".
45558 * conform/data/signal.h-data: Use "constant" instead of
45559 "typed-constant".
45560
d22956c9
JM
45561 * conform/conformtest.pl: Handle "optional-" at start of lines in
45562 one place rather than duplicating several cases. Handle each
45563 format of "macro" line with initial "optional-".
45564
028e2e38
JM
45565 * conform/conformtest.pl: Only accept expected constant or
45566 optional-constant values with "==". Parse all "constant" lines in
45567 one place. Parse all "optional-constant" lines in one place.
45568 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45569 * conform/data/fmtmsg.h-data: Likewise.
45570 * conform/data/netinet/in.h-data: Likewise.
45571 * conform/data/tar.h-data: Likewise.
45572 * conform/data/limits.h-data: Use "==" form on "constant" and
45573 "optional-constant" lines.
45574
1b8f2850
JM
45575 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45576 Use -std=c99 for XOPEN2K.
45577 (@knownproblems): Remove.
45578 (newtoken): Don't check %isknown.
45579
a05a144b
JM
45580 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45581 Do not expect macro.
45582 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45594 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45595 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45612 [XPG3] (acosh): Likewise.
45613 [XPG3] (asinh): Likewise.
45614 [XPG3] (atanh): Likewise.
45615 [XPG3] (cbrt): Likewise.
45616 [XPG3] (expm1): Likewise.
45617 [XPG3] (ilogb): Likewise.
45618 [XPG3] (log1p): Likewise.
45619 [XPG3] (logb): Likewise.
45620 [XPG3] (nextafter): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45623 [XPG3] (remainder): Likewise.
45624 [XPG3] (rint): Likewise.
45625 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45626 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45632 [UNIX98 || XOPEN2K] (scalb): Expect.
45633 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45634 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45636 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45637 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45640 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45641 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45642 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45643 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45644 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45645 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45646 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45647 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45648 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45649 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45650 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45651 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45652 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45653 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45654 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45655 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45656 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45657 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45658 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45659 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45660 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45661 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45662 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45663 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45664 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45665 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45666 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45667 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45668 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45669 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45670 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45671 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45672 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45673 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45674 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45675 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45676 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45677 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45678 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45679 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45680 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45681 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45682 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45683 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45684 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45685 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45686 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45687 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45688 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45689 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45690 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45691 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45692 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45693 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45694 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45695 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45696 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45697 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45698 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45699 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45700 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45701 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45702 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45703 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45704 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45705 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45706 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45707 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45708 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45709 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45710 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45711 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45712 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45713 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45714 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45715 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45716 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45717 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45718 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45719 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45720 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45721 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45722 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45723 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45724 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45725 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45726 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45727 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45728 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45729 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45730 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45731 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45732 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45733 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45734 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45735 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45736 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45737 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45738 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45739 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45740 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45741 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45742 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45743 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45744 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45745 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45746 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45747 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45748 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45749 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45750 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45751 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45752 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45753 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45754 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45755 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45756 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45757 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45758 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45759 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45760 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45761 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45762 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45763 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45764 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45765 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45766 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45767 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45768 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45769 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45770
73c5ebe3
JM
45771 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45772 _XOPEN_SOURCE_EXTENDED for XPG4.
45773
39c33b6c
JM
45774 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45775
62fde54f
JM
45776 * Makeconfig (localtime): Remove variable.
45777 (inst_localtime-file): Likewise.
45778
0741d64c
AS
457792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45780
45781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45782 Update.
45783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45784 Update.
45785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45786 Update.
45787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45788 Update.
45789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45790 Update.
45791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45792 Update.
45793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45794 Update.
45795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45796 Update.
45797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45798 Update.
45799
7cb029ee
JM
458002012-05-01 Joseph Myers <joseph@codesourcery.com>
45801
45802 [BZ #2550]
45803 [BZ #2570]
45804 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45805 comparisons to determine direction to adjust input.
45806 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45807 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45808 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45809 Likewise.
45810 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45811 Likewise.
45812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45813 Likewise.
45814 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45815 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45816 Likewise.
45817 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45818 Likewise.
45819 * math/libm-test.inc (nexttoward_test): Add more tests.
45820
412bd966
AS
458212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45822
45823 [BZ #14040]
45824 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45825 in version GLIBC_2.1, not GLIBC_2.0.
45826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45827 Likewise.
45828
9568c0c2
JM
458292012-04-30 Joseph Myers <joseph@codesourcery.com>
45830
adfbc8ac
JM
45831 [BZ #13942]
45832 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45833 (1 - x) * (1 + x).
45834 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45835 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45836 * math/libm-test.inc (acos_test): Add more tests.
45837 (asin_test): Likewise.
45838 * sysdeps/i386/fpu/libm-test-ulps: Update.
45839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45840
5ba3cc69
JM
45841 [BZ #14034]
45842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45843 of square root.
45844 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45845 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45846 * math/libm-test.inc (acos_test_tonearest): New function.
45847 (acos_test_towardzero): Likewise.
45848 (acos_test_downward): Likewise.
45849 (acos_test_upward): Likewise.
45850 (asin_test_tonearest): Likewise.
45851 (asin_test_towardzero): Likewise.
45852 (asin_test_downward): Likewise.
45853 (asin_test_upward): Likewise.
45854 (main): Call the new functions.
45855 * sysdeps/i386/fpu/libm-test-ulps: Update.
45856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45857
9568c0c2
JM
45858 [BZ #13884]
45859 [BZ #13924]
45860 * math/e_exp10.c: Include <float.h>.
45861 (__ieee754_exp10): Handle underflow here rather than multiplying
45862 large negative argument by M_LN10.
45863 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45864 of __ieee754_expf.
45865 * math/e_exp10l.c: Include <float.h>.
45866 (__ieee754_exp10l): Handle underflow here rather than multiplying
45867 large negative argument by M_LN10l.
45868 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45869 spurious overflow exception on underflow.
45870
5ac3ea17
MP
458712012-04-29 Marek Polacek <polacek@redhat.com>
45872
45873 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45874 (__fortify_function): New macro.
45875 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45876 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45877 __extern_always_inline.
45878 * libio/bits/stdio2.h: Likewise.
45879 * libio/bits/stdio.h: Likewise.
45880 * string/string.h: Likewise.
45881 * string/bits/string3.h: Likewise.
45882 * include/stdio.h: Likewise.
45883 * stdlib/bits/stdlib.h: Likewise.
45884 * stdlib/stdlib.h: Likewise.
45885 * rt/bits/mqueue2.h: Likewise.
45886 * rt/mqueue.h: Likewise.
45887 * posix/bits/unistd.h: Likewise.
45888 * posix/unistd.h: Likewise.
45889 * io/bits/poll2.h: Likewise.
45890 * io/bits/fcntl2.h: Likewise.
45891 * io/fcntl.h: Likewise.
45892 * io/sys/poll.h: Likewise.
45893 * misc/bits/syslog.h: Likewise.
45894 * misc/bits/syslog-ldbl.h: Likewise.
45895 * misc/sys/syslog.h: Likewise.
45896 * socket/bits/socket2.h: Likewise.
45897 * socket/sys/socket.h: Likewise.
45898 * debug/tst-chk1.c: Likewise.
45899 * wcsmbs/bits/wchar2.h: Likewise.
45900 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45901 * wcsmbs/wchar.h: Likewise.
45902
ecf0ebfb
AJ
459032012-04-29 Andreas Jaeger <aj@suse.de>
45904
45905 * Makerules (tests): Remove enable-check-abi protection.
45906 (check-abi-warn): Remove.
45907 (check-abi-%): Remove check-abi-warn usage.
45908
45909 * configure.in: Remove check-abi configure option.
45910 * configure: Regenerated.
45911 * config.make.in (enable-check-abi): Remove.
45912
6d5c57fa
AS
459132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45914
24c5d07e 45915 [BZ #14033]
ded5180a
AS
45916 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45917 double functions to double *_finite functions.
45918
7e0d315d
AS
45919 [BZ #13941]
45920 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45921 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45922 LDBL_MIN_EXP.
45923 * stdio-common/Makefile (tests): Add tst-sprintf3.
45924 * stdio-common/tst-sprintf3.c: New file.
45925
6d5c57fa
AS
45926 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45927 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45928
0749ff8b
JM
459292012-04-28 Joseph Myers <joseph@codesourcery.com>
45930
45931 * conform/conformtest.pl: Remove duplicate typed-constant
45932 handling.
45933
8dbd5d7b
DM
459342012-04-28 David S. Miller <davem@davemloft.net>
45935
45936 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45937 (check-abi-%): Remove AWK script prerequisite and explicit
45938 abilist directory.
45939 (check-abi): Rewrite to just diff the symlist with the abilist.
45940 (config-tls, config-abi-config): Delete, no longer used.
45941 (update-abi-%): Remove AWK script and explicit abilist directory.
45942 (update-abi): Rewrite to simply compare and conditionally copy the
45943 symlist and the sysdep abilist file. Remove update-abi-config
45944 checks.
45945 * abilist/ld.abilist: Remove.
45946 * abilist/libBrokenLocale.abilist: Remove.
45947 * abilist/libanl.abilist: Remove.
45948 * abilist/libcrypt.abilist: Remove.
45949 * abilist/libdl.abilist: Remove.
45950 * abilist/librt.abilist: Remove.
45951 * abilist/libthread_db.abilist: Remove.
45952 * abilist/libutil.abilist: Remove.
45953 * scripts/extract-abilist.awk: Remove.
45954 * scripts/merge-abilist.awk: Remove.
45955 * sysdeps/generic/libcidn.abilist: New file.
45956 * sysdeps/generic/libnss_compat.abilist: New file.
45957 * sysdeps/generic/libnss_db.abilist: New file.
45958 * sysdeps/generic/libnss_dns.abilist: New file.
45959 * sysdeps/generic/libnss_files.abilist: New file.
45960 * sysdeps/generic/libnss_hesiod.abilist: New file.
45961 * sysdeps/generic/libnss_nis.abilist: New file.
45962 * sysdeps/generic/libnss_nisplus.abilist: New file.
45963 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45964 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45965 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45966 file.
45967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45968 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45969 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45970 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45971 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45972 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45973 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45974 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45975 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45976 file.
45977 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45978 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45979 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45980 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45981 file.
45982 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45983 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45984 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45985 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45986 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45987 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45988 file.
45989 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45990 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45991 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45992 file.
45993 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45995 New file.
45996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45997 New file.
45998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45999 New file.
46000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46001 New file.
46002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46003 New file.
46004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46005 New file.
46006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46007 New file.
46008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46009 New file.
46010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46011 New file.
46012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46013 New file.
46014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46015 New file.
46016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46017 New file.
46018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46019 New file.
46020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46021 file.
46022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46023 New file.
46024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46025 New file.
46026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46027 file.
46028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46029 New file.
46030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46031 New file.
46032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46033 file.
46034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46035 New file.
46036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46037 New file.
46038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46039 New file.
46040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46041 New file.
46042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46043 New file.
46044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46045 New file.
46046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46048 file.
46049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46050 New file.
46051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46052 file.
46053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46054 file.
46055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46056 file.
46057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46058 file.
46059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46060 file.
46061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46062 New file.
46063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46064 file.
46065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46066 file.
46067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46068 New file.
46069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46070 file.
46071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46073 file.
46074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46075 New file.
46076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46077 file.
46078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46079 file.
46080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46081 file.
46082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46083 file.
46084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46085 file.
46086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46087 New file.
46088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46089 file.
46090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46091 file.
46092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46093 New file.
46094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46095 file.
46096 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46097 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46098 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46099 file.
46100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46101 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46102 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46103 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46104 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46105 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46106 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46107 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46108 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46109 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46112 file.
46113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46114 New file.
46115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46116 file.
46117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46118 file.
46119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46120 file.
46121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46122 file.
46123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46124 file.
46125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46126 New file.
46127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46128 New file.
46129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46130 file.
46131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46132 New file.
46133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46134 file.
46135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46137 file.
46138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46139 New file.
46140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46141 file.
46142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46143 file.
46144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46145 file.
46146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46147 file.
46148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46149 file.
46150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46151 New file.
46152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46153 New file.
46154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46155 file.
46156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46157 New file.
46158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46159 file.
46160
41d73a1b
JM
461612012-04-28 Joseph Myers <joseph@codesourcery.com>
46162
46163 * conform/conformtest.pl: Fix typo in handling typed-constant from
46164 allow-header.
46165
28aeeda4
JM
461662012-04-27 Joseph Myers <joseph@codesourcery.com>
46167
adae8f5e
JM
46168 * README: Cut down references to pre-2.6 Linux kernels and
46169 Linuxthreads. Update lists of configurations in libc and ports
46170 and sort alphabetically. Say "or newer" with Linux kernel version
46171 requirements.
46172
28aeeda4
JM
46173 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46174
a462cb63
RA
461752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46176
46177 [BZ #887]
46178 * math/libm-test.inc (logb_test_downward): New test to expose
46179 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46180 rounding mode.
46181
6ad3493e
JM
461822012-04-27 Joseph Myers <joseph@codesourcery.com>
46183
46184 [BZ #14027]
46185 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46186 to be done.
46187 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46188 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46189
2ce4f015
JM
461902012-04-26 Joseph Myers <joseph@codesourcery.com>
46191
5aeb141a
JM
46192 * sysdeps/unix/i386/brk.S: Remove file.
46193 * sysdeps/unix/i386/dl-brk.S: Likewise.
46194 * sysdeps/unix/i386/pipe.S: Likewise.
46195 * sysdeps/unix/i386/sigreturn.S: Likewise.
46196 * sysdeps/unix/i386/syscall.S: Likewise.
46197 * sysdeps/unix/i386/vfork.S: Likewise.
46198 * sysdeps/unix/i386/wait.S: Likewise.
46199
7143acae
JM
46200 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46201 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46202
2ce4f015
JM
46203 * configure.in (arm*-none*): Do not allow without
46204 --enable-hacker-mode.
46205 (netbsd*): Remove case setting base_os.
46206 (386bsd*): Likewise.
46207 (freebsd*): Likewise.
46208 (bsdi*): Likewise.
46209 (osf*): Likewise.
46210 (sunos*): Likewise.
46211 (ultrix*): Likewise.
46212 (newsos*): Likewise.
46213 (dynix*): Likewise.
46214 (*bsd*): Likewise.
46215 (sysv*): Likewise.
46216 (isc*): Likewise.
46217 (esix*): Likewise.
46218 (sco*): Likewise.
46219 (minix*): Likewise.
46220 (irix4*): Likewise.
46221 (irix6*): Likewise.
46222 (solaris[2-9]*): Likewise.
46223 (none): Likewise.
46224 * configure: Regenerated.
46225
0ac229c8
AZ
462262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46227
46228 [BZ #11521]
46229 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46230 overflow or cancellation in calculating denominator.
46231 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46233 down expression to avoid unexpected rounding in newer GCCs.
46234 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46235
33f244f4
DM
462362012-04-26 David S. Miller <davem@davemloft.net>
46237
46238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46239 long-double compat symbols.
46240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46253
cfa1f3e8
DM
462542012-04-25 David S. Miller <davem@davemloft.net>
46255
46256 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46257 HWCAP_* values only after the memory barriers have been defined.
46258 (atomic_full_barrier): Define.
46259 (atomic_read_barrier): Define.
46260 (atomic_write_barrier): Define.
46261
6e236b92
SP
462622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46263
46264 * shlib-versions: Add libgcc_s version information.
46265 * sysdeps/generic/libgcc_s.h: Remove.
46266 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46267 libgcc_s.h.
46268 * sysdeps/gnu/unwind-resume.c: Likewise.
46269 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46270
aab39a09
DM
462712012-04-25 David S. Miller <davem@davemloft.net>
46272
46273 * sysdeps/unix/sparc/brk.S: Delete.
46274 * sysdeps/unix/sparc/dl-brk.S: Delete.
46275 * sysdeps/unix/sparc/pipe.S: Delete.
46276 * sysdeps/unix/sparc/sysdep.S: Delete.
46277 * sysdeps/unix/sparc/sysdep.h: Delete.
46278 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46279 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46280 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46281 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46282 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46283 (JUMPTARGET): Remove.
46284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46285 sysdeps/unix/sparc/sysdep.h
46286 (ENTRY, END): Remove.
46287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46288
a3cc4f48
JM
462892012-04-25 Joseph Myers <joseph@codesourcery.com>
46290
2ed8cda2
JM
46291 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46292 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46293 -DIS_IN_build.
46294
35d76d59
JM
46295 * timezone/README: Update upstream location and email address for
46296 tzcode and tzdata.
46297 * timezone/zdump.c: Update from tzcode 2012b.
46298 * timezone/zic.c: Likewise.
46299
a3cc4f48
JM
46300 * configure.in (libc_cv_as_needed): Remove test.
46301 * configure: Regenerated.
46302 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46303 conditional definition.
46304 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46305 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46306 * config.make.in (have-as-needed): Remove variable.
46307
ceab42c3
SP
463082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46309 Paul Pluzhnikov <ppluzhnikov@google.com>
46310
46311 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46312 strings correctly.
46313
3ce2865f
CLT
463142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46315
46316 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46317 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46318 * sysdeps/sh/strlen.S: Likewise.
46319
f37e0d68
JM
463202012-04-24 Joseph Myers <joseph@codesourcery.com>
46321
ae186e9a
JM
46322 * sysdeps/unix/fork.S: Remove file.
46323 * sysdeps/unix/i386/fork.S: Likewise.
46324 * sysdeps/unix/sparc/fork.S: Likewise.
46325
b96914af
JM
46326 * sysdeps/unix/system.c: Remove file.
46327 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46328
f37e0d68
JM
46329 * sysdeps/unix/getegid.S: Remove file.
46330 * sysdeps/unix/geteuid.S: Likewise.
46331
87ef29ca
RM
463322012-04-24 Roland McGrath <roland@hack.frob.com>
46333
83bcd236
RM
46334 * scripts/check-localplt.awk: New file.
46335 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46336 of diff.
46337 * scripts/data/localplt-generic.data: Add a comment.
46338
87ef29ca
RM
46339 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46340 NODE when __dir_mkfile failed.
46341 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46342 Reported by Ludovic Courtès <ludo@gnu.org>.
46343
e5a6e567
AJ
463442012-04-24 Andreas Jaeger <aj@suse.de>
46345
46346 * Makerules (common-clean): Also remove gen-as-const-headers
46347 files.
46348
c1820385
JM
463492012-04-24 Joseph Myers <joseph@codesourcery.com>
46350
46351 * Makerules (native-compile): Do not change working directory for
46352 build. Use $(OUTPUT_OPTION) in command.
46353 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46354
94e02fc4
AZ
463552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46356
46357 [BZ #13886]
46358 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46359 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46360 * math/libm-test.inc (floor_test): Add more tests.
46361 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46362
3a533ca3
JM
463632012-04-24 Joseph Myers <joseph@codesourcery.com>
46364
940ab4b3
JM
46365 * sysdeps/unix/getdents.c: Remove file.
46366 * sysdeps/unix/sysv/getdents.c: Likewise.
46367 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46368
90e037bd
JM
46369 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46370 sysdeps/unix/mman/syscalls.list.
46371 (mmap): Likewise.
46372 (mprotect): Likewise.
46373 (msync): Likewise.
46374 (munmap): Likewise.
46375 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46376 * sysdeps/unix/mman/syscalls.list: Remove.
46377 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46378
3a533ca3
JM
46379 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46380 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46381 * configure: Regenerated.
46382 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46383 $(libgcc_s_suffix).
46384 * config.make.in (libgcc_s_suffix): Remove variable.
46385
1ad743de
JM
463862012-04-23 Joseph Myers <joseph@codesourcery.com>
46387
4ad451e2
JM
46388 * sysdeps/unix/sysv/gethostname.c: Move to ...
46389 * sysdeps/posix/gethostname.c: ... here.
46390
5e37ce39
JM
46391 * sysdeps/unix/execve.S: Remove file.
46392
1ad743de
JM
46393 * sysdeps/unix/_exit.S: Remove file.
46394
4e681b5b
AJ
463952012-04-23 Andreas Jaeger <aj@suse.de>
46396
46397 [BZ #13739]
46398 * manual/Makefile: Remove make dist support, there's no
46399 need for a stand-alone documentation tar ball.
46400 (TEXI2DVI): Define always, it's not in Makeconfig.
46401 (dist): Removed.
46402 (tar-it): Removed.
46403 (edition): Removed.
46404 (glibc-doc-$(edition).tar): Removed
46405 (%.Z): Removed.
46406 (%.gz): Removed.
46407 (%.uu): Removed.
46408 (ETAGS): Remove, it's in Makeconfig.
46409 (move-if-change): Remove, it's in Makeconfig.
46410
38686a03 464112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46412
46413 [BZ #13970]
46414 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46415 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46416 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46417 (strtod_l, strtof_l, strtold_l): Remove __wur.
46418 It is not necessarily an error to ignore strtol's return value.
46419 One can reliably look at the stored endptr to decide whether
46420 the number had valid syntax.
46421
7c0616fa
AJ
464222012-04-21 Andreas Jaeger <aj@suse.de>
46423
803cb6b7 46424 [BZ #13739]
7c0616fa
AJ
46425 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46426
b0fe253f
JM
464272012-04-21 Joseph Myers <joseph@codesourcery.com>
46428
46429 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46430 * sysdeps/unix/sysv/Versions: Remove file.
46431
8280f22d
MT
464322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46433
46434 [BZ #13927]
46435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46436
75ce411f 464372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46438
46439 [BZ #7064]
46440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46441 version from __vm86.
46442
097d59fa
JM
464432012-04-20 Joseph Myers <joseph@codesourcery.com>
46444
a90f3bcb
JM
46445 * sysdeps/unix/common/lxstat.c: Remove file.
46446 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46447
edc7ea78
JM
46448 * sysdeps/unix/sysv/Makefile: Remove file.
46449
cb78c221
JM
46450 * sysdeps/unix/sysv/direct.h: Remove file.
46451
efa6a45f
JM
46452 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46453 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46454 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46455 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46456 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46457 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46458 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46459
9c9f2d0c
JM
46460 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46461
4541c83b
JM
46462 * sysdeps/unix/xmknod.c: Remove file.
46463 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46464
f5d153a0
JM
46465 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46466
aa746595
JM
46467 * sysdeps/unix/sysv/i386/time.S: Remove file.
46468
cce5905e
JM
46469 * sysdeps/unix/fxstat.c: Remove file.
46470 * sysdeps/unix/xstat.c: Likewise.
46471 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46472
37fa3841
JM
46473 * sysdeps/unix/sysv/sigaction.c: Remove file.
46474
ff1962a3
JM
46475 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46476 (sysdep_headers): Remove variable.
46477 [termio.h not in sysdep_headers] (generated): Likewise.
46478 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46479 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46480 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46481 * sysdeps/unix/sysv/tcflow.c: Likewise.
46482 * sysdeps/unix/sysv/tcflush.c: Likewise.
46483 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46484 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46485 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46486 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46487 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46488
e7740d31
JM
46489 * sysdeps/unix/siglist.c: Remove file.
46490
ee06f18b
JM
46491 * sysdeps/unix/getppid.S: Remove file.
46492
097d59fa
JM
46493 * sysdeps/unix/mkdir.c: Remove file.
46494 * sysdeps/unix/rmdir.c: Likewise.
46495
ff3d51ec
AS
464962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46497
46498 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46499 ERR_MAX value.
46500 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46501 errlist-compat value.
46502
50f81fd7
DM
465032012-04-18 David S. Miller <davem@davemloft.net>
46504
46505 * sysdeps/generic/memcopy.h (reg_char): Delete.
46506 * debug/strcat_chk.c: Use char, not reg_char.
46507 * debug/strcpy_chk.c: Likewise.
46508 * debug/strncat_chk.c: Likewise.
46509 * debug/strncpy_chk.c: Likewise.
46510 * string/memchr.c: Likewise.
46511 * string/memrchr.c: Likewise.
46512 * string/rawmemchr.c: Likewise.
46513 * string/strcat.c: Likewise.
46514 * string/strchr.c: Likewise.
46515 * string/strchrnul.c: Likewise.
46516 * string/strcmp.c: Likewise.
46517 * string/strcpy.c: Likewise.
46518 * string/strncat.c: Likewise.
46519 * string/strncmp.c: Likewise.
46520 * string/strncpy.c: Likewise.
46521
8ff41c46
WS
465222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46523
46524 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46525 __builtin_memcopy is called when src and dest ranges are known to not
46526 overlap.
46527
6b652f46
WS
465282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46529
46530 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46531 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46532 fwd_align_merge macro call.
46533 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46534 bwd_align_merge macro call.
46535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46536
b282631e
WS
465372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46538
46539 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46540 bwd_align_merge macros.
46541 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46542 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46543 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46544
95aa737c
DM
465452012-04-18 David S. Miller <davem@davemloft.net>
46546
46547 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46548
7a99a614
AJ
465492012-04-18 Andreas Jaeger <aj@suse.de>
46550
46551 [BZ# 6794]
46552 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46553 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46554 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46555
46556 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46557 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46559
46560 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46561 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46562 Adjust for changed ldbl-128 files.
46563
46564 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46565 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46566 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46567
e5270c23
DM
465682012-04-17 David S. Miller <davem@davemloft.net>
46569
46570 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46571
fb5e92c9
AS
465722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46573
46574 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46575 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46576 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46577 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46578 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46579 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46580
76da7265
AZ
465812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46582
46583 [BZ #6794]
46584 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46585 * math/libm-test.inc: Add ilogb errno and exception tests.
46586 * math/w_ilogb.c: New file: ilogb wrapper.
46587 * math/w_ilogbf.c: New file: ilogbf wrapper.
46588 * math/w_ilogbl.c: New file: ilogbl wrapper.
46589 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46590 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46591 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46592 exception being thrown with 0.0 as argument.
46593 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46594 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46595 exception being thrown with 0.0 as argument.
46596 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46597 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46598 exception being thrown with 0.0 as argument.
46599 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46600 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46601 exception being thrown with 0.0 as argument.
46602 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46603 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46604 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46605 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46606 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46607 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46608 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46609 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46610 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46611
0396e69d
PB
466122012-04-17 Petr Baudis <pasky@ucw.cz>
46613
46614 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46615 with altivec.
46616
750b5926
MP
466172012-04-16 Marek Polacek <polacek@redhat.com>
46618
46619 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46620
751728a1
MP
466212012-04-16 Marek Polacek <polacek@redhat.com>
46622
46623 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46624 operands of fdivp instruction.
46625
34a27407
L
466262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46627
46628 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46629 * elf/tst-auditmod3b.c: Likewise.
46630 * elf/tst-auditmod4b.c: Likewise.
46631 * elf/tst-auditmod5b.c: Likewise.
46632 * elf/tst-auditmod6b.c: Likewise.
46633 * elf/tst-auditmod6c.c: Likewise.
46634 * elf/tst-auditmod7b.c: Likewise.
46635 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46636 * sysdeps/x86_64/preconfigure.in: Likewise.
46637 * sysdeps/x86_64/preconfigure: Regenerated.
46638
7e73e17d
L
466392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46640
46641 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46642 __ILP32__.
46643
c7a6ab72
AB
466442012-04-13 Antoine Balestrat <merkil33@gmail.com>
46645
46646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46647 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46648
a9e8e0e0
CL
466492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46650
46651 [BZ #13973]
46652 * locale/iso-639.def: Fix gl language name. Spotted by
46653 Yaron Shahrabani.
46654
ec98af7d
RM
466552012-04-12 Roland McGrath <roland@hack.frob.com>
46656
46657 [BZ #2074]
46658 * libio/libio.h (__io_write_fn): Update comment.
46659
247c3ede
PB
466602012-04-12 Petr Baudis <pasky@ucw.cz>
46661
46662 [BZ #2074]
46663 * stdio.texi (Hook Functions): The user provided writer function
46664 is not allowed to return -1.
46665
55939d6d
DM
466662012-04-11 David S. Miller <davem@davemloft.net>
46667
46668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46669
90020f5a
MF
466702012-04-11 Mike Frysinger <vapier@gentoo.org>
46671
46672 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46673 Add a leading slash to rtkaio.
46674
288f9098
JM
466752012-04-11 Jim Meyering <meyering@redhat.com>
46676
90020f5a
MF
46677 [BZ #11959]
46678 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46679 It is not necessarily an error to ignore fwrite's return
46680 value. One can reliably use ferror to test for errors after
46681 the fact.
288f9098 46682
4be2b570
L
466832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46684
46685 * bits/types.h (__snseconds_t): New type.
46686 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46687
46688 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46690 (__SNSECONDS_T_TYPE): Likewise.
46691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46692 (__SNSECONDS_T_TYPE): Likewise.
46693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46694 (__SNSECONDS_T_TYPE): Likewise.
46695
288f9098 466962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46697
46698 [BZ #2636]
46699 * manual/time.texi (Processor Time): Return type of times is
46700 elapsed real time since an arbitrary point in the past.
46701 (CPU Time): Move CLK_TCK from here...
46702 (Processor Time): ...to here. Correct description.
46703 * manual/conf.texi (Constants for Sysconf): Correct description of
46704 _SC_CLK_TCK.
46705
d7dd4413
DM
467062012-04-10 David S. Miller <davem@davemloft.net>
46707
46708 [BZ #13967]
46709 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46710 where the is a gap between DT_REL(A) and DT_JMPREL.
46711
b46068fc
L
467122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46713
46714 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46715 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46716 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46717
73d65cc3
SP
467182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46719
46720 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46721 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46722 (dl_main): Handle --inhibit-cache.
46723 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46724 _dl_inhibit_cache.
46725 * elf/dl-load.c (_dl_map_object): Use it.
46726 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46727
bcc8d661
JM
467282012-04-09 Joseph Myers <joseph@codesourcery.com>
46729
8f9a2fae
JM
46730 [BZ #13872]
46731 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46732 (__ieee754_powl): Saturate large exponents rather than testing for
46733 overflow of y*log2(x).
46734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46735 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46736 exceptions.
46737
bcc8d661
JM
46738 [BZ #11521]
46739 * math/s_ctan.c: Include <float.h>.
46740 (__ctan): Avoid internal overflow or cancellation in calculating
46741 denominator.
46742 * math/s_ctanf.c: Likewise.
46743 * math/s_ctanl.c: Likewise.
46744 * math/s_ctanh.c: Likewise.
46745 * math/s_ctanhf.c: Likewise.
46746 * math/s_ctanhl.c: Likewise.
46747 * math/libm-test.inc (ctan_test): Add more tests.
46748 (ctanh_test): Likewise.
46749 * sysdeps/i386/fpu/libm-test-ulps: Update.
46750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46751
823fbbb4
AJ
467522012-04-09 Andreas Jaeger <aj@suse.de>
46753
03879793
AJ
46754 [BZ #6894]
46755 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46756 is an optional BSD extension.
46757
823fbbb4
AJ
46758 [BZ #10254]
46759 * manual/stdio.texi (Opening Streams): Document additional fopen
46760 parameters.
46761
8de131cb
RM
467622012-04-09 Roland McGrath <roland@hack.frob.com>
46763
46764 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46765 %eax without telling the compiler.
46766
c0ed9d7d
CD
467672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46768
46769 [BZ # 13963]
46770 * manual/install.texi: Use sourceware.org.
46771
c483f6b4
JM
467722012-04-09 Joseph Myers <joseph@codesourcery.com>
46773
d7dd9453
JM
46774 [BZ #13873]
46775 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46776 (__ieee754_pow): Generate overflow and underflow using huge*huge
46777 and tiny*tiny rather than just returning constant infinity or zero
46778 for large exponents.
46779 * math/libm-test.inc (pow_test): Require overflow exceptions for
46780 applicable cases of large exponents.
46781
c483f6b4
JM
46782 [BZ #706]
46783 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46784 (__ieee754_pow): Use iterative multiplication algorithm only for
46785 integer exponents with absolute value below 1024. Check for odd
46786 integer exponents when using algorithm for real exponents.
46787 * math/libm-test.inc (pow_test): Add more tests.
46788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46789
d2de7579
JM
467902012-04-08 Joseph Myers <joseph@codesourcery.com>
46791
46792 [BZ #13705]
46793 * math/libm-test.inc (exp_test): Do not allow overflow exception
46794 on underflow test.
46795
f77f1232
AJ
467962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46797
46798 [BZ #13705]
46799 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46800 instead of __kernel_standard_f.
46801
3884932b
MF
468022012-04-08 Mike Frysinger <vapier@gentoo.org>
46803
46804 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46805 * sysdeps/x86_64/memset_chk.S: Likewise.
46806
54472e9c
AJ
468072012-04-08 Andreas Jaeger <aj@suse.de>
46808
6ab0fbfc
AJ
46809 [BZ #10153]
46810 * manual/startup.texi (Environment Access): Describe return value
46811 for putenv and setenv.
46812
61efba8c
AJ
46813 [BZ #6895]
46814 * manual/filesys.texi (Directory Entries): Add description for
46815 DT_LNK.
46816
95c3f29a
AJ
46817 [BZ #6890]
46818 * manual/filesys.texi (Directory Entries): Clarify that it's file
46819 system not operating system in the description of DT_UNKNOWN.
46820
54472e9c
AJ
46821 [BZ #6578]
46822 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46823
624254b1
SC
468242012-04-08 Stephen Compall <s11@member.fsf.org>
46825
46826 [BZ #6649]
46827 * manual/llio.texi (Opening and Closing Files): Add cross
46828 reference to explain mode argument.
46829
1e4920e0
MF
468302012-04-07 Mike Frysinger <vapier@gentoo.org>
46831
46832 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46833 * sysdeps/x86_64/memset_chk.S: Likewise.
46834
5ed848f3
DM
468352012-04-07 David S. Miller <davem@davemloft.net>
46836
46837 * elf/elf.h (R_SPARC_WDISP10): Define.
46838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46839 R_SPARC_SIZE32.
46840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46841 R_SPARC_SIZE64 and R_SPARC_H34.
46842
96154cd8
CD
468432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46844
46845 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46846 conditions and remove no longer applicable assertion.
46847
9904dc47
L
468482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46849
46850 * bits/byteswap.h: Include <features.h>.
46851 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46852 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46853
f8887d0a
L
468542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46855
46856 * bits/byteswap.h (__bswap_16): Removed.
46857 Include <bits/byteswap-16.h> to get __bswap_16.
46858 * sysdeps/i386/bits/byteswap.h: Likewise.
46859 * sysdeps/s390/bits/byteswap.h: Likewise.
46860 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46861 * bits/byteswap-16.h: New file.
46862 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46863 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46864 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46865 * string/Makefile (headers): Add bits/byteswap-16.h.
46866
62470f60
PP
468672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46868
46869 [BZ #13895]
46870 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46871 extra indirection.
46872 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46873 * nss/tst-nss-static.c: New.
46874
4dad7bab
RM
468752012-04-06 Robert Millan <rmh@gnu.org>
46876
46877 [BZ #6486]
46878 * manual/llio.texi (File Position Primitive): lseek
46879 refers to WHENCE when it really means OFFSET.
46880
e9142a17
AJ
468812012-04-06 Andreas Jaeger <aj@suse.de>
46882
2c040eff
AJ
46883 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46884 strncmp declarations.
46885
e9142a17
AJ
46886 * abilist/libc.abilist: Add __poll and __ppoll.
46887
ff9f1c5f
DM
468882012-04-05 David S. Miller <davem@davemloft.net>
46889
dcd2ae90
DM
46890 * scripts/check-local-headers.sh: Accept a host triplet in the
46891 path matched by the exclude regexp.
46892
993eb054
DM
46893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46894 definition.
46895 * sysdeps/powerpc/powerpc32/dl-machine.h
46896 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46897 * sysdeps/s390/s390-32/dl-machine.h
46898 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46899 * sysdeps/sparc/sparc32/dl-machine.h
46900 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46901 * sysdeps/sparc/sparc64/dl-machine.h
46902 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46903
ff9f1c5f
DM
46904 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46905 lazy binding.
48e2e132 46906 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46907 undefined symbol errors.
46908
48e2e132 46909 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46910 DT_NEEDED entries.
46911
e80d6f94
MM
469122012-04-05 Michael Matz <matz@suse.de>
46913
46914 [BZ #13592]
46915 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46916
349fa79f
AJ
469172012-04-05 Andreas Jaeger <aj@suse.de>
46918
46919 [BZ #13908]
46920 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46921 comment.
46922
f402708f
KK
469232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46924
46925 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46926 which ROUND is no valid rounding mode.
46927
2ecccfc9
KK
469282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46929
46930 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46931 read again.
46932 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46933
8a53f50f
KK
469342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46935
46936 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46937 an exception using FPU order intentionally.
46938
469392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46940
46941 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46942 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46943 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46944 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46945
d653abb7
SJ
469462012-04-05 Simon Josefsson <simon@josefsson.org>
46947
46948 [BZ #12340]
46949 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46950 EINVAL when BUFLEN is too smal.
46951
c3b1bf7d
TS
469522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46953
46954 [BZ #13553]
46955 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46956 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46957
b1aa60f3
AJ
469582012-04-03 Andreas Jaeger <aj@suse.de>
46959
c3b1bf7d 46960 [BZ #13938]
67f60a26
AJ
46961 * manual/setjmp.texi (System V contexts): Fix sentence.
46962
b1aa60f3
AJ
46963 [BZ #13926]
46964 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46965 New macro for this case.
46966 [!__GNUC__] (__bswap_64): New inline function for this case.
46967 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46968 * bits/byteswap.h: Likewise.
46969 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46970 ull, guard with __GLIBC_HAVE_LONG_LONG.
46971
46972 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46973 __GLIBC_HAVE_LONG_LONG.
46974
46975 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46976 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46977
39c59c35
TMQMF
469782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46979
46980 [BZ #13691]
46981 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46982 inptr and inend, rather than using last_ch.
46983
135ffda8
DM
469842012-04-02 David S. Miller <davem@davemloft.net>
46985
46986 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46987 * stdio-common/printf-parse.h (read_int): Change return type to
46988 'int', return -1 on INT_MAX overflow.
46989 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46990 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46991 overflows INT_MAX. Check for overflow of in-format-string precision
46992 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46993 SIZE_MAX not INT_MAX for integer overflow test.
46994 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46995 skip the construct in the format string but do not record anything.
46996 * stdio-common/bug22.c: Adjust to test both width/prevision
46997 INT_MAX overflow as well as total length INT_MAX overflow. Check
46998 explicitly for proper errno values.
46999
228c019e
TS
470002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47001
302cadd3
TS
47002 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47003 CHAR_MAX.
47004 * string/test-strcmp.c [! WIDE]: Likewise.
47005 * time/tst-mktime2.c: Likewise for INT_MAX.
47006 * string/test-string.h: #include <sys/param.h> for MIN.
47007
228c019e
TS
47008 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47009 * sysdeps/i386/init-first.c (init): Likewise.
47010 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47011 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47012 * sysdeps/sh/init-first.c (init): Likewise.
47013
cfa633f5
UD
470142012-04-01 Ulrich Drepper <drepper@gmail.com>
47015
47016 * po/ru.po: Update from translation team.
d1635ef8 47017 * po/vi.po: Likewise.
cfa633f5 47018
6cd0a5ea
SP
470192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47020
47021 * resolv/nss_dns/dns-host.c: Merge copyright years.
47022
4b43400f
LD
470232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47024
47025 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47026 Optimize memcpy with prefetch if
47027 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47028 src, dst pointers have unequal 16 byte alignments.
47029
48c41d04
SP
470302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47031
47032 [BZ #13928]
47033 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47034 from a CNAME entry and return the minimum ttl for the query.
47035 (gaih_getanswer_slice): Likewise.
47036
b8dc394d
JL
470372012-03-30 Jeff Law <law@redhat.com>
47038
47039 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47040 due to long keys.
47041 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47042 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47043
2f5a5ed0
JL
47044 * resolv/nss_dns/dns-host.c: Update copyright year.
47045
1d39e359
UD
470462012-03-30 Ulrich Drepper <drepper@gmail.com>
47047
c030f70c 47048 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 47049 requests to save a system call. Fix check that all bytes are sent.
c030f70c 47050
1d39e359
UD
47051 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47052 comments for sendmmsg.
47053
470542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
47055
47056 [BZ #13691]
47057 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47058 with only 1 character between 0x0041 and 0x01b0.
47059 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47060 * wcsmbs/tst-mbsnrtowcs.c: New file.
47061
20fde227
DM
470622012-03-29 David S. Miller <davem@davemloft.net>
47063
47064 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47065 small copies by hand.
47066
984a4237
JL
470672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47068
47069 [BZ #13761]
57f41c40
AS
47070 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47071 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47072 group memberships.
984a4237 47073
18c9d62b
DM
470742012-03-28 David S. Miller <davem@davemloft.net>
47075
88d85d4f
DM
47076 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47077 that branches into memcpy.
47078 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47081 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47083 bits.
47084 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47085 implementation too.
47086 * sysdeps/sparc/mempcpy.S: New file.
47087
e5aa83e1
DM
47088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47089 the IFUNC routine in the libc case.
47090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47091
88570753
DM
47092 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47093 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47094 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47095 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47096 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47097 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47098 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47099 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47100
249d7567
DM
47101 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47102 loop to 256 bytes instead of 64 bytes and fix test signedness.
47103
18c9d62b
DM
47104 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47105 * sysdeps/sparc/sparc32/Makefile: rather than here...
47106 * sysdeps/sparc/sparc64/Makefile: and here.
47107
05f3d1f6
UD
471082012-03-28 Ulrich Drepper <drepper@gmail.com>
47109
47110 * malloc/mallocbug.c: Avoid warnings about unused variables.
47111
86ae07a8
JL
471122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47113
47114 [BZ #13760]
47115 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47116 in the right place. Discard and retry query if response is
47117 larger than input buffer size.
47118
41bf21a1
JM
471192012-03-28 Joseph Myers <joseph@codesourcery.com>
47120
d6270972
JM
47121 [BZ #369]
47122 [BZ #2678]
47123 [BZ #3866]
47124 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47125 x for large integer exponent.
47126 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47127 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47128 sign of result as needed afterwards.
47129 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47130 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47131 result for underflowing pow the same as for overflow.
47132 (__kernel_standard_l): Handle powl overflow and underflow here
47133 rather than calling __kernel_standard.
47134 * math/libm-test.inc (pow_test): Add more tests.
47135
414fca03 47136 [BZ #3868]
41bf21a1
JM
47137 [BZ #13879]
47138 [BZ #13910]
47139 [BZ #13911]
47140 [BZ #13912]
47141 [BZ #13913]
47142 [BZ #13915]
47143 [BZ #13916]
47144 [BZ #13917]
47145 [BZ #13918]
47146 [BZ #13919]
47147 [BZ #13920]
47148 [BZ #13921]
47149 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47150 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47151 (__kernel_standard_l): New function.
47152 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47153 __kernel_standard.
47154 * math/w_acosl.c (__acosl): Likewise.
47155 * math/w_asinl.c (__asinl): Likewise.
47156 * math/w_atan2l.c (__atan2l): Likewise.
47157 * math/w_atanhl.c (__atanhl): Likewise.
47158 * math/w_coshl.c (__coshl): Likewise.
47159 * math/w_exp10l.c (__exp10l): Likewise.
47160 * math/w_exp2l.c (__exp2l): Likewise.
47161 * math/w_fmodl.c (__fmodl): Likewise.
47162 * math/w_hypotl.c (__hypotl): Likewise.
47163 * math/w_j0l.c (__j0l, __y0l): Likewise.
47164 * math/w_j1l.c (__j1l, __y1l): Likewise.
47165 * math/w_jnl.c (__jnl, __ynl): Likewise.
47166 * math/w_lgammal.c (__lgammal): Likewise.
47167 * math/w_log10l.c (__log10l): Likewise.
47168 * math/w_log2l.c (__log2l): Likewise.
47169 * math/w_logl.c (__logl): Likewise.
47170 * math/w_powl.c (__powl): Likewise.
47171 * math/w_remainderl.c (__remainderl): Likewise.
47172 * math/w_scalbl.c (sysv_scalbl): Likewise.
47173 * math/w_sinhl.c (__sinhl): Likewise.
47174 * math/w_sqrtl.c (__sqrtl): Likewise.
47175 * math/w_tgammal.c (__tgammal): Likewise.
47176 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47177 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47178 * math/libm-test.inc (acos_test): Add more tests.
47179 (acosh_test): Likewise.
47180 (asin_test): Likewise.
47181 (atanh_test): Likewise.
47182 (exp_test): Likewise.
47183 (exp10_test): Likewise.
47184 (exp2_test): Likewise.
47185 (expm1_test): Likewise.
47186 (lgamma_test): Likewise.
47187 (log_test): Likewise.
47188 (log10_test): Likewise.
47189 (log1p_test): Likewise.
47190 (log2_test): Likewise.
47191 (pow_test): Do not allow some spurious overflow exceptions.
47192 (sqrt_test): Add more tests.
47193 (tgamma_test): Likewise.
47194 (y0_test): Likewise.
47195 (y1_test): Likewise.
47196 (yn_test): Likewise.
47197
dd62fda6
AB
471982012-03-27 Anton Blanchard <anton@samba.org>
47199
47200 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47201 MAP_HUGETLB.
47202 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47203 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47204 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47205
1e3cdfda
AJ
472062012-03-27 David S. Miller <davem@davemloft.net>
47207
b855ab85
DM
47208 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47209
1e3cdfda
AJ
47210 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47211 have-as-vis3 check.
47212
472132012-03-27 Andreas Jaeger <aj@suse.de>
47214
47215 * sysdeps/x86_64/elf/configure.in: Moved to ...
47216 * sysdeps/x86_64/configure.in: ... here.
47217 * sysdeps/x86_64/elf/start.S: Moved to ...
47218 * sysdeps/x86_64/start.S: ... here.
47219 * sysdeps/x86_64/elf/configure: Delete.
47220
47221 * sysdeps/x86_64/configure.in: Merge contents from
47222 sysdeps/i386/configure.in (without i686 check).
47223
47224 * sysdeps/i386/elf/Versions: Merge into ...
47225 * sysdeps/i386/Versions: ... this.
47226 * sysdeps/i386/elf/Versions: Delete file.
47227 * sysdeps/i386/elf/start.S: Moved to ...
47228 * sysdeps/i386/start.S: ...here.
47229 * sysdeps/i386/elf/configure.in: Merge into...
47230 * sysdeps/i386/configure.in: ...here.
47231 * sysdeps/i386/elf/configure.in: Delete file.
47232 * sysdeps/i386/elf/configure: Delete file.
47233
47234 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47235 * debug/backtracesyms.c: ... here.
47236 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47237 * debug/backtracesymsfd.c: ... here.
47238 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47239 * sysdeps/generic/ifunc-sel.h: ... here.
47240
47241 * sysdeps/unix/i386/start.c: Delete file.
47242 * sysdeps/unix/sparc/start.c: Delete file.
47243 * sysdeps/unix/start.c: Delete file.
47244
47245 * sysdeps/sh/elf/configure.in: Moved to ...
47246 * sysdeps/sh/configure.in: ... here.
47247 * sysdeps/sh/elf/start.S: Moved to ...
47248 * sysdeps/sh/start.S: ... here.
47249 * sysdeps/sh/elf/configure: Delete file.
47250
47251 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47252 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47253 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47254 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47255 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47256 * sysdeps/powerpc/powerpc64/start.S: here.
47257 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47258 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47259 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47260 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47261 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47262
47263 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47264 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47265 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47266 * sysdeps/powerpc/powerpc32/start.S: ... here.
47267 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47268 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47269 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47270
47271 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47272 * sysdeps/powerpc/ifunc-sel.h: ... here.
47273 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47274 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47275
47276 * sysdeps/sparc/elf/configure.in: Moved to ...
47277 * sysdeps/sparc/configure.in: ... here.
47278 * sysdeps/sparc/elf/configure: Delete file.
47279 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47280 * sysdeps/sparc/sparc32/start.S: ... here.
47281 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47282 * sysdeps/sparc/sparc64/start.S: ... here.
47283 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47284 * sysdeps/sparc/sparc32/Makefile: ... this.
47285 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47286 * sysdeps/sparc/sparc64/Makefile: ... this.
47287
47288 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47289 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47290 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47291 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47292 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47293 * sysdeps/s390/s390-32/setjmp.S: ... here.
47294 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47295 * sysdeps/s390/s390-32/configure.in: ... here.
47296 * sysdeps/s390/s390-32/elf/configure: Delete file.
47297 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47298 * sysdeps/s390/s390-32/start.S: ... here.
47299
47300 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47301 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47302 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47303 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47304 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47305 * sysdeps/s390/s390-64/setjmp.S: ... here.
47306 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47307 * sysdeps/s390/s390-64/configure.in: ... here
47308 * sysdeps/s390/s390-64/elf/configure: Delete file.
47309 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47310 * sysdeps/s390/s390-64/start.S: ... here.
47311 * sysdeps/s390/s390-64/elf/configure: Delete.
47312
47313 * configure.in: Remove support for elf directories in sysdeps.
47314
47315 * configure: Regenerated.
47316 * sysdeps/i386/configure: Regenerated.
47317 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47318 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47319 * sysdeps/s390/s390-32/configure: Regenerated.
47320 * sysdeps/s390/s390-64/configure: Regenerated.
47321 * sysdeps/sh/configure: Regenerated.
47322 * sysdeps/sparc/configure: Regenerated.
47323 * sysdeps/x86_64/configure: Regenerated.
47324
a3f61311
AS
473252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47326
c876e002
AS
47327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47328
a3f61311
AS
47329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47330 denormal result into account.
47331
ac4c54f0
RM
473322012-03-25 Roland McGrath <roland@hack.frob.com>
47333
47334 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47335 Reported by Allan McRae <allan@archlinux.org>.
47336
6a9b9c02
JL
473372012-03-23 Jeff Law <law@redhat.com>
47338
47339 * nss/getnssent.c (__nss_getent): Fix typo.
47340
4c42a0c1
DM
473412012-03-23 David S. Miller <davem@davemloft.net>
47342
47343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47344
1532c7ac
L
473452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47346
47347 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47348 to pad to uint64_t for each field.
47349 (dl_tls_index): Replace unsigned long with uint64_t.
47350
3ff42526
PP
473512012-03-23 Daniel Jacobowitz <dmj@google.com>
47352 Paul Pluzhnikov <ppluzhnikov@google.com>
47353
47354 [BZ #6528]
47355 * grp/Makefile (otherlibs): Don't set it.
47356 * inet/Makefile (otherlibs): Likewise.
47357 * login/Makefile (otherlibs): Likewise.
47358 * nscd/Makefile (otherlibs): Likewise.
47359 * posix/Makefile (otherlibs): Likewise.
47360 * pwd/Makefile (otherlibs): Likewise.
47361 * rt/Makefile (otherlibs): Likewise.
47362 * sunrpc/Makefile (otherlibs): Likewise.
47363 * nss/Makefile (otherlibs): Likewise.
47364 Add libnss_files to routines and static-only-routines.
47365 ($(objpfx)getent): Remove rule.
47366 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47367 static-only-routines.
47368
7c69cd14
JM
473692012-03-22 Joseph Myers <joseph@codesourcery.com>
47370
47371 [BZ #13892]
47372 * math/s_cexp.c: Include <float.h>.
47373 (__cexp): Handle exp result overflowing not necessarily
47374 overflowing both real and imaginary parts of result.
47375 * math/s_cexpf.c: Likewise.
47376 * math/s_cexpl.c: Likewise.
47377 * math/libm-test.inc (cexp_test): Add more tests.
47378 * sysdeps/i386/fpu/libm-test-ulps: Update.
47379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47380
81b035fe
L
473812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47382
47383 * include/link.h (ELFW): New macro.
47384 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47385 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47386
1da7940c
L
473872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47388
47389 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47390 with uint64_t.
47391
b749dbb9
L
473922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47393
47394 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47395 declaration.
47396 (struct La_x32_retval): Likewise.
47397
2ff87f3f
L
473982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47399
47400 * sysdeps/x86_64/preconfigure.in: New file.
47401 * sysdeps/x86_64/preconfigure: New generated file.
47402
c0df8e69
JM
474032012-03-22 Joseph Myers <joseph@codesourcery.com>
47404
48e44791
JM
47405 [BZ #13824]
47406 * math/e_exp2l.c: Include <float.h>.
47407 (__ieee754_exp2l): Handle overflow and underflow cases
47408 separately. Only pass fractional part of argument to
47409 __ieee754_expl.
47410 * math/libm-test.inc (exp2_test): Add more tests.
47411
c0df8e69
JM
47412 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47413 negating x to take absolute value.
47414 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47415 Likewise.
47416 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47417 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47418 Likewise.
47419 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47420 computing low part if x was negated.
47421 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47422
c8e43ba7
L
474232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47424
47425 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47426 la_x32_gnu_pltexit.
47427 (pltexit): Cast int_retval to ptrdiff_t.
47428 * elf/tst-auditmod3b.c: Likewise.
47429 * elf/tst-auditmod4b.c: Likewise.
47430 * elf/tst-auditmod5b.c: Likewise.
47431 * elf/tst-auditmod6b.c: Likewise.
47432 * elf/tst-auditmod6c.c: Likewise.
47433 * elf/tst-auditmod7b.c: Likewise.
47434
47435 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47436 and x32_gnu_pltexit.
47437
47438 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47439 __ELF_NATIVE_CLASS.
47440 (La_x32_regs): New macro.
47441 (La_x32_retval): Likewise.
47442 (la_x32_gnu_pltenter): New function prototype.
47443 (la_x32_gnu_pltexit): Likewise.
47444
7998fa78
AS
474452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47446
dcb33988
AS
47447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47448 exponent.
47449
233fc563
AS
47450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47451
7998fa78
AS
47452 * configure.in (libc_cv_cc_nofma): Check for option to disable
47453 generation of FMA instructions.
47454 * configure: Regenerate.
47455 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47456 * sysdeps/ieee754/dbl-64/Makefile: New file.
47457 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47458 Remove brandred-fma4.
47459 (CFLAGS-brandred-fma4.c): Remove.
47460 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47461 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47462 define.
47463 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47464 define.
47465
8e95c99a
L
474662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47467
47468 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47469 LLONG_MAX != LONG_MAX.
47470 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47471 (_fitoa_word): Likewise.
47472 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47473 LLONG_MAX != LONG_MAX.
47474 * stdio-common/_itowa.h: Include <_itoa.h>.
47475 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47476 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47477 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47478 only if not defined.
47479 (_ITOA_WORD_TYPE): Likewise.
47480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47481 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47482
6f4db457
DM
474832012-03-21 David S. Miller <davem@davemloft.net>
47484
47485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47486
7785fe5a
L
474872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47488
47489 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47490 of x86_64 when setting libc_cv_slibdir, libdir and
47491 libc_cv_localedir.
47492 * sysdeps/unix/sysv/linux/configure: Regenerated.
47493
4535cd55
JM
474942012-03-21 Joseph Myers <joseph@codesourcery.com>
47495
47496 * manual/lang.texi (Old Varargs): Remove section.
47497 (How Variadic): Update menu.
47498 (va_start): Do not mention varargs.h.
47499
17228132
TS
475002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47501 Joseph Myers <joseph@codesourcery.com>
47502
47503 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47504 link test.
47505 * configure: Regenerated.
47506
8149f976
TS
475072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47508
05f3d1f6
UD
47509 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47510 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47511 conformtest.pl
8149f976 47512
1a4ac776
JM
475132012-03-21 Joseph Myers <joseph@codesourcery.com>
47514
be22ce65
JM
47515 * NOTES: Remove.
47516 * Makefile (files-for-dist): Remove NOTES.
47517 (NOTES): Remove rule.
47518 * README: Don't refer to NOTES.
47519 * manual/creature.texi: Don't include macros.texi.
47520 * manual/intro.texi (creature.texi): Remove comment referring to
47521 NOTES.
47522
40b601fb
JM
47523 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47524 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47525 * configure: Regenerated.
47526 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47527 LIBC_TRY_CC_OPTION.
47528 (libc_cv_as_i686): Likewise.
47529 (libc_cv_cc_avx): Likewise.
47530 (libc_cv_cc_sse2avx): Likewise.
47531 (libc_cv_cc_fma4): Likewise.
47532 (libc_cv_cc_novzeroupper): Likewise.
47533 * sysdeps/i386/configure: Regenerated.
47534
1a4ac776
JM
47535 [BZ #13883]
47536 * sysdeps/i386/fpu/s_cexp.S: Remove.
47537 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47538 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47539 * math/libm-test.inc (cexp_test): Add more tests.
47540 * sysdeps/i386/fpu/libm-test-ulps: Update.
47541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47542
a458e7fe
AM
475432012-03-21 Allan McRae <allan@archlinux.org>
47544
47545 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47546
0cb7efc5
JM
475472012-03-21 Joseph Myers <joseph@codesourcery.com>
47548
47549 [BZ #13871]
47550 * math/w_exp2.c: Do not include <float.h>.
47551 (o_threshold, u_threshold): Remove.
47552 (__exp2): Calculate result before checking finiteness and calling
47553 __kernel_standard.
47554 * math/w_exp2f.c: Likewise.
47555 * math/w_exp2l.c: Likewise.
47556 * math/libm-test.inc (exp2_test): Require overflow exception for
47557 1e6 input.
2460d3aa
JM
47558
47559 [BZ #3866]
47560 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47561 range of signed 64-bit integers before using fistpll. Remove
47562 checks for whether integers fit in mantissa bits.
47563 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47564 the range of signed 32-bit integers before using fistpl. Remove
47565 checks for whether integers fit in mantissa bits.
47566 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47567 (__ieee754_powl): Test for y outside the range of signed 64-bit
47568 integers before using fistpll. Reduce 64-bit values to 63-bit
47569 ones as needed.
47570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47571 divide-by-zero is raised for zero to large negative powers.
47572 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47573 (__ieee754_powl): Test for y outside the range of signed 64-bit
47574 integers before using fistpll. Reduce 64-bit values to 63-bit
47575 ones as needed.
47576 * math/libm-test.inc (pow_test): Add more tests.
47577
eb96ffb0
L
475782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47579
47580 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47581 <stdio-common/_itoa.h>.
47582 * debug/segfault.c: Likewise.
47583 * elf/dl-cache.c: Likewise.
47584 * elf/dl-minimal.c: Likewise.
47585 * elf/dl-misc.c: Likewise.
47586 * elf/dl-sysdep.c: Likewise.
47587 * elf/dl-version.c: Likewise.
47588 * elf/rtld.c: Likewise.
47589 * hurd/hurdsock.c: Likewise.
47590 * hurd/lookup-retry.c: Likewise.
47591 * malloc/malloc.c: Likewise.
47592 * malloc/mtrace.c: Likewise.
47593 * nscd/nscd_getgr_r.c: Likewise.
47594 * nscd/nscd_getpw_r.c: Likewise.
47595 * nscd/nscd_getserv_r.c: Likewise.
47596 * posix/getopt_init.c: Likewise.
47597 * posix/wordexp.c: Likewise.
47598 * stdio-common/_itoa.c: Likewise.
47599 * stdio-common/printf_fphex.c: Likewise.
47600 * stdio-common/vfprintf.c: Likewise.
47601 * string/_strerror.c: Likewise.
47602 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47603 * sysdeps/i386/i686/hp-timing.h: Likewise.
47604 * sysdeps/mach/_strerror.c: Likewise.
47605 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47606 * sysdeps/mach/hurd/sethostid.c: Likewise.
47607 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47608 * sysdeps/mach/xpg-strerror.c: Likewise.
47609 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47611 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47612 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47613 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47614 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47615 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47616 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47617 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47618 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47619 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47620 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47621 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47622 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47623 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47624 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47625 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47626 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47627 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47628 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47629 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47630
47631 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47632
47633 * stdio-common/_itoa.h: Moved to ...
47634 * sysdeps/generic/_itoa.h: Here.
47635
47636 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47637
47638 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47639 instead of "_itoa.h" and "_itowa.h".
47640 * stdio-common/vfprintf.: Likewise.
47641
d1af992d
L
476422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47643
47644 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47645 <bits/wordsize.h>.
47646 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47647 (__signbit): Likwise.
47648 (llrintf): Likwise.
47649 (llrint): Likwise.
47650
114883e0
L
476512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47652
47653 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47654 __WORDSIZE != 64.
47655
c135cc1b
JM
476562012-03-20 Joseph Myers <joseph@codesourcery.com>
47657
47658 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47659 OVERFLOW_EXCEPTION_OK.
47660 * math/libm-test.inc ("Philosophy"): Update comment about
47661 exception testing.
47662 (OVERFLOW_EXCEPTION): Define.
47663 (OVERFLOW_EXCEPTION_OK): Likewise.
47664 (INVALID_EXCEPTION_OK): Renumber.
47665 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47666 (IGNORE_ZERO_INF_SIGN): Likewise.
47667 (test_exceptions): Handle FE_OVERFLOW.
47668 (exp10_test): Expect overflow exceptions.
47669 (exp2_test): Likewise.
47670 (expm1_test): Likewise.
47671 (nextafter_test): Likewise.
47672 (pow_test): Likewise.
47673 (scalbn_test): Likewise.
47674 (scalbln_test): Likewise.
47675
95443d88
L
476762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47677
47678 * sysdeps/x86_64/bits/atomic.h
47679 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47680 64bit integer.
47681 (atomic_exchange_acq): Likewise.
47682 (__arch_exchange_and_add_body): Likewise.
47683 (__arch_add_body): Likewise.
47684 (atomic_add_negative): Likewise.
47685 (atomic_add_zero): Likewise.
47686
490df6c4
L
476872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47688
c2722551 47689 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47690 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47691
5e52b189
L
476922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47693
47694 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47695 Check __x86_64__ instead of __WORDSIZE.
47696
a9879d4c
L
476972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47698
47699 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47700
5df98260
DM
477012012-03-19 David S. Miller <davem@davemloft.net>
47702
e1497744
DM
47703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47704
5df98260
DM
47705 * sysdeps/sparc/fpu/fenv_private.h: New file.
47706 * sysdeps/sparc/fpu/math_private.h: Use it.
47707 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47708 Remove.
57f41c40 47709 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47710 (libc_feholdexcept_setroundl): Remove.
47711 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47712 Remove.
47713 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47714 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47715
b4c35121
L
477162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47717
47718 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47719 int64_t instead of long int.
47720 (INSERT_WORDS64): Likwise.
47721
56965fd7
L
477222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47723
47724 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47725 _Unwind_GetCFA return to _Unwind_Ptr first.
47726
83d1aec8
JM
477272012-03-19 Joseph Myers <joseph@codesourcery.com>
47728
1897ad44
JM
47729 [BZ #13629]
47730 * math/s_clog.c: Include <float.h>.
47731 (__clog): Scale large or subnormal inputs.
47732 * math/s_clogf.c: Likewise.
47733 * math/s_clogl.c: Likewise.
47734 * math/s_clog10.c: Include <float.h>.
47735 (M_LOG10_2): Define.
47736 (__clog10): Scale large or subnormal inputs.
47737 * math/s_clog10f.c: Likewise.
47738 * math/s_clog10l.c: Likewise.
47739 * math/libm-test.inc (clog_test): Add more tests.
47740 (clog10_test): Likewise.
47741 * sysdeps/i386/fpu/libm-test-ulps: Update.
47742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47743
7726d6a9
JM
47744 [BZ #11451]
47745 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47746 x and y.
47747 * math/libm-test.inc (atan2_test): Add another test.
47748
83d1aec8
JM
47749 * Makerules (common-objdir-compile): Remove.
47750 * sysdeps/unix/Makefile (config-generated): Do not add
47751 $(unix-generated) to variable.
47752 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47753 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47754 Remove rule.
47755 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47756 Likewise.
47757 [generic bits/local_lim.h] (before-compile): Do not append to
47758 variable.
47759 [generic bits/local_lim.h] (common-generated): Likewise.
47760 [generic sys/param.h] (before-compile): Do not append to variable.
47761 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47762 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47763 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47764 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47765 include.
47766 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47767 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47768 [generic sys/param.h] ($(addprefix
47769 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47770 [generic sys/param.h] (common-generated): Do not append to
47771 variable.
47772 [generic sys/param.h] (sysdep_headers): Likewise.
47773 [generic bits/errno.h] (before-compile): Do not append to
47774 variable.
47775 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47776 rule.
47777 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47778 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47779 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47780 [generic bits/errno.h] (common-generated): Do not append to
47781 variable.
47782 [generic bits/ioctls.h] (before-compile): Do not append to
47783 variable.
47784 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47785 rule.
47786 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47787 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47788 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47789 rule.
47790 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47791 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47792 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47793 [generic bits/ioctls.h] (common-generated): Do not append to
47794 variable.
47795 [generic sys/syscall.h] (syscall.h): Remove variable.
47796 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47797 rule.
47798 [generic sys/syscall.h] (before-compile): Do not append to
47799 variable.
47800 [generic sys/syscall.h] (common-generated): Likewise.
47801 * sysdeps/unix/errnos-tmpl.c: Remove file.
47802 * sysdeps/unix/errnos.awk: Likewise.
47803 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47804 * sysdeps/unix/ioctls.awk: Likewise.
47805 * sysdeps/unix/mk-local_lim.c: Likewise.
47806 * sysdeps/unix/snarf-ioctls: Likewise.
47807
4851a949
RH
478082012-03-19 Richard Henderson <rth@twiddle.net>
47809
bd37f2ee
RH
47810 * sysdeps/i386/fpu/fenv_private.h: New file.
47811 * sysdeps/i386/fpu/math_private.h: Use it.
47812 (math_opt_barrier, math_force_eval): Remove.
47813 (libc_feholdexcept_setround_53bit): Remove.
47814 (libc_feupdateenv_53bit): Remove.
47815 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47816 (math_opt_barrier, math_force_eval): Remove.
47817 (libc_feholdexcept): Remove.
47818 (libc_feholdexcept_setround): Remove.
47819 (libc_fetestexcept, libc_fesetenv): Remove.
47820 (libc_feupdateenv_test): Remove.
47821 (libc_feupdateenv, libc_feholdsetround): Remove.
47822 (libc_feresetround): Remove.
47823
d0adc922
RH
47824 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47825 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47826
0fe0f1f8
RH
47827 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47828 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47829 (libc_feupdateenv_testl): New.
47830 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47831 (libc_feupdateenv_testf): New.
47832 (libc_feupdateenv): Use libc_feupdateenv_test.
47833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47834 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47835
eb92c487
RH
47836 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47837 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47838 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47839 (libc_feresetround_noex): New.
47840 (libc_feresetround_noexf): New.
47841 (libc_feresetround_noexl): New.
47842 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47843 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47844 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47845 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47846 SET_RESTORE_ROUND.
47847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47849 (__cos): Likewise.
47850 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47851 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47852 SET_RESTORE_ROUND_NOEX.
47853 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47854 SET_RESTORE_ROUND_NOEXF.
47855 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47856 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47857 (libc_feholdsetroundf): New.
47858 (libc_feresetround, libc_feresetroundf): New.
47859
7d2e8012
RH
47860 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47861 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47862 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47863
b4dabbb4
RH
47864 * sysdeps/generic/math_private.h: Include <fenv.h>.
47865 (default_libc_feholdexcept): New.
47866 (default_libc_feholdexcept_setround): New.
47867 (default_libc_fesetenv, default_libc_feupdateenv): New.
47868 (libc_feholdexcept): Only define if undefined.
47869 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47870 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47871 (libc_feholdexcept_setroundl): Likewise.
47872 (libc_feholdexcept_setround_53bit): Likewise.
47873 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47874 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47875 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47876 (libc_feupdateenv_53bit): Likewise.
47877 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47878 (libc_feholdexcept): Convert from macro to inline function.
47879 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47880 (libc_fesetenv, libc_feupdateenv): Likewise.
47881
4851a949
RH
47882 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47883 not previously defined.
47884 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47885 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47886 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47887 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47888 * sysdeps/ieee754/flt-32/math_private.h: New file.
47889 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47890 math_private.h below SET_FLOAT_WORD.
47891 (__isnan, __isinf_ns, __finite): Remove.
47892 (__isnanf, __isinf_nsf, __finitef): Remove.
47893
e79d442e
AS
478942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47895
47896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47897
90b80344
DM
478982012-03-17 David S. Miller <davem@davemloft.net>
47899
47900 [BZ #6471]
47901 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47902 for 2.16.
47903
edc21804
DM
479042012-03-16 David S. Miller <davem@davemloft.net>
47905
77e927af
DM
47906 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47907 warnings.
47908
374976dd
DM
47909 [BZ #6471]
47910 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47911 properly.
47912 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47913 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47914 sysdep_routines when subdir is sysvipc.
47915 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47916 __getshmlba helper.
47917
edc21804
DM
47918 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47919
473c3ef3
L
479202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47921
47922 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47923 [__LP64__].
47924
eb0f39b6
L
479252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47926
47927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47928 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47929 (__lround): Renamed to ...
47930 (__llround): This. Replace long int with long long int.
47931 Define lround functions as aliases of llround functions.
47932 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47933
6b6cd74b
L
479342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47935
47936 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47937 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47938 adresses to uintptr_t. Replace "long int" and "unsigned long
47939 int" with "greg_t" on va_arg.
47940
f1a77b01
L
479412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47942
47943 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47944 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47945
47946 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47947 Move e_machine check before EI_CLASS check. Handle x32
47948 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47949 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47950 SKIP_EM_IA_64 and include
47951 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47952
47953 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47954 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47955 (add_system_dir): New macro.
47956
47957 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47958 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47959
11b90b9f
JM
479602012-03-16 Joseph Myers <joseph@codesourcery.com>
47961
c36e1d23
JM
47962 [BZ #2551]
47963 [BZ #2552]
47964 [BZ #2553]
47965 [BZ #2554]
47966 [BZ #2562]
47967 [BZ #2563]
47968 [BZ #2565]
47969 [BZ #2566]
47970 [BZ #2576]
47971 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47972 (y0): Likewise.
47973 * math/w_j0f.c (j0f): Likewise.
47974 (y0f): Likewise.
47975 * math/w_j0l.c (__j0l): Likewise.
47976 (__y0l): Likewise.
47977 * math/w_j1.c (j1): Likewise.
47978 (y1): Likewise.
47979 * math/w_j1f.c (j1f): Likewise.
47980 (y1f): Likewise.
47981 * math/w_j1l.c (__j1l): Likewise.
47982 (__y1l): Likewise.
47983 * math/w_jn.c (jn): Likewise.
47984 (yn): Likewise.
47985 * math/w_jnf.c (jnf): Likewise.
47986 (ynf): Likewise.
47987 * math/w_jnl.c (__jnl): Likewise.
47988 (__ynl): Likewise.
47989 * math/libm-test.inc (j0_test): Add more tests.
47990 (j1_test): Likewise.
47991 (jn_test): Likewise. Add trailing semicolon to existing test.
47992 (y0_test): Likewise.
47993 (y1_test): Likewise.
47994 * sysdeps/i386/fpu/libm-test-ulps: Update.
47995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47996
11b90b9f
JM
47997 [BZ #13851]
47998 [BZ #13854]
47999 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48000 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48001 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48002 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48003 (__tanl): Set errno for infinite argument.
48004 * sysdeps/i386/fpu/mptan.c: Remove.
48005 * sysdeps/i386/fpu/s_tan.S: Likewise.
48006 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48007 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48008 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48009 * math/libm-test.inc (tan_test): Add more tests and enable more
48010 tests for double and long double.
48011 * sysdeps/i386/fpu/libm-test-ulps: Update.
48012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48013
6a1bd2a1
JK
480142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48015
48016 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48017 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48018
10a803e0
RM
480192012-03-16 Roland McGrath <roland@hack.frob.com>
48020
48021 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48022 * configure.in: Use it for both main tree and add-ons.
48023 * configure: Regenerated.
48024
f196c7f7
L
480252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48026
48027 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48028
8848d99d
JM
480292012-03-16 Joseph Myers <joseph@codesourcery.com>
48030
96cbe7f4
JM
48031 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48032 in comment.
48033
8848d99d
JM
48034 [BZ #13851]
48035 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48036 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48038 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48039 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48040 infinite argument.
48041 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48043 != 0 for prec == 2.
48044 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48045 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48046 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48047 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48048 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48049 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48050 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48051 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48052 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48053 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48054 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48055 * math/libm-test.inc (cos_test): Add more tests and enable more
48056 tests for long double.
48057 (sin_test): Likewise.
48058 (sincos_test): Likewise.
48059 * sysdeps/i386/fpu/libm-test-ulps: Update.
48060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48061
dd7f4703
DM
480622012-03-16 David S. Miller <davem@davemloft.net>
48063
48064 * sysdeps/sparc/fpu/math_private.h: New file.
48065
006f1daa
DM
480662012-03-15 David S. Miller <davem@davemloft.net>
48067
c0c83bc8
DM
48068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48069 file.
e6a62e18 48070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48072 file.
e6a62e18
DM
48073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48079 sysdep routines.
48080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48081
88cb87d9
DM
48082 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48083 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48084
006f1daa 48085 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48087 sparc-ifunc.h
006f1daa 48088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48090 Likewise.
48091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48092 Likewise.
006f1daa
DM
48093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48097 Likewise.
006f1daa
DM
48098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48103 Likewise.
48104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48105 Likewise.
006f1daa
DM
48106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48126 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48130
11e0098e
AS
481312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48132
48133 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48134 scaling.
48135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48136
e85b09d0
AJ
481372012-03-15 Andreas Jaeger <aj@suse.de>
48138
48139 [BZ #13852]
48140 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48141 ieee754/flt-32 implementation for sin, cos and sincos.
48142 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48143 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48144 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48145 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48146 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48147 ieee754/flt-32 implementation for tan.
48148
48149 * math/libm-test.inc (cos_test): Enable some large input tests for
48150 float as well
48151 (sin_test): Likewise.
48152 (sincos_test): Likewise.
48153 (tan_test): Add tests for large input.
48154
48155 * sysdeps/i386/fpu/libm-test-ulps: Update.
48156
81c64153
AJ
481572012-03-15 Andreas Jaeger <aj@suse.de>
48158
48159 [BZ #13658]
48160 * math/libm-test.inc (cos_test): Add more test cases.
48161 (sin_test): Likewise.
48162 (sincos_test): Likewise.
48163
7bbfa5c6
AJ
481642012-03-15 Andreas Jaeger <aj@suse.de>
48165
48166 [BZ #13837]
48167 * math/libm-test.inc (cos_test): Add a test case for large input
48168 value.
48169 (sin_test): Likewise.
48170 (sincos_test): Likewise.
48171
57f41c40
AS
481722012-03-15 Andreas Jaeger <aj@suse.de>
48173 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48174
48175 [BZ #13658]
0671f479 48176 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48177 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48178 * sysdeps/i386/fpu/branred.c: Likewise.
48179 * sysdeps/i386/fpu/dosincos.c: Likewise.
48180 * sysdeps/i386/fpu/mpa.c: Likewise.
48181 * sysdeps/i386/fpu/s_cos.S: Likewise.
48182 * sysdeps/i386/fpu/s_sin.S: Likewise.
48183 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48184 * sysdeps/i386/fpu/sincos32.c: Likewise.
48185
48186 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48187 Define.
48188 (libc_feupdateenv_53bit): Define.
48189 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48190 Define.
48191 (libc_feupdateenv_53bit): Define.
48192
48193 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48194 53 bit (without extend i386 double precision).
48195
48196 * math/libm-test.inc (sincos_test): Add tests for large input.
48197 (sin): Likewise.
48198 (cos): Likewise.
48199
48200 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48201
9cad04ea
AS
482022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48203
48204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48205
f7062b9a
DM
482062012-03-15 David S. Miller <davem@davemloft.net>
48207
48208 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48209 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48210 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48211 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48224 file.
f7062b9a 48225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48227 file.
f7062b9a 48228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48230 file.
f7062b9a 48231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48233 file.
f7062b9a
DM
48234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48236 fmin/fmax sysdep routines.
48237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48238
7bd951ff
DM
482392012-03-14 David S. Miller <davem@davemloft.net>
48240
559398ab
DM
48241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48270 routines.
48271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48272 file.
559398ab 48273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48275 file.
559398ab 48276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48278 file.
559398ab 48279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48281 file.
559398ab 48282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48284 file.
559398ab 48285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48287 file.
48288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48289 file.
48290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48291 file.
48292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48293 file.
48294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48295 New file.
48296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48297 file.
48298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48299 file.
559398ab 48300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48302 file.
559398ab 48303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48305 file.
559398ab 48306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48308 file.
559398ab 48309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48311 VIS3 routines.
559398ab
DM
48312
48313 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48314 New file.
48315
5a1c1e32
DM
48316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48317
eae47a36
DM
48318 * sysdeps/sparc/configure.in: New file.
48319 * sysdeps/sparc/configure: Generate.
48320 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48321 * configure: Regenerate.
48322 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48323 * config.make.in (have-as-vis3): New.
48324 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48325 available use -Av9d instead of -Av9a.
48326 * sysdeps/sparc/sparc64/Makefile: Likewise.
48327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48329 New file.
48330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48331 file.
48332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48333 New file.
48334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48335 file.
eae47a36
DM
48336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48341
c0c83bc8
DM
48342 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48343 fzeros/fnegs to load 0x80000000 into a float register instead of
48344 using the stack.
7bd951ff
DM
48345 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48346
bd951ccb
JM
483472012-03-14 Joseph Myers <joseph@codesourcery.com>
48348
48349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48350 bits/syscall.h.
48351 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48352 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48353 ($(inst_includedir)/bits/syscall.h): Remove rule.
48354 ($(objpfx)bits/syscall.d): Include instead of
48355 $(objpfx)syscall-list.d.
48356 (generated): Change syscall-list.h and syscall-list.d to
48357 bits/syscall.h and bits/syscall.d.
48358
bb4e6db2
RM
483592012-03-14 Roland McGrath <roland@hack.frob.com>
48360
48361 [BZ #13846]
48362 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48363
aa4a2ae1
JM
483642012-03-14 Joseph Myers <joseph@codesourcery.com>
48365
e456826d
JM
48366 [BZ #13841]
48367 * math/s_csqrt.c: Include <float.h>.
48368 (__csqrt): Scale large or subnormal inputs.
48369 * math/s_csqrtf.c: Likewise.
48370 * math/s_csqrtl.c: Likewise.
48371 * math/libm-test.inc (csqrt_test): Add more tests.
48372 * sysdeps/i386/fpu/libm-test-ulps: Update.
48373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48374
aa4a2ae1
JM
48375 [BZ #13840]
48376 * math/libm-test.inc (hypot_test): Add more tests.
48377
7c10fd35
DM
483782012-03-13 David S. Miller <davem@davemloft.net>
48379
48380 [BZ #13840]
48381 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48382 double-precision for the calculation instead of scaling.
48383
f453b98b
JM
483842012-03-13 Joseph Myers <joseph@codesourcery.com>
48385
48386 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48387 manipulate bits before adding and subtracting TWO52[sx].
48388 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48389 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48390 Likewise.
48391 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48392
09a3453f
DM
483932012-03-13 David S. Miller <davem@davemloft.net>
48394
8e59da90
DM
48395 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48396 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48398 rtld-global-offsets.h
48399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48400
2a8ab7f2
DM
48401 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48402 large parameters.
48403
10f62770
DM
48404 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48405
5f0bdb18
DM
48406 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48407 'err' in the ifdef scope in which it is actually used.
48408
09a3453f
DM
48409 * nss/nss_db/db-init.c: Include string.h
48410
b4b2eb5e
DM
484112012-03-12 David S. Miller <davem@davemloft.net>
48412
98bb2f1c
DM
48413 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48414 masking out of the most significant byte of random value used.
48415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48416 Fix coding style in previous change.
48417
b4b2eb5e
DM
48418 * sysdeps/unix/sysv/linux/kernel-features.h
48419 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48420 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48421 expression.
48422 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48423 later.
48424
6e226b09
DM
484252012-03-11 David S. Miller <davem@davemloft.net>
48426
a1bcbd40
DM
48427 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48428 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48429 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48430 for 'resultvar' otherwise things get truncated on 64-bit.
48431
cb9d6174
DM
48432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48433 Fix masking out of the most significant byte of random value used.
48434
6e226b09
DM
48435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48436
058c132d
AS
484372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48438
48439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48440
2d2cd515
DM
484412012-03-09 David S. Miller <davem@davemloft.net>
48442
48443 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48444 variables with appropriate CPP guards.
57f41c40
AS
48445 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48446 from the frame pointer, not the stack pointer. Correct layout
48447 comments. Fix test on resulting framesize and the management of
48448 the outregs buffer for pltexit. Preserve floating point return
48449 values across _dl_call_pltexit call.
2d2cd515
DM
48450 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48451 framesize and the management of the outregs buffer for pltexit.
48452 Preserve floating point return values across _dl_call_pltexit
48453 call.
57f41c40
AS
48454 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48455 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48456 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48457 (print_exit): Fix format string for return register value.
48458
9a07f9d0
JM
484592012-03-10 Joseph Myers <joseph@codesourcery.com>
48460
48461 * sunrpc/Makefile (others): Add rpcgen.
48462 ($(objpfx)rpcgen): Remove special build rule and dependency on
48463 libc.
48464 * sunrpc/rpcgen.c: New file.
48465
547b5e30
PE
484662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48467
c524201a
PE
48468 [BZ #13673]
48469 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48470 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48471 * sysdeps/i386/crti.S: Likewise.
48472 * sysdeps/i386/crtn.S: Likewise.
48473 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48474 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48475 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48476 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48477 * sysdeps/sh/crti.S: Likewise.
48478 * sysdeps/sh/crtn.S: Likewise.
48479 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48480
7b6235f2
PE
48481 [BZ #13673]
48482 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48483 with URL.
48484 * locale/programs/locfile-kw.gperf: Likewise.
48485 * locale/programs/charmap-kw.h: Regenerated.
48486 * locale/programs/locfile-kw.h: Likewise.
48487
547b5e30
PE
48488 [BZ #13673]
48489 * intl/plural.y: Replace FSF snail mail address with URL.
48490 * intl/plural.c: Regenerated.
48491
5f0a5dae
RH
484922012-03-09 Richard Henderson <rth@twiddle.net>
48493
48494 * include/math_private.h: Remove file.
48495 * math/math_private.h: Move file ...
48496 * sysdeps/generic/math_private.h: ... here.
48497
b8c03620
RH
48498 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48499 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48500 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48501
4e234f5d 48502 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48503 and <math_private.h>.
48504 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48505 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48506 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48507 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48508 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48509 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48510 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48512 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48513 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48519 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48521 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48523 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48525 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48526 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48528 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48533 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48536 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48547 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48548 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48549 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48550 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48551 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48552 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48553 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48554 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48555 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48556 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48557 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48558 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48559 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48560 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48561 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48563 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48565 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48567 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48568 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48569 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48570 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48572 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48573 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48574 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48575 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48576 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48592 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48593 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48594 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48595 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48597 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48598 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48599 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48601 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48603 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48604 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48605 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48606 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48607 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48608 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48609 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48610 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48611 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48616 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48617 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48618 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48621 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48626 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48627 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48628 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48629 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48630 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48631 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48632 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48633 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48634 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48636 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48637 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48638 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48639 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48640 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48641 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48642 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48643 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48645 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48646 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48647 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48648 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48649 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48650 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48651 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48652 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48653 * sysdeps/ieee754/k_standard.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48666 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48667 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48668 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48671 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48674 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48675 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48679 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48681 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48682 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48684 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48685 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48687 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48688 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48689 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48691 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48692 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48693 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48695 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48697 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48702 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48704 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48705 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48706 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48707 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48710 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48711 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48712 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48715 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48716 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48720 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48721 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48722 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48723 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48726 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48727 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48728 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48731 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48764 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48770 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48781 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48782 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48784 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48785 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48786 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48787 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48788 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48789 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48790 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48791 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48793 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48794 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48795 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48796 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48797 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48798 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48799 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48800 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48802 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48803 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48805 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48809 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48810 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48811 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48813 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48814 * sysdeps/ieee754/s_lib_version.c: Likewise.
48815 * sysdeps/ieee754/s_matherr.c: Likewise.
48816 * sysdeps/ieee754/s_signgam.c: Likewise.
48817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48818 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48819 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48820 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48821 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48823 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48824 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48825 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48826 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48827 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48828 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48829 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48830 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48831 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48833 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48838
1991fa03
JM
488392012-03-09 Joseph Myers <joseph@codesourcery.com>
48840
48841 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48842 * sunrpc/rpc_main.c: Likewise.
48843 * sunrpc/rpc_svcout.c: Likewise.
48844
60d6f5a6
DM
488452012-03-09 David S. Miller <davem@davemloft.net>
48846
48847 * include/math_private.h: New file.
48848
4962050e
JM
488492012-03-09 Joseph Myers <joseph@codesourcery.com>
48850
02a6f887
JM
48851 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48852 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48853 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48854 from <bits/socket_type.h>.
48855 (enum __socket_type): Don't define here.
48856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48858 bits/socket_type.h.
48859
c6e013c1
JM
48860 [BZ #13566]
48861 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48862 checking __USE_GNU.
48863
4962050e
JM
48864 * Makerules ($(inst_includedir)/%.h): New rule.
48865 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48866 (install-others): Remove variable setting.
48867 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48868
38842f45
RH
488692012-03-08 Richard Henderson <rth@twiddle.net>
48870
67bb6da6
RH
48871 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48872 from macro to inline function; merge with the
48873 !__LIBC_INTERNAL_MATH_INLINES version.
48874 (__ieee754_sqrtf): Likewise.
48875
15194b4b
RH
48876 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48877 to inline function.
48878 (__rintf, __floor, __floorf): Likewise.
48879
64e21ede
RH
48880 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48881 macro to inline function.
48882 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48883
38842f45
RH
48884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48885 not <math/math_private.h>.
48886
c64bf5fe
DM
488872012-03-08 David S. Miller <davem@davemloft.net>
48888
48889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48890 copyright year.
48891 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48892
82d86f28
TS
488932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48894
48895 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48896 normalization.
48897 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48898 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48899
aea5d727
UD
489002012-03-08 Ulrich Drepper <drepper@gmail.com>
48901
48902 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48903 be defined individually, they must be defined as a block. Define
48904 S for printing a string instead of hidint the different by using a
48905 macro for adding the 'l'.
48906 * stdio-common/tst-fphex-wide.c: Adjust.
48907
70bca0a3
MP
489082012-03-07 Marek Polacek <polacek@redhat.com>
48909
48910 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48911
65b81130
MP
489122012-03-08 Marek Polacek <polacek@redhat.com>
48913
48914 [BZ #13806]
48915 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48916 * stdio-common/tst-fphex.c: Define a few macros to make the
48917 test reusable. Use them.
48918 * stdio-common/tst-fphex-wide.c: New file.
48919
07037eeb
JM
489202012-03-08 Joseph Myers <joseph@codesourcery.com>
48921
a7a93d50
JM
48922 [BZ #6911]
48923 * manual/macros.texi (gnusystems): New macro.
48924 (nongnusystems): Likewise.
48925 (gnulinuxhurdsystems): Likewise.
48926 (gnuhurdsystems): Likewise..
48927 (gnulinuxsystems): Likewise.
48928 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48929 variants of the GNU system, not "GNU system".
48930 * manual/conf.texi: Likewise.
48931 * manual/errno.texi: Likewise. Update example of errno macro
48932 expansion.
48933 * manual/filesys.texi: Likewise.
48934 (getumask): Document as specific to GNU/Hurd.
48935 * manual/install.texi: Likewise. Reword some references to
48936 GNU/Linux.
48937 * manual/intro.texi: Likewise.
48938 * manual/io.texi: Likewise.
48939 (File Name Portability): Detail which constraints are inapplicable
48940 to all GNU systems and which are only inapplicable to GNU/Hurd.
48941 * manual/job.texi: Likewise.
48942 * manual/llio.texi: Likewise.
48943 (O_NOCTTY): Document as present on GNU/Linux.
48944 * manual/maint.texi: Likewise.
48945 * manual/memory.texi: Likewise.
48946 * manual/pattern.texi: Likewise.
48947 * manual/pipe.texi: Likewise.
48948 * manual/process.texi: Likewise.
48949 * manual/resource.texi: Likewise.
48950 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48951 child on GNU/Hurd.
48952 * manual/setjmp.texi: Likewise.
48953 * manual/signal.texi: Likewise.
48954 * manual/startup.texi: Likewise.
48955 * manual/stdio.texi: Likewise.
48956 * manual/terminal.texi: Likewise.
48957 (ONLCR): Document as POSIX.
48958 (OXTABS): Document availability on GNU/Linux as XTABS.
48959 (ONOEOT): Document availability separately from other bits.
48960 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48961 * manual/time.texi: Likewise.
48962 * manual/users.texi: Likewise.
48963 * INSTALL: Regenerated.
48964 * sysdeps/gnu/errlist.c: Regenerated.
48965
07037eeb
JM
48966 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48967 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48968 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48969 puts.
48970 * configure: Regenerated.
48971
d1d3431a
JM
489722012-03-07 Joseph Myers <joseph@codesourcery.com>
48973
af6a1e37
JM
48974 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48975 default includes instead of AC_HEADER_CHECK.
48976 * sysdeps/i386/configure: Regenerated.
48977
d1d3431a
JM
48978 [BZ #10716]
48979 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48980 * math/s_cacoshf.c (__cacoshf): Likewise.
48981 * math/s_cacoshl.c (__cacoshl): Likewise.
48982 * math/s_casinh.c (__casinh): Set signs of result from argument.
48983 * math/s_casinhf.c (__casinhf): Likewise.
48984 * math/s_casinhl.c (__casinhl): Likewise.
48985 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48986 (casinh_test): Add more tests.
48987 * sysdeps/i386/fpu/libm-test-ulps: Update.
48988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48989
482ff4da
UD
489902012-03-07 Ulrich Drepper <drepper@gmail.com>
48991
872fda05
UD
48992 * po/zh_TW.po: Update from translation team.
48993
a4300c7a
UD
48994 * login/Makefile (distribute): Remove variable.
48995 * catgets/Makefile: Likewise.
48996 * mach/Makefile: Likewise.
48997 * malloc/Makefile: Likewise.
48998 * misc/Makefile: Likewise.
48999 * iconv/Makefile: Likewise.
49000 * nscd/Makefile: Likewise.
49001 * hurd/Makefile: Likewise.
49002 * manual/Makefile: Likewise.
49003 * locale/Makefile: Likewise.
49004 * intl/Makefile: Likewise.
49005 * conform/Makefile: Likewise.
49006 * nss/Makefile: Likewise.
49007 * time/Makefile: Likewise.
49008 * soft-fp/Makefile: Likewise.
49009 * dirent/Makefile: Likewise.
49010 * gmon/Makefile: Likewise.
49011 * po/Makefile: Likewise.
49012 * rt/Makefile: Likewise.
49013 * socket/Makefile: Likewise.
49014 * math/Makefile: Likewise.
49015 * signal/Makefile: Likewise.
49016 * debug/Makefile: Likewise.
49017 * elf/Makefile: Likewise.
49018 * timezone/Makefile: Likewise.
49019 * stdlib/Makefile: Likewise.
49020 * iconvdata/Makefile: Likewise.
49021 * sunrpc/Makefile: Likewise.
49022 * io/Makefile: Likewise.
49023 * argp/Makefile: Likewise.
49024 * inet/Makefile: Likewise.
49025 * hesiod/Makefile: Likewise.
49026 * grp/Makefile: Likewise.
49027 * csu/Makefile: Likewise.
49028 * wctype/Makefile: Likewise.
49029 * crypt/Makefile: Likewise.
49030 * libio/Makefile: Likewise.
49031 * string/Makefile: Likewise.
49032 * nis/Makefile: Likewise.
49033 * resolv/Makefile: Likewise.
49034 * stdio-common/Makefile: Likewise.
49035 * wcsmbs/Makefile: Likewise.
49036 * dlfcn/Makefile: Likewise.
49037 * posix/Makefile: Likewise.
49038
3b7c4e74 49039 [BZ #6959]
482ff4da
UD
49040 * timezone/Makefile: Don't install timezone files, just the programs
49041 and scripts.
49042
f72ed77d
UD
490432012-03-06 Ulrich Drepper <drepper@gmail.com>
49044
a000466f
UD
49045 * nss/databases.def: Add missing gshadow entry.
49046
f72ed77d
UD
49047 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49048
a53b7a4e
MP
490492012-03-06 Marek Polacek <polacek@redhat.com>
49050
49051 [BZ #13726]
49052 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49053 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49054 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49055 * stdio-common/tst-long-dbl-fphex.c: New file.
49056
e9258400
DM
490572012-03-06 David S. Miller <davem@davemloft.net>
49058
49059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49060 (set_obp_int): New function.
49061 (get_obp_int): New function.
49062 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
49063 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49064 Avoid unused variable warnings on 'val' and use builtin_expect.
49065 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49066 __builtin_expect.
e9258400
DM
49067 (INLINE_CLONE_SYSCALL): Likewise.
49068
3bd2c723
DM
490692012-03-05 David S. Miller <davem@davemloft.net>
49070
49071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49072
bbb78d03
AS
490732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49074
884c5db4
AS
49075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49076
bbb78d03
AS
49077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49078 only for |x| >= 40.
49079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49080
1c9f702a 490812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49082
49083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49084 Replace gettimeofday with __vdso_gettimeofday.
49085
7be16f82
RM
49086 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49087 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49088 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49089
49090 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49091 time with __vdso_time.
49092
ed58a00f
JM
490932012-03-05 Joseph Myers <joseph@codesourcery.com>
49094
49095 * manual/lang.texi (size_t): Note types to which size_t may be
49096 equivalent with the GNU C Library, but do not describe when
49097 differences between them are significant.
49098
30ee4ced
AJ
490992012-03-05 Andreas Jaeger <aj@suse.de>
49100
49101 * sysdeps/i386/fpu/libm-test-ulps: Update.
49102
b7cd39e8
JM
491032012-03-05 Joseph Myers <joseph@codesourcery.com>
49104
49105 [BZ #3976]
49106 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49107 (__ieee754_pow): Save and restore rounding mode and use
49108 round-to-nearest for main computations.
49109 * math/libm-test.inc (pow_test_tonearest): New function.
49110 (pow_test_towardzero): Likewise.
49111 (pow_test_downward): Likewise.
49112 (pow_test_upward): Likewise.
49113 (main): Call the new functions.
49114 * sysdeps/i386/fpu/libm-test-ulps: Update.
49115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49116
49117 [BZ #3976]
49118 * math/libm-test.inc (cosh_test_tonearest): New function.
49119 (cosh_test_towardzero): Likewise.
49120 (cosh_test_downward): Likewise.
49121 (cosh_test_upward): Likewise.
49122 (sinh_test_tonearest): Likewise.
49123 (sinh_test_towardzero): Likewise.
49124 (sinh_test_downward): Likewise.
49125 (sinh_test_upward): Likewise.
49126 (main): Call the new functions.
49127 * sysdeps/i386/fpu/libm-test-ulps: Update.
49128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49129
6c6a98c9
TV
491302012-03-05 Tom de Vries <tom@codesourcery.com>
49131
49132 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49133 default stack guard is set in last bytes.
49134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49135
21bb2d2e 491362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49137
21bb2d2e 49138 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49139
21bb2d2e
AJ
49140 [BZ #13656]
49141 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49142 possibly allocate from heap instead of stack.
49143 * stdio-common/bug-vfprintf-nargs.c: New file.
49144 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49145
c6922934
AS
491462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49147
49148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49149
bc957d53
MP
491502012-03-03 Marek Polacek <polacek@redhat.com>
49151
49152 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49153 * math/math_private.h: Likewise.
49154 * stdlib/tst-strtod.c: Likewise.
49155 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49156 * sysdeps/x86_64/bits/atomic.h: Likewise.
49157
6358490d
DM
491582012-03-02 David S. Miller <davem@davemloft.net>
49159
49160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49164 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49165 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49166 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49167 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49168
01ae168d
RM
491692012-03-02 Roland McGrath <roland@hack.frob.com>
49170
d9a17c07
RM
49171 [BZ #13792]
49172 * manual/examples/README: New file, says the example source files
49173 can be used under GPL>=2.
49174 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49175 line containing just "*/".
49176 * manual/examples/add.c: Add copyright header (GPL>=2).
49177 * manual/examples/argp-ex1.c: Likewise.
49178 * manual/examples/argp-ex2.c: Likewise.
49179 * manual/examples/argp-ex3.c: Likewise.
49180 * manual/examples/argp-ex4.c: Likewise.
49181 * manual/examples/atexit.c: Likewise.
49182 * manual/examples/db.c: Likewise.
49183 * manual/examples/dir.c: Likewise.
49184 * manual/examples/dir2.c: Likewise.
49185 * manual/examples/execinfo.c: Likewise.
49186 * manual/examples/filecli.c: Likewise.
49187 * manual/examples/filesrv.c: Likewise.
49188 * manual/examples/fmtmsgexpl.c: Likewise.
49189 * manual/examples/genpass.c: Likewise.
49190 * manual/examples/inetcli.c: Likewise.
49191 * manual/examples/inetsrv.c: Likewise.
49192 * manual/examples/isockad.c: Likewise.
49193 * manual/examples/longopt.c: Likewise.
49194 * manual/examples/memopen.c: Likewise.
49195 * manual/examples/memstrm.c: Likewise.
49196 * manual/examples/mkfsock.c: Likewise.
49197 * manual/examples/mkisock.c: Likewise.
49198 * manual/examples/mygetpass.c: Likewise.
49199 * manual/examples/pipe.c: Likewise.
49200 * manual/examples/popen.c: Likewise.
49201 * manual/examples/rprintf.c: Likewise.
49202 * manual/examples/search.c: Likewise.
49203 * manual/examples/select.c: Likewise.
49204 * manual/examples/setjmp.c: Likewise.
49205 * manual/examples/sigh1.c: Likewise.
49206 * manual/examples/sigusr.c: Likewise.
49207 * manual/examples/stpcpy.c: Likewise.
49208 * manual/examples/strdupa.c: Likewise.
49209 * manual/examples/strftim.c: Likewise.
49210 * manual/examples/strncat.c: Likewise.
49211 * manual/examples/subopt.c: Likewise.
49212 * manual/examples/swapcontext.c: Likewise.
49213 * manual/examples/termios.c: Likewise.
49214 * manual/examples/testopt.c: Likewise.
49215 * manual/examples/testpass.c: Likewise.
49216 * manual/examples/timeval_subtract.c: Likewise.
49217
01ae168d
RM
49218 [BZ #13792]
49219 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49220 function to ...
49221 * manual/timeval_subtract.c.texi: ... here, new file.
49222
49efa33d
DM
492232012-03-02 David S. Miller <davem@davemloft.net>
49224
49225 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49226
28afd92d
JM
492272012-03-02 Joseph Myers <joseph@codesourcery.com>
49228
804360ed
JM
49229 [BZ #3976]
49230 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49231 (__sin): Save and restore rounding mode and use round-to-nearest
49232 for all computations.
49233 (__cos): Save and restore rounding mode and use round-to-nearest
49234 for all computations.
49235 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49236 <fenv.h>.
49237 (tan): Save and restore rounding mode and use round-to-nearest for
49238 all computations.
49239 * math/libm-test.inc (cos_test_tonearest): New function.
49240 (cos_test_towardzero): Likewise.
49241 (cos_test_downward): Likewise.
49242 (cos_test_upward): Likewise.
49243 (sin_test_tonearest): Likewise.
49244 (sin_test_towardzero): Likewise.
49245 (sin_test_downward): Likewise.
49246 (sin_test_upward): Likewise.
49247 (tan_test_tonearest): Likewise.
49248 (tan_test_towardzero): Likewise.
49249 (tan_test_downward): Likewise.
49250 (tan_test_upward): Likewise.
49251 (main): Call the new functions.
49252 * sysdeps/i386/fpu/libm-test-ulps: Update.
49253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49254
a6d06d7b
JM
49255 [BZ #10135]
49256 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49257 small n, then large n, before computing and testing k+n.
49258 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49260 Likewise.
49261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49262 Likewise.
49263 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49264 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49271 * math/libm-test.inc (scalbn_test): Add more tests.
49272 (scalbln_test): Likewise.
49273
07e12bb3
JM
49274 * manual/filesys.texi (mode_t): Describe constraints on size and
49275 signedness, not exact equivalence to a particular type.
49276 (ino_t): Likewise.
49277 (ino64_t): Likewise.
49278 (dev_t): Likewise.
49279 (nlink_t): Likewise.
49280 (blkcnt_t): Likewise.
49281 (blkcnt64_t): Likewise.
49282 * manual/llio.texi (off_t): Likewise.
49283
28afd92d
JM
49284 [BZ #3976]
49285 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49286 (__ieee754_exp): Save and restore rounding mode and use
49287 round-to-nearest for all computations.
49288 * math/libm-test.inc (exp_test_tonearest): New function.
49289 (exp_test_towardzero): Likewise.
49290 (exp_test_downward): Likewise.
49291 (exp_test_upward): Likewise.
49292 (main): Call the new functions.
49293 * sysdeps/i386/fpu/libm-test-ulps: Update.
49294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49295
b1eeb65d
CD
492962012-03-01 Chris Demetriou <cgd@google.com>
49297
49298 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49299 have predictable order.
49300
53362a4b
DM
493012012-03-01 David S. Miller <davem@davemloft.net>
49302
3c969083
DM
49303 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49304
759707de
DM
49305 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49306 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49307 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49308 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49309
dfdb8ff2
DM
49310 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49311 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49312 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49314 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49315 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49316 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49317 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49318 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49319
ead89f96
DM
49320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49321
7f66bd07
DM
49322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49323 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49324 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49325
53362a4b
DM
49326 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49327 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49328 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49329 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49330 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49333 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49334 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49335 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49336 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49339 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49340 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49342 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49343 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49344 * sysdeps/sparc/elf/configure: Regenerated.
49345
7b1902cb
JM
493462012-03-01 Joseph Myers <joseph@codesourcery.com>
49347
bec039bc
JM
49348 * configure.in (AS, LD): Require binutils 2.20 or later.
49349 * configure: Regenerated.
49350 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49351 as required minimum version.
49352 * INSTALL: Regenerated.
49353
7b1902cb
JM
49354 [BZ #2541]
49355 [BZ #4108]
49356 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49357 before squaring exponent.
49358 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49359 bottom long double and 27 bits of top long double before squaring
49360 exponent.
49361 * math/libm-test.inc (erfc_test): Add more tests.
49362 * sysdeps/i386/fpu/libm-test-ulps: Update.
49363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49365
f775c276
KT
493662012-03-01 Kai Tietz <ktietz@redhat.com>
49367
49368 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49369 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49370 containing bit-fields.
49371 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49372 * soft-fp/single.h (_FP_UNION_S): Likewise.
49373 * soft-fp/double.h (_FP_UNION_D): Likewise.
49374
5b8a4d4a
JM
493752012-02-29 Joseph Myers <joseph@codesourcery.com>
49376
0bab47b6
JM
49377 [BZ #13786]
49378 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49379 not include ../strcmp.S.
49380 [USE_AS_STRNCASECMP_L]: Likewise.
49381 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49382 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49383 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49384 (__strncasecmp_l_ia32): Define as alias to
49385 __strncasecmp_l_nonascii.
49386
0fcad3e2
JM
49387 [BZ #5794]
49388 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49389 * sysdeps/i386/fpu/libm-test-ulps: Update.
49390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49391
5b8a4d4a
JM
49392 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49394
8fdceb2e
JL
493952012-02-29 Jeff Law <law@redhat.com>
49396
49397 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49398 out of bounds read.
49399
1f393a11
MP
494002012-02-29 Marek Polacek <polacek@redhat.com>
49401
49402 [BZ #13706]
49403 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49404 * elf/Makefile: Add rules to run tst-unused-dep.out.
49405
8847f037
DM
494062012-02-28 David S. Miller <davem@davemloft.net>
49407
49408 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49409 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49412 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49413 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49414
169d7f11
JM
494152012-02-29 Joseph Myers <joseph@codesourcery.com>
49416
49417 * math/libm-test.inc (llround_test): Move one test from
49418 lround_test. Use TEST_f_L in moved test.
49419 (lround_test): Move misplaced test to llround_test. Add testcase
49420 from bug 2561.
49421
39adf059
UD
494222012-02-28 Ulrich Drepper <drepper@gmail.com>
49423
49424 * sysdeps/x86_64/fpu/e_expf.S: New file.
49425 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49426
71b5d1c5
SB
494272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49428
49429 [BZ #13637]
49430 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49431 of remain_len that may cause incomplete multi-byte character and
49432 false match.
49433 * posix/bug-regex33.c: New file.
49434 * posix/Makefile (tests): Add bug-regex33.
49435
1f77f049
JM
494362012-02-28 Joseph Myers <joseph@codesourcery.com>
49437
49438 * manual/macros.texi: New file.
49439 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49440 * manual/libc.texinfo: Include macros.texi.
49441 * manual/creatute.texi: Likewise.
49442 * manual/install.texi: Likewise.
49443 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49444 @glibcadj{} in references to the GNU C Library.
49445 * manual/charset.texi: Likewise.
49446 * manual/conf.texi: Likewise.
49447 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49448 when not using those macros.
49449 * manual/creature.texi: Likewise.
49450 * manual/crypt.texi: Likewise.
49451 * manual/errno.texi: Likewise.
49452 * manual/filesys.texi: Likewise.
49453 * manual/header.texi: Likewise.
49454 * manual/install.texi: Likewise.
49455 * manual/intro.texi: Likewise.
49456 * manual/io.texi: Likewise.
49457 * manual/job.texi: Likewise.
49458 * manual/lang.texi: Likewise.
49459 * manual/libc.texiinfo: Likewise.
49460 * manual/llio.texi: Likewise.
49461 * manual/locale.texi: Likewise.
49462 * manual/maint.texi: Likewise.
49463 * manual/math.texi: Likewise.
49464 * manual/memory.texi: Likewise.
49465 * manual/message.texi: Likewise.
49466 * manual/nss.texi: Likewise.
49467 * manual/pattern.texi: Likewise.
49468 * manual/process.texi: Likewise.
49469 * manual/resource.texi: Likewise.
49470 * manual/search.texi: Likewise.
49471 * manual/setjmp.texi: Likewise.
49472 * manual/signal.texi: Likewise.
49473 * manual/socket.texi: Likewise.
49474 * manual/startup.texi: Likewise.
49475 * manual/stdio.texi: Likewise.
49476 * manual/string.texi: Likewise.
49477 * manual/sysinfo.texi: Likewise.
49478 * manual/syslog.texi: Likewise.
49479 * manual/terminal.texi: Likewise.
49480 * manual/time.texi: Likewise.
49481 * manual/users.texi: Likewise.
49482 * INSTALL: Regenerated.
49483 * NOTES: Regenerated.
d40c5d54 49484 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49485
450bf206
AS
494862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49487
49488 * include/dirent.h: Include <dirstream.h> before
49489 <dirent/dirent.h>.
49490
741a235b
DM
494912012-02-28 David S. Miller <davem@davemloft.net>
49492
49493 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49494 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49495 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49496 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49497
d6b5aa58
DM
494982012-02-27 David S. Miller <davem@davemloft.net>
49499
1aff59a3
DM
49500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49502 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49503 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49504
d6b5aa58
DM
49505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49506 frame pointer instead of stack pointer relative arg slot.
49507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49508 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49509 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49510
433f48bf
CD
495112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49512
49513 [BZ #3992]
49514 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49515
d674b76d
DM
495162012-02-27 David S. Miller <davem@davemloft.net>
49517
49518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49524 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49526
0e7727f7
JM
495272012-02-27 Joseph Myers <joseph@codesourcery.com>
49528
49529 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49530 later. Allow versions 5-9.
43be4ca2 49531 * configure: Regenerated.
0e7727f7
JM
49532 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49533 required minimum version and 4.6 as recommended version. Do not
49534 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49535 * INSTALL: Regenerated.
0e7727f7 49536
a78bc654
DM
495372012-02-27 David S. Miller <davem@davemloft.net>
49538
428d5830
DM
49539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49543 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49544 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49545 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49546 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49547
a78bc654
DM
49548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49549 manipulate bits before adding and subtracting TWO112[sx].
49550 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49551
4579f81c
RM
495522012-02-27 Roland McGrath <roland@hack.frob.com>
49553
36c8acb4
RM
49554 [BZ #13775]
49555 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49556 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49557 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49558 being in POSIX, because they are in 1003.1-2008.
49559
84ad622b
RM
49560 * rt/tst-aio.c: Include <fcntl.h>.
49561 * rt/tst-aio7.c: Likewise.
49562 * rt/tst-aio64.c: Likewise.
49563
4579f81c
RM
49564 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49565
abd923db
JM
495662012-02-27 Joseph Myers <joseph@codesourcery.com>
49567
49568 * manual/install.texi (--with-headers): Describe headers as
49569 interface headers, not private headers.
49570 (Specific advice for GNU/Linux systems): Describe use of headers
49571 from "make headers_install", not private headers from older
49572 kernels.
43be4ca2 49573 * INSTALL: Regenerated.
abd923db
JM
49574 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49575 Change to 2.6.19.
49576 * sysdeps/unix/sysv/linux/configure: Regenerated.
49577
6664049b
JM
49578 * manual/llio.texi (fclean): Remove documentation.
49579
bb8b6697
JM
49580 * manual/Makefile (libc-texi-generated): New variable. Include
49581 version.texi.
49582 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49583 $(libc-texi-generated), not duplicated list of files.
49584 (version.texi, stamp-version): New rules.
49585 (realclean): Remove $(libc-texi-generated), not individual files
49586 from that list. Do not remove dir-add.texinfo.
49587 * manual/libc.texinfo: Comment out uses of edition numbers and
49588 references to printed manual. Remove last-updated dates.
49589 (EDITION): Comment out.
49590 (ISBN): Likewise.
49591 (VERSION, UPDATED): Remove.
49592 (version.texi): Include.
49593
12e5c3b9
AS
495942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49595
49596 * sysdeps/posix/spawni.c: Include <signal.h>.
49597 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49598 * sysdeps/pthread/aio_fsync.c: Likewise.
49599
4efeffc1 496002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49601
ba63ba08
UD
49602 * conform/Makefile (tests): Run only when not cross-compiling and
49603 when fast-check is not defined.
49604
d94a4670
UD
49605 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49606 * conform/data/limits.h-data: Fixes for POSIX2008.
49607 * conform/run-conformtest.sh: Run all tests.
49608 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49609 headers.
49610 * include/bits/dlfcn.h: Likewise.
49611 * include/langinfo.h: Likewise.
49612 * include/monetary.h: Likewise.
49613 * include/sys/poll.h: Likewise.
49614
49615 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49616 for __USE_GNU.
49617 * posix/spawn.h: Define __need_sigset_t.
49618 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49619 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49620 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49621 to get sigevent_t only.
49622 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49623 only for __USE_GNU.
49624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49625 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49626 process_vm_writev only for __USE_GNU.
49627 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49628
49629 * conform/Makefile: For now ignore errors from run-conformtest.
49630 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49631 POSIX to avoid namespace pollution. Don't prepend headers.
49632 * conform/data/aio.h-data: Fixes for POSIX testing.
49633 * conform/data/fcntl.h-data: Likewise.
49634 * conform/data/glob.h-data: Likewise.
49635 * conform/data/grp.h-data: Likewise.
49636 * conform/data/pthread.h-data: Likewise.
49637 * conform/data/pwd.h-data: Likewise.
49638 * conform/data/signal.h-data: Likewise.
49639 * conform/data/spawn.h-data: Likewise.
49640 * conform/data/stdio.h-data: Likewise.
49641 * conform/data/stdlib.h-data: Likewise.
49642 * conform/data/stropts.h-data: Likewise.
49643 * conform/data/sys/mman.h-data: Likewise.
49644 * conform/data/sys/stat.h-data: Likewise.
49645 * conform/data/sys/types.h-data: Likewise.
49646 * conform/data/sys/wait.h-data: Likewise.
49647 * conform/data/time.h-data: Likewise.
49648 * conform/data/unistd.h-data: Likewise.
49649 * conform/data/utime.h-data: Likewise.
49650
49651 * io/sys/stat.h: fchmod was always in POSIX.
49652 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49653 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49654 * rt/aio.h: Define __need_timespec before including <time.h>.
49655 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49656 struct. Add forward declaration of pthread_attr_t and use it in
49657 sigevent.
49658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49660 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49661 always remove CLK_TCK definition.
49662
c20105c3
AS
496632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49664
49665 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49666
7a270350
UD
496672012-02-25 Ulrich Drepper <drepper@gmail.com>
49668
31341567
UD
49669 * conform/run-conformtest.sh: New file.
49670 * conform/Makefile: Run run-conformtest for tests.
49671 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49672 support.
49673
49674 * conform/data/uchar.h-data: New file.
49675 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49676 * conform/data/arpa/inet.h-data: Likewise.
49677 * conform/data/assert.h-data: Likewise.
49678 * conform/data/complex.h-data: Likewise.
49679 * conform/data/cpio.h-data: Likewise.
49680 * conform/data/ctype.h-data: Likewise.
49681 * conform/data/dirent.h-data: Likewise.
49682 * conform/data/dlfcn.h-data: Likewise.
49683 * conform/data/errno.h-data: Likewise.
49684 * conform/data/fcntl.h-data: Likewise.
49685 * conform/data/float.h-data: Likewise.
49686 * conform/data/fmtmsg.h-data: Likewise.
49687 * conform/data/fnmatch.h-data: Likewise.
49688 * conform/data/ftw.h-data: Likewise.
49689 * conform/data/glob.h-data: Likewise.
49690 * conform/data/grp.h-data: Likewise.
49691 * conform/data/iconv.h-data: Likewise.
49692 * conform/data/inttypes.h-data: Likewise.
49693 * conform/data/langinfo.h-data: Likewise.
49694 * conform/data/libgen.h-data: Likewise.
49695 * conform/data/limits.h-data: Likewise.
49696 * conform/data/locale.h-data: Likewise.
49697 * conform/data/math.h-data: Likewise.
49698 * conform/data/monetary.h-data: Likewise.
49699 * conform/data/mqueue.h-data: Likewise.
49700 * conform/data/ndbm.h-data: Likewise.
49701 * conform/data/net/if.h-data: Likewise.
49702 * conform/data/netdb.h-data: Likewise.
49703 * conform/data/netinet/in.h-data: Likewise.
49704 * conform/data/nl_types.h-data: Likewise.
49705 * conform/data/poll.h-data: Likewise.
49706 * conform/data/pthread.h-data: Likewise.
49707 * conform/data/pwd.h-data: Likewise.
49708 * conform/data/regex.h-data: Likewise.
49709 * conform/data/sched.h-data: Likewise.
49710 * conform/data/search.h-data: Likewise.
49711 * conform/data/semaphore.h-data: Likewise.
49712 * conform/data/setjmp.h-data: Likewise.
49713 * conform/data/signal.h-data: Likewise.
49714 * conform/data/spawn.h-data: Likewise.
49715 * conform/data/stdarg.h-data: Likewise.
49716 * conform/data/stdio.h-data: Likewise.
49717 * conform/data/stdlib.h-data: Likewise.
49718 * conform/data/string.h-data: Likewise.
49719 * conform/data/strings.h-data: Likewise.
49720 * conform/data/stropts.h-data: Likewise.
49721 * conform/data/sys/ipc.h-data: Likewise.
49722 * conform/data/sys/mman.h-data: Likewise.
49723 * conform/data/sys/msg.h-data: Likewise.
49724 * conform/data/sys/resource.h-data: Likewise.
49725 * conform/data/sys/select.h-data: Likewise.
49726 * conform/data/sys/sem.h-data: Likewise.
49727 * conform/data/sys/shm.h-data: Likewise.
49728 * conform/data/sys/socket.h-data: Likewise.
49729 * conform/data/sys/stat.h-data: Likewise.
49730 * conform/data/sys/statvfs.h-data: Likewise.
49731 * conform/data/sys/time.h-data: Likewise.
49732 * conform/data/sys/timeb.h-data: Likewise.
49733 * conform/data/sys/times.h-data: Likewise.
49734 * conform/data/sys/types.h-data: Likewise.
49735 * conform/data/sys/uio.h-data: Likewise.
49736 * conform/data/sys/un.h-data: Likewise.
49737 * conform/data/sys/utsname.h-data: Likewise.
49738 * conform/data/sys/wait.h-data: Likewise.
49739 * conform/data/syslog.h-data: Likewise.
49740 * conform/data/tar.h-data: Likewise.
49741 * conform/data/termios.h-data: Likewise.
49742 * conform/data/utime.h-data: Likewise.
49743 * conform/data/utmpx.h-data: Likewise.
49744 * conform/data/varargs.h-data: Likewise.
49745 * conform/data/wchar.h-data: Likewise.
49746 * conform/data/wctype.h-data: Likewise.
49747 * conform/data/wordexp.h-data: Likewise.
49748
49749 * include/stropts.h: New file.
49750 * include/uchar.h: New file.
49751 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49752 * include/assert.h: Likewise.
49753 * include/ctype.h: Likewise.
49754 * include/dirent.h: Likewise.
49755 * include/dlfcn.h: Likewise.
49756 * include/fcntl.h: Likewise.
49757 * include/fnmatch.h: Likewise.
49758 * include/glob.h: Likewise.
49759 * include/grp.h: Likewise.
49760 * include/libio.h: Likewise.
49761 * include/locale.h: Likewise.
49762 * include/math.h: Likewise.
49763 * include/net/if.h: Likewise.
49764 * include/netdb.h: Likewise.
49765 * include/netinet/in.h: Likewise.
49766 * include/pthread.h: Likewise.
49767 * include/pwd.h: Likewise.
49768 * include/regex.h: Likewise.
49769 * include/sched.h: Likewise.
49770 * include/search.h: Likewise.
49771 * include/setjmp.h: Likewise.
49772 * include/signal.h: Likewise.
49773 * include/stdio.h: Likewise.
49774 * include/stdlib.h: Likewise.
49775 * include/string.h: Likewise.
49776 * include/sys/cdefs.h: Likewise.
49777 * include/sys/mman.h: Likewise.
49778 * include/sys/msg.h: Likewise.
49779 * include/sys/resource.h: Likewise.
49780 * include/sys/select.h: Likewise.
49781 * include/sys/socket.h: Likewise.
49782 * include/sys/stat.h: Likewise.
49783 * include/sys/statvfs.h: Likewise.
49784 * include/sys/time.h: Likewise.
49785 * include/sys/times.h: Likewise.
49786 * include/sys/uio.h: Likewise.
49787 * include/sys/utsname.h: Likewise.
49788 * include/sys/wait.h: Likewise.
49789 * include/termios.h: Likewise.
49790 * include/time.h: Likewise.
49791 * include/ulimit.h: Likewise.
49792 * include/unistd.h: Likewise.
49793 * include/utime.h: Likewise.
49794 * include/wchar.h: Likewise.
49795 * include/wctype.h: Likewise.
49796 * include/wordexp.h: Likewise.
49797
49798 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49799
7a270350
UD
49800 * time/time.h: TIME_UTC must be a macro.
49801 Make timespec_get available for ISO C11 only as well.
49802
7724defc
UD
498032012-02-24 Ulrich Drepper <drepper@gmail.com>
49804
49805 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49806 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49807
6b1d1d46
JM
498082012-02-24 Joseph Myers <joseph@codesourcery.com>
49809
49810 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49811
0f8bbd69
JM
498122012-02-24 Joseph Myers <joseph@codesourcery.com>
49813
49814 * manual/texinfo.tex: Update to version 2012-01-19.16.
49815
66ab80bc
JM
498162012-02-24 Joseph Myers <joseph@codesourcery.com>
49817
49818 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49819
74981cc5
RM
498202012-02-24 Roland McGrath <roland@hack.frob.com>
49821
ee968201
RM
49822 [BZ #13738]
49823 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49824 * manual/fdl-1.3.texi: New file.
49825 * manual/fdl-1.1.texi: File removed.
49826
74981cc5
RM
49827 [BZ #13738]
49828 * manual/libc.texinfo (FDL_VERSION): New @set.
49829 Use it for mention of FDL in cover text.
49830 (Documentation License): Use it in @include file name.
49831
7bb764bc
JM
498322012-02-22 Joseph Myers <joseph@codesourcery.com>
49833 Roland McGrath <roland@hack.frob.com>
49834
49835 [BZ #5461]
57f41c40
AS
49836 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49837 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49838 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49839 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49840 name.
49841 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49842
6cbeae47
JM
498432012-02-22 Joseph Myers <joseph@codesourcery.com>
49844
49845 [BZ #2547]
49846 [BZ #11365]
49847 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49848 manipulate bits before adding and subtracting TWO23[sx].
49849 * math/libm-test.inc (nearbyint_test): Add more tests.
49850
fe45ce09
JM
498512012-02-22 Joseph Myers <joseph@codesourcery.com>
49852
49853 [BZ #2548]
49854 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49855 bits before adding and subtracting TWO23[sx].
49856 * math/libm-test.inc (rint_test): Add more tests.
49857 (rint_test_tonearest): Likewise.
49858 (rint_test_towardzero): Likewise.
49859 (rint_test_downward): Likewise.
49860 (rint_test_upward: Likewise.
49861
ff3b3d82
JM
498622012-02-22 Joseph Myers <joseph@codesourcery.com>
49863
49864 [BZ #10110]
49865 * include/stdc-predef.h: New file. Extracted from features.h.
49866 * include/features.h: Include stdc-predef.h.
49867 * Makefile (headers): Add stdc-predef.h.
49868 * CONFORMANCE (Compiler limitations): Update.
49869
ef0aab35
JM
498702012-02-22 Joseph Myers <joseph@codesourcery.com>
49871
49872 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49873
58639409
DM
498742012-02-21 David S. Miller <davem@davemloft.net>
49875
49876 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49877 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49878
c0e70b25
DM
498792012-02-20 David S. Miller <davem@davemloft.net>
49880
49881 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49882 using a normal save/restore sequence, rather than allocating a
49883 dummy stack frame just to store a frame pointer and restore.
49884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49885
fb06851d
JM
498862012-02-21 Joseph Myers <joseph@codesourcery.com>
49887
49888 * manual/install.texi: Fix stray word in line-wrapped comment.
49889
7a8b71c3
DM
498902012-02-20 David S. Miller <davem@davemloft.net>
49891
d510c123
DM
49892 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49893 both binutils and gcc support GOTDATA.
49894
0722d7c2
DM
49895 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49896 "rd %pc" in the PIC register setup sequences.
49897
3d2b3019
DM
49898 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49899 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49900 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49901 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49902 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49907 (SYSCALL_ERROR_HANDLER): Likewise.
49908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49909 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49911 (SYSCALL_ERROR_HANDLER): Likewise.
49912
c80098a9
DM
49913 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49914 (HAVE_GCC_GOTDATA): New.
49915 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49916 relocation support in both binutils and gcc.
49917 * sysdeps/sparc/elf/configure: Regenerate.
49918
3a2545a0
DM
49919 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49920 * sysdeps/sparc/sparc32/elf/configure: Delete.
49921 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49922 * sysdeps/sparc/sparc64/elf/configure: Delete.
49923 * sysdeps/sparc/elf/configure.in: New file.
49924 * sysdeps/sparc/elf/configure: Generate.
49925
7a8b71c3
DM
49926 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49927 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49928 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49929 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49930 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49931
f1e86fca
JM
499322012-02-21 Joseph Myers <joseph@codesourcery.com>
49933
49934 * manual/install.texi: Do not mention specific glibc version
49935 numbers.
49936 * manual/libc.texinfo (VERSION, UPDATED): Update.
49937 (@copying): Use @copyright{} and range of years.
49938
0e7dfaef
JM
499392012-02-21 Joseph Myers <joseph@codesourcery.com>
49940
49941 [BZ #13695]
49942 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49943 [crti.S not in sysdirs] (generated): Do not append.
49944 [crti.S not in sysdirs] (omit-deps): Likewise.
49945 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49946 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49947 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49948 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49949 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49950 Likewise.
49951 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49952 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49953 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49954 * csu/defs.awk: Remove file.
49955 * sysdeps/generic/initfini.c: Likewise.
49956 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49957 variable.
49958 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49959 Likewise.
49960
599af3ca
JM
499612012-02-20 Joseph Myers <joseph@codesourcery.com>
49962
49963 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49964 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49965 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49968 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49969 <bits/epoll.h>.
49970 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49971 (__EPOLL_PACKED): Define to empty if not defined by
49972 <bits/epoll.h>.
49973 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49975 bits/epoll.h.
49976
0e499750
JM
499772012-02-20 Joseph Myers <joseph@codesourcery.com>
49978
49979 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49980 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49981 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49982 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49983 <bits/timerfd.h>.
49984 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49986 bits/timerfd.h.
49987
5ad91f6e
JM
499882012-02-20 Joseph Myers <joseph@codesourcery.com>
49989
49990 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49991 in C locale.
49992 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49993 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49996
06b99b02
AJ
499972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49998
49999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50000 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50001
7638c0fd
AS
500022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50003
50004 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50005 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50006 defined.
50007 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50008 Likewise.
50009 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50010 entry for 2.16.
50011
92221550
AJ
500122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50013
50014 * math/w_acos.c: Use non-signaling floating-point comparisons.
50015 * math/w_acosf.c: Likewise.
50016 * math/w_acosh.c: Likewise.
50017 * math/w_acoshf.c: Likewise.
50018 * math/w_acoshl.c: Likewise.
50019 * math/w_acosl.c: Likewise.
50020 * math/w_asin.c: Likewise.
50021 * math/w_asinf.c: Likewise.
50022 * math/w_asinl.c: Likewise.
50023 * math/w_atanh.c: Likewise.
50024 * math/w_atanhf.c: Likewise.
50025 * math/w_atanhl.c: Likewise.
50026 * math/w_exp2.c: Likewise.
50027 * math/w_exp2f.c: Likewise.
50028 * math/w_exp2l.c: Likewise.
50029 * math/w_j0.c: Likewise.
50030 * math/w_j0f.c: Likewise.
50031 * math/w_j0l.c: Likewise.
50032 * math/w_j1.c: Likewise.
50033 * math/w_j1f.c: Likewise.
50034 * math/w_j1l.c: Likewise.
50035 * math/w_jn.c: Likewise.
50036 * math/w_jnf.c: Likewise.
50037 * math/w_log.c: Likewise.
50038 * math/w_log10.c: Likewise.
50039 * math/w_log10f.c: Likewise.
50040 * math/w_log10l.c: Likewise.
50041 * math/w_log2.c: Likewise.
50042 * math/w_log2f.c: Likewise.
50043 * math/w_log2l.c: Likewise.
50044 * math/w_logf.c: Likewise.
50045 * math/w_logl.c: Likewise.
50046 * math/w_sqrt.c: Likewise.
50047 * math/w_sqrtf.c: Likewise.
50048 * math/w_sqrtl.c: Likewise.
50049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50050 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50051 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50052 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50053 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50054
ebaf36eb
JM
500552012-02-19 Joseph Myers <joseph@codesourcery.com>
50056
50057 [BZ #9739]
50058 * manual/string.texi (strnlen): Use correct parameter name in
50059 equivalent expression.
50060
71c254a6
JM
500612012-02-19 Joseph Myers <joseph@codesourcery.com>
50062
50063 [BZ #11174]
50064 * manual/users.texi (seteuid): Consistently use neweuid for
50065 argument name.
50066
16d2c631
JM
500672012-02-19 Joseph Myers <joseph@codesourcery.com>
50068
50069 [BZ #13704]
50070 * manual/nss.texi (Services in the NSS configuration): Correct
50071 list of services in example configuration file.
50072
cd837b09
NB
500732012-02-19 Nick Bowler <nbowler@draconx.ca>
50074
50075 [BZ #11322]
50076 * manual/arith.texi: Remove statements about negative zero
50077 behaving identically to zero.
50078
02c4bbad
JM
500792012-02-18 Joseph Myers <joseph@codesourcery.com>
50080
50081 [BZ #5993]
50082 * manual/install.texi: Do not document upgrading from libc5.
50083
366842e7
JM
500842012-02-18 Joseph Myers <joseph@codesourcery.com>
50085
50086 [BZ #4596]
50087 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50088
dd54084d
DM
500892012-02-18 David S. Miller <davem@davemloft.net>
50090
50091 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50092 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50093 %o7 across the call.
50094 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50095 instead.
50096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50097 SETUP_PIC_REG_LEAF.
50098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50099 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50100 * sysdeps/sparc/crtn.S: Likewise.
50101
2bcc53a3
UD
501022012-02-17 Ulrich Drepper <drepper@gmail.com>
50103
50104 * aout/Makefile: Remove.
50105
09c093b5
RK
501062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50107
50108 [BZ #13058]
50109 * manual/examples/argp-ex1.c (main): Format definition in GNU
50110 style.
50111 * manual/examples/argp-ex2.c (main): Likewise.
50112 * manual/examples/argp-ex3.c (main): Likewise.
50113 * manual/examples/argp-ex4.c (main): Likewise.
50114 * manual/examples/longopt.c (main): Use new-style prototype
50115 definition.
50116 * manual/examples/strncat.c (main): Specify return type and use
50117 (void) for arguments.
50118 * manual/examples/subopt.c (main): Use char **argv argument.
50119
2ee633a2
JM
501202012-02-17 Joseph Myers <joseph@codesourcery.com>
50121
50122 [BZ #5077]
50123 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50124 rounding modes.
50125
0520adde
FB
501262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50127
50128 [BZ #6907]
50129 * manual/string.texi (strchr): Change when strchrnul is
50130 recommended.
50131
3f4081cd
DGM
501322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50133
50134 [BZ #174]
50135 * manual/locale.texi (setlocale): Document LOCPATH.
50136
d1b10e78
JM
501372012-02-17 Joseph Myers <joseph@codesourcery.com>
50138
50139 [BZ #10210]
50140 * manual/process.texi (execle): Move @dots{} before last argument.
50141
79c6869c
PB
501422012-02-17 Paul Bolle <pebolle@tiscali.nl>
50143
50144 [BZ #12047]
50145 * manual/charset.texi (Generic Charset Conversion): Fix typo
50146 (LC_TYPE -> LC_CTYPE).
50147
cc6e48bc
NB
501482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50149
50150 [BZ #5805]
50151 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50152 (scalbnf): Likewise.
50153 (scalbnl): Likewise.
50154 (scalbln): Likewise.
50155 (scalblnf): Likewise.
50156 (scalblnl): Likewise.
50157 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50158 (vwarnx): Likewise.
50159 (verr): Likewise.
50160 (verrx): Likewise.
50161 * manual/filesys.texi (telldir): Use braces around return type.
50162 * manual/llio.texi (mmap): Add space after comma.
50163 (mmap64): Likewise.
50164 * manual/math.texi (jn): Use @var{} on parameter names.
50165 (jnf): Likewise.
50166 (jnl): Likewise.
50167 (yn): Likewise.
50168 (ynf): Likewise.
50169 (ynl): Likewise.
50170 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50171 line.
50172 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50173 "...".
50174 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50175 (sched_get_priority_max): Likewise.
50176 * manual/signal.texi (sigvec): Add space after comma.
50177 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50178 names.
50179 (if_indextoname): Likewise.
50180 (if_freenameindex): Likewise.
50181 (sendto): Use ',' instead of '.' in prototype.
50182 * manual/startup.texi (syscall): Use @dots{} instead of literal
50183 "...".
50184 * manual/stdio.texi (__fpending): Separate initial words of
50185 paragraph from @deftypefun line.
50186 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50187 "...".
50188 (vsyslog): Use @var{} on parameter names.
50189 * manual/terminal.texi (stty): Use @var{} on parameter names.
50190 * manual/users.texi (getutmp): Use @var{} on parameter names.
50191 (getutmpx): Likewise.
50192
5b23062f
JM
501932012-02-17 Joseph Myers <joseph@codesourcery.com>
50194
50195 [BZ #6884]
50196 * manual/stdio.texi (fopen): Fix typos in description of
50197 ",ccs=STRING".
50198
8dee4833
AJ
501992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50200
50201 [BZ #4026]
50202 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50203 get clock_id definition.
50204
9078ce93
TS
502052012-02-17 Thomas Schwinge <thomas@schwinge.name>
50206
50207 [BZ #4822]
50208 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50209 (madvise): Cast every argument to void on its own.
50210
3835c55f
JM
502112012-02-17 Joseph Myers <joseph@codesourcery.com>
50212
50213 [BZ #9902]
50214 * manual/startup.texi (Exit Status): Fix typo.
50215
35c47e37
JM
502162012-02-17 Joseph Myers <joseph@codesourcery.com>
50217
50218 [BZ #10140]
50219 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50220 * manual/examples/argp-ex2.c: Likewise.
50221 * manual/examples/argp-ex3.c: Likewise.
50222
e3b69ca7
RH
502232012-02-16 Richard Henderson <rth@redhat.com>
50224
50225 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50226 * sysdeps/s390/s390-32/initfini.c: Remove.
50227 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50228 * sysdeps/s390/s390-64/initfini.c: Remove.
50229
df83af67
KK
502302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50231
50232 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50233 compiler output for sysdeps/generic/initfini.c.
50234 * sysdeps/sh/elf/initfini.c: Remove file.
50235
f63f3380
DM
502362012-02-16 David S. Miller <davem@davemloft.net>
50237
fb59b3a4
DM
50238 [BZ #11494]
50239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50240
f63f3380
DM
50241 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50242 * sysdeps/sparc/crti.S: New file.
50243 * sysdeps/sparc/crtn.S: New file.
50244 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50245 * sysdeps/sparc/sparc64/Makefile: Likewise.
50246
df6a4a4a
MF
502472012-02-15 Mike Frysinger <vapier@gentoo.org>
50248
6dd8f3dc 50249 [BZ #3335]
df6a4a4a
MF
50250 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50251
1cac7236
RM
502522012-02-15 Roland McGrath <roland@hack.frob.com>
50253
d2c736f8
RM
50254 [BZ #4822]
50255 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50256
1cac7236
RM
50257 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50258 (write, read, close): Likewise.
50259 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50260
8e475601
JM
502612012-02-15 Joseph Myers <joseph@codesourcery.com>
50262
50263 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50264 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50265 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50266 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50267 <bits/signalfd.h>.
50268 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50270 bits/signalfd.h.
50271
ed656b40
MP
502722012-02-14 Marek Polacek <polacek@redhat.com>
50273
50274 * sysdeps/x86_64/crti.S: New file.
50275 * sysdeps/x86_64/crtn.S: New file.
50276 * sysdeps/x86_64/elf/initfini.c: Remove file.
50277
2a979d3a
JM
502782012-02-13 Joseph Myers <joseph@codesourcery.com>
50279
50280 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50281 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50282 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50283 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50284 <bits/inotify.h>.
50285 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50287 bits/inotify.h.
50288
2a418ac3
JM
502892012-02-13 Joseph Myers <joseph@codesourcery.com>
50290
50291 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50292 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50293 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50294 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50295 <bits/eventfd.h>.
50296 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50298 bits/eventfd.h.
50299
fb779be7
TS
503002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50301
e19e83c5
RM
50302 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50303 __feraiseexcept instead of feraiseexcept.
7c35ffed 50304
fb779be7
TS
50305 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50306 nanosleep invocations.
50307 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50308 strings, and add error checking for a nanosleep invocations.
50309
59ba27a6
PE
503102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50311
50312 Replace FSF snail mail address with URLs, as per GNU coding standards.
50313 Most of the snail mail addresses were wrong anyway, and omitting
50314 them makes the source code easier to maintain. Almost all of the
50315 changes are to license notices and to locale LC_IDENTIFICATION
50316 addresses, except for this one:
50317 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50318 not its snail mail address.
50319
57b957eb
RH
503202012-02-09 Richard Henderson <rth@twiddle.net>
50321
af850b1c
RH
50322 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50323 of kernel-features.h.
50324
57b957eb
RH
50325 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50326
6b73181a
MP
503272012-02-08 Marek Polacek <polacek@redhat.com>
50328
50329 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50330 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50331 * sysdeps/gnu/_G_config.h: Likewise.
50332 * sysdeps/generic/_G_config.h: Likewise.
50333
26ecc33a
AS
503342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50335
6c6dbc63
AS
50336 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50337 tests.
50338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50339
e216c012
AS
50340 * sysdeps/powerpc/powerpc32/crti.S: New file.
50341 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50342 * sysdeps/powerpc/powerpc64/crti.S: New file.
50343 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50344
26ecc33a
AS
50345 * Makeconfig (have-initfini): Don't set.
50346 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50347 * configure.in (nopic_initfini): Don't substitute.
50348 * config.h.in (HAVE_INITFINI): Don't #undef.
50349 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50350 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50351
3add8e13
JM
503522012-02-08 Joseph Myers <joseph@codesourcery.com>
50353
50354 Support crti.S and crtn.S provided directly by architectures.
50355 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50356 [crti.S in sysdirs] (omit-deps): Likewise.
50357 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50358 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50359 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50360 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50361 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50362 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50363 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50364 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50365 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50366 compiler output for sysdeps/generic/initfini.c.
50367 * sysdeps/i386/elf/Makefile: Remove file.
50368 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50369
a22f12b4
MP
503702012-02-07 Marek Polacek <polacek@redhat.com>
50371
50372 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50373 * sysdeps/gnu/_G_config.h: Likewise.
50374 * sysdeps/mach/hurd/_G_config.h: Likewise.
50375
148cf100
MP
503762012-02-07 Marek Polacek <polacek@redhat.com>
50377
50378 * math/Makefile (tests): Add tst-CMPLX2.
50379 * math/tst-CMPLX2.c: New file.
50380
cfdc0dd7
AS
503812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50382
84ba42c4
AS
50383 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50384
cfdc0dd7
AS
50385 * math/libm-test.inc (jn_test): Add missing L suffix.
50386
622c86f4
MP
503872012-02-06 Marek Polacek <polacek@redhat.com>
50388
50389 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50390 * sysdeps/i386/fpu/e_powf.S: Likewise.
50391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50392 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50393 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50394 * sysdeps/i386/fpu/e_pow.S: Likewise.
50395 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50396 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50397 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50398 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50399 * sysdeps/i386/fpu/e_log2.S: Likewise.
50400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50402 * sysdeps/i386/fpu/e_powl.S: Likewise.
50403 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50405 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50406 * sysdeps/i386/fpu/e_logl.S: Likewise.
50407 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50408 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50409 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50410 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50413 * sysdeps/i386/fpu/e_log.S: Likewise.
50414 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50416 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50417 * sysdeps/i386/fpu/e_logf.S: Likewise.
50418 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50419 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50420 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50421 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50422 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50423 * sysdeps/i386/fpu/e_log10.S: Likewise.
50424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50429 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50430 * sysdeps/i386/asm-syntax.h: Likewise.
50431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50432 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50434 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50435 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50437 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50438 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50439 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50440 * sysdeps/powerpc/sysdep.h: Likewise.
50441 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50442 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50443
d4a54ac6
JM
504442012-02-06 Joseph Myers <joseph@codesourcery.com>
50445
50446 [BZ #411]
50447 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50448
314054ea
JM
504492012-02-06 Joseph Myers <joseph@codesourcery.com>
50450
50451 * sysdeps/i386/sysdep.h: Include <features.h>.
50452 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50453 version.
50454
d8e0ca50
JM
504552012-02-05 Joseph Myers <joseph@codesourcery.com>
50456
50457 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50458 Define.
50459 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50460 LOAD_PIC_REG_STR.
50461
b1da7dd9
JM
504622012-02-03 Joseph Myers <joseph@codesourcery.com>
50463
50464 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50465 (SETUP_PIC_REG): Use GET_PC_THUNK.
50466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50467 macro.
50468
9a1d9254
JM
504692012-02-03 Joseph Myers <joseph@codesourcery.com>
50470
50471 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50472 for non-PIC compilation.
50473 (SETUP_PIC_REG): Add .p2align directive.
50474 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50475 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50478 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50479 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50480 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50482 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50483 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50484 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50485 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50486 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50488 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50489 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50490 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50491 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50492 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50493 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50496 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50497 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50500 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50501 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50502 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50503 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50504 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50509 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50510 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50511 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50512 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50513 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50514 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50515
65dc3b75
JM
505162012-02-03 Joseph Myers <joseph@codesourcery.com>
50517
50518 * math/tst-CMPLX.c: Include <stdio.h>.
50519
d55bf177
JM
505202012-01-31 Joseph Myers <joseph@codesourcery.com>
50521
50522 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50523 float.
50524 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50525 * sysdeps/sparc/bits/mathdef.h: Likewise.
50526
69db4f8f
MP
505272012-01-31 Marek Polacek <polacek@redhat.com>
50528
50529 * libio/libio.h: Don't define _PARAMS.
50530 * locale/programs/config.h: Don't define PARAMS.
50531 * stdlib/strtol_l.c: Likewise.
50532 (__strtol_l): Remove PARAMS from the prototype.
50533
41b81892
UD
505342012-01-31 Ulrich Drepper <drepper@gmail.com>
50535
3b49edc0
UD
50536 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50537 names. Just use the correct names. Remove unnecessary wrapper
50538 functions.
50539 * malloc/arena.c: Likewise.
50540 * malloc/hooks.c: Likewise.
50541
41b81892
UD
50542 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50543 ARENA_TEST says not to. Simplify test for creation of a new arena.
50544 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50545
27a25b6e
UD
505462012-01-30 Ulrich Drepper <drepper@gmail.com>
50547
50548 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50549 into tail calls.
50550 (update_get_addr): New function.
50551 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50552 GET_ADDR_MODULE parameter.
50553
c8a89e7d
JM
505542012-01-30 Joseph Myers <joseph@codesourcery.com>
50555
50556 * crypt/cert.c: Remove __STDC__ conditionals.
50557 * crypt/crypt-entry.c: Likewise.
50558 * crypt/crypt_util.c: Likewise.
50559 * libio/filedoalloc.c: Likewise.
50560 * libio/fileops.c: Likewise.
50561 * libio/genops.c: Likewise.
50562 * libio/iofclose.c: Likewise.
50563 * libio/iofdopen.c: Likewise.
50564 * libio/iofopen.c: Likewise.
50565 * libio/iofopen64.c: Likewise.
50566 * libio/iogetdelim.c: Likewise.
50567 * libio/iopopen.c: Likewise.
50568 * libio/obprintf.c: Likewise.
50569 * libio/oldfileops.c: Likewise.
50570 * libio/oldiofclose.c: Likewise.
50571 * libio/oldiofdopen.c: Likewise.
50572 * libio/oldiofopen.c: Likewise.
50573 * libio/oldiopopen.c: Likewise.
50574 * libio/wfiledoalloc.c: Likewise.
50575 * libio/wgenops.c: Likewise.
50576 * locale/programs/xmalloc.c: Likewise.
50577 * misc/syslog.c: Likewise.
50578 * stdio-common/xbug.c: Likewise.
50579 * string/memchr.c: Likewise.
50580 * string/memcmp.c: Likewise.
50581 * string/memrchr.c: Likewise.
50582 * string/rawmemchr.c: Likewise.
50583 * sysdeps/posix/getcwd.c: Likewise.
50584 * time/strftime_l.c: Likewise.
50585
3b100462
JM
505862012-01-30 Joseph Myers <joseph@codesourcery.com>
50587
50588 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50589 * config.make.in (config-cflags-sse2avx): Define.
50590 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50591 Fix typo.
50592
607998af
CM
505932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50594
50595 * scripts/config.guess: Update from upstream config git repository.
50596 * scripts/config.sub: Likewise.
50597
3601428f
CM
505982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50599
3ac8b282
CM
50600 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50601 (EM_NUM): Update.
50602 (R_TILEPRO_*, R_TILEGX_*): New macros.
50603
e034841e
CM
50604 * scripts/firstversions.awk: Fix bug in version range handling.
50605
540d7568
CM
50606 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50607
3601428f
CM
50608 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50609
463de862
CM
50610 * include/sys/epoll.h: New file.
50611 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50612 libc_hidden_def.
50613
73139a76
UD
506142012-01-28 Ulrich Drepper <drepper@gmail.com>
50615
96bc5b45
UD
50616 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50617 Avoid unnecessary __WORDSIZE == 64 test.
50618 (fmaxf): Use VEX format if possible.
50619 (fmax): Likewise.
50620 (fminf): Likewise.
50621 (fmin): Likewise.
50622
56f6f6a2
UD
50623 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50624 * math/math_private.h: Remove libc_fegetround* and
50625 libc_fesetround*.
50626 * sysdeps/i386/configure.in: Check for -msse2avx.
50627 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50628 also if SSE2AVX is defined.
50629 Remove libc_fegetround* and libc_fesetround*.
50630 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50631 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50633 of HAS_YMM_USABLE.
50634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50639
73139a76
UD
50640 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50641
d73f93a4
AZ
506422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50643
50644 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50645 size is not set.
50646 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50647
6ee65ed6
UD
506482012-01-27 Ulrich Drepper <drepper@gmail.com>
50649
50650 [BZ #13618]
50651 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50652 relocation.
50653 * Makeconfig (libm): Define.
50654 * elf/Makefile: Add rules to build and run tst-relsort1.
50655 * elf/tst-relsort1.c: New file.
50656 * elf/tst-relsort1mod1.c: New file.
50657 * elf/tst-relsort1mod2.c: New file.
50658
8db21882
JM
506592012-01-27 Joseph Myers <joseph@codesourcery.com>
50660
50661 * math/s_ldexp.c: Remove __STDC__ conditionals.
50662 * math/s_ldexpf.c: Likewise.
50663 * math/s_ldexpl.c: Likewise.
50664 * math/s_nextafter.c: Likewise.
50665 * math/s_nexttowardf.c: Likewise.
50666 * math/s_significand.c: Likewise.
50667 * math/s_significandf.c: Likewise.
50668 * math/s_significandl.c: Likewise.
50669 * math/w_jnl.c: Likewise.
50670 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50671 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50672 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50673 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50674 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50675 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50676 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50677 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50678 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50679 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50680 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50682 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50683 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50685 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50687 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50689 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50690 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50692 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50693 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50694 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50695 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50696 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50697 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50698 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50702 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50703 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50704 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50705 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50706 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50710 * sysdeps/ieee754/k_standard.c: Likewise.
50711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50712 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50713 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50714 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50715 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50716 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50721 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50722 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50723 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50724 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50725 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50726 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50727 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50728 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50729 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50730 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50733 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50734 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50735 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50736 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50740 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50741 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50742 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50743 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50744 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50746 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50747 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50750 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50751 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50753 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50754 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50756 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50760 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50761 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50770 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50771 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50775 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50776 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50777 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50783 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50784 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50785 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50787 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50789 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50790 * sysdeps/ieee754/s_matherr.c: Likewise.
50791 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50792 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50795
965a54a4
JM
507962012-01-26 Joseph Myers <joseph@codesourcery.com>
50797
50798 * crypt/md5.h: Remove __STDC__ conditionals.
50799 * libio/libioP.h: Likewise.
50800 * locale/programs/config.h: Likewise.
50801 * sysdeps/generic/sysdep.h: Likewise.
50802 * sysdeps/i386/asm-syntax.h: Likewise.
50803 * sysdeps/s390/asm-syntax.h: Likewise.
50804 * sysdeps/unix/sysdep.h: Likewise.
50805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50807
7071ad79
JM
508082012-01-26 Joseph Myers <joseph@codesourcery.com>
50809
50810 * libio/libio.h: Remove __STDC__ conditionals.
50811 * malloc/obstack.h: Likewise.
50812 * math/complex.h: Likewise.
50813 * math/math.h: Likewise.
50814 * sysdeps/generic/_G_config.h: Likewise.
50815 * sysdeps/gnu/_G_config.h: Likewise.
50816 * sysdeps/mach/hurd/_G_config.h: Likewise.
50817 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50818 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50819 * sysdeps/sparc/bits/mathdef.h: Likewise.
50820
afc5ed09
UD
508212012-01-26 Ulrich Drepper <drepper@gmail.com>
50822
50823 [BZ #13583]
50824 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50825 Clean up HAS_* macros.
afc5ed09 50826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50827 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50828 possible.
50829 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50830 HAS_AVX.
50831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50836
bdb6de1d
JM
508372012-01-25 Joseph Myers <joseph@codesourcery.com>
50838
50839 * elf/tst-unique3.cc (gets): Remove declaration.
50840 * elf/tst-unique3lib.cc (gets): Likewise.
50841 * elf/tst-unique3lib2.cc (gets): Likewise.
50842 * elf/tst-unique4.cc (gets): Likewise.
50843
b15549e6
UD
508442012-01-24 Ulrich Drepper <drepper@gmail.com>
50845
50846 * include/stdio.h: Add C++ protection. Add gets declarations and
50847 definitions.
50848 * debug/tst-chk1.c: Don't declare gets here.
50849 * stdio-common/tst-gets.c: Likewise.
50850
a037381f
JM
508512012-01-24 Joseph Myers <joseph@codesourcery.com>
50852
50853 * posix/glob: Remove directory.
50854
f1d4aa75
JM
508552012-01-24 Joseph Myers <joseph@codesourcery.com>
50856
50857 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50858
81c0c964
PT
508592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50860
50861 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50862 of the non-standard EPFNOSUPPORT.
50863
0ea698ae
ST
508642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50865
50866 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50867 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50868 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50869
d220b117
UD
508702012-01-21 Ulrich Drepper <drepper@gmail.com>
50871
50872 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50873
3e1aa84e
UD
508742012-01-20 Ulrich Drepper <drepper@gmail.com>
50875
50876 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50877 transient errors.
50878 * nscd/grpcache.c (cache_addgr): Likewise.
50879 * nscd/hstcache.c (cache_addhst): Likewise.
50880 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50881 * nscd/pwdcache.c (cache_addpw): Likewise.
50882 * nscd/servicescache.c (cache_addserv): Likewise.
50883
400aa020
UD
508842012-01-16 Ulrich Drepper <drepper@gmail.com>
50885
d77e7869
UD
50886 * malloc/malloc.c: Various cleanups.
50887 * malloc/hooks.c: Likewise.
50888
400aa020
UD
50889 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50890 * stdlib/bug-fmtmsg1.c: New file.
50891
50892 * stdlib/fmtmsg.c (init): Add missing unlock.
50893 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50894
e0a309cf
MP
508952012-01-12 Marek Polacek <polacek@redhat.com>
50896
50897 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50898 and _GNU_SOURCE.
50899
929d11c7
WS
509002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50901
50902 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50903 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50904 macro to ensure uniqueness of label name.
50905 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50906 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50907
41d0e869
UD
509082012-01-11 Ulrich Drepper <drepper@gmail.com>
50909
0cc5ed3b
UD
50910 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50911
41d0e869
UD
50912 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50913 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50914 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50916
a47a831a
UD
509172012-01-10 Ulrich Drepper <drepper@gmail.com>
50918
daa891c0
UD
50919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50920
50921 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50922 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50923 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50924
e58ef0f2
UD
50925 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50926
a47a831a 50927 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50928 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50929 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50931
50932 * math/bits/math-finite.h: Add ldexp support.
50933
a0bfc9c7
MP
509342012-01-10 Marek Polacek <polacek@redhat.com>
50935
50936 * locale/programs/localedef.h (show_archive_content): Add noreturn
50937 attribute.
50938
d6e97a1d
UD
509392012-01-09 Ulrich Drepper <drepper@gmail.com>
50940
50941 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50942
d5835c26
UD
509432012-01-08 Ulrich Drepper <drepper@gmail.com>
50944
e5f484c6
UD
50945 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50946
d5835c26
UD
50947 * io/Makefile (headers): Add bits/poll2.h.
50948
d1f741e9
WS
509492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50950
50951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50952 typo #include statement.
50953
ec09c1c4
UD
509542012-01-08 Ulrich Drepper <drepper@gmail.com>
50955
50956 * include/sys/cdefs.h: Define __attribute_alloc_size.
50957 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50958 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50959 * elf/pldd.c: Likewise.
50960 * iconv/iconv_charmap.c: Likewise.
50961 * iconv/iconvconfig.c: Likewise.
50962 * iconv/strtab.c: Likewise.
50963 * locale/programs/locale.c: Likewise.
50964 * locale/programs/localedef.h: Likewise.
50965 * locale/programs/simple-hash.c: Likewise.
50966 * nscd/nscd.h: Likewise.
50967 * nss/makedb.c: Likewise.
50968 * sysdeps/generic/ldconfig.h: Likewise.
50969 * locale/programs/localedef.c: Remove xmalloc prototype.
50970 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50971
20b38e03
PP
509722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50973
50974 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50975 appropriate.
50976
a0da5fe1
UD
509772012-01-08 Ulrich Drepper <drepper@gmail.com>
50978
1d5a644a 50979 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50980 * math/tst-CMPLX.c: New file.
1d5a644a 50981
8784a6db
UD
50982 * math/complex.h (CMPLXL): Fix typo.
50983
d9a216c0
UD
50984 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50985 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50986 GLIBC_2.16.
50987 * debug/tst-chk1.c: Add poll and ppoll tests.
50988 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50989 * include/sys/poll.h: Add hidden proto for ppoll.
50990 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50991 * sysdeps/mach/hurd/ppoll.c: Likewise.
50992 * io/ppoll.c: Likewise.
50993 * debug/poll_chk.c: New file.
50994 * debug/ppoll_chk.c: New file.
50995 * include/bits/poll2.h: New file.
50996 * io/bits/poll2.h: New file.
50997
ac097f5c
UD
50998 [BZ #1350]
50999 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51000
2119dcfa
UD
51001 * configure.in: static is always set to yes. Remove.
51002 * config.make.in: Don't set build-static.
51003 * Makeconfig: Remove use of build-static.
51004 * dlfcn/Makefile: Likewise.
51005 * elf/Makefile: Likewise.
51006 * math/Makefile: Likewise.
51007 * misc/Makefile: Likewise.
51008 * nptl/Makefile: Likewise.
51009 * sysdeps/mach/hurd/Makefile: Likewise.
51010
121766a9
UD
51011 * configure.in: PWD_P is not used anymore.
51012 * config.make.in: Remove PWD_P entry.
51013
51a1d39c 51014 * configure.in: Remove last remnants of RANLIB.
8720d066 51015 No need to check for signed size_t anymore.
215f4bdc
UD
51016 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51017 and IA-64.
3857022a 51018 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
51019 * aclocal.m4: Likewise.
51020
d3ed7225
UD
51021 * wcsmbs/mbrtoc16.c: Implement using towc function.
51022 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51023 * wcsmbs/wcsmbsload.c: Likewise.
51024 * iconv/gconv_simple.c: Likewise.
51025 * iconv/gconv_int.h: Likewise.
51026 * iconv/gconv_builtin.h: Likewise.
51027 * iconv/iconv_prog.c: Remove CHAR16 handling.
51028
51029 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51030
51031 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51032
a0da5fe1
UD
51033 * configure.in: Remove --with-elf and --enable-bounded options.
51034 Dont set base_machine for ia64. More non-ELF conditions removed.
51035 Remove testing and setting of leading underscore information.
51036 * config.make.in (build-bounded): Set to no.
51037 * config.h.in: Remove NO_UNDERSCORES entry.
51038 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51039 them.
51040 * csu/start.c: Remove !NO_UNDERSCORE code.
51041 * locale/localeinfo.h: Likewise.
51042 * sysdeps/generic/machine-gmon.h: Likewise.
51043 * sysdeps/generic/sysdep.h: Likewise.
51044 * sysdeps/i386/sysdep.h: Likewise.
51045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51046 * sysdeps/mach/sysdep.h: Likewise.
51047 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51048 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51049 * sysdeps/sh/sysdep.h: Likewise.
51050 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51051 * sysdeps/unix/i386/sysdep.S: Likewise.
51052 * sysdeps/unix/sparc/start.c: Likewise.
51053 * sysdeps/unix/sparc/sysdep.S: Likewise.
51054 * sysdeps/unix/sparc/sysdep.h: Likewise.
51055 * sysdeps/unix/start.c: Likewise.
51056 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51057 * sysdeps/x86_64/sysdep.h: Likewise.
51058
df78418a
UD
510592012-01-07 Ulrich Drepper <drepper@gmail.com>
51060
a784e502
UD
51061 [BZ #13553]
51062 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51063 for non-gcc.
51064 * argp/argp-fmtstream.h: Use const instead __const.
51065 * argp/argp.h: Likewise.
51066 * assert/assert.h: Likewise.
51067 * bits/fenv.h: Likewise.
51068 * bits/sched.h: Likewise.
51069 * bits/sigset.h: Likewise.
51070 * bits/sigthread.h: Likewise.
51071 * catgets/nl_types.h: Likewise.
51072 * conform/data/pthread.h-data: Likewise.
51073 * crypt/crypt-private.h: Likewise.
51074 * crypt/crypt.h: Likewise.
51075 * crypt/crypt_util.c: Likewise.
51076 * ctype/ctype.h: Likewise.
51077 * debug/execinfo.h: Likewise.
51078 * debug/mbsnrtowcs_chk.c: Likewise.
51079 * debug/mbsrtowcs_chk.c: Likewise.
51080 * debug/wcsnrtombs_chk.c: Likewise.
51081 * debug/wcsrtombs_chk.c: Likewise.
51082 * debug/wcstombs_chk.c: Likewise.
51083 * dirent/dirent.h: Likewise.
51084 * dlfcn/dlfcn.h: Likewise.
51085 * elf/neededtest4.c: Likewise.
51086 * grp/grp.h: Likewise.
51087 * gshadow/gshadow.h: Likewise.
51088 * iconv/gconv.h: Likewise.
51089 * iconv/gconv_int.h: Likewise.
51090 * iconv/gconv_simple.c: Likewise.
51091 * iconv/iconv.h: Likewise.
51092 * iconv/loop.c: Likewise.
51093 * iconv/skeleton.c: Likewise.
51094 * include/aio.h: Likewise.
51095 * include/aliases.h: Likewise.
51096 * include/argz.h: Likewise.
51097 * include/arpa/inet.h: Likewise.
51098 * include/assert.h: Likewise.
51099 * include/dirent.h: Likewise.
51100 * include/dlfcn.h: Likewise.
51101 * include/execinfo.h: Likewise.
51102 * include/fcntl.h: Likewise.
51103 * include/fenv.h: Likewise.
51104 * include/glob.h: Likewise.
51105 * include/grp.h: Likewise.
51106 * include/libintl.h: Likewise.
51107 * include/mntent.h: Likewise.
51108 * include/netdb.h: Likewise.
51109 * include/pwd.h: Likewise.
51110 * include/rpc/netdb.h: Likewise.
51111 * include/sched.h: Likewise.
51112 * include/search.h: Likewise.
51113 * include/shadow.h: Likewise.
51114 * include/signal.h: Likewise.
51115 * include/stdio.h: Likewise.
51116 * include/stdlib.h: Likewise.
51117 * include/string.h: Likewise.
51118 * include/sys/socket.h: Likewise.
51119 * include/sys/stat.h: Likewise.
51120 * include/sys/statfs.h: Likewise.
51121 * include/sys/statvfs.h: Likewise.
51122 * include/sys/syslog.h: Likewise.
51123 * include/sys/time.h: Likewise.
51124 * include/sys/uio.h: Likewise.
51125 * include/time.h: Likewise.
51126 * include/unistd.h: Likewise.
51127 * include/utmp.h: Likewise.
51128 * include/wchar.h: Likewise.
51129 * include/wctype.h: Likewise.
51130 * inet/aliases.h: Likewise.
51131 * inet/arpa/inet.h: Likewise.
51132 * inet/netinet/ether.h: Likewise.
51133 * inet/netinet/in.h: Likewise.
51134 * intl/libintl.h: Likewise.
51135 * io/bits/fcntl2.h: Likewise.
51136 * io/fcntl.h: Likewise.
51137 * io/ftw.h: Likewise.
51138 * io/sys/poll.h: Likewise.
51139 * io/sys/stat.h: Likewise.
51140 * io/sys/statfs.h: Likewise.
51141 * io/sys/statvfs.h: Likewise.
51142 * io/utime.h: Likewise.
51143 * libio/bits/stdio.h: Likewise.
51144 * libio/bits/stdio2.h: Likewise.
51145 * libio/libio.h: Likewise.
51146 * libio/libioP.h: Likewise.
51147 * libio/stdio.h: Likewise.
51148 * locale/lc-ctype.c: Likewise.
51149 * locale/locale.h: Likewise.
51150 * login/utmp.h: Likewise.
51151 * malloc/arena.c: Likewise.
51152 * malloc/malloc.c: Likewise.
51153 * malloc/malloc.h: Likewise.
51154 * malloc/mcheck.c: Likewise.
51155 * malloc/mtrace.c: Likewise.
51156 * math/bits/mathcalls.h: Likewise.
51157 * math/fenv.h: Likewise.
51158 * math/math_private.h: Likewise.
51159 * misc/bits/error.h: Likewise.
51160 * misc/bits/syslog.h: Likewise.
51161 * misc/err.h: Likewise.
51162 * misc/error.h: Likewise.
51163 * misc/fstab.h: Likewise.
51164 * misc/mntent.h: Likewise.
51165 * misc/regexp.h: Likewise.
51166 * misc/search.h: Likewise.
51167 * misc/sgtty.h: Likewise.
51168 * misc/sys/mman.h: Likewise.
51169 * misc/sys/syslog.h: Likewise.
51170 * misc/sys/uio.h: Likewise.
51171 * misc/sys/xattr.h: Likewise.
51172 * misc/ttyent.h: Likewise.
51173 * nis/rpcsvc/ypclnt.h: Likewise.
51174 * nss/nss.h: Likewise.
51175 * posix/bits/unistd.h: Likewise.
51176 * posix/fnmatch.h: Likewise.
51177 * posix/glob.h: Likewise.
51178 * posix/sched.h: Likewise.
51179 * posix/spawn.h: Likewise.
51180 * posix/sys/wait.h: Likewise.
51181 * posix/unistd.h: Likewise.
51182 * posix/wordexp.h: Likewise.
51183 * pwd/pwd.h: Likewise.
51184 * resolv/netdb.h: Likewise.
51185 * resource/sys/resource.h: Likewise.
51186 * rt/aio.h: Likewise.
51187 * rt/bits/mqueue2.h: Likewise.
51188 * rt/mqueue.h: Likewise.
51189 * shadow/shadow.h: Likewise.
51190 * signal/signal.h: Likewise.
51191 * socket/send.c: Likewise.
51192 * socket/sendto.c: Likewise.
51193 * socket/sys/socket.h: Likewise.
51194 * stdio-common/printf.h: Likewise.
51195 * stdlib/bits/stdlib.h: Likewise.
51196 * stdlib/fmtmsg.h: Likewise.
51197 * stdlib/monetary.h: Likewise.
51198 * stdlib/stdlib.h: Likewise.
51199 * stdlib/ucontext.h: Likewise.
51200 * streams/stropts.h: Likewise.
51201 * string/argz.h: Likewise.
51202 * string/bits/string2.h: Likewise.
51203 * string/string.h: Likewise.
51204 * string/strings.h: Likewise.
51205 * sunrpc/rpc/auth.h: Likewise.
51206 * sunrpc/rpc/auth_des.h: Likewise.
51207 * sunrpc/rpc/clnt.h: Likewise.
51208 * sunrpc/rpc/netdb.h: Likewise.
51209 * sunrpc/rpc/pmap_clnt.h: Likewise.
51210 * sunrpc/rpc/xdr.h: Likewise.
51211 * sysdeps/generic/inttypes.h: Likewise.
51212 * sysdeps/generic/net/if.h: Likewise.
51213 * sysdeps/generic/sys/swap.h: Likewise.
51214 * sysdeps/gnu/net/if.h: Likewise.
51215 * sysdeps/gnu/utmpx.h: Likewise.
51216 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51217 * sysdeps/i386/i486/bits/string.h: Likewise.
51218 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51219 * sysdeps/s390/bits/string.h: Likewise.
51220 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51221 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51222 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51223 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51224 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51225 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51226 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51227 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51228 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51229 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51230 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51232 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51233 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51234 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51235 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51236 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51240 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51241 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51242 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51243 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51244 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51245 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51246 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51248 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51250 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51251 * sysvipc/sys/ipc.h: Likewise.
51252 * sysvipc/sys/msg.h: Likewise.
51253 * sysvipc/sys/sem.h: Likewise.
51254 * sysvipc/sys/shm.h: Likewise.
51255 * termios/termios.h: Likewise.
51256 * time/sys/time.h: Likewise.
51257 * time/time.h: Likewise.
51258 * wcsmbs/bits/wchar2.h: Likewise.
51259 * wcsmbs/uchar.h: Likewise.
51260 * wcsmbs/wchar.h: Likewise.
51261 * wctype/wctype.h: Likewise.
51262
0269750c
UD
51263 [BZ #13551]
51264 * Makeconfig: Remove all but ELF support including AIX support.
51265 * Makerules: Likewise.
51266 * config.h.in: Likewise.
51267 * config.make.in: Likewise.
51268 * configure: Likewise.
51269 * configure.in: Likewise.
51270 * csu/Makefile: Likewise.
51271 * csu/version.c: Likewise.
51272 * debug/Makefile: Likewise.
51273 * dlfcn/Makefile: Likewise.
51274 * elf/Makefile: Likewise.
51275 * extra-lib.mk: Likewise.
51276 * iconv/Makefile: Likewise.
51277 * include/libc-symbols.h: Likewise.
51278 * include/shlib-compat.h: Likewise.
51279 * resolv/Makefile: Likewise.
51280 * resolv/res_libc.c: Likewise.
51281 * rt/Makefile: Likewise.
51282 * sysdeps/i386/asm-syntax.h: Likewise.
51283 * sysdeps/i386/sysdep.h: Likewise.
51284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51285 * sysdeps/mach/sysdep.h: Likewise.
51286 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51287 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51288 * sysdeps/s390/asm-syntax.h: Likewise.
51289 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51291 * sysdeps/sh/sysdep.h: Likewise.
51292 * sysdeps/unix/sparc/sysdep.h: Likewise.
51293 * sysdeps/wordsize-32/divdi3.c: Likewise.
51294 * sysdeps/x86_64/sysdep.h: Likewise.
51295
00bbd29b
UD
51296 * argp/Versions: Remove _argp_unlock_xxx.
51297
51298 [BZ #13559]
51299 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51300 * abilist/libBrokenLocale.abilist: Likewise.
51301 * abilist/libanl.abilist: Likewise.
51302 * abilist/libc.abilist: Likewise.
51303 * abilist/libcrypt.abilist: Likewise.
51304 * abilist/libdl.abilist: Likewise.
51305 * abilist/libm.abilist: Likewise.
51306 * abilist/libnsl.abilist: Likewise.
51307 * abilist/libpthread.abilist: Likewise.
51308 * abilist/libresolv.abilist: Likewise.
51309 * abilist/librt.abilist: Likewise.
51310 * abilist/libthread_db.abilist: Likewise.
51311 * abilist/libutil.abilist: Likewise.
51312 * abilist/libnss_db.abilist: New file.
51313
51314 * scripts/abilist.awk: Add support for indirect functions.
51315
a2693a0e
UD
51316 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51317
3f05895f
UD
51318 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51319
ecb6fb48
UD
51320 * shlib-versions: Remove entries for ports architectures.
51321
664f8cb9
UD
51322 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51323 files in ports.
51324 * elf/stackguard-macros.h: Remove support for IA-64.
51325 * elf/tst-auditmod1.c: Likewise.
51326 * sysdeps/generic/ldsodefs.h: Likewise.
51327
7ae81d88
UD
51328 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51329 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51330 configure files.
51331
bdeba135
UD
51332 [BZ #13552]
51333 * configure.in: Remove --enable-omitfp support.
51334 * FAQ.in: Adjust.
51335 * config.make.in: Likewise.
51336 * Makeconfig: Likewise.
51337 * manual/install.texi: Likewise.
51338
d75a0a62
UD
51339 In case anyone cares, the IA-64 architecture could move to ports.
51340 * sysdeps/ia64/*: Removed.
51341 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51342 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51343
dcc9756b
UD
51344 [BZ #13555]
51345 * configure.in: Remove entries for unsupported architectures.
51346
d3761ebc 51347 [BZ #13533]
9954432e
UD
51348 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51349 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51350 routines.
51351 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51352 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51353 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51354 fall back to using wcrtomb.
51355 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51356 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51357 renaming.
51358 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51359 * wcsmbs/tst-c16c32-1.c: New file.
51360
51361 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51362 local variable.
51363
c3a87236
UD
51364 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51365
28926a1b
UD
51366 * elf/tst-unique3.cc: Add explicit declaration of gets.
51367 * elf/tst-unique3lib.cc: Likewise.
51368 * elf/tst-unique3lib2.cc: Likewise.
51369 * elf/tst-unique4.cc: Likewise.
51370
df78418a
UD
51371 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51372
8ecd6b2a
JM
513732012-01-06 Joseph Myers <joseph@codesourcery.com>
51374
51375 [BZ #13566]
51376 * assert/assert.h (static_assert): Don't define for C++.
51377 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51378 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51379
9f115170
UD
513802012-01-03 Ulrich Drepper <drepper@gmail.com>
51381
5e0d0300
UD
51382 * iconv/loop.c (single loop): Fix assertion in storing of
51383 remaining bytes.
51384
9f115170
UD
51385 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51386
81fb02b0
UD
513872012-01-01 Ulrich Drepper <drepper@gmail.com>
51388
51389 * posix/getconf.c: Update copyright year.
51390 * nss/getent.c: Likewise.
a316c1f6 51391 * nss/makedb.c: Likewise.
81fb02b0
UD
51392 * iconv/iconvconfig.c: Likewise.
51393 * iconv/iconv_prog.c: Likewise.
51394 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51395 * elf/pldd.c: Likewise.
51396 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51397 * catgets/gencat.c: Likewise.
51398 * csu/version.c: Likewise.
51399 * elf/ldd.bash.in: Likewise.
51400 * elf/sprof.c (print_version): Likewise.
51401 * locale/programs/locale.c: Likewise.
51402 * locale/programs/localedef.c: Likewise.
a316c1f6 51403 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51404 * nscd/nscd.c (print_version): Likewise.
51405 * debug/xtrace.sh: Likewise.
51406 * malloc/memusage.sh: Likewise.
51407 * malloc/mtrace.pl: Likewise.
51408 * debug/catchsegv.sh: Likewise.
51409
2ba92745
JJ
514102011-12-30 Jakub Jelinek <jakub@redhat.com>
51411
51412 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51413 pure attribute.
51414
dadebdae
UD
514152011-12-24 Ulrich Drepper <drepper@gmail.com>
51416
d3761ebc 51417 [BZ #13533]
db6af3eb
UD
51418 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51419 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51420 transformations.
51421 * iconv/gconv_int.h: Likewise.
51422 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51423 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51424 from libc for GLIBC_2.16.
51425 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51426 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51427 * wcsmbs/uchar.h: Really define mbstate_t.
51428 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51429 * wcsmbs/c16rtomb.c: New file.
51430 * wcsmbs/mbrtoc16.c: New file.
51431 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51432 for C/POSIX locale.
51433 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51434 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51435
dadebdae
UD
51436 * wcsmbs/wchar.h: Add missing __restrict.
51437
67371b56
UD
514382011-12-23 Ulrich Drepper <drepper@gmail.com>
51439
74033a25
UD
51440 [BZ #13532]
51441 * time/Makefile (routines): Add timespec_get.
51442 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51443 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51444 timespec for ISO C11.
51445 * time/timespec_get.c: New file.
51446 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51447 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51448
380d7e87
UD
51449 [BZ #13531]
51450 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51451 * stdlib/stdlib.h: Declare aligned_alloc.
51452 * Versions.def: Add GLIBC_2.16 for libc.
51453 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51454
4e9e7a35
UD
51455 [BZ 13527]
51456 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51457 ISO C11.
51458
380d7e87 51459 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51460 code.
51461
03a71829
UD
51462 [BZ #13528]
51463 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51464
839e283e
UD
51465 [BZ #13529]
51466 * assert/assert.h (static_assert): Define.
51467
ce5294e2 51468 * version.h: Update for 2.16 development version.
90fa7312 51469
8d44e150 51470 [BZ #13526]
d7809905
UD
51471 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51472 _ISOC11_SOURCE.
51473
c0da14cd
UD
51474 * version.h (RELEASE): Bump for 2.15 release.
51475 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51476
530a3249
MP
51477 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51478 Patch by Marek Polacek <mpolacek@redhat.com>.
51479
67371b56
UD
51480 * bits/byteswap.h: Protect long long constants with __extension__.
51481 * sysdeps/i386/bits/byteswap.h: Likewise.
51482 * sysdeps/ia64/bits/byteswap.h: Likewise.
51483 * sysdeps/s390/bits/byteswap.h: Likewise.
51484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51485
15db4de1
LD
514862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51487
51488 [BZ #13540]
bbe315ea
LD
51489 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51490 destination buffer.
15db4de1
LD
51491 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51492
2b2596b1
MP
514932011-12-23 Marek Polacek <polacek@redhat.com>
51494
51495 * elf/dl-addr.c (determine_info): Add inline keyword.
51496 * elf/tst-auditmod4b.c (check_avx): Likewise.
51497 * elf/tst-auditmod6b.c (check_avx): Likewise.
51498 * elf/tst-auditmod6c.c (check_avx): Likewise.
51499 * elf/tst-auditmod7b.c (check_avx): Likewise.
51500
70c6c246
UD
515012011-12-23 Ulrich Drepper <drepper@gmail.com>
51502
51503 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51504 !__SSE_MATH__.
51505
c044cf14
LD
515062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51507
15db4de1 51508 [BZ #13540]
c044cf14
LD
51509 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51510 processing for last bytes.
51511
6b13d9d9
BH
515122011-08-06 Bruno Haible <bruno@clisp.org>
51513
d455f537
BH
51514 [BZ #13061]
51515 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51516 U+0385, not to U+1FEE.
51517
6b13d9d9
BH
51518 [BZ #13062]
51519 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51520 entry for U+00A5 U+0301.
51521
db910efd
UD
515222011-12-22 Ulrich Drepper <drepper@gmail.com>
51523
27deeafc
UD
51524 [BZ #13166]
51525 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51526 buffer for the output is too small.
51527
aed9d171
UD
51528 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51529 optimization.
51530
db910efd
UD
51531 [BZ #13185]
51532 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51533 SSE flags if possible.
51534
2bd779ae
LD
515352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51536
e7f9dac3 51537 [BZ #13540]
2bd779ae
LD
51538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51539 processing for last bytes.
51540
154bfc16
JM
515412011-12-22 Joseph Myers <joseph@codesourcery.com>
51542
51543 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51544 (syscall-list-default-options, syscall-list-default-condition)
51545 (syscall-list-includes): Define.
51546 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51547 list of ABIs and options and #if conditions for each ABI. Do not
51548 handle common syscalls between ABIs specially.
51549 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51550 Remove.
51551 (syscall-list-variants, syscall-list-32bit-options)
51552 (syscall-list-32bit-condition, syscall-list-64bit-options)
51553 (syscall-list-64bit-condition): Define.
51554 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51555 (syscall-list-variants, syscall-list-32bit-options)
51556 (syscall-list-32bit-condition, syscall-list-64bit-options)
51557 (syscall-list-64bit-condition): Define.
51558 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51559 Remove.
51560 (syscall-list-variants, syscall-list-32bit-options)
51561 (syscall-list-32bit-condition, syscall-list-64bit-options)
51562 (syscall-list-64bit-condition): Define.
51563 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51564 Remove.
51565 (syscall-list-variants, syscall-list-32bit-options)
51566 (syscall-list-32bit-condition, syscall-list-64bit-options)
51567 (syscall-list-64bit-condition): Define.
51568
21eaf3a5
UD
515692011-12-22 Ulrich Drepper <drepper@gmail.com>
51570
16c6f992
UD
51571 * locale/iso-639.def: Add brx entry.
51572
41043168
UD
51573 [BZ #13328]
51574 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51575 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51576
21eaf3a5
UD
51577 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51578 __feraiseexcept_renamed.
51579
e3a851a2
UD
515802011-12-21 Ulrich Drepper <drepper@gmail.com>
51581
4920765e
UD
51582 [BZ #13538]
51583 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51584 EPOLLET with unsigned values.
51585 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51587
e3a851a2
UD
51588 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51589 to large cancellation.
51590 * math/s_cacoshf.c: Likewise.
51591 * math/s_cacoshl.c: Likewise.
51592
b27e24b8
RK
515932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51594
51595 [BZ #13305]
aebefeee 51596 [BZ #12786]
b27e24b8
RK
51597 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51598 * math/s_cacoshf.c: Likewise.
51599 * math/s_cacoshl.c: Likewise.
51600
ee190f67
UD
516012011-12-21 Ulrich Drepper <drepper@gmail.com>
51602
51603 [BZ #13439]
51604 * iconv/gconv.h: Define __GCONV_SWAP.
51605 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51606 * iconvdata/utf-16.c: Likewise.
51607 * iconvdata/utf-32.c: Likewise.
51608
707f25df
AS
516092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51610
51611 [BZ #13524]
51612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51613 numerator after shifting it by one limb.
51614
d2daaa1e
RÁE
516152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51616
51617 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51618 under [__USE_EXTERN_INLINES].
51619
a4647e72
UD
516202011-12-17 Ulrich Drepper <drepper@gmail.com>
51621
51622 [BZ #13446]
51623 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51624
f0b264f1
AZ
516252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51626
51627 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51628 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51629 optimized code.
51630 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51631 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51632 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51633 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51634 for strncasecmp/strncasecmp_l compilation.
51635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51636 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51637
8ef4f244
MP
516382011-12-08 Marek Polacek <mpolacek@redhat.com>
51639
51640 [BZ #13484]
51641 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51642 of __asm__.
51643
97ac2654
UD
516442011-12-17 Ulrich Drepper <drepper@gmail.com>
51645
51646 [BZ #13506]
51647 * time/tzfile.c (__tzfile_read): Check values from file header.
51648
91d2a845
WS
516492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51650
51651 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51652 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51653 * powerpc/powerpc32/dl-start.S: Likewise.
51654 * powerpc/powerpc32/elf/start.S: Likewise.
51655 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51656 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51657 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51658 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51659 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51660 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51661 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51662 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51663 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51664 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51665 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51666 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51667 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51668 * powerpc/powerpc32/memset.S: Likewise.
51669 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51670 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51671 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51672 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51673 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51674 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51675 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51676 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51677 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51678 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51679 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51680 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51681 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51682
a1267ba1
AZ
516832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51684
51685 * math/libm-test.inc: Added more nearbyint tests.
51686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51690
ad8ac1bd
RL
516912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51692
51693 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51694 FD_CLOEXEC.
51695
1d3e4b61
UD
516962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51697
51698 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51699 Add wcscpy-ssse3 wcscpy-c.
51700 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51701 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51702 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51703 * sysdeps/x86_64/wcschr.S: New file.
51704 * sysdeps/x86_64/wcsrchr.S: New file.
51705 * string/test-strcmp.c: Remove checking of wcscmp function for
51706 wrong alignments.
51707 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51708 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51709 wcsrchr-sse2 wcsrchr-c.
51710 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51711 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51712 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51713 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51714 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51715 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51716 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51717 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51718 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51719 * wcsmbc/wcschr.c (WCSCHR): New macro.
51720
5b330a2d
UD
517212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51722
51723 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51724 * wcsmbs/test-wcsrchr.c: New file.
51725 * string/test-strrchr.c: Add wcsrchr support.
51726 (WIDE): New macro.
51727 * wcsmbs/test-wcscpy.c: New file.
51728 * string/test-strcpy.c: Add wcscpy support.
51729 (WIDE): New macro.
26428b7c 51730
f039c043
UD
517312011-12-10 Ulrich Drepper <drepper@gmail.com>
51732
51733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51734 the inner loop.
51735
850fb039
AS
517362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51737
51738 [BZ #13472]
51739 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51740
4efbd5cb
UD
517412011-12-04 Ulrich Drepper <drepper@gmail.com>
51742
52ff5dd0 51743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51744 Minor optimizations.
52ff5dd0 51745
4efbd5cb
UD
51746 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51747 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51748 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51749
8a426e12
UD
517502011-12-03 Ulrich Drepper <drepper@gmail.com>
51751
aff2453d
UD
51752 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51753 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51754 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51755 for gcc to avoid warnings.
51756 * inet/Makefile (tests): Add tst-checks.
51757 * inet/tst-checks.c: New file.
51758
51759 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51760 warning.
51761
51762 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51763 __wmemcmp_sse2.
51764
51765 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51766 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51767
8a426e12
UD
51768 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51769
9bea3473
UD
517702011-12-02 Ulrich Drepper <drepper@gmail.com>
51771
3a965496
UD
51772 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51773 problem.
51774
9bea3473
UD
51775 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51776
f101631b
UD
517772011-11-29 Joseph Myers <joseph@codesourcery.com>
51778
51779 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51780 conditional on GCC version.
51781 (__arch_compare_and_exchange_val_8_acq)
51782 (__arch_compare_and_exchange_val_16_acq)
51783 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51784 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51785 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51786
a98275aa
UD
517872011-12-02 Joseph Myers <joseph@codesourcery.com>
51788
51789 * sysdeps/sh/backtrace.c: New file.
51790
d4cc29a2
AS
517912011-12-02 Andreas Schwab <schwab@redhat.com>
51792
51793 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51794 parenthesis.
51795
6257af2d
AS
517962011-12-01 Andreas Schwab <schwab@redhat.com>
51797
51798 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51799 falling back to utime.
51800
b5f44c1a
AS
518012011-11-30 Andreas Schwab <schwab@redhat.com>
51802
51803 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51804 expectations for float.
51805
f3a6cc0a
AS
518062011-11-29 Andreas Schwab <schwab@redhat.com>
51807
51808 * locale/weight.h (findidx): Add parameter len.
51809 * locale/weightwc.h (findidx): Likewise.
51810 * posix/fnmatch_loop.c (FCT): Adjust caller.
51811 * posix/regcomp.c (build_equiv_class): Likewise.
51812 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51813 * posix/regexec.c (check_node_accept_bytes): Likewise.
51814 * string/strcoll_l.c (STRCOLL): Likewise.
51815 * string/strxfrm_l.c (STRXFRM): Likewise.
51816
9d65ea3a
UD
518172011-11-17 Ulrich Drepper <drepper@gmail.com>
51818
51819 * Makefile.in: Remove CVSOPT handling.
51820 * configure.in: Remove use of AC_REVISION.
51821 * iconvdata/Makefile (distribute): No need to filter out CVS.
51822 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51823 handling.
51824
5583a086
AS
518252011-11-16 Andreas Schwab <schwab@redhat.com>
51826
51827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51828 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51829 [USE_AS_STRNCASECMP_L]: Likewise.
51830 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51831 NO_TLS_DIRECT_SEG_REFS.
51832 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51833 Fix argument offsets for non-PIC.
51834 [USE_AS_STRNCASECMP_L]: Likewise.
51835 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51836 NO_TLS_DIRECT_SEG_REFS.
51837
d62a8200
UD
518382011-11-15 Ulrich Drepper <drepper@gmail.com>
51839
9d65ea3a 51840 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51841 O_CLOEXEC.
51842 * locale/loadlocale.c (_nl_load_locale): Likewise.
51843
09f93bd3
AS
518442011-11-15 Andreas Schwab <schwab@redhat.com>
51845
446514f9
AS
51846 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51847 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51848 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51849 (SYSCALL_GETTIME): Set errno on error.
51850
09f93bd3
AS
51851 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51852 count references to noai6ai_cached.
51853
312be3f9
UD
518542011-11-15 Ulrich Drepper <drepper@gmail.com>
51855
51856 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51857
51858 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51859 FD_CLOEXEC for /proc/self/maps.
51860
51861 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51862 FD_CLOEXEC for /proc/meminfo.
51863
51864 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51865 gai.conf.
51866
51867 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51868 FD_CLOEXEC for given file.
51869
51870 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51871
51872 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51873 FD_CLOEXEC for /etc/hosts.
51874 (_gethtent): Likewise.
51875
51876 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51877
51878 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51879 cancellation and set FD_CLOEXEC for /etc/netgroup.
51880
51881 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51882 reading /etc/publickey.
51883
51884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51885 allow cancellation when reading /etc/group.
51886
51887 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51888 cancellation.
51889 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51890
51891 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51892 when using data file.
51893
51894 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51895
51896 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51897 (write_nis_obj): Use "c" and "e" in fopen.
51898
51899 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51900
51901 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51902
51903 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51904
51905 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51906
51907 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51908 locale.alias.
51909
51910 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51911
51912 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51913
51914 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51915
51916 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51917 file parsing and set FD_CLOEXEC.
51918
82af0fa8
UD
519192011-11-14 Ulrich Drepper <drepper@gmail.com>
51920
51921 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51922
a5fb313c
AS
519232011-11-14 Andreas Schwab <schwab@redhat.com>
51924
51925 * malloc/arena.c (arena_get2): Don't call reused_arena when
51926 _int_new_arena failed.
51927
6abf3465
UD
519282011-11-14 Ulrich Drepper <drepper@gmail.com>
51929
51930 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51931 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51933 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51936 to compile strcasecmp and strncasecmp.
51937 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51938 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51939
51940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51941
76e3966e
UD
519422011-11-13 Ulrich Drepper <drepper@gmail.com>
51943
51944 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51945 locale-defines.sym to gen-as-const-headers.
51946 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51947 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51949 to compile strcasecmp and strncasecmp.
51950 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51951 strcasecmp_l and strncasecmp_l.
51952 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51953 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51954 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51955 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51956 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51957 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51958 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51959 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51960 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51961 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51962 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51963
ab26144e
UD
519642011-11-12 Ulrich Drepper <drepper@gmail.com>
51965
7edb22ef
UD
51966 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51967 result of SYSDEP_GETTIME_CPU to retval.
51968 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51969 parameter list to macro. Remove trailing semicolon. Adjust users.
51970
9694fc44
UD
51971 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51972 variable.
51973
8ad89ef8
UD
51974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51975 mantissa words.
51976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51977
0c822ef9
UD
51978 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51979 from unused variable.
51980
874e0564
UD
51981 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51982 DWARF definitions.
51983 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51984 for assembling.
51985
3a2edc79
UD
51986 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51987 over namespaces.
51988
f3c2577f
UD
51989 * sunrpc/rpc_prot.c (rejected): Fix case value.
51990
294ce126
UD
51991 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51992 unsigned long long int to avoid warnings in shift.
51993
5e2b63c6
UD
51994 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51995 of use of trans.
51996 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51997 variable tmp.
51998
e7f4b08e
UD
51999 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52000 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52002
ab26144e
UD
52003 * nis/nis_table.c (nis_list): Use variable of correct type for
52004 result of __follow_path call.
52005
8a6d5255
AZ
520062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52007
52008 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52009 of math functions ceil, trunc, floor, round, and sqrt, when
52010 avaliable on the platform.
52011 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52012 name clash.
52013 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52014 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52015 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52016
aaddc98c
MP
520172011-10-30 Marek Polacek <mpolacek@redhat.com>
52018
52019 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52021
95b7042b
RM
520222011-11-11 Roland McGrath <roland@hack.frob.com>
52023
52024 * include/unistd.h: Fix __readlink return type.
52025 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52026
57769839
UD
520272011-11-11 Ulrich Drepper <drepper@gmail.com>
52028
52029 * stdlib/ucontext.h: Undo last change for makecontext.
52030
edc5984d
AS
520312011-11-11 Andreas Schwab <schwab@redhat.com>
52032
98591e58
AS
52033 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52034
edc5984d
AS
52035 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52036 * setjmp/setjmp.h: Mark functions as non-leaf.
52037 * setjmp/bits/setjmp2.h: Likewise.
52038 * stdlib/ucontext.h: Likewise.
52039
77cdc054
AS
520402011-11-10 Andreas Schwab <schwab@redhat.com>
52041
52042 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52043 (reused_arena): Don't check arena limit.
52044 (arena_get2): Atomically check arena limit.
52045
fe72eebd
UD
520462011-11-08 Ulrich Drepper <drepper@gmail.com>
52047
5f078c32
UD
52048 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52049 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52050
fe72eebd
UD
52051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52052 instructions.
52053
ae1bc2fa
AS
520542011-11-07 Andreas Schwab <schwab@redhat.com>
52055
7583a88d
AS
52056 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52057 handler when locking.
52058
ae1bc2fa
AS
52059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52060 Fix size of allocated buffer.
52061
10fb0bfa
AS
520622011-11-04 Andreas Schwab <schwab@redhat.com>
52063
998832a4
AS
52064 [BZ #10103]
52065 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52066 declarations for long double functions.
52067 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52068
10fb0bfa
AS
52069 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52070
3d7ba52b
AS
520712011-11-03 Andreas Schwab <schwab@redhat.com>
52072
a9ae54a1
AS
52073 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52074 installed.
52075
3d7ba52b
AS
52076 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52077 is disabled.
52078
bc8db248
ST
520792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52080
52081 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52082
45b96dd6
AS
520832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52084
647776f6
AS
52085 * include/alloca.h (stackinfo_alloca_round): Define.
52086 (extend_alloca): Use it.
52087 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52088 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52089 here.
52090
d91a8b93
AS
52091 * scripts/check-local-headers.sh: Ignore libaudit.h.
52092
45b96dd6
AS
52093 * nscd/Makefile (extra-objs): Make recursively expanded.
52094
432d41ce
UD
520952011-11-01 Ulrich Drepper <drepper@gmail.com>
52096
34372fc6
UD
52097 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52099
fadb59f8
UD
52100 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52101 * posix/tst-rfc3484-2.c: Likewise.
52102 * posix/tst-rfc3484-3.c: Likewise.
52103
78239589
UD
52104 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52105 process_vm_writev.
52106 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52107 process_vm_writev.
52108 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52109 process_vm_writev from libc using GLIBC_2.15 version.
52110
432d41ce
UD
52111 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52112
02f9c6cf
PP
521132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52114
52115 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52116 stack usage.
52117
3a2c0242
UD
521182011-10-31 Ulrich Drepper <drepper@gmail.com>
52119
f4ec4833
UD
52120 [BZ #13367]
52121 * nss/getent.c (initgroups_keys): Show error message in case no group
52122 names are given.
52123
3a2c0242
UD
52124 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52125 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52126 __bump_nl_timestamp.
52127 * nscd/connections (nscd_init): When host database is served open
52128 netlink socket and request notification about configuration changes.
52129 (main_loop_poll): Track netlink file descriptor and bump timestamp
52130 in case data becomes available.
52131 (main_loop_epoll): Likewise.
52132 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52133 (database_pers_head): Add extra_data fileds.
52134 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52135 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52136 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52137 Adjust caller.
52138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52139 in6ai data, call __free_in6ai.
52140 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52141 Add -DHAVE_NETLINK.
52142 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52143 interface information. Reuse previous data if netlink timestamp
52144 is not changed.
52145 (__bump_nl_timestamp): New function.
52146 (__free_in6ai): New function.
52147
636064eb
UD
521482011-10-30 Ulrich Drepper <drepper@gmail.com>
52149
52150 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52151 close_not_cancel_no_status here.
52152 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52153
9beb2334
UD
521542011-10-29 Ulrich Drepper <drepper@gmail.com>
52155
6ef76f3b
UD
52156 [BZ #13276]
52157 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52158 return value.
52159
0ffc4f3e 52160 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52161 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52162 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52163
cb95113e
UD
521642011-07-03 Andreas Jaeger <aj@suse.de>
52165
52166 [BZ #10709]
52167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52168 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52169 * math/libm-test.inc (sin_test): Add test case.
52170
a1b560ff
UD
521712011-10-29 Ulrich Drepper <drepper@gmail.com>
52172
c9aaface
UD
52173 [BZ #13337]
52174 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52175 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52176
d272e7f1
UD
52177 * elf/chroot_canon.c (chroot_canon): Cleanups.
52178
1bc33071
UD
52179 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52180
1760874d
TJ
52181 [BZ #13335]
52182 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52184
51d91b18
UD
52185 * string/test-strchr.c: Make usable for strchrnul testing.
52186 * string/test-strchrnul.c: New file.
52187 * string/Makefile (strop-tests): Add strchrnul.
52188
a1b560ff 52189 * po/it.po: Update from translation team.
b611fb81 52190 * po/es.po: Likewise.
a1b560ff 52191
a5b81e1f
UD
521922011-10-28 Ulrich Drepper <drepper@gmail.com>
52193
fd52bc6d
UD
52194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52195 the three constants needed as parameters. Drop the others.
52196 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52197 __m128i_strloadu_tolower.
52e4b9eb
UD
52198 Create and initialize variable zero and use it in all the places
52199 where _mm_setzero_si128 was used.
fd52bc6d 52200
a5b81e1f
UD
52201 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52202 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52203 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52204 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52205 anymore.
52206 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52209 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52210 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52211 __mpranred, __mptan.
52212 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52213 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52214 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52215 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52216 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52217 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52218 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52219 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52221
b4343346
AS
522222011-10-28 Andreas Schwab <schwab@redhat.com>
52223
0c92d8a8
AS
52224 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52225 redefine if SHARED.
52226 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52227
b4343346
AS
52228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52229 wide char related routines to wcsmbs subdir.
52230
3871f58f
AS
522312011-10-27 Andreas Schwab <schwab@redhat.com>
52232
52233 [BZ #13344]
52234 * misc/sys/cdefs.h (__THROWNL): Define.
52235 * posix/unistd.h: Use __THREADNL instead of __THREAD
52236 for memory synchronization functions.
52237
94d44d9f
RM
522382011-10-26 Roland McGrath <roland@hack.frob.com>
52239
21b64b15 52240 [BZ #13349]
94d44d9f
RM
52241 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52242 doesn't exist.
52243 * manual/stdio.texi (Obstack Streams): Node removed.
52244
f6ce9294
AS
522452011-10-26 Andreas Schwab <schwab@redhat.com>
52246
80479147
AS
52247 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52248 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52249 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52250
f6ce9294
AS
52251 * math/math_private.h (math_force_eval): Allow non-addressable
52252 arguments.
52253 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52254
618280a1
UD
522552011-10-25 Ulrich Drepper <drepper@gmail.com>
52256
e0016b11
UD
52257 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52258 file is not needed.
52259
52260 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52267 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52268 Add AVX variants.
52269 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52270 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52271 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52272 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52273 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52274 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52275 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52276 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52279 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52280 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52282 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52283 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52284 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52285 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52286 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52287 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52288
52289 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52290 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52291
618280a1
UD
52292 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52293 place. Use VEX encoding when compiling for AVX.
52294
37822576
AS
522952011-10-25 Andreas Schwab <schwab@redhat.com>
52296
1f1e1947
AS
52297 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52298 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52299
37822576
AS
52300 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52301
31ea014d
UD
523022011-10-25 Ulrich Drepper <drepper@gmail.com>
52303
d7826aa1 52304 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52305 useless if() expression.
d7826aa1
UD
52306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52307 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52308 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52310 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52312 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52318 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52319 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52320 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52323 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52324 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52325
31ea014d
UD
52326 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52327
16437fec
AS
523282011-10-25 Andreas Schwab <schwab@redhat.com>
52329
52330 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52331 condition.
52332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52333
31d3cc00
UD
523342011-10-25 Ulrich Drepper <drepper@gmail.com>
52335
52336 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52337 .text section. Avoid duplicate constants.
52338 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52346 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52347 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52348 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52349 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52350 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52351 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52352 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52353 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52354 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52355 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52356 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52359 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52360 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52361 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52362 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52363 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52364 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52365 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52366 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52367 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52368 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52369 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52370 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52371 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52372 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52373 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52374 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52375 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52376 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52377 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52378 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52379 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52380 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52381 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52382 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52383
58985aa9
UD
523842011-10-24 Ulrich Drepper <drepper@gmail.com>
52385
202c9deb
UD
52386 * sysdeps/x86_64/dla.h: Move to ...
52387 * sysdeps/x86_64/fpu/dla.h: ...here.
52388 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52389 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52390
af968f62
UD
52391 * config.make.in: Add have-mfma4 entry.
52392 * configure.in: Substitute libc_cv_cc_fma4.
52393 * math/Makefile (dbl-only-routines): Add sincostab.
52394 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52395 Use __sincostab not sincos.
52396 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52397 name is a macro.
52398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52402 using __copysign.
52403 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52404 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52405 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52406 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52407 and __inv.
52408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52409 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52410 __copysign.
52411 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52412 define aliases when function name is a macro.
52413 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52414 sysdeps/ieee754/dbl-64/sincos.tbl.
52415 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52416 fma4-enabled routines.
52417 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52418 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52419 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52420 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52422 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52425 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52426 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52427 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52429 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52440 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52442 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52444 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52445 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52446 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52447
58985aa9
UD
52448 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52449 rename.
52450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52458
a201fbcf
AS
524592011-10-24 Andreas Schwab <schwab@redhat.com>
52460
52461 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52462
fc2ee42a
LD
524632011-10-23 Ulrich Drepper <drepper@gmail.com>
52464
bb3129bd
UD
52465 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52466
0275fff8
UD
52467 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52468 prediction.
52469 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52470
2fa2ae85
UD
52471 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52472 Remove unused variable magic_bits.
52473 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52474
fc2ee42a
LD
52475 * string/strnlen.c: Define and use STRNLEN macro.
52476 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52477 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52479 * wcsmbs/wcslen.c: Define and use WCSLEN.
52480 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52481 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52482 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52483 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52484 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52485 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52486 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52487
ce7dd29f
LD
524882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52489
52490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52491 strnlen-sse2-no-bsf.
52492 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52494 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52495 Add strnlen support.
52496 (USE_AS_STRNLEN): New macro.
52497 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52499 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52500 * sysdeps/x86_64/wcslen.S: New file.
52501
979c70a3
MZ
525022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52503
52504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52505 XMM-moves are used for copying on small sizes.
52506
2d09f82f
LD
525072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52508
52509 * wcsmbs/Makefile (strop-tests): Add wcschr.
52510 * wcsmbs/test-wcschr.c: New file.
52511 * string/test-strchr.c: Update.
52512 Add wcschr support.
52513 (WIDE): New macro.
52514
619fccca
LD
525152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52516
2d09f82f 52517 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52518 * wcsmbs/test-wcslen.c: New file.
52519 * string/test-strlen.c: Update.
52520 Add wcslen support.
52521 (WIDE): New macro.
52522
09f699ea
UD
525232011-10-23 Ulrich Drepper <drepper@gmail.com>
52524
52525 * po/it.po: Update from translation team.
52526
95584d3b
LD
525272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52528
52529 * sysdeps/x86_64/wcscmp.S: Update.
52530 Fix wrong comparison semantics.
52531 wcscmp shall use signed comparison not unsigned.
52532 Don't use substraction to avoid overflow bug.
52533 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52534 * wcsmbc/wcscmp.c: Likewise.
52535 * string/test-strcmp.c: Likewise.
52536 Add new tests to check cases with negative values.
52537
c8b3296b
UD
525382011-10-23 Ulrich Drepper <drepper@gmail.com>
52539
52540 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52541 * sysdeps/x86_64/dla.h: ...here. New file.
52542 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52551
246ad57a
AS
525522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52553
52554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52555 __ynl_finite aliases.
52556
a1a87169
UD
525572011-10-22 Ulrich Drepper <drepper@gmail.com>
52558
0d355eb7
UD
52559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52560
a1a87169
UD
52561 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52562 define DLA_FMA.
52563 [DLA_FMA] (EMULV): Use DLA_FMA.
52564 [DLA_FMA] (MUL12): Use EMULV.
52565 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52566 that are not needed.
52567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52574
ee2aafe0
AS
525752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52576
52577 * math/s_nan.c: Undef __nan.
52578 * math/s_nanf.c: Undef __nanf.
52579 * math/s_nanl.c: Undef __nanl.
52580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52581 "math_private.h".
52582
bc62c2fb
UD
525832011-10-22 Ulrich Drepper <drepper@gmail.com>
52584
77425c63
UD
52585 * math/s_catan.c: Add branch predictions.
52586 * math/s_catanf.c: Likewise.
52587 * math/s_catanh.c: Likewise.
52588 * math/s_catanhf.c: Likewise.
52589 * math/s_catanhl.c: Likewise.
52590 * math/s_catanl.c: Likewise.
52591 * math/s_cexp.c: Likewise.
52592 * math/s_cexpf.c: Likewise.
52593 * math/s_cexpl.c: Likewise.
52594 * math/s_clog.c: Likewise.
52595 * math/s_clog10.c: Likewise.
52596 * math/s_clog10f.c: Likewise.
52597 * math/s_clog10l.c: Likewise.
52598 * math/s_clogf.c: Likewise.
52599 * math/s_clogl.c: Likewise.
52600 * math/s_csqrt.c: Likewise.
52601 * math/s_csqrtf.c: Likewise.
52602 * math/s_csqrtl.c: Likewise.
52603 * math/s_ctanf.c: Likewise.
52604 * math/s_ctanh.c: Likewise.
52605 * math/s_ctanhf.c: Likewise.
52606 * math/s_ctanhl.c: Likewise.
52607 * math/s_ctanl.c: Likewise.
52608
bc62c2fb
UD
52609 * math/math_private.h: Define __nan, __nanf, __nanl.
52610 * math/s_cacosh.c: Include <math_private.h>.
52611 * math/s_cacoshl.c: Likewise.
52612 * math/s_casinh.c: Likewise.
52613 * math/s_casinhf.c: Likewise.
52614 * math/s_casinhl.c: Likewise.
52615 * math/s_ccos.c: Rely entire on ccosh.
52616 * math/s_ccosf.c: Rely entire on ccoshf.
52617 * math/s_ccosl.c: Rely entirely on ccoshl.
52618 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52619 Remove tests for FE_INVALID.
52620 * math/s_ccoshf.c: Likewise.
52621 * math/s_ccoshl.c: Likewise.
52622 * math/s_csin.c: Likewise.
52623 * math/s_csinf.c: Likewise.
52624 * math/s_csinh.c Likewise.
52625 * math/s_csinhf.c: Likewise.
52626 * math/s_csinhl.c: Likewise.
52627 * math/s_csinl.c: Likewise.
52628 * math/s_ctan.c: Likewise.
52629 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52630 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52631 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52632
8ec250a4
UD
526332011-10-21 Ulrich Drepper <drepper@gmail.com>
52634
c196fed8
UD
52635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52636 compilation problems.
52637
8ec250a4
UD
52638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52639 __builtin_expect.
52640
8d4f46c6
UD
526412011-10-20 Ulrich Drepper <drepper@gmail.com>
52642
ed72b654
UD
52643 * sysdeps/i386/configure.in: Test for -mfma4 option.
52644 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52645 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52646 COMMON_CPUID_INDEX_80000001.
52647 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52648 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52649 use it if FMA3 is not supported.
52650 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52651
8d4f46c6
UD
52652 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52653 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52654
d45c60c2
AS
526552011-10-20 Andreas Schwab <schwab@redhat.com>
52656
52657 [BZ #12892]
52658 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52659 it would create a cycle with a link time dependency.
52660
d9a4d2ab
UD
526612011-10-19 Ulrich Drepper <drepper@gmail.com>
52662
855d1560
UD
52663 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52664 instruction.
52665 * string/Makefile (strop-tests): Add rawmemchr.
52666 * string/test-rawmemchr.c: New file.
52667
d9a4d2ab
UD
52668 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52670 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52671 when compiling str{,n}casecmp and when AVX is available. Hook up
52672 new optimized code in initializers.
52673
8f3b1ffe
AS
526742011-10-19 Andreas Schwab <schwab@redhat.com>
52675
52676 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52677 __feraiseexcept instead of feraiseexcept.
52678
d38f1dba
UD
526792011-10-18 Ulrich Drepper <drepper@gmail.com>
52680
d9a8d0ab
UD
52681 * math/math_private.h: Define defaults for libc_fetestexcept and
52682 libc_feupdateenv.
52683 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52684 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52685 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52686 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52687 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52688 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52689 libc_fetestexcept and libc_feupdateenv.
52690
4855e3dd
UD
52691 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52692 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52693 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52694 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52695 libc_feholdexcept_setround.
52696
581d30e3
UD
52697 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52698 Add s_nearbyint-c and s_nearbyintf-c.
52699 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52700 nearbyintf inlines.
52701 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52703 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52704 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52705
d38f1dba
UD
52706 * math/math_private.h: Define defaults for libc_fegetround,
52707 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52708 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52709 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52711 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52712 standard functions.
52713 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52714 Remove comments and hacks for old compiler versions.
52715 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52716 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52717 libc_feholdexceptl.
52718
caa6c9d8
AS
527192011-10-18 Andreas Schwab <schwab@redhat.com>
52720
52721 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52722 (__feraiseexcept_renamed): Add __NTH.
52723 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52724 namespace violations.
52725
97c066e6
UD
527262011-10-17 Ulrich Drepper <drepper@gmail.com>
52727
99ce7b04
UD
52728 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52729
1004d182
UD
52730 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52731
228a984d
UD
52732 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52733 recently added interfaces.
52734 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52735
c8553a6a
UD
52736 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52737 about macro parameter expansion.
52738
ed22dcf6
UD
52739 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52740 __NO_MATH_INLINES is defined. Cleanups.
52741
52742 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52743 and __floorf is target has SSE4.1.
52744 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52745 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52746 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52748
b171c137
UD
52749 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52750 name.
52751 (floorf): Likewise.
52752
97c066e6
UD
52753 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52754
629f62ef
AS
527552011-10-17 Andreas Schwab <schwab@redhat.com>
52756
49a43d80
AS
52757 * misc/sys/cdefs.h: Fix last change.
52758
629f62ef
AS
52759 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52760 database lookup.
52761
e453f6cd
UD
527622011-10-16 Ulrich Drepper <drepper@gmail.com>
52763
aa78043a
UD
52764 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52765
ad0f5cad
UD
52766 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52767 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52768 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52769 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52772 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52774 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52775 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52776 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52777 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52778 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52779 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52780 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52781 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52783 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52784 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52785 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52787 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52788
52789 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52790 ceil, ceilf, floor, floorf.
52791
52792 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52793 Perform IRELATIVE relocations last.
52794
e453f6cd
UD
52795 * elf/do-rel.h: Add another parameter nrelative, replacing the
52796 local variable with the same name. Change name of the function
52797 to end in Rel or Rela (uppercase).
52798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52799 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52800 elf_dynamic_do_##reloc function.
52801
fd5bdc09
UD
528022011-10-15 Ulrich Drepper <drepper@gmail.com>
52803
79b195b5
UD
52804 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52805 is sufficient, at least on modern CPUs.
52806
d4a28569
UD
52807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52808
b61099b5
UD
52809 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52810 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52811
bcf01e6d
UD
52812 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52813 __expl_finite.
52814 * math/bits/math-finite.h: Add entries for exp.
52815 * math/e_expl.c: Add __*_finite alias.
52816 * sysdeps/i386/fpu/e_exp.S: Likewise.
52817 * sysdeps/i386/fpu/e_expf.S: Likewise.
52818 * sysdeps/i386/fpu/e_expl.c: Likewise.
52819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52820 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52821 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52823 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52824 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52825 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52826
ba1a0d59
UD
52827 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52828 is sufficient, at least on modern CPUs.
52829
fd5bdc09
UD
52830 * ctype/ctype-info.c (__ctype_init): Define.
52831 * include/ctype.h (__ctype_init): Declare.
52832 (__ctype_b_loc): The variable is always initialized.
52833 (__ctype_toupper_loc): Likewise.
52834 (__ctype_tolower_loc): Likewise.
52835 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52836 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52837
7872cfb0
AS
528382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52839
b468825a
AS
52840 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52841
7872cfb0
AS
52842 * configure.in: Also look in $cxxmachine/include for C++ system
52843 headers.
52844
be13f7bf
LD
528452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52846
52847 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52848 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52849 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52850 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52852 (USE_AS_WMEMCMP): New macro.
52853 Fixing indents.
52854 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52855 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52856 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52857 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52859 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52860 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52861 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52862 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52863 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52865 (USE_AS_WMEMCMP): New macro.
52866 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52867 * sysdeps/string/test-memcmp.c: Update.
52868 Fix simple_wmemcmp.
52869 Add new tests.
52870 * wcsmbs/wmemcmp.c: Update.
52871 (WMEMCMP): New macro.
52872 Fix overflow bug.
52873
556a2007
AJ
528742011-10-12 Andreas Jaeger <aj@suse.de>
52875
52876 [BZ #13268]
52877 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52878
538faaa7
UD
528792011-10-15 Ulrich Drepper <drepper@gmail.com>
52880
ab6737ff
UD
52881 * libio/iofwide.c (do_length): Avoid warning.
52882
538faaa7
UD
52883 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52884
396a21b1
UD
528852011-10-14 Ulrich Drepper <drepper@gmail.com>
52886
cdf2901f
UD
52887 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52888
38ad40ce
UD
52889 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52890 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52891 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52892 * sysdeps/i386/i686/fpu/e_log.S: New file.
52893 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52894 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52895
396a21b1
UD
52896 * ctype/ctype.h: Add support for inlined isXXX functions when
52897 compiling C++ code.
52898
6b1f68c9
AS
528992011-10-14 Andreas Schwab <schwab@redhat.com>
52900
349290c0
AS
52901 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52902
6b1f68c9
AS
52903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52904
f2282d42
RM
529052011-10-13 Roland McGrath <roland@hack.frob.com>
52906
52907 [BZ #13291]
52908 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52909
5298ffa8
AS
529102011-10-13 Andreas Schwab <schwab@redhat.com>
52911
714fad23
AS
52912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52913 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52914 feraiseexcept.
52915
81dcc7fb
AS
52916 * sysdeps/x86_64/memrchr.S: Check for zero size.
52917
5298ffa8
AS
52918 * string/stratcliff.c: Add memrchr tests.
52919
951fbcec
LD
529202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52921
52922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52923 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52924 rawmemchr-sse2 rawmemchr-sse2-bsf.
52925 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52926 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52927 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52928 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52929 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52930 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52931 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52932 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52933 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52934 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52935 * string/memrchr.c (MEMRCHR): New macro.
52936
0ac5ae23
UD
529372011-10-12 Ulrich Drepper <drepper@gmail.com>
52938
52939 Add integration with gcc's -ffinite-math-only and optimize wrapper
52940 functions in libm.
52941 * Versions.def: Define GLIBC_2.15 version for libm.
52942 * math/Makefile (headers): Add bits/math-finite.h.
52943 * math/bits/math-finite.h: New file.
52944 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52945 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52946 * math/e_acoshl.c: Add __*_finite alias.
52947 * math/e_acosl.c: Likewise.
52948 * math/e_asinl.c: Likewise.
52949 * math/e_atan2l.c: Likewise.
52950 * math/e_atanhl.c: Likewise.
52951 * math/e_coshl.c: Likewise.
52952 * math/e_exp10.c: Likewise.
52953 * math/e_exp10f.c: Likewise.
52954 * math/e_exp10l.c: Likewise.
52955 * math/e_exp2l.c: Likewise.
52956 * math/e_fmodl.c: Likewise.
52957 * math/e_gammal_r.c: Likewise.
52958 * math/e_hypotl.c: Likewise.
52959 * math/e_j0l.c: Likewise.
52960 * math/e_j1l.c: Likewise.
52961 * math/e_jnl.c: Likewise.
52962 * math/e_lgammal_r.c: Likewise.
52963 * math/e_log10l.c: Likewise.
52964 * math/e_log2l.c: Likewise.
52965 * math/e_logl.c: Likewise.
52966 * math/e_powl.c: Likewise.
52967 * math/e_sinhl.c: Likewise.
52968 * math/e_sqrtl.c: Likewise.
52969 * math/e_scalb.c: Completely rewritten and optimized.
52970 * math/e_scalbf.c: Likewise.
52971 * math/e_scalbl.c: Likewise.
52972 * math/w_acos.c: Likewise.
52973 * math/w_acosf.c: Likewise.
52974 * math/w_acosl.c: Likewise.
52975 * math/w_acosh.c: Likewise.
52976 * math/w_acoshf.c: Likewise.
52977 * math/w_acoshl.c: Likewise.
52978 * math/w_asin.c: Likewise.
52979 * math/w_asinf.c: Likewise.
52980 * math/w_asinl.c: Likewise.
52981 * math/w_atan2.c: Likewise.
52982 * math/w_atan2f.c: Likewise.
52983 * math/w_atan2l.c: Likewise.
52984 * math/w_atanh.c: Likewise.
52985 * math/w_atanhf.c: Likewise.
52986 * math/w_atanhl.c: Likewise.
52987 * math/w_exp10.c: Likewise.
52988 * math/w_exp10f.c: Likewise.
52989 * math/w_exp10l.c: Likewise.
52990 * math/w_fmod.c: Likewise.
52991 * math/w_fmodf.c: Likewise.
52992 * math/w_fmodl.c: Likewise.
52993 * math/w_j0.c: Likewise.
52994 * math/w_j0f.c: Likewise.
52995 * math/w_j0l.c: Likewise.
52996 * math/w_j1.c: Likewise.
52997 * math/w_j1f.c: Likewise.
52998 * math/w_j1l.c: Likewise.
52999 * math/w_jn.c: Likewise.
53000 * math/w_jnf.c: Likewise.
53001 * math/w_log.c: Likewise.
53002 * math/w_logf.c: Likewise.
53003 * math/w_logl.c: Likewise.
53004 * math/w_log10.c: Likewise.
53005 * math/w_log10f.c: Likewise.
53006 * math/w_log10l.c: Likewise.
53007 * math/w_log2.c: Likewise.
53008 * math/w_log2f.c: Likewise.
53009 * math/w_log2l.c: Likewise.
53010 * math/w_pow.c: Likewise.
53011 * math/w_powf.c: Likewise.
53012 * math/w_powl.c: Likewise.
53013 * math/w_remainder.c: Likewise.
53014 * math/w_remainderf.c: Likewise.
53015 * math/w_remainderl.c: Likewise.
53016 * math/w_scalb.c: Likewise.
53017 * math/w_scalbf.c: Likewise.
53018 * math/w_scalbl.c: Likewise.
53019 * math/w_sqrt.c: Likewise.
53020 * math/w_sqrtf.c: Likewise.
53021 * math/w_sqrtl.c: Likewise.
53022 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53023 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53024 used.
53025 * math/math_private.h: Declare __kernel_standard_f.
53026 * math/w_cosh.c: Remove cruft and optimize a bit.
53027 * math/w_coshf.c: Likewise.
53028 * math/w_coshl.c: Likewise.
53029 * math/w_exp2.c: Likewise.
53030 * math/w_exp2f.c: Likewise.
53031 * math/w_exp2l.c: Likewise.
53032 * math/w_hypot.c: Likewise.
53033 * math/w_hypotf.c: Likewise.
53034 * math/w_hypotl.c: Likewise.
53035 * math/w_lgamma.c: Likewise.
53036 * math/w_lgamma_r.c: Likewise.
53037 * math/w_lgammaf.c: Likewise.
53038 * math/w_lgammaf_r.c: Likewise.
53039 * math/w_lgammal.c: Likewise.
53040 * math/w_lgammal_r.c: Likewise.
53041 * math/w_sinh.c: Likewise.
53042 * math/w_sinhf.c: Likewise.
53043 * math/w_sinhl.c: Likewise.
53044 * math/w_tgamma.c: Likewise.
53045 * math/w_tgammaf.c: Likewise.
53046 * math/w_tgammal.c: Likewise.
53047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53049 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53050 Minor optimizations. Pretty printing. Remove cruft.
53051 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53052 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53053 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53055 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53056 * sysdeps/i386/fpu/e_asin.S: Likewise.
53057 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53058 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53059 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53060 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53061 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53063 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53064 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53065 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53066 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53067 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53068 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53069 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53070 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53071 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53072 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53073 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53074 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53075 * sysdeps/i386/fpu/e_log.S: Likewise.
53076 * sysdeps/i386/fpu/e_log10.S: Likewise.
53077 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53078 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53079 * sysdeps/i386/fpu/e_log2.S: Likewise.
53080 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53082 * sysdeps/i386/fpu/e_logf.S: Likewise.
53083 * sysdeps/i386/fpu/e_logl.S: Likewise.
53084 * sysdeps/i386/fpu/e_pow.S: Likewise.
53085 * sysdeps/i386/fpu/e_powf.S: Likewise.
53086 * sysdeps/i386/fpu/e_powl.S: Likewise.
53087 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53088 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53089 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53090 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53091 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53093 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53094 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53095 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53096 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53097 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53099 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53101 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53102 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53103 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53105 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53106 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53107 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53109 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53110 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53112 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53113 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53116 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53117 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53118 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53119 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53120 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53121 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53122 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53123 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53124 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53125 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53126 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53127 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53128 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53130 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53131 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53132 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53133 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53134 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53135 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53136 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53137 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53138 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53139 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53140 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53141 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53142 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53143 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53144 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53145 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53146 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53147 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53148 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53149 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53150 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53151 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53152 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53153 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53154 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53155 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53156 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53164 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53170 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53174 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53175 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53176 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53177 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53178 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53179 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53181 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53183 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53189 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53193 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53194 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53195 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53196 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53197 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53198 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53199 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53200 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53202 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53204 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53205 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53206 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53207 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53208 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53209 (__isnanf): Likewise.
53210 (__isinf_ns): Likewise.
53211 (__isinf_nsf): Likewise.
53212 (__finite): Likewise.
53213 (__finitef): Likewise.
53214 (__ieee754_sqrt): Define as macro.
53215 (__ieee754_sqrtf): Define as macro.
53216 (__ieee754_sqrtl): Define as macro.
53217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53218 inlined copy.
53219 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53220 __FINITE_MATH_ONLY__ consistent.
53221 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53222
12cc2fcd
AS
532232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53224
a843a204
AS
53225 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53226 of rawmemchr.
53227
12cc2fcd
AS
53228 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53229
c853acd5
UD
532302011-10-09 Ulrich Drepper <drepper@gmail.com>
53231
53232 * po/ja.po: Update from translation team.
53233
c658d255
RM
532342011-10-08 Roland McGrath <roland@hack.frob.com>
53235
110946e4
RM
53236 * locale/programs/locarchive.c (prepare_address_space): New function.
53237 (create_archive, enlarge_archive, open_archive): Use it.
53238
50604220
RM
53239 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53240 inside [SHARED], where it is used.
53241
c658d255
RM
53242 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53243
53244 * nss/getent.c (netgroup_keys): Remove unused variable.
53245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53246
6a621eb7
UD
532472011-10-08 Ulrich Drepper <drepper@gmail.com>
53248
7edb55ce
UD
53249 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53250 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53252 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53253 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53254 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53255 * math/Makefile (libm-calls): Add s_isinf_ns.
53256 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53257 * math/multc3.c: Likewise.
53258 * math/s_casin.c: Likewise.
53259 * math/s_casinf.c: Likewise.
53260 * math/s_casinl.c: Likewise.
53261 * math/s_ccos.c: Likewise.
53262 * math/s_ccosf.c: Likewise.
53263 * math/s_ccosl.c: Likewise.
53264 * math/s_ctan.c: Likewise.
53265 * math/s_ctanf.c: Likewise.
53266 * math/s_ctanh.c: Likewise.
53267 * math/s_ctanhf.c: Likewise.
53268 * math/s_ctanhl.c: Likewise.
53269 * math/s_ctanl.c: Likewise.
53270 * math/w_fmod.c: Likewise.
53271 * math/w_fmodf.c: Likewise.
53272 * math/w_fmodl.c: Likewise.
53273 * math/w_remainder.c: Likewise.
53274 * math/w_remainderf.c: Likewise.
53275 * math/w_remainderl.c: Likewise.
53276 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53277 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53280 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53281 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53282 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53283 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53284
187da0ae
UD
53285 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53286 of the number.
53287 * stdio-common/printf_fphex.c: Likewise.
53288 * stdio-common/printf_size.c: Likewise.
53289
9277c064
UD
53290 * math/e_exp10.c: Include math_private.h using <...> not "...".
53291 * math/e_exp10f.c: Likewise.
53292 * math/e_exp10l.c: Likewise.
53293 * math/e_exp2l.c: Likewise.
53294 * math/e_j0l.c: Likewise.
53295 * math/e_j1l.c: Likewise.
53296 * math/e_jnl.c: Likewise.
53297 * math/e_lgammal_r.c: Likewise.
53298 * math/e_rem_pio2l.c: Likewise.
53299 * math/e_scalb.c: Likewise.
53300 * math/e_scalbf.c: Likewise.
53301 * math/e_scalbl.c: Likewise.
53302 * math/k_cosl.c: Likewise.
53303 * math/k_sinl.c: Likewise.
53304 * math/k_tanl.c: Likewise.
53305 * math/s_cacoshf.c: Likewise.
53306 * math/s_catan.c: Likewise.
53307 * math/s_catanf.c: Likewise.
53308 * math/s_catanh.c: Likewise.
53309 * math/s_catanhf.c: Likewise.
53310 * math/s_catanhl.c: Likewise.
53311 * math/s_catanl.c: Likewise.
53312 * math/s_ccosh.c: Likewise.
53313 * math/s_ccoshf.c: Likewise.
53314 * math/s_ccoshl.c: Likewise.
53315 * math/s_cexp.c: Likewise.
53316 * math/s_cexpf.c: Likewise.
53317 * math/s_cexpl.c: Likewise.
53318 * math/s_clog.c: Likewise.
53319 * math/s_clog10.c: Likewise.
53320 * math/s_clog10f.c: Likewise.
53321 * math/s_clog10l.c: Likewise.
53322 * math/s_clogf.c: Likewise.
53323 * math/s_clogl.c: Likewise.
53324 * math/s_csin.c: Likewise.
53325 * math/s_csinf.c: Likewise.
53326 * math/s_csinh.c: Likewise.
53327 * math/s_csinhf.c: Likewise.
53328 * math/s_csinhl.c: Likewise.
53329 * math/s_csinl.c: Likewise.
53330 * math/s_csqrt.c: Likewise.
53331 * math/s_csqrtf.c: Likewise.
53332 * math/s_csqrtl.c: Likewise.
53333 * math/s_ctan.c: Likewise.
53334 * math/s_ctanf.c: Likewise.
53335 * math/s_ctanh.c: Likewise.
53336 * math/s_ctanhf.c: Likewise.
53337 * math/s_ctanhl.c: Likewise.
53338 * math/s_ctanl.c: Likewise.
53339 * math/s_ldexp.c: Likewise.
53340 * math/s_ldexpf.c: Likewise.
53341 * math/s_ldexpl.c: Likewise.
53342 * math/s_significand.c: Likewise.
53343 * math/s_significandf.c: Likewise.
53344 * math/s_significandl.c: Likewise.
53345 * math/w_acos.c: Likewise.
53346 * math/w_acosf.c: Likewise.
53347 * math/w_acosh.c: Likewise.
53348 * math/w_acoshf.c: Likewise.
53349 * math/w_acoshl.c: Likewise.
53350 * math/w_acosl.c: Likewise.
53351 * math/w_asin.c: Likewise.
53352 * math/w_asinf.c: Likewise.
53353 * math/w_asinl.c: Likewise.
53354 * math/w_atan2.c: Likewise.
53355 * math/w_atan2f.c: Likewise.
53356 * math/w_atan2l.c: Likewise.
53357 * math/w_atanh.c: Likewise.
53358 * math/w_atanhf.c: Likewise.
53359 * math/w_atanhl.c: Likewise.
53360 * math/w_cosh.c: Likewise.
53361 * math/w_coshf.c: Likewise.
53362 * math/w_coshl.c: Likewise.
53363 * math/w_dremf.c: Likewise.
53364 * math/w_exp10.c: Likewise.
53365 * math/w_exp10f.c: Likewise.
53366 * math/w_exp10l.c: Likewise.
53367 * math/w_exp2.c: Likewise.
53368 * math/w_exp2f.c: Likewise.
53369 * math/w_fmod.c: Likewise.
53370 * math/w_fmodf.c: Likewise.
53371 * math/w_fmodl.c: Likewise.
53372 * math/w_hypot.c: Likewise.
53373 * math/w_hypotf.c: Likewise.
53374 * math/w_hypotl.c: Likewise.
53375 * math/w_j0.c: Likewise.
53376 * math/w_j0f.c: Likewise.
53377 * math/w_j0l.c: Likewise.
53378 * math/w_j1.c: Likewise.
53379 * math/w_j1f.c: Likewise.
53380 * math/w_j1l.c: Likewise.
53381 * math/w_jn.c: Likewise.
53382 * math/w_jnf.c: Likewise.
53383 * math/w_jnl.c: Likewise.
53384 * math/w_lgamma.c: Likewise.
53385 * math/w_lgamma_r.c: Likewise.
53386 * math/w_lgammaf.c: Likewise.
53387 * math/w_lgammaf_r.c: Likewise.
53388 * math/w_lgammal.c: Likewise.
53389 * math/w_lgammal_r.c: Likewise.
53390 * math/w_log.c: Likewise.
53391 * math/w_log10.c: Likewise.
53392 * math/w_log10f.c: Likewise.
53393 * math/w_log10l.c: Likewise.
53394 * math/w_log2.c: Likewise.
53395 * math/w_log2f.c: Likewise.
53396 * math/w_log2l.c: Likewise.
53397 * math/w_logf.c: Likewise.
53398 * math/w_logl.c: Likewise.
53399 * math/w_pow.c: Likewise.
53400 * math/w_powf.c: Likewise.
53401 * math/w_powl.c: Likewise.
53402 * math/w_remainder.c: Likewise.
53403 * math/w_remainderf.c: Likewise.
53404 * math/w_remainderl.c: Likewise.
53405 * math/w_scalb.c: Likewise.
53406 * math/w_scalbf.c: Likewise.
53407 * math/w_scalbl.c: Likewise.
53408 * math/w_sinh.c: Likewise.
53409 * math/w_sinhf.c: Likewise.
53410 * math/w_sinhl.c: Likewise.
53411 * math/w_sqrt.c: Likewise.
53412 * math/w_sqrtf.c: Likewise.
53413 * math/w_sqrtl.c: Likewise.
53414 * math/w_tgamma.c: Likewise.
53415 * math/w_tgammaf.c: Likewise.
53416 * math/w_tgammal.c: Likewise.
53417
6a621eb7
UD
53418 * po/ja.po: Update from translation team.
53419
bf582445
AJ
534202011-09-29 Andreas Jaeger <aj@suse.de>
53421
f9efbf3a
AJ
53422 [BZ #13179]
53423 * sunrpc/netname.c (netname2host): Fix logic.
53424
bf582445
AJ
53425 [BZ #6779]
53426 [BZ #6783]
53427 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53428 correctly.
53429 * math/w_remainder.c (__remainder): Likewise.
53430 * math/w_remainderf.c (__remainderf): Likewise.
53431 * math/libm-test.inc (remainder_test): Add test cases.
53432
48693bea
AK
534332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53434
53435 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53436 sdiv_qrnnd.
53437
42622229
LD
534382011-10-07 Ulrich Drepper <drepper@gmail.com>
53439
53440 * string/test-memcmp.c: Avoid unncessary #defines.
53441 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53442
093ecf92
LD
534432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53444
53445 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53446 Use new sse2 version for core i3 - i7 as it's faster
53447 than sse42 version.
53448 (bit_Prefer_PMINUB_for_stringop): New.
53449 * sysdeps/x86_64/rawmemchr.S: Update.
53450 Replace with faster SSE2 version.
53451 * sysdeps/x86_64/memrchr.S: New file.
53452 * sysdeps/x86_64/memchr.S: Update.
53453 Replace with faster SSE2 version.
53454
fde56e5c
MP
534552011-09-12 Marek Polacek <mpolacek@redhat.com>
53456
53457 * elf/dl-load.c (lose): Add cast to avoid warning.
53458
21fd49a9
UD
534592011-10-07 Ulrich Drepper <drepper@gmail.com>
53460
5a06e643
UD
53461 * po/ca.po: Update from translation team.
53462
684ae515
UD
53463 * inet/getnetgrent_r.c: Hook up nscd.
53464 * nscd/Makefile (routines): Add nscd_netgroup.
53465 (nscd-modules): Add netgroupcache.
53466 (CFLAGS-netgroupcache.c): Define.
53467 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53468 (cache_search): Add const to second parameter.
53469 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53470 INNETGR.
53471 (dbs): Add netgrdb entry.
53472 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53473 (verify_persistent_db): Handle netgrdb.
53474 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53475 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53476 GETFDNETGR.
53477 (netgroup_response_header): Define.
53478 (innetgroup_response_header): Define.
53479 (datahead): Add netgroup_response_header and innetgroup_response_header
53480 elements.
53481 * nscd/nscd.conf: Add entries for netgroup cache.
53482 * nscd/nscd.h (dbtype): Add netgrdb.
53483 (_PATH_NSCD_NETGROUP_DB): Define.
53484 (netgroup_iov_disabled): Declare.
53485 (xmalloc, xcalloc, xrealloc): Move declarations here.
53486 (cache_search): Adjust prototype.
53487 Add netgroup-related prototypes.
53488 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53489 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53490 (__nscd_innetgr): Declare.
53491 * nscd/selinux.c (perms): Use access_vector_t as element type and
53492 add netgroup-related initializers.
53493 * nscd/netgroupcache.c: New file.
53494 * nscd/nscd_netgroup.c: New file.
53495 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53496 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53497 For four parameters use innetgr.
53498 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53499 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53500 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53501 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53502
21fd49a9
UD
53503 * nscd/connections.c (register_traced_file): Don't register file
53504 for disabled databases.
53505
054c0457
UD
535062011-10-06 Ulrich Drepper <drepper@gmail.com>
53507
32b63198
UD
53508 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53509
054c0457
UD
53510 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53511 from tree and freeing node.
53512
64031225
JO
535132011-09-25 Jiri Olsa <jolsa@redhat.com>
53514
53515 * nss/nsswitch.c (__nss_database_lookup): Handle
53516 nss_parse_service_list out of memory case.
53517
0490345c
JO
535182011-09-15 Jiri Olsa <jolsa@redhat.com>
53519
53520 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53521 out of memory case.
53522
3a62d00d
AS
535232011-10-04 Andreas Schwab <schwab@redhat.com>
53524
53525 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53526 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53527 pass it down.
53528 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53529 elf_machine_rela, elf_machine_lazy_rel.
53530 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53531 (ELF_DYNAMIC_DO_REL): Likewise.
53532 (ELF_DYNAMIC_DO_RELA): Likewise.
53533 (ELF_DYNAMIC_RELOCATE): Likewise.
53534 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53535 to ELF_DYNAMIC_DO_REL.
53536 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53537 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53538 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53539 elf_machine_rela.
53540 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53541 skip_ifunc, don't call ifunc function if non-zero.
53542 (elf_machine_rela): Likewise.
53543 (elf_machine_lazy_rel): Likewise.
53544 (elf_machine_lazy_rela): Likewise.
53545 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53546 (elf_machine_lazy_rel): Likewise.
53547 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53548 Likewise.
53549 (elf_machine_lazy_rel): Likewise.
53550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53551 Likewise.
53552 (elf_machine_lazy_rel): Likewise.
53553 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53554 (elf_machine_lazy_rel): Likewise.
53555 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53556 (elf_machine_lazy_rel): Likewise.
53557 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53558 (elf_machine_lazy_rel): Likewise.
53559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53560 (elf_machine_lazy_rel): Likewise.
53561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53562 (elf_machine_lazy_rel): Likewise.
53563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53564 (elf_machine_lazy_rel): Likewise.
53565
68577918
UD
535662011-09-28 Ulrich Drepper <drepper@gmail.com>
53567
53568 * nss/nss_files/files-init.c (_nss_files_init): Use static
53569 initialization for all the *_traced_file variables.
53570
68822d74
AS
535712011-09-28 Andreas Schwab <schwab@redhat.com>
53572
53573 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53574
2056100b
RM
535752011-09-27 Roland McGrath <roland@hack.frob.com>
53576
53577 [BZ #13226]
53578 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53579
32c76b63
AS
535802011-09-27 Andreas Schwab <schwab@redhat.com>
53581
53582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53583 Reread the line before reparsing it.
53584
bf972c9d
AS
535852011-09-26 Andreas Schwab <schwab@redhat.com>
53586
53587 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53588
e057a1b5
JM
535892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53590 Maxim Kuvyrkov <maxim@codesourcery.com>
53591 Joseph Myers <joseph@codesourcery.com>
53592
53593 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53594 if needed for __stack_chk_guard.
53595
bc7e1c36
RM
535962011-09-19 Roland McGrath <roland@hack.frob.com>
53597
ecb1482f
RM
53598 * sysdeps/posix/spawni.c (script_execute): Always define it.
53599 It will be optimized away if unused.
53600 (maybe_script_execute): New function.
53601 (__spawni): Call it.
53602
bc7e1c36
RM
53603 * Makerules: Don't include tls.make.
53604 (config-tls): Always set to thread.
53605 * tls.make.c: File removed.
53606
1c3b002b
MF
536072011-09-19 Mike Frysinger <vapier@gentoo.org>
53608
53609 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53610 * config.make.in (CPPFLAGS-config): New substituted variable.
53611
2840865d
UD
536122011-09-15 Ulrich Drepper <drepper@gmail.com>
53613
88738eb6
UD
53614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53615
cbf645a6 53616 [BZ #13192]
2840865d
UD
53617 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53618 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53619
b402e91a
RM
536202011-09-15 Roland McGrath <roland@hack.frob.com>
53621
53622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53623 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53625 (CALL_FAIL): Likewise.
53626 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53627 (CALL_FAIL): Macro removed.
53628 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53629
4c1a1f71
UD
536302011-09-15 Ulrich Drepper <drepper@gmail.com>
53631
53632 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53633 for __FINITE_MATH_ONLY__ == 1.
53634
edc121be
AS
536352011-09-15 Andreas Schwab <schwab@redhat.com>
53636
53637 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53638 __ieee754_sqrt instead of sqrt.
53639 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53640 __ieee754_sqrtf instead of sqrtf.
53641 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53642 __floorf instead of floorf.
53643 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53644 __floorf, __truncf instead of floorf, truncf.
53645
cd205654
UD
536462011-09-14 Ulrich Drepper <drepper@gmail.com>
53647
ee4d0315
UD
53648 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53649
cd205654
UD
53650 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53651 __extern_always_inline.
53652 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53653 32-bit.
53654
48b67d71
AS
536552011-09-14 Andreas Schwab <schwab@redhat.com>
53656
53657 * elf/rtld.c (dl_main): Also relocate in dependency order when
53658 doing symbol dependency testing.
53659
1ae12c75
AS
536602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53661
53662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53663 Always define `refsym'.
53664
995a80df
AS
536652011-09-13 Andreas Schwab <schwab@redhat.com>
53666
e529793b
AS
53667 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53668 (__FD_ELT): Renamed from __FDELT.
53669 * misc/bits/select2.h (__FD_ELT): Likewise.
53670 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53671 __FD_MASK instead of __FDELT, __FDMASK.
53672 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53673 Likewise.
53674 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53675 Likewise.
53676
52d4fef8
AS
53677 * elf/Makefile (gen-ldd): Fix pattern.
53678
995a80df
AS
53679 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53680 (init_tls): Likewise.
53681
8682f8b0
UD
536822011-09-12 Ulrich Drepper <drepper@gmail.com>
53683
53684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53685
de82006d
AS
536862011-09-12 Andreas Schwab <schwab@redhat.com>
53687
a7c8e6a1
AS
53688 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53689 `struct cmsghdr *' instead of `void *'.
53690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53691 Likewise.
53692
0f31fe77
AS
536932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53694
53695 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53696 if non-absolute.
53697 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53698 ldd_rewrite_script.
0f31fe77 53699
32b4c839
UD
537002011-09-11 Ulrich Drepper <drepper@gmail.com>
53701
83cd1420
UD
53702 * configure.in: Remove --with-tls option.
53703 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53704 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53705 out in case it is missing.
53706 * sysdeps/ia64/elf/configure.in: Likewise.
53707 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53708 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53709 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53710 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53711 * sysdeps/sh/elf/configure.in: Likewise.
53712 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53713 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53714 * sysdeps/x86_64/elf/configure.in: Likewise.
53715 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53716 * sysdeps/mach/hurd/tls.h: Likewise.
53717
633f745d
UD
53718 [BZ #13067]
53719 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53720
f318beb8
UD
53721 [BZ #13090]
53722 * configure.in: Fix use of AC_INIT.
53723
32b4c839
UD
53724 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53725
3ce1f295
UD
537262011-09-10 Ulrich Drepper <drepper@gmail.com>
53727
bb016596
UD
53728 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53729 __set_errno.
8e58439c
UD
53730 * malloc/hooks.c: Likewise.
53731
aebae053 53732 [BZ #11929]
02d46fc4
UD
53733 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53734 variables statically.
53735 (narenas): Initialize.
53736 (list_lock): Initialize.
bb016596
UD
53737 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53738 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53739 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53740 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53741 Add initializers to main_arena and mp_.
53742 (malloc_state): Remove pagesize member. Change all users to use
53743 GLRO(dl_pagesize).
53744
53745 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53746 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53747 is always initialized.
53748
22a89187
UD
53749 * malloc/malloc.c: Removed unused configurations and dead code.
53750 * malloc/arena.c: Likewise.
53751 * malloc/hooks.c: Likewise.
02d46fc4 53752 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53753
d063d164
UD
53754 * include/tls.h: Removed. USE___THREAD must always be defined.
53755 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53756 * elf/dl-libc.c: Likewise.
53757 * elf/dl-tsd.c: Likewise.
53758 * include/errno.h: Likewise.
53759 * include/netdb.h: Likewise.
53760 * include/resolv.h: Likewise.
53761 * inet/herrno-loc.c: Likewise.
53762 * inet/herrno.c: Likewise.
53763 * malloc/arena.c: Likewise.
53764 * malloc/hooks.c: Likewise.
53765 * malloc/malloc.c: Likewise.
53766 * resolv/res-state.c: Likewise.
53767 * resolv/res_libc.c: Likewise.
53768 * sysdeps/i386/dl-machine.h: Likewise.
53769 * sysdeps/ia64/dl-machine.h: Likewise.
53770 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53772 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53773 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53774 * sysdeps/sh/dl-machine.h: Likewise.
53775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53777 * sysdeps/unix/i386/sysdep.S: Likewise.
53778 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53779 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53784 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53788 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53789 * sysdeps/x86_64/dl-machine.h: Likewise.
53790 * tls.make.c: Likewise.
53791
3ce1f295
UD
53792 * configure.in: Remove --with-__thread option. Make tests for
53793 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53794 tls_model attribute fail if no support is available. Remove
53795 USE_IN_LIBIO.
53796 * Makeconfig: Adjust for dropped configure option. All features are
53797 now mandatory.
53798 * Makerules: Likewise.
53799 * Versions.def: Likewise.
53800 * argp/argp-fmtstream.c: Likewise.
53801 * argp/argp-fmtstream.h: Likewise.
53802 * argp/argp-help.c: Likewise.
53803 * assert/assert.c: Likewise.
53804 * config.h.in: Likewise.
53805 * config.make.in: Likewise.
53806 * configure: Likewise.
53807 * configure.in: Likewise.
53808 * csu/Versions: Likewise.
53809 * csu/init.c: Likewise.
53810 * elf/tst-audit2.c: Likewise.
53811 * elf/tst-tls10.c: Likewise.
53812 * elf/tst-tls10.h: Likewise.
53813 * elf/tst-tls11.c: Likewise.
53814 * elf/tst-tls12.c: Likewise.
53815 * elf/tst-tls14.c: Likewise.
53816 * elf/tst-tlsmod11.c: Likewise.
53817 * elf/tst-tlsmod12.c: Likewise.
53818 * elf/tst-tlsmod13.c: Likewise.
53819 * elf/tst-tlsmod13a.c: Likewise.
53820 * elf/tst-tlsmod14a.c: Likewise.
53821 * elf/tst-tlsmod15b.c: Likewise.
53822 * elf/tst-tlsmod16a.c: Likewise.
53823 * elf/tst-tlsmod16b.c: Likewise.
53824 * elf/tst-tlsmod7.c: Likewise.
53825 * elf/tst-tlsmod8.c: Likewise.
53826 * elf/tst-tlsmod9.c: Likewise.
53827 * gmon/gmon.c: Likewise.
53828 * grp/fgetgrent_r.c: Likewise.
53829 * grp/putgrent.c: Likewise.
53830 * hurd/fopenport.c: Likewise.
53831 * include/libc-symbols.h: Likewise.
53832 * include/tls.h: Likewise.
53833 * intl/gettextP.h: Likewise.
53834 * intl/loadinfo.h: Likewise.
53835 * locale/global-locale.c: Likewise.
53836 * locale/localeinfo.h: Likewise.
53837 * mach/devstream.c: Likewise.
53838 * malloc/arena.c: Likewise.
53839 * malloc/set-freeres.c: Likewise.
53840 * misc/err.c: Likewise.
53841 * misc/getttyent.c: Likewise.
53842 * misc/mntent_r.c: Likewise.
53843 * posix/getopt.c: Likewise.
53844 * posix/wordexp.c: Likewise.
53845 * pwd/fgetpwent_r.c: Likewise.
53846 * resolv/Versions: Likewise.
53847 * resolv/res_hconf.c: Likewise.
53848 * shadow/fgetspent_r.c: Likewise.
53849 * shadow/putspent.c: Likewise.
53850 * stdio-common/printf_fphex.c: Likewise.
53851 * stdio-common/tmpfile.c: Likewise.
53852 * stdlib/abort.c: Likewise.
53853 * stdlib/fmtmsg.c: Likewise.
53854 * sunrpc/auth_unix.c: Likewise.
53855 * sunrpc/clnt_perr.c: Likewise.
53856 * sunrpc/clnt_tcp.c: Likewise.
53857 * sunrpc/clnt_udp.c: Likewise.
53858 * sunrpc/clnt_unix.c: Likewise.
53859 * sunrpc/openchild.c: Likewise.
53860 * sunrpc/svc_simple.c: Likewise.
53861 * sunrpc/svc_tcp.c: Likewise.
53862 * sunrpc/svc_udp.c: Likewise.
53863 * sunrpc/svc_unix.c: Likewise.
53864 * sunrpc/xdr.c: Likewise.
53865 * sunrpc/xdr_array.c: Likewise.
53866 * sunrpc/xdr_rec.c: Likewise.
53867 * sunrpc/xdr_ref.c: Likewise.
53868 * sunrpc/xdr_stdio.c: Likewise.
53869
1248c1c4
PB
538702011-09-09 Ulrich Drepper <drepper@gmail.com>
53871
53872 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53873
538742011-07-03 Andreas Jaeger <aj@suse.de>
53875
53876 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53877 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53878 regenerate with gen-libm-tests.pl.
53879
538802010-05-12 Petr Baudis <pasky@suse.cz>
53881
53882 [BZ #11589]
53883 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53884 around j0() zero points by switching to j1().
53885 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53886 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53888 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53889
f22e1074
UD
538902011-09-09 Ulrich Drepper <drepper@gmail.com>
53891
f19009c1
UD
53892 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53893 instead of 0.
53894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53895 instead of 0.
f19009c1
UD
53896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53897 Patch in part by Pavel Roskin <proski@gnu.org>.
53898
3f8cc204
UD
53899 [BZ #13138]
53900 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53901 realloc.
53902 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53903 Free memory block if necessary.
53904
f22e1074
UD
53905 [BZ #12847]
53906 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53907 be NULL. Don't lock in this case.
53908
0a2349f9
RM
539092011-09-09 Roland McGrath <roland@hack.frob.com>
53910
53911 * elf/elf.h (ELFOSABI_GNU): New macro.
53912 (ELFOSABI_LINUX): Define to that.
53913
f3cdd467
DZ
539142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53915
53916 * string/strncat.c (strncat): Undef the symbol in case it has been
53917 defined in bits/string.h.
53918
74718d13
UD
539192011-09-09 Ulrich Drepper <drepper@gmail.com>
53920
633e9e0f
UD
53921 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53922
0a2349f9 53923 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53924 link map.
53925
f9924780
AJ
539262011-08-17 Andreas Jaeger <aj@suse.de>
53927
53928 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53929
7f5517aa
PP
539302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53931 Ian Lance Taylor <iant@google.com>
53932
53933 * math/libm-test.inc (lround_test): New testcase.
53934 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53935
762011fe
UD
539362011-09-08 Ulrich Drepper <drepper@gmail.com>
53937
92963737
UD
53938 * Makefile: Remove support for automatic cvs check-ins.
53939 * Makerules: Likewise.
53940 * config.make.in: Likewise.
53941 * configure.in: Likewise.
53942 * intl/Makefile: Likewise.
53943 * locale/Makefile: Likewise.
53944 * po/Makefile: Likewise.
53945 * posix/Makefile: Likewise.
53946 * sysdeps/gnu/Makefile: Likewise.
53947 * sysdeps/mach/hurd/Makefile: Likewise.
53948 * sysdeps/sparc/sparc32/Makefile: Likewise.
53949
b0727fd8
JS
53950 [BZ #13118]
53951 * posix/Makefile (bug-regex32-ENV): Define.
53952 Patch by John Stanley <jpsinthemix@verizon.net>.
53953
a0f33f99
UD
53954 * misc/Makefile (headers): Add bits/select2.h.
53955 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53956 * misc/bits/select2.h: New file.
53957 * include/bits/select2.h: New file.
53958 * debug/Makefile (routines): Add fdelt_chk.
53959 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53960 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53961 FD_ISSET.
53962 * debug/fdelt_chk.c: New file.
53963
762011fe
UD
53964 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53965 * wcsmbs/test-wmemcmp.c: Likewise.
53966 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53967 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53968
539692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53970
53971 * string/Makefile (strop-tests): Add memcmp.
53972 * string/test-wmemcmp.c: New file.
53973 * string/test-memcmp.c: Add wmemcmp support.
53974
7f513ec8
RM
539752011-09-08 Roland McGrath <roland@hack.frob.com>
53976
0442afb4
RM
53977 [BZ #13153]
53978 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53979 2011-07-19 change.
53980
7f513ec8
RM
53981 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53982 garbage value in a __mach_port_mod_refs call in the cases of the
53983 task-self and thread-self ports.
53984
a12b2239
ST
539852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53986
53987 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53988
610f9ab4
AS
539892011-09-08 Andreas Schwab <schwab@redhat.com>
53990
7f513ec8 53991 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53992
48882a1a
LD
539932011-09-07 Ulrich Drepper <drepper@gmail.com>
53994
b49865be
UD
53995 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53996
fdc86bc9
UD
53997 * elf/dl-libc.c (dlerror_run): Pass back error code from
53998 dl_catch_error.
53999
c966526a
UD
54000 [BZ #13123]
54001 * elf/dl-load.c (lose): Free l_origin if it is valid.
54002
48882a1a
LD
54003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54004 names.
54005 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54008 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54009 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54010 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54011
77a2a8b4
AZ
540122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54013
54014 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54015 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54016 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54017 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54018 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54019 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54020 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54021 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54022 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54023 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54024
24f579d8
AM
540252011-08-15 Alan Modra <amodra@gmail.com>
54026
54027 [BZ #13092]
54028 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54029 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54030 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54031 ppc_mcount to static-only-routines.
54032 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54033 __mcount_internal.
54034 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54035 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54036
3d4837df
UD
540372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54038
54039 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54040 for finite and infinity parameters.
54041
22700377
WS
540422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54043
54044 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54045 and add nop instructions for throughput optimization.
54046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54047
5025581e
WS
540482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54049
54050 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54051 aligned copy for power7 with vector-scalar instructions.
54052 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54053
08a300c9
L
540542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54055
54056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54057 AVX check.
54058
59178ef9
AS
540592011-09-07 Andreas Schwab <schwab@redhat.com>
54060
54061 [BZ #13144]
54062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54063 last change.
54064
e38ba7ab
UD
540652011-09-07 Ulrich Drepper <drepper@gmail.com>
54066
54067 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54068 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54069 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54071 clock_gettime.
54072
d53a73ac
UD
540732011-09-06 Ulrich Drepper <drepper@gmail.com>
54074
fc8bffcc
UD
54075 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54076 Forgot to demangle the pointer.
54077
ceaa0c5d
UD
54078 * sysdeps/i386/sysdep.h: Define atom_text_section.
54079 * sysdeps/x86_64/sysdep.h: Likewise.
54080 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54081 section with atom_text_section.
54082 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54084 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54086 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54087
a77d3c17
UD
54088 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54089 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54090 already be defined. Change to take two parameters and don't assign
54091 result to variable. Adjust all users.
54092 Define INTERNAL_GETTIME if not already defined.
54093 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54094 call.
54095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54096 HAVE_CLOCK_GETTIME_VSYSCALL.
54097 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54098
d53a73ac
UD
54099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54100 gettimeofday vsyscall, just use time.
54101
a8f84144
AS
541022011-09-06 Andreas Schwab <schwab@redhat.com>
54103
54104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54105 <errno.h>.
54106
ef606249
UD
541072011-09-06 Ulrich Drepper <drepper@gmail.com>
54108
54109 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54110 syscall on x86-64.
54111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54112 syscall.
54113 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54115 syscall if possible.
54116
6585cb60
UD
541172011-09-05 Ulrich Drepper <drepper@gmail.com>
54118
54119 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54120 e_ident. Don't pass to find_mapsXX.
54121 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54122
a5f524e4
LD
541232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54124
54125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54126 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54127 * sysdeps/x86_64/multiarch/strchr.S: Update.
54128 Check bit_slow_BSF bit.
54129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54130 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54131 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54132
554881ef
UD
541332011-09-05 Ulrich Drepper <drepper@gmail.com>
54134
d96de963
UD
54135 [BZ #13134]
54136 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54137 before glibc 2.15.
54138 (tryshell): Define.
54139 (__spawni): Change last parameter to be flag. Test
54140 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54141 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54142 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54143 * posix/spawni.c: Likewise.
54144 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54145 * posix/spawnp.c: Likewise. Change normal version to use
54146 SPAWN_XFLAGS_USE_PATH.
54147 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54148 SPAWN_XFLAGS_TRY_SHELL.
54149
d48e5868
UD
54150 [BZ #13150]
54151 * posix/glob.h: Remove gcc 1.x support.
54152
554881ef
UD
54153 [BZ #13068]
54154 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54155
693fb948
LD
541562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54157
54158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54159 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54160 strrchr-sse2-bsf
54161 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54162 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54163 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54165 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54166 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54167
1b48c537
UD
541682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54169
49d42c37
UD
54170 * sysdeps/x86_64/wcscmp.S: New file.
54171
1b48c537
UD
54172 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54173 wcscmp-c wcscmp-sse2
54174 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54175 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54176 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54177 * wcsmbs/wcscmp.c: Allow renaming.
54178
15c95c5d
DM
541792011-09-05 David S. Miller <davem@davemloft.net>
54180
54181 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54182 stack slot, rather than the struct return pointer slot.
54183 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54184 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54186 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54187
2f0ad8f3
UD
541882011-09-05 Ulrich Drepper <drepper@gmail.com>
54189
d88ae418
UD
54190 * po/ja.po: Update from translation team.
54191
2f0ad8f3
UD
54192 [BZ #13144]
54193 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54194 kernel in 64-bit binaries.
54195
5f4318d1
DM
541962011-09-01 David S. Miller <davem@davemloft.net>
54197
54198 * elf/elf.h (HWCAP_SPARC_*): Move to..
54199 * sysdeps/sparc/sysdep.h: this new file and add new values.
54200 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54201 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54202 _DL_HWCAP_COUNT to 24.
54203 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54204 entries.
54205 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54206 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54207 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54209 instead of magic constants.
54210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54211
3ba57516
DM
542122011-08-31 David S. Miller <davem@davemloft.net>
54213
54214 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54216 Reimplement to do errno handling inline.
54217 (SYSCALL_ERROR_HANDLER): New macro.
54218 (__SYSCALL_STRING): Do not do errno handling in asm.
54219 (__CLONE_SYSCALL_STRING): Delete.
54220 (__INTERNAL_SYSCALL_STRING): Delete.
54221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54222 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54223 (PSEUDO): Reimplement to do errno handling inline.
54224 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54225 (SYSCALL_ERROR_HANDLER): New macro.
54226 (__SYSCALL_STRING): Do not do errno handling in asm.
54227 (__CLONE_SYSCALL_STRING): Delete.
54228 (__INTERNAL_SYSCALL_STRING): Delete.
54229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54230 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54231 i386.
54232 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54233 (inline_syscall*): Add 'err' argument.
54234 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54235 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54236 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54237 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54238
54239 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54240 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54241
2bc17433
AS
542422011-08-30 Andreas Schwab <schwab@redhat.com>
54243
54244 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54245
fbeb5f4d
JO
542462011-08-29 Jiri Olsa <jolsa@redhat.com>
54247
54248 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54249 directive.
54250
ad69cc26
DM
542512011-08-24 David S. Miller <davem@davemloft.net>
54252
54253 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54254
39dd69df
AS
542552011-08-24 Andreas Schwab <schwab@redhat.com>
54256
54257 * elf/Makefile: Add rules to build and run unload8 test.
54258 * elf/unload8.c: New file.
54259 * elf/unload8mod1.c: New file.
54260 * elf/unload8mod1x.c: New file.
54261 * elf/unload8mod2.c: New file.
54262 * elf/unload8mod3.c: New file.
54263
54264 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54265 it wasn't used.
54266
2c0b250a
DM
542672011-08-23 David S. Miller <davem@davemloft.net>
54268
54269 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54270 subtract stack bias.
54271 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54272 %sp not %fp in calculations.
54273 (_JMPBUF_UNWINDS_ADJ): Likewise.
54274
22044b48
DM
54275 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54276 (aio_suspend): Call it to force an exception region around the
54277 AIO_MISC_WAIT() invocation.
54278
2cae4995
AS
542792011-08-23 Andreas Schwab <schwab@redhat.com>
54280
54281 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54282 backslash.
54283
873a772e
AJ
542842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54285
54286 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54287 protection macro.
54288 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54289 and <dl-machine.h>.
54290 (Elf64_FuncDesc): Remove.
54291
25ad0df1
DM
542922011-08-22 David S. Miller <davem@davemloft.net>
54293
54294 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54295 sigaltstack check, add missing cfi directives.
54296 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54297 missing cfi directives, and sigaltstack handling.
54298
e888bcbe
AS
542992011-08-16 Andreas Schwab <schwab@redhat.com>
54300
54301 [BZ #11724]
54302 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54303 object is seen twice.
54304 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54305
54306 * elf/Makefile (distribute): Add tst-initorder2.c.
54307 (tests): Add tst-initorder2.
54308 (modules-names): Add tst-initorder2a tst-initorder2b
54309 tst-initorder2c tst-initorder2d. Add rules to build them.
54310 ($(objpfx)tst-initorder2.out): New rule.
54311 * elf/tst-initorder2.c: New file.
54312 * elf/tst-initorder2.exp: New file.
54313
87162f46
AS
543142011-08-22 Andreas Schwab <schwab@redhat.com>
54315
70538b7f
AS
54316 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54317
f55ffe58
AS
54318 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54319 dependencies back to end of function.
54320
87162f46
AS
54321 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54322 $(elfobjdir)/ld.so.
54323
91b392a4
UD
543242011-08-21 Ulrich Drepper <drepper@gmail.com>
54325
54326 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54327 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54329 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54330 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54331 of __vdso_gettimeofday.
54332 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54333 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54334 attribute_hidden.
54335 (_libc_vdso_platform_setup): Remove initialization of
54336 __vdso_gettimeofday and __vdso_time.
54337
5c43483f
UD
543382011-08-20 Ulrich Drepper <drepper@gmail.com>
54339
775a77e7
UD
54340 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54341 and fgetc_unlocked.
54342 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54343 getc_unlocked.
89f447ed 54344
49c74ba9
UD
54345 * elf/dl-open.c (add_to_global): Report additions to the global scope
54346 for LD_DEBUG=scopes.
54347 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54348 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54349
5c43483f
UD
54350 [BZ #13114]
54351 * stdio-common/Makefile (tests): Add bug24.
54352 * stdio-common/bug24.c: New file.
54353
a101b025
AJ
543542011-08-19 Andreas Jaeger <aj@suse.de>
54355
54356 [BZ #13114]
54357 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54358 non-existant file when using close-on-exec mode.
54359
c88f1766
UD
543602011-08-20 Ulrich Drepper <drepper@gmail.com>
54361
0276a718
UD
54362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54363 the very first instruction.
54364
c88f1766
UD
54365 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54366 the CFI state in the end.
54367 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54368 inclusion of dl-trampoline.h.
54369 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54370
51ccffa0
AS
543712011-08-19 Andreas Schwab <schwab@redhat.com>
54372
94d7165f
AS
54373 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54374 expectations for long double.
54375
51ccffa0
AS
54376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54377 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54378
fd708658 543792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54380
54381 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54382 artificual limit depends upon the system page size.
54383
44f0a71e
UD
543842011-08-17 Ulrich Drepper <drepper@gmail.com>
54385
54386 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54387 * resolv/Makefile: Define CFLAGS-libresolv.
54388
8de79a24
AS
543892011-08-17 Andreas Schwab <schwab@redhat.com>
54390
54391 * nss/makedb.c (compute_tables): Make variables used in nested
54392 function static.
54393
27724598
UD
543942011-08-17 Ulrich Drepper <drepper@gmail.com>
54395
c5305d88
UD
54396 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54397 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54398 if buffer was too small.
54399
27724598
UD
54400 * elf/pldd.c (main): Attach to all threads in the process.
54401 Rewrite /proc handling to use *at functions.
54402
076fe015
UD
544032011-08-16 Ulrich Drepper <drepper@gmail.com>
54404
174baab3
UD
54405 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54406 specifies first scope to show.
54407 (dl_open_worker): Update callers. Move printing scope of new
54408 object to before the relocation.
44f0a71e 54409 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54410 * sysdeps/generic/ldsodefs.h: Update declaration.
54411
076fe015
UD
54412 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54413 string for the scope number.
54414
a60df2c3
UD
544152011-08-14 Ulrich Drepper <drepper@gmail.com>
54416
54417 * nscd/servicescache.c (cache_addserv): Make sure written is always
54418 initialized.
54419
5e4287d1
RM
544202011-08-14 Roland McGrath <roland@hack.frob.com>
54421
85ae0589
RM
54422 * sysdeps/i386/i486/bits/atomic.h
54423 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54424 statement expression, so as to suppress "set but not used" warning.
54425 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54426
69f63097
RM
54427 * string/strncat.c (STRNCAT): Use prototype definition.
54428
675456ef
RM
54429 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54430 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54431 -Iprograms here.
54432 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54433 (localedef-modules): Add localedef.
54434 (locale-modules): Add locale.
54435
5e4287d1
RM
54436 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54437 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54438 to avoid a warning.
54439
9c96ff23
DM
544402011-08-14 David S. Miller <davem@davemloft.net>
54441
54442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54443 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54444
f9ddf089
UD
544452011-08-13 Ulrich Drepper <drepper@gmail.com>
54446
44f0a71e 54447 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54448 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54449 * elf/rtld.c (dl_main): Set l_name of vDSO.
54450 Call _dl_show_scope when DL_DEBUG_SCOPES.
54451 (process_dl_debug): Recognize scopes flag and also set it for all.
54452 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54453 Declare _dl_show_scope.
54454
1dc27704
UD
54455 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54456 (do_dlopen): Pass caller_dlopen to dl_open.
54457 (__libc_dlopen_mode): Initialize caller_dlopen.
54458
f9ddf089
UD
54459 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54460 of libc. Make tolower call locale-independent. Optimize a bit by
54461 using isdigit instead of isalnum.
54462 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54463
9ac533d3
UD
544642011-08-12 Ulrich Drepper <drepper@gmail.com>
54465
54466 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54467 was a dependency or dynamically loaded.
54468
89edf2e9
UD
544692011-08-11 Ulrich Drepper <drepper@gmail.com>
54470
8e999d29
UD
54471 * intl/l10nflist.c: Allow architecture-specific pop function.
54472 * sysdeps/x86_64/l10nflist.c: New file.
54473
89edf2e9
UD
54474 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54475 classification.
54476
14d96785
AS
544772011-08-10 Andreas Schwab <schwab@redhat.com>
54478
54479 * include/dirent.h: Add libc_hidden_proto for scandirat and
54480 scandirat64. Don't declare __scandirat64.
54481 * dirent/scandirat.c: Add libc_hidden_def.
54482 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54483 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54484
6761ac04
DM
544852011-08-10 David S. Miller <davem@davemloft.net>
54486
54487 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54488 enum.
54489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54490 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54492
c55fbd1e
UD
544932011-08-09 Ulrich Drepper <drepper@gmail.com>
54494
54495 * Versions.def [libc]: Add GLIBC_2.15.
54496 * dirent/Makefile (routines): Add scandirat and scandirat64.
54497 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54498 GLIBC_2.15.
54499 * dirent/dirent.h: Declare scandirat and scandirat64.
54500 * dirent/scandirat.c: New file.
54501 * dirent/scandirat64.c: New file.
54502 * sysdeps/wordsize-64/scandirat.c: New file.
54503 * sysdeps/wordsize-64/scandirat64.c: New file.
54504 * dirent/opendir.c: Define opendirat.
54505 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54506 using scandirat.
54507 * dirent/scandir64.c: Adjust for scandir.c change.
54508 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54509 __scandirat64, and __scandir_cancel_handler.
54510 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54511 additional parameter and use openat instead of open (outside of ld.so).
54512 Add new __opendir as wrapper around __opendirat.
54513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54514 here without requiring old scandirat implementation.
54515
879165f2
UD
545162011-08-08 Ulrich Drepper <drepper@gmail.com>
54517
54518 * dirent/scandir.c (cancel_handler): Renamed to
54519 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54520 defined. Adjust users.
54521 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54523
cb7e923b
UD
545242011-08-04 Ulrich Drepper <drepper@gmail.com>
54525
16292edd
UD
54526 * string/test-string.h (IMPL): Use __STRING to expand name and then
54527 stringify it.
54528
cb7e923b
UD
54529 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54530 of cleanups.
54531
cff82933
LD
545322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54533
54534 * string/Makefile: Update.
54535 (strop-tests): Append strncat.
54536 * string/test-wcscmp.c: New file.
54537 New comprehensive test for wcscmp.
54538 * string/test-strcmp.c: Update.
54539 (WIDE): New define.
54540
9be9bfcc
AS
545412011-07-22 Andreas Schwab <schwab@redhat.com>
54542
54543 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54544 line.
54545
2e96f1c7
AS
545462011-07-26 Andreas Schwab <schwab@redhat.com>
54547
54548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54549 encoding to ACE if AI_IDN.
54550
85188888
JJ
545512011-08-01 Jakub Jelinek <jakub@redhat.com>
54552
54553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54554 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54555
5fa16e9b
LD
545562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54557
54558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54559 Fix overflow bug in strncat.
54560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54561
54562 * string/test-strncat.c: Update.
54563 Add new tests for checking overflow bugs.
54564
545652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54566
54567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54568 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54569 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54570 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54572 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54573 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54574 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54575 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54576
54577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54578 (USE_AS_STRCAT): Define.
54579 Add strcat and strncat support.
54580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54581
8c1a459f
AS
545822011-07-25 Andreas Schwab <schwab@redhat.com>
54583
54584 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54585 __n bigger than INT_MAX+1.
54586 (__strncmp_g): Likewise.
54587
bba33c28
UD
545882011-07-23 Ulrich Drepper <drepper@gmail.com>
54589
798be72d
UD
54590 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54591 * libio/stido.h: Likewise.
54592
8accd4dc
UD
54593 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54594 (AF_NFC): Define.
54595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54596 (AF_NFC): Define.
54597
cbff0d96
UD
54598 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54599 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54603
9191c04a
UD
54604 [BZ #13021]
54605 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54606 installed.
54607
bba33c28
UD
54608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54609 typo.
54610 (_dl_x86_64_save_sse): Likewise.
54611
90f139dd
UD
546122011-07-22 Ulrich Drepper <drepper@gmail.com>
54613
1aae088a
UD
54614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54615 OSXSAVE.
54616 (_dl_x86_64_save_sse): Likewise.
54617
8e2045f5
UD
54618 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54619
90f139dd
UD
54620 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54621
1d002f25
AS
546222011-07-21 Andreas Schwab <schwab@redhat.com>
54623
54624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54625 change.
54626 (_dl_x86_64_save_sse): Use correct AVX check.
54627
21137f89
UD
546282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54629
54630 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54631 bug in strncpy/strncat.
54632 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54633
a65c0b7a
UD
546342011-07-21 Ulrich Drepper <drepper@gmail.com>
54635
54636 * string/tester.c (test_strcat): Add tests for different alignments
54637 of source and destination.
54638 (test_strncat): Likewise.
54639
6986b98a
UD
546402011-07-20 Ulrich Drepper <drepper@gmail.com>
54641
90bb2039
UD
54642 [BZ #12852]
54643 * posix/glob.c (glob): Check passed in values before using them in
54644 expressions to avoid some overflows.
54645 (glob_in_dir): Likewise.
54646
5644ef54
UD
54647 [BZ #13007]
54648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54649 check for AVX enablement so that we don't crash with old kernels and
54650 new hardware.
54651 * elf/tst-audit4.c: Add same checks here.
54652 * elf/tst-audit6.c: Likewise.
54653
54654 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54655
bfc9dc9b
AS
546562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54657
54658 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54659
702e64bb
UD
546602011-07-20 Ulrich Drepper <drepper@gmail.com>
54661
54662 * po/cs.po: Update from translation team.
54663 * po/bg.po: Likewise.
54664
295e904f
MP
546652011-07-12 Marek Polacek <mpolacek@redhat.com>
54666
54667 * misc/sys/cdefs.h: Add support for const attribute.
54668 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54669 to gnu_dev_{major,minor,makedev} functions.
54670
3ff94596
MP
546712011-07-20 Marek Polacek <mpolacek@redhat.com>
54672
54673 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54674
28b59fca
AS
546752011-07-20 Andreas Schwab <schwab@redhat.com>
54676
54677 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54678 strlen results.
54679
19df733e
AK
546802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54681
54682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54683 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54684 register in order to avoid conflicts with the soft frame pointer
54685 being held in r11 when necessary.
54686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54687 (INTERNAL_VSYSCALL_NCS): Likewise.
54688
c8835729
MP
546892011-07-14 Marek Polacek <mpolacek@redhat.com>
54690
54691 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54692 * elf/dl-fini.c (_dl_fini): Adjust caller.
54693 * elf/dl-close.c (_dl_close_worker): Likewise.
54694 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54695
b902330c
MP
546962011-07-15 Marek Polacek <mpolacek@redhat.com>
54697
8991e135
MP
54698 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54699 "aux_cache->nlibs < 0".
54700
b902330c
MP
54701 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54702 in the reload-count case.
54703
99710781
LD
547042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54705
54706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54707 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54708 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54709 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54710 * sysdeps/x86_64/multiarch/strcat.S: New file.
54711 * sysdeps/x86_64/multiarch/strncat.S: New file.
54712 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54713 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54714 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54715 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54717 (USE_AS_STRCAT): Define.
54718 Add strcat and strncat support.
54719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54720 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54721 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54722 * string/strncat.c: Update.
54723 (USE_AS_STRNCAT): Define.
54724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54725 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54726 and i7.
54727 * sysdeps/x86_64/multiarch/init-arch.h
54728 (bit_Prefer_PMINUB_for_stringop): New.
54729 (index_Prefer_PMINUB_for_stringop): Likewise.
54730 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54731 bit_Prefer_PMINUB_for_stringop.
54732
7dc6bd90
UD
547332011-07-19 Ulrich Drepper <drepper@gmail.com>
54734
54735 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54736 buffer64.
54737 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54738 of casting of buffer.
54739 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54740 buffer32 and buffer64.
54741 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54742 writes instead of casting of buffer.
54743 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54744 buffer32.
54745 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54746 casting of buffer.
54747
e0e72284
AS
547482011-07-19 Andreas Schwab <schwab@redhat.com>
54749
54750 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54751
feb1eb0b
UD
547522011-07-19 Ulrich Drepper <drepper@gmail.com>
54753
54754 * nscd/nscd.c (termination_handler): Don't do anything for a database
54755 if it has not yet been initialized.
54756
298711ff
UD
547572011-07-18 Ulrich Drepper <drepper@gmail.com>
54758
54759 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54760
547612011-07-15 Marek Polacek <mpolacek@redhat.com>
54762
54763 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54764
f9d68389
UD
547652011-07-18 Ulrich Drepper <drepper@gmail.com>
54766
54767 * po/nl.po: Update from translation team.
54768 * po/sv.po: Likewise.
54769
db290cf5
RM
547702011-07-16 Roland McGrath <roland@hack.frob.com>
54771
54772 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54773 now disallowed by GCC.
5c550700 54774
fd5e21c7
RM
54775 * configure.in (use-default-link): Default to yes if a test -shared
54776 link meets our qualifications.
54777 * configure: Regenerated.
54778
5c550700
RM
54779 * config.make.in (output-format): New variable.
54780 * configure.in: Check for ld --print-output-format support.
54781 * configure: Regenerated.
54782 * Makerules ($(common-objpfx)format.lds)
54783 [$(output-format) != unknown]: Just use $(output-format),
54784 instead of the linker-script munging.
54785
9fa2c032
RM
547862011-07-14 Roland McGrath <roland@hack.frob.com>
54787
a6928d51
RM
54788 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54789 of $(common-objpfx)shlib.lds.
54790 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54791
661607b3
RM
54792 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54793 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54794
9fa2c032
RM
54795 * configure.in (-z relro check): Adjust test code to add a large
54796 writable data section after it.
54797 * configure: Regenerated.
54798
defe9061
RM
547992011-07-11 Roland McGrath <roland@hack.frob.com>
54800
54801 * configure.in (-z relro check): Fix test code to make the variable
54802 truly const.
54803 * configure: Regenerated.
54804
319b9ad4
UD
548052011-07-11 Ulrich Drepper <drepper@gmail.com>
54806
54807 * nscd/nscd.h (struct traced_file): Define.
54808 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54809 elements. Add traced_files.
54810 (inotify_fd): Declare.
54811 (register_traced_file): Declare.
54812 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54813 (inotify_fd): Export.
54814 (resolv_conf_descr): Remove.
54815 (nscd_init): Move inotify descriptor creation to main.
54816 Don't register files for notification here.
54817 (register_traced_file): New function.
54818 (invalidate_cache): Don't use reset_res to determine whether to call
54819 res_init, go through the list of registered files.
54820 (main_loop_poll): The inotify descriptors are now stored in the
54821 structures for the traced files.
54822 (main_loop_epoll): Likewise
54823 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54824 to __nss_disable_nscd.
54825 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54826 for a database anymore. Check the records for all the registered
54827 files instead.
54828 * nss/Makefile (libnss_files-routines): Add files-init.
54829 (libnss_db-routines): Add db-init.
54830 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54831 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54832 * nss/nss_db/db-init.c: New file.
54833 * nss/nss_files/files-init.c: New file.
54834 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54835 __nss_lookup_function.
54836 (__nss_lookup_function): Call nss_load_library.
54837 (nss_load_all_libraries): New function.
54838 (__nss_disable_nscd): Take parameter with callback function for files
54839 to register. Set is_nscd. Load all the DSOs for the NSS modules
54840 used for the cached services.
54841 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54842 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54843 options for features to all the files in nscd.
54844
54845 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54846
23bee3e8
RM
548472011-07-10 Roland McGrath <roland@hack.frob.com>
54848
54849 * csu/elf-init.c (__libc_csu_init): Comment typo.
54850
46a5b7f0
UD
548512011-07-09 Ulrich Drepper <drepper@gmail.com>
54852
54853 * po/pl.po: Update from translation team.
54854 * po/ja.po: Likewise.
54855 * po/ru.po: Likewise.
54856 * po/ko.po: Likewise.
54857 * po/fr.po: Likewise.
54858
d30cf5bb
RM
548592011-07-09 Roland McGrath <roland@hack.frob.com>
54860
113ddea4
RM
54861 * configure.in (.ctors/.dtors header and trailer check):
54862 Use an empirical test on a built program.
54863 * configure: Regenerated.
54864
574920b4
RM
54865 * configure.in (-z relro check): Use an empirical test on a built DSO.
54866 Detect, but do not require, on ia64.
54867 * configure: Regenerated.
54868
d30cf5bb
RM
54869 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54870 Update tests that use readelf to use $READELF instead.
54871 * configure: Regenerated.
54872
8538fdb3
UD
548732011-07-08 Ulrich Drepper <drepper@gmail.com>
54874
54875 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54876 if the result is not used.
54877
04d08991
AJ
548782011-07-05 Andreas Jaeger <aj@suse.de>
54879
54880 [BZ#9696]
54881 * stdlib/tst-strtod.c: Add testcase.
54882
de283087
AD
548832011-07-07 Ulrich Drepper <drepper@gmail.com>
54884
4e5f31c8 54885 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54886 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54887 The latter has a higher limit. Take additional parameter to pass to
54888 the new function.
54889 (__pathconf): Pass file to __statfs_link_max.
54890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54891 __statfs_link_max.
54892 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54893 __statfs_link_max.
54894
de283087
AD
54895 [BZ #12868]
54896 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54898 Handle Lustre.
54899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54900 (__statfs_filesize_max): Likewise.
54901 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54902
c75fa153
AJ
549032011-07-05 Andreas Jaeger <aj@suse.de>
54904
54905 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54906
1a544854
UD
549072011-07-06 Marek Polacek <mpolacek@redhat.com>
54908
54909 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54910 `status' variable.
54911 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54912 Likewise.
54913
6f0eec67
UD
549142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54915
54916 * Makefile (strop-tests): Add strncat.
54917 * string/test-strncat.c: New file.
54918
aae30307
UD
549192011-06-30 Marek Polacek <mpolacek@redhat.com>
54920
54921 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54922
c0cfb5eb
UD
549232011-06-21 Andreas Jaeger <aj@suse.de>
54924
54925 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54926 Copy rule from iconvdata/Makefile.
54927
01636b21
UD
549282011-07-06 Ulrich Drepper <drepper@gmail.com>
54929
54930 [BZ #12922]
54931 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54932 but no long options are defined, just return 'W'.
54933
9895c8bc
UD
549342011-06-22 Marek Polacek <mpolacek@redhat.com>
54935
54936 [BZ #9696]
54937 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54938
5d4cf042
UD
549392011-07-06 Ulrich Drepper <drepper@gmail.com>
54940
54941 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54942 netgroups to read.
960e5535 54943 (innetgr): Likewise.
5d4cf042 54944
751eb97e
RM
549452011-07-05 Roland McGrath <roland@hack.frob.com>
54946
54947 * config.make.in (install_root): Default to $(DESTDIR).
54948
f15f1e45
UD
549492011-07-05 Ulrich Drepper <drepper@gmail.com>
54950
54951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54952
4e34ac6a
RM
549532011-07-02 Roland McGrath <roland@hack.frob.com>
54954
5e9b6af4
RM
54955 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54956
84f9ea0f
RM
54957 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54958 containing directory rather than embedding absolute directory names.
54959
ea5ee9f7
RM
54960 * scripts/check-local-headers.sh: Rewritten using awk.
54961 Match by word, not by line. Print error messages for matches.
54962 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54963
1b74661a
RM
54964 * Makerules [shlib-lds-flags empty]:
54965 ($(common-objpfx)libc_pic.opts): New target.
54966 ($(common-objpfx)libc_pic.os.clean): New target.
54967 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54968
54969 * config.make.in (OBJCOPY): New variable.
54970 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54971 * configure: Regenerated.
54972
f781ef40
RM
54973 * config.make.in (use-default-link): New variable.
54974 * configure.in (use_default_link): Grok --with-default-link to set it.
54975 * configure: Regenerated.
54976 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54977 (shlib-lds, shlib-lds-flags): Define to empty.
54978
2d4fa81e
RM
54979 * Makerules (shlib-lds): New variable.
54980 (shlib-lds-flags): New variable.
54981 (build-shlib, build-moduile, build-module-asneeded): Use it.
54982 ($(common-objpfx)libc.so): Use $(shlib-lds).
54983 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54984 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54985
31fffa6b
RM
54986 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54987 DT_FLAGS/DT_FLAGS_1 with zero flags.
54988
4e34ac6a
RM
54989 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54990 linker script munging.
54991
fcfc776b
UD
549922011-07-02 Ulrich Drepper <drepper@gmail.com>
54993
54994 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54995 as 128-bit value.
54996 * crypt/sha512.c (sha512_process_block): Perform total addition using
54997 128-bit if possible.
54998 (__sha512_finish_ctx): Likewise.
54999 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55000 as 64-bit value.
55001 * crypt/sha256.c (SWAP64): Define.
55002 (sha256_process_block): Perform total addition using 64-bit if
55003 possible.
55004 (__sha256_finish_ctx): Likewise.
55005
99231d9a
UD
550062011-07-01 Ulrich Drepper <drepper@gmail.com>
55007
55008 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55010 * nscd/hstcache.c (cache_addhst): Likewise.
55011 * nscd/grpcache.c (cache_addgr): Likewise.
55012 * nscd/aicache.c (addhstaiX): Likewise
55013 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55014
445b4a53
TK
550152011-07-01 Thorsten Kukuk <kukuk@suse.de>
55016
55017 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55019 * nscd/hstcache.c (cache_addhst): Likewise.
55020 * nscd/grpcache.c (cache_addgr): Likewise.
55021 * nscd/aicache.c (addhstaiX): Likewise
55022
6d4d8e8e
AS
550232011-07-01 Andreas Schwab <schwab@redhat.com>
55024
55025 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55026 domain only when needed.
55027
89f654c5
AS
550282011-06-30 Andreas Schwab <schwab@redhat.com>
55029
55030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55031 is always restored.
55032
cf3b23ff
UD
550332011-06-29 Ulrich Drepper <drepper@gmail.com>
55034
55035 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55036 are re-adding the entry.
55037 * nscd/servicescache.c (cache_addserv): Likewise.
55038
751626f9
AJ
550392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55040
55041 * sysdeps/generic/dl-irel.h: fix protection against multiple
55042 inclusions.
55043 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55044
9113ea1f
UD
550452011-06-28 Ulrich Drepper <drepper@gmail.com>
55046
5c0b8d90
UD
55047 [BZ #12935]
55048 * malloc/memusage.sh: Fix quoting in message.
55049 * debug/xtrace.sh: Likewise.
55050
9113ea1f
UD
55051 * configure.in: Remove support for --experimental-malloc option, make
55052 it the default.
55053 * config.make.in: Likewise.
55054 * malloc/Makefile: Likewise.
55055
a4172181
AS
550562011-06-27 Andreas Schwab <schwab@redhat.com>
55057
55058 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55059 two-byte characters.
55060
78a7eee7
RM
550612011-06-27 Roland McGrath <roland@hack.frob.com>
55062
62bede13
RM
55063 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55064 AC_CACHE_CHECK invocation.
55065 * configure: Regenerated.
55066
78a7eee7
RM
55067 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55068
5ce33a62
UD
550692011-06-27 Ulrich Drepper <drepper@gmail.com>
55070
034807a9
UD
55071 [BZ #12350]
55072 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55073 bit from old_res_options.
55074
4902da17
UD
55075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55076
5ce33a62
UD
55077 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55078 value type for setfct.
55079
c2344f56
L
550802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55081
55082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55083 __gettimeofday instead of gettimeofday.
55084
68468076
UD
550852011-06-26 Ulrich Drepper <drepper@gmail.com>
55086
55087 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55088
acb0d739
L
550892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55090
55091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55092
55093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55094 info.
55095
8912479f
L
550962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55097
55098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55099 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55100 strcpy-sse2-unaligned strncpy-sse2-unaligned
55101 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55102 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55103 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55104 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55105 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55107 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55108 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55109 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55110 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55111 (STRCPY): Support SSE2 and SSSE3 versions.
55112
d5495a11
UD
551132011-06-24 Ulrich Drepper <drepper@gmail.com>
55114
55115 [BZ #12874]
55116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55117 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55118 kernels which artificially limit size of requests.
55119
0b1cbaae
L
551202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55121
55122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55123 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55124 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55125 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55126 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55127 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55128 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55129 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55132 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55133 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55134 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55135 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55136 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55138 Enable unaligned load optimization for Intel Core i3, i5 and i7
55139 processors.
55140 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55141 Define.
55142 (index_Fast_Unaligned_Load): Define.
55143 (HAS_FAST_UNALIGNED_LOAD): Define.
55144
07f494a0
MP
551452011-06-23 Marek Polacek <mpolacek@redhat.com>
55146
55147 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55148
fa3fc0fe
UD
551492011-06-22 Ulrich Drepper <drepper@gmail.com>
55150
55151 [BZ #12907]
55152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55153 until it is clear that the information is realy needed.
55154 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55155
e12df166
AS
551562011-06-22 Andreas Schwab <schwab@redhat.com>
55157
55158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55159
852eb34d
UD
551602011-06-22 Ulrich Drepper <drepper@gmail.com>
55161
84e2a551
UD
55162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55163 /sys/devices/system/cpu/online if it is usable.
55164
852eb34d
UD
55165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55166 reading the information from the /proc filesystem to once a second.
55167
6e502e19
UD
551682011-06-21 Andreas Jaeger <aj@suse.de>
55169
55170 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55171 NULL after inclusion of kernel headers.
55172
75d39ff2
UD
551732011-06-21 Ulrich Drepper <drepper@gmail.com>
55174
51f9aa6a
UD
55175 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55176 calls to internal_setent.
55177
c0244a9d
UD
55178 [BZ #12885]
55179 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55180 addresses using gethostbyname4_r ignore IPv4 addresses.
55181
c5e3c2ae
UD
55182 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55183 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55184
75d39ff2
UD
55185 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55186
42675c6f
DM
551872011-06-20 David S. Miller <davem@davemloft.net>
55188
55189 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55190 inclusions.
55191 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55192
55193 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55194 (elf_irel): Use it.
55195 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55196 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55197 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55198 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55199 * sysdeps/x86_64/dl-irel.h: Likewise.
55200
55201 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55202 * elf/dl-sym.c: Likewise.
55203
57912a71
UD
552042011-06-15 Ulrich Drepper <drepper@gmail.com>
55205
55206 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55207 need to dereference resplen2.
55208
ee22793d
AS
552092011-06-14 Andreas Schwab <schwab@redhat.com>
55210
55211 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55212
a9e836b0
UD
552132011-06-15 Ulrich Drepper <drepper@gmail.com>
55214
77fb9117
UD
55215 * Makeconfig: Define vardbdir and inst_vardbdir.
55216 * nss/Makefile: Add rules to install db-Makefile.
55217
40c1b22c
UD
55218 * nss/nss_db/db-XXX.c: Cleanup.
55219
9f2da732
UD
55220 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55221 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55222 GLIBC_PRIVATE.
55223 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55224 * nss/makedb.c: Implement -g option to specify that value strings
55225 are generated and should not be added to table iterated over for
55226 get*ent calls.
55227 * nss/nss_db/db-initgroups.c: New file.
55228
82e9a1f7
UD
55229 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55230 interface.
55231
c41af17e
UD
55232 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55233 (internal_getgrouplist): Adjust to name change.
55234 Update use_initgroups_entry if this is not the first call.
55235 * nss/databases.def: Add initgroups entry.
55236
a9e836b0
UD
55237 * nss/makedb.c (compute_tables): Check result of multiple hash table
55238 sizes to minimize maximum chain length.
55239
2666d441
UD
552402011-06-14 Ulrich Drepper <drepper@gmail.com>
55241
55242 * Versions.def: Add entry for libnss_db.
55243 * shlib-versions: Likewise.
55244 * nss/Makefile: Add rules to build libnss_db.
55245 * nss/Versions: Add libnss_db information. Organize libnss_files
55246 entries better.
55247 * nss/db-Makefile: Add gshadow support. Change rules for the new
55248 makedb progra. Some minor improvements to generate smaller files.
55249 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55250 here from...
55251 * nss/makedb.c: ...here.
55252 Improve database format to be smaller and require less memory at
55253 runtime.
55254 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55255 db anymore.
55256 * nss/nss_db/db-netgrp.c: Likewise.
55257 * nss/nss_db/db-open.c: Likewise.
55258 * nss/nss_files/flies-XXX.x: Adjust comments.
55259 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55260 * nss/nss_files/files-grp.c: Likewise.
55261 * nss/nss_files/files-hosts.c: Likewise.
55262 * nss/nss_files/files-network.c: Likewise.
55263 * nss/nss_files/files-proto.c: Likewise.
55264 * nss/nss_files/files-pwd.c: Likewise.
55265 * nss/nss_files/files-rpc.c: Likewise.
55266 * nss/nss_files/files-service.c: Likewise.
55267 * nss/nss_files/files-sgrp.c: Likewise.
55268 * nss/nss_files/files-spwd.c: Likewise.
55269 * nss/nss_db/db-alias.c: Removed.
55270 * nss/nss_db/dummy-db.h: Removed.
55271
9ee76b5a
UD
552722011-06-02 Ulrich Drepper <drepper@gmail.com>
55273
55274 * nss/makedb.c: Rewritten to not use database library.
55275 * nss/Makefile: Update to build new makedb program.
55276
c71ca1f8
AJ
552772011-06-14 Andreas Jaeger <aj@suse.de>
55278
55279 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55280 memset declaration.
55281
3154bfb8
UD
552822011-06-10 Andreas Schwab <schwab@redhat.com>
55283
55284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55285 tmpbuf.
55286
b350afab
RM
552872011-06-10 Roland McGrath <roland@hack.frob.com>
55288
decd4e50
RM
55289 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55290 * elf/Makefile ($(objpfx)ld.so): Likewise.
55291
5615eaf2
RM
55292 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55293 Don't list ld.so twice in dependencies.
55294
55295 * posix/bug-regex31.c: Include <stdlib.h>.
55296
55297 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55298
55299 * nis/nss_compat/compat-spwd.c
55300 (getspent_next_nss_netgr): Remove unused variable.
55301 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55302
55303 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55304 nonmembers" output to use the right array.
55305
55306 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55307
55308 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55309
55310 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55311 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55312 * catgets/gencat.c (read_input_file): Likewise.
55313 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55314
55315 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55316 variable definition inside #if's controlling its use.
55317
55318 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55319
55320 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55321
55322 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55323
55324 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55325 unreachable code.
55326
55327 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55328
b68e08db
RM
55329 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55330 * configure: Regenerated.
55331
b350afab
RM
55332 * Makerules: Revert last change.
55333 * elf/Makefile: Likewise.
55334
28368601
RM
553352011-06-09 Roland McGrath <roland@hack.frob.com>
55336
55337 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55338 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55339 (reloc-link): Likewise.
55340
11988f8f
UD
553412011-06-09 Ulrich Drepper <drepper@gmail.com>
55342
55343 * elf/Makefile: Add rules to build pldd.
55344 * elf/pldd.c: New file.
55345 * elf/pldd-xx.c: New file.
55346
e80fab37
UD
553472011-06-07 Ulrich Drepper <drepper@gmail.com>
55348
55349 * version.h: Update for 2.15 development version.
55350
9b849836
DM
553512011-06-07 David S. Miller <davem@davemloft.net>
55352
55353 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55354 ifuncs.
55355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55356 elf_machine_lazy_rel): Likewise.
55357 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55359 elf_machine_lazy_rel): Likewise.
55360 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55361 dl_hwcap via passed in argument.
55362 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55363 Likewise.
55364
5a31b283
AK
553652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55366
55367 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55368
069e52f8
RM
553692011-06-06 Roland McGrath <roland@hack.frob.com>
55370
55371 [BZ #12849]
55372 * manual/fdl-1.1.texi: New file, verbatim from:
55373 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55374 * manual/lgpl-2.1.texi: New file, verbatim from:
55375 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55376 * manual/Makefile (licenses): New variable, list those new file names.
55377 (texis): Use it.
55378 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55379
55380 * manual/fdl.texi: File removed.
55381 * manual/lesser.texi: File removed.
55382 * manual/libc.texinfo (Copying, Documentation License):
55383 Use new @include file names, put @appendix directive before @include.
55384
f16846a5
JJ
553852011-06-04 Jakub Jelinek <jakub@redhat.com>
55386
55387 [BZ #12841]
55388 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55389 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55390 (mq_open): Add __NTH.
55391
3d29045b
L
553922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55393
55394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55395 Assume Intel Core i3/i5/i7 processor if AVX is available.
55396
8c297311
UD
553972011-05-31 Ulrich Drepper <drepper@gmail.com>
55398
55399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55400 typo.
55401
c8fc0c91
UD
554022011-05-31 Andreas Schwab <schwab@redhat.com>
55403
55404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55405 memory. Use alloca_account. Fix memory leak when retrying.
55406
5b27a807
UD
554072011-05-31 Ulrich Drepper <drepper@gmail.com>
55408
356f8bc6
UD
55409 * version.h (RELEASE): Bump for 2.14 release.
55410 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55411
5b27a807
UD
55412 * config.make.in (RANLIB): Remove entry.
55413
01f16ab0
UD
554142011-05-30 Ulrich Drepper <drepper@gmail.com>
55415
41fce8bd
UD
55416 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55417 (libc.pot): Work around missing support for .ksh extension in xgettext.
55418
4769ae77
UD
55419 [BZ #12684]
55420 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55421 if both request failed.
55422 (send_dg): In case of server errors clear resplen or *resplen2.
55423
6b1e7d19
UD
55424 [BZ #12454]
55425 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55426 when there are multiple maps.
55427 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55428 (_dl_fini): Remove test here.
55429
01f16ab0
UD
55430 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55431
b1ebd700
UD
554322011-05-29 Ulrich Drepper <drepper@gmail.com>
55433
7ae22829
UD
55434 [BZ #12350]
55435 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55436 bit from old_res_options.
55437 (gaih_inet): Likewise.
55438
553149f6 55439 [BZ #11099]
18a84741 55440 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55441 as signed.
55442
652ffab1
UD
55443 * resolv/res_init.c (res_setoptions): Make the code more compact.
55444
16985fd0
UD
55445 [BZ #11558]
55446 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55447 set RES_USEVC.
55448
0464f746
UD
55449 [BZ #11634]
55450 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55451
7d17596c
UD
55452 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55453
cf6bbbd7
UD
55454 [BZ #11781]
55455 * malloc/malloc.h: Declare malloc hook variables as volatile.
55456
13f1ab36
UD
55457 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55458 in last patch.
55459
b1ebd700
UD
55460 [BZ #11799]
55461 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55462 raise in the comment.
80e2212d
UD
55463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55464 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55465 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55466
ce67228d
UD
554672011-05-28 Ulrich Drepper <drepper@gmail.com>
55468
8887a920
UD
55469 [BZ #12811]
55470 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55471 grow the buffers more if it already has to be sufficient.
55472 (build_wcs_upper_buffer): Likewise.
55473 * posix/regexec.c (check_matching): Likewise.
55474 (clean_state_log_if_needed): Likewise.
55475 (extend_buffers): Don't enlarge buffers beyond size of the input
55476 buffer.
55477 Patches mostly by Emil Wojak <emil@wojak.eu>.
55478 * posix/bug-regex32.c: New file.
55479 * posix/Makefile (tests): Add bug-regex32.
55480
4f031072
UD
55481 * locale/findlocale.c (_nl_find_locale): Return right away if
55482 _nl_explode_name failed.
55483 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55484
d0478f0c
UD
55485 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55486
de81b246
UD
55487 * debug/xtrace.sh: Unify messages.
55488 * malloc/memusage.sh: Likewise.
55489
c738465a
UD
55490 [BZ #12813]
55491 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55492 time symbol from vDSO. Substitute with vsyscall if not available.
55493 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55494 __vdso_time.
55495
f1f929d7
UD
55496 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55497 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55498 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55499 Add sendmmsg and internal_sendmmsg.
55500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55501 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55502 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55503
ce67228d
UD
55504 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55505 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55507
e57420c6
UD
555082011-05-27 Ulrich Drepper <drepper@gmail.com>
55509
a8509ca5
UD
55510 [BZ #12813]
55511 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55512 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55513 available.
55514 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55515 __vdso_getcpu.
55516
e57420c6
UD
55517 [BZ #12814]
55518 * iconvdata/Makefile (tests): Add bug-iconv9.
55519 * iconvdata/bug-iconv9.c: New file.
55520
4d07db15
AS
555212011-05-27 Andreas Schwab <schwab@redhat.com>
55522
55523 [BZ #12814]
55524 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55525
ea486f69
JJ
555262011-05-25 Jakub Jelinek <jakub@redhat.com>
55527
55528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55529 (struct user_regs_struct): Change intcs field back to cs.
55530
6f038433
UD
555312011-05-25 Ulrich Drepper <drepper@gmail.com>
55532
55533 * po/ja.po: Update from translation team.
55534
67f86a25
UD
555352011-05-23 Ulrich Drepper <drepper@gmail.com>
55536
55537 [BZ #12795]
55538 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55539 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55540
def7fbd6
AS
555412011-05-20 Andreas Schwab <schwab@redhat.com>
55542
55543 * stdlib/longlong.h: Update from GCC.
55544
f50ef8f1
AS
555452011-05-23 Andreas Schwab <schwab@redhat.com>
55546
55547 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55548 parameter name.
55549 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55550 Add parameter name.
55551 (__sysconf): Pass it down.
55552
de7ce8f1
UD
555532011-05-22 Ulrich Drepper <drepper@gmail.com>
55554
f2962a71
UD
55555 [BZ #12671]
55556 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55557 some situations.
55558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55559 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55560 add in in __libc_use_alloca calls. Adjust callers.
55561 (glob): Use malloc in some situations.
55562
de7ce8f1
UD
55563 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55564 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55565 pltexit.
55566
aec84f53
UD
555672011-05-21 Ulrich Drepper <drepper@gmail.com>
55568
05bb4a68
UD
55569 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55570 and CLOCK_BOOTTIME_ALARM.
55571
7ea72f99
UD
55572 [BZ #12782]
55573 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55574 is returned.
55575
7e4afad5
UD
55576 * string/_strerror.c (__strerror_r): Print negative errors as signed
55577 numbers.
55578
8e211fec
UD
55579 [BZ #12777]
55580 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55581 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55582 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55583
f7d82dc9
UD
55584 * configure.in: Fix typo in redirection and correct removal of test
55585 files in two cases.
55586
cc9e536d
UD
55587 [BZ #12788]
55588 * locale/setlocale.c (new_composite_name): Fix test to check for
55589 identical name of all categories.
55590
aec84f53
UD
55591 [BZ #12792]
55592 * libio/filedoalloc.c (local_isatty): New function.
55593 (_IO_file_doallocate): Use local_isatty.
55594 * stdio-common/perror.c (perror): In case a new stream is used
55595 forward the stream error.
55596 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55597 error flag.
55598
78e64fdc
RT
555992011-05-20 Ulrich Drepper <drepper@gmail.com>
55600
34a9094f
UD
55601 [BZ #11869]
55602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55603 alloca.
55604 * include/alloca.h (extend_alloca_account): Define.
55605
78e64fdc
RT
55606 [BZ #11857]
55607 * posix/regex.h: Fix comments with documentation of user-accessible
55608 fields after compilation and describe correct free'ing of pattern
55609 after re_compile_pattern.
55610 Patch by Reuben Thomas <rrt@sc3d.org>.
55611
457bddfc
RA
556122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55613
55614 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55615 and -mno-altivec to prevent the compiler from using Altivec and/or
55616 VSX instructions when the corresponding registers are not available.
55617
a4527b51
AS
556182011-05-19 Andreas Schwab <schwab@redhat.com>
55619
55620 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55621
ed690b2f
UD
556222011-05-19 Ulrich Drepper <drepper@gmail.com>
55623
55624 * libio/freopen.c (freopen): Use __dup2, not dup2.
55625 * libio/freopen64.c (freopen64): Likewise.
55626
8db73634
L
556272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55628
55629 [BZ #12775]
55630 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55631 * math/Makefile (tests): Add test-powl.
55632 (CFLAGS-test-powl.c): Define.
55633 * math/test-powl.c: New file.
55634
0a197a9d
L
556352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55636
55637 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55638
ee30c380
UD
556392011-05-17 Ulrich Drepper <drepper@gmail.com>
55640
55641 [BZ #11837]
55642 * iconvdata/gb18030.c: Update to GB18020-2005.
55643
6ce75379
UD
556442011-05-16 Ulrich Drepper <drepper@gmail.com>
55645
a4b89fd8
AR
55646 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55647 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55648 Patch by Aharon Robbins <arnold@skeeve.com>.
55649
ea389b12
UD
55650 [BZ #11892]
55651 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55652 on the stack.
55653
68a3f91f
UD
55654 [BZ #11895]
55655 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55656 through underflows.
55657
15cc7dd1
UD
55658 [BZ #12766]
55659 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55660 point to strings before performing equality test for error_one_per_line
55661 mode.
55662
f3799213
UD
55663 [BZ #11697]
55664 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55665
d79a9c94
UD
55666 [BZ #11820]
55667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55668 (struct user_fpregs_struct): Avoid __uint*_t types.
55669
56e5eb46
UD
55670 [BZ #6420]
55671 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55672 symbol info. Use it instead of calling _dl_addr locally.
55673 (lock_and_info): New function.
55674 (tr_freehook): Call lock_and_info and pass symbol info as additional
55675 parameter to tr_where.
55676 (tr_mallochook): Likewise.
55677 (tr_reallochook): Likewise.
55678 (tr_memalignhook): Likewise.
55679
6ce75379
UD
55680 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55681 used and couldn't be at all thread-safe.
55682
f8a3b5bf
UD
556832011-05-15 Ulrich Drepper <drepper@gmail.com>
55684
94b7cc37
UD
55685 * libio/freopen.c (freopen): Don't close old file descriptor
55686 before the new one is opened. Instead dup the new file descriptor
55687 to the old one after the new stream is created.
55688 * libio/freopen64.c (freopen64): Likewise.
55689 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55690 * libio/fileops.c (_IO_new_file_close_it): Handle new
55691 _IO_FLAGS2_NOCLOSE flag.
55692 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55693 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55694 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55695 _IO_FLAGS2_NOCLOSE flag.
55696 * include/unistd.h: Add hidden_proto for dup3.
55697 Define __have_dup3.
55698 * io/dup3.c: Define hidden symbol.
55699 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55700
bd25564e
UD
55701 [BZ #7101]
55702 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55703 when an incomplete long option is used.
55704 * posix/tst-getopt_long1.c: New file.
55705 * posix/Makefile (tests): Add tst-getopt_long1.
55706
c84cfef4
UD
55707 [BZ #10138]
55708 * scripts/config.guess: Update from autoconf-2.68.
55709 * scripts/config.sub: Likewise.
55710
3b85df27
UD
55711 [BZ #10157]
55712 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55713 tests into ...
55714 (has_cpuclock): ...this. New function.
55715 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55716 macro here based on has_cpuclock code.
55717
15a856b1
UD
55718 [BZ #10149]
55719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55720 First byte (not low byte) is now always NUL.
55721 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55722
05f399e6
UD
55723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55724 Use non-cancelable interfaces.
55725
10a52685 55726 [BZ #9809]
94ecc67d
UD
55727 * locale/iso-639.def: Add entry for Sorani.
55728
f8a3b5bf
UD
55729 [BZ #11901]
55730 * include/stdlib.h: Move include protection to the right place.
55731 Define abort_msg_s. Declare __abort_msg with it.
55732 * stdlib/abort.c (__abort_msg): Adjust type.
55733 * assert/assert.c (__assert_fail_base): New function. Majority
55734 of code from __assert_fail. Allocate memory for __abort_msg with
55735 mmap.
55736 (__assert_fail): Now call __assert_fail_base.
55737 * assert/assert-perr.c: Remove bulk of implementation. Use
55738 __assert_fail_base.
55739 * include/assert.hL Declare __assert_fail_base.
55740 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55741 mmap.
55742 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55743
1af4e298
UD
557442011-05-14 Ulrich Drepper <drepper@gmail.com>
55745
f8a3b5bf 55746 [BZ #11952]
d26dfc60
MG
55747 [BZ #12453]
55748 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55749 until all modules are registered in the DTV.
55750 * elf/Makefile: Add rules to build and run tst-tls19.
55751 * elf/tst-tls19.c: New file.
55752 * elf/tst-tls19mod1.c: New file.
55753 * elf/tst-tls19mod2.c: New file.
55754 * elf/tst-tls19mod3.c: New file.
55755 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55756
2fc54d6f
UD
55757 [BZ #12083]
55758 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55759 correctly.
55760
98d76b46
UD
55761 [BZ #12601]
55762 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55763 two-byte sequence errors.
55764 * iconvdata/Makefile (tests): Add bug-iconv8.
55765 * iconvdata/bug-iconv8.c: New file.
55766
da3c19ef
UD
55767 [BZ #12626]
55768 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55769 buf2 definition.
55770
ca408c15
UD
55771 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55772
d6f67f7d
UD
55773 [BZ #12432]
55774 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55775 (dummy_getcfa): New function.
55776 (init): Get _Unwind_GetCFA address, use dummy if not found.
55777 (backtrace_helper): In recursion check, also check whether CFA changes.
55778 (__backtrace): Completely initialize arg.
55779
1af4e298 55780 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55781 storing incomplete byte sequence in state object. Avoid testing for
55782 guaranteed too small input if we know there is enough data available.
1af4e298 55783
da62f81b
AS
557842011-05-11 Andreas Schwab <schwab@redhat.com>
55785
55786 * Makeconfig (+link-pie): Indent.
55787 * Rules (binaries-pie): Define if $(have-fpie) and
55788 $(build-shared).
55789 (binaries-shared): Also filter out $(binaries-pie).
55790 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55791 * nscd/Makefile (others-pie): Add nscd.
55792 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55793 ($(objpfx)nscd): Remove command override.
55794 * login/Makefile (others-pie): Add pt_chown.
55795 ($(objpfx)pt_chown): Remove command override.
55796 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55797 remove command overrides.
55798
fcabc0f8
UD
557992011-05-13 Ulrich Drepper <drepper@gmail.com>
55800
20030ae6
UD
55801 * libio/tst_putwc.c: Fix error messages.
55802
fcabc0f8
UD
55803 [BZ #12724]
55804 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55805 currently writing and seek to current position when not.
55806 * libio/Makefile (tests): Add bug-fclose1.
55807 * libio/bug-fclose1.c: New file.
55808
320a5dc0
PB
558092011-05-12 Ulrich Drepper <drepper@gmail.com>
55810
55811 [BZ #12511]
55812 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55813 don't set DF_1_NODELETE here.
55814 (do_lookup_x): When entering new entry test for copy relocation
55815 and if necessary set DF_1_NODELETE flag.
55816 * elf/tst-unique4.cc: New file.
55817 * elf/tst-unique4.h: New file.
55818 * elf/tst-unique4lib.cc: New file.
55819 * elf/Makefile: Add rules to build and run tst-unique4.
55820 Patch by Piotr Bury <pbury@goahead.com>.
55821
22836f52
UD
558222011-05-11 Ulrich Drepper <drepper@gmail.com>
55823
f574184a
UD
55824 [BZ #12052]
55825 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55826
e1fb097f
UD
55827 [BZ #12625]
55828 * misc/mntent_r.c (addmntent): Flush the stream after the output
55829
22836f52
UD
55830 [BZ #12393]
55831 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55832 (is_trusted_path_normalize): Skip initial colon. Append slash
55833 to empty buffer. Duplicate is_trusted_path code but allow
55834 constructed patch to be prefix.
55835 (is_dst): Allow $ORIGIN followed by /.
55836 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55837 Correct testing of result of is_trusted_path_normalize
55838 (decompose_rpath): Fix warning.
55839
7b3b0b2a
UD
558402011-05-10 Ulrich Drepper <drepper@gmail.com>
55841
55842 [BZ #11257]
55843 * grp/initgroups.c (internal_getgrouplist): When we found the service
55844 list through the initgroups entry in nsswitch.conf do not always
55845 continue on a successful lookup. Don't always use the
eac80ce2 55846 __nss_group_database value if it is set.
7b3b0b2a
UD
55847 * nss/nsswitch.conf (initgroups): Change action for successful db
55848 lookup to continue for compatibility.
55849
2a81eaa5
UD
558502011-05-09 Ulrich Drepper <drepper@gmail.com>
55851
be97a69e
UD
55852 [BZ #11532]
55853 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55854 and CP774 modules.
55855 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55856 and CP774 modules.
55857 * iconvdata/tst-tables.sh: Likewise.
55858 * iconvdata/cp770.c: New file.
55859 * iconvdata/cp771.c: New file.
55860 * iconvdata/cp772.c: New file.
55861 * iconvdata/cp773.c: New file.
55862 * iconvdata/cp774.c: New file.
55863 * iconvdata/testdata/CP770: New file.
55864 * iconvdata/testdata/CP770..UTF8: New file.
55865 * iconvdata/testdata/CP771: New file.
55866 * iconvdata/testdata/CP771..UTF8: New file.
55867 * iconvdata/testdata/CP772: New file.
55868 * iconvdata/testdata/CP772..UTF8: New file.
55869 * iconvdata/testdata/CP773: New file.
55870 * iconvdata/testdata/CP773..UTF8: New file.
55871 * iconvdata/testdata/CP774: New file.
55872 * iconvdata/testdata/CP774..UTF8: New file.
55873
55874 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55875 END CHARMAP line.
55876 * iconvdata/gen-8bit-gap.sh: Likewise.
55877 * iconvdata/gen-8bit.sh: Likewise.
55878
c1e9e399
UD
55879 * locale/iso-639.def: Add ary entry.
55880
24c55fb3 55881 [BZ #11258]
96b4b1b0
UD
55882 * locale/C-translit.h.in: Add U20A1 transliteration.
55883
bdc2f971
KB
55884 [BZ #12178]
55885 * locale/iso-639.def: Add wae entry.
55886 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55887
2952b117
UD
55888 [BZ #12545]
55889 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55890 for n.
55891
2a81eaa5
UD
55892 [BZ #12711]
55893 * locale/C-translit.h.in: Add entry for U20B9.
55894 Patch by pravin.d.s@gmail.com.
55895
28377d1b
UD
558962011-05-08 Ulrich Drepper <drepper@gmail.com>
55897
7fb90fb8
UD
55898 [BZ #12713]
55899 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55900 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55901 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55902 in rtld. Use *stat64.
7fb90fb8 55903 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55904 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55905 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55906 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55907 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55908 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55909 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55910 __fstatat64 macros.
7fb90fb8
UD
55911 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55912 * dirent/rewinddir.c: Add libc_hidden_def.
55913 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55914 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55915
28377d1b
UD
55916 * include/dirent.h (__alloc_dir): Add flags parameter.
55917 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55918 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55919 __alloc_dir.
55920 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55921 from fdopendir if O_CLOEXEC is already set.
55922
66bdbaa4
AM
559232011-03-15 Alan Modra <amodra@gmail.com>
55924
55925 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55926 l_tls_firstbyte_offset non-zero. Save padding offset in
55927 l_tls_firstbyte_offset for later use.
55928 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55929 freeing static tls block.
55930
95721191
JN
559312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55932
55933 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55934 where #ifdef was intended. The intent is to prevent ARG_MAX from
55935 being defined by the kernel headers.
55936
f87dfb1f
UD
559372011-05-07 Ulrich Drepper <drepper@gmail.com>
55938
55939 [BZ #12734]
55940 * resolv/resolv.h: Define RES_NOTLDQUERY.
55941 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55942 no-tld-query and set RES_NOTLDQUERY.
55943 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55944 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55945 modern BIND to search name as TLD unless forbidden.
55946
47c3cd7a
UD
559472011-05-07 Petr Baudis <pasky@suse.cz>
55948 Ulrich Drepper <drepper@gmail.com>
55949
55950 [BZ #12393]
55951 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55952 (is_trusted_path): ...to here.
c1e9ea35 55953 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55954 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55955 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55956
8a35c912
PP
559572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55958
55959 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55960 __BEGIN/__END_DECLS.
55961
acd41f47
UD
559622011-05-06 Ulrich Drepper <drepper@gmail.com>
55963
55964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55965 NSS_STATUS_NOTFOUND if no record was found.
55966
597df647
AS
559672011-05-05 Andreas Schwab <schwab@redhat.com>
55968
55969 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55970 (headers-not-in-tirpc): Remove rpc/netdb.h
55971 * resolv/netdb.h: Revert last change.
55972
b9af1301
PP
559732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55974
55975 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55976 circular dependency between libgcc.a and libc.a.
55977
4e34d5f5
AS
559782011-05-05 Andreas Schwab <schwab@redhat.com>
55979
55980 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55981 * nis/Makefile: Don't install rpcsvc/*.
55982 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55983 instead of <rpc/types.h>.
55984 (MAXHOSTNAMELEN): Define.
55985
00ee369c
AS
559862011-05-03 Andreas Schwab <schwab@redhat.com>
55987
55988 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55989
0b592a30
MB
559902011-04-28 Maciej Babinski <mbabinski@google.com>
55991
55992 [BZ #12714]
55993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55994 gethostbyname4_r when IPv6 results are possible.
55995
6e04cbbe
UD
559962011-05-02 Ulrich Drepper <drepper@gmail.com>
55997
55998 [BZ #12723]
55999 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56000 _PC_PIPE_BUF handling.
56001
e4ecafe0
BH
560022011-04-30 Bruno Haible <bruno@clisp.org>
56003
56004 [BZ #12717]
56005 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56006 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56007 to 'int'.
56008 * inet/getnameinfo.c (getnameinfo): Likewise.
56009
125ee683
UD
560102011-04-29 Ulrich Drepper <drepper@gmail.com>
56011
56012 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56013 to groups setting in database lookup.
56014 * nss/nsswitch.conf: Add initgroups entry.
56015
b722481a
EB
560162011-04-22 Ulrich Drepper <drepper@gmail.com>
56017
56018 [BZ #12685]
56019 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56020 mode string.
56021 Patch by Eric Blake <eblake@redhat.com>.
56022
4df46dbd
L
560232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56024
56025 * sunrpc/Makefile (need-export-routines): Add svc_run.
56026 (routines): Remove svc_run.
56027 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56028 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56029 * sunrpc/svc_run.c (svc_run): Likewise.
56030 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56031
e84142d2
UD
560322011-04-21 Ulrich Drepper <drepper@gmail.com>
56033
56034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56035 problem in reallocation in last patch.
56036
877175d8
UD
560372011-04-20 Ulrich Drepper <drepper@gmail.com>
56038
56039 * sunrpc/Makefile: Move inclusion of Rules.
56040
ab8eed78
UD
560412011-04-19 Ulrich Drepper <drepper@gmail.com>
56042
56043 * nss/nss_files/files-initgroups.c: New file.
56044 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56045 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56046 _nss_files_initgroups_dyn.
56047
e3d8f584
RS
560482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56049
56050 * elf/elf.h (R_ARM_IRELATIVE): Define.
56051
af190f45
UD
560522011-04-19 Ulrich Drepper <drepper@gmail.com>
56053
56054 * po/ru.po: Update from translation team.
56055
53cf59ef
UD
560562011-04-17 Ulrich Drepper <drepper@gmail.com>
56057
56058 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56059 dependencies.
56060
4c559bcd
MF
560612011-02-06 Mike Frysinger <vapier@gentoo.org>
56062
56063 [BZ #12653]
56064 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56065 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56067 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56068 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56069
4420675c
AS
560702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56071
56072 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56073 differing bytes.
56074 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56076 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56077
75ea32ab
UD
560782011-04-17 Ulrich Drepper <drepper@gmail.com>
56079
56080 [BZ #12420]
56081 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56082 storing it.
56083 * stdlib/bug-getcontext.c: New file.
56084 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56085
27390476
AK
560862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56087
56088 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56089 instructions into .machine "z9-109".
56090 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56091 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56092
10442705
AK
560932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56094
56095 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56096 between environment variables and auxiliary vector.
56097
7b57bfe5
UD
560982011-04-16 Ulrich Drepper <drepper@gmail.com>
56099
56100 * Makefile: Add rules to build linkobj/libc.so.
56101 * include/libc-symbols.h: Define libc_hidden_nolink.
56102 * include/rpc/auth.h: Mark functions which are to be hidden.
56103 * include/rpc/auth_des.h: Likewise.
56104 * include/rpc/auth_unix.h: Likewise.
56105 * include/rpc/clnt.h: Likewise.
56106 * include/rpc/des_crypt.h: Likewise.
56107 * include/rpc/key_prot.h: Likewise.
56108 * include/rpc/pmap_clnt.h: Likewise.
56109 * include/rpc/pmap_prot.h: Likewise.
56110 * include/rpc/pmap_rmt.h: Likewise.
56111 * include/rpc/rpc_msg.h: Likewise.
56112 * include/rpc/svc.h: Likewise.
56113 * include/rpc/svc_auth.h: Likewise.
56114 * include/rpc/xdr.h: Likewise.
56115 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56116 * nss/Makefile: Likewise.
56117 * sunrpc/Makefile: Don't install headers. Build library with normal
56118 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56119 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56120 for the compat linking library. Remove use of INTDEF/INTUSE.
56121 * sunrpc/auth_none.c: Likewise.
56122 * sunrpc/auth_unix.c: Likewise.
56123 * sunrpc/authdes_prot.c: Likewise.
56124 * sunrpc/authuxprot.c: Likewise.
56125 * sunrpc/clnt_gen.c: Likewise.
56126 * sunrpc/clnt_perr.c: Likewise.
56127 * sunrpc/clnt_raw.c: Likewise.
56128 * sunrpc/clnt_simp.c: Likewise.
56129 * sunrpc/clnt_tcp.c: Likewise.
56130 * sunrpc/clnt_udp.c: Likewise.
56131 * sunrpc/clnt_unix.c: Likewise.
56132 * sunrpc/des_crypt.c: Likewise.
56133 * sunrpc/des_soft.c: Likewise.
56134 * sunrpc/get_myaddr.c: Likewise.
56135 * sunrpc/key_call.c: Likewise.
56136 * sunrpc/key_prot.c: Likewise.
56137 * sunrpc/netname.c: Likewise.
56138 * sunrpc/pm_getmaps.c: Likewise.
56139 * sunrpc/pm_getport.c: Likewise.
56140 * sunrpc/pmap_clnt.c: Likewise.
56141 * sunrpc/pmap_prot.c: Likewise.
56142 * sunrpc/pmap_prot2.c: Likewise.
56143 * sunrpc/pmap_rmt.c: Likewise.
56144 * sunrpc/publickey.c: Likewise.
56145 * sunrpc/rpc_cmsg.c: Likewise.
56146 * sunrpc/rpc_common.c: Likewise.
56147 * sunrpc/rpc_dtable.c: Likewise.
56148 * sunrpc/rpc_prot.c: Likewise.
56149 * sunrpc/rpc_thread.c: Likewise.
56150 * sunrpc/rtime.c: Likewise.
56151 * sunrpc/svc.c: Likewise.
56152 * sunrpc/svc_auth.c: Likewise.
56153 * sunrpc/svc_authux.c: Likewise.
56154 * sunrpc/svc_raw.c: Likewise.
56155 * sunrpc/svc_run.c: Likewise.
56156 * sunrpc/svc_simple.c: Likewise.
56157 * sunrpc/svc_tcp.c: Likewise.
56158 * sunrpc/svc_udp.c: Likewise.
56159 * sunrpc/svc_unix.c: Likewise.
56160 * sunrpc/svcauth_des.c: Likewise.
56161 * sunrpc/xcrypt.c: Likewise.
56162 * sunrpc/xdr.c: Likewise.
56163 * sunrpc/xdr_array.c: Likewise.
56164 * sunrpc/xdr_float.c: Likewise.
56165 * sunrpc/xdr_intXX_t.c: Likewise.
56166 * sunrpc/xdr_mem.c: Likewise.
56167 * sunrpc/xdr_rec.c: Likewise.
56168 * sunrpc/xdr_ref.c: Likewise.
56169 * sunrpc/xdr_sizeof.c: Likewise.
56170 * sunrpc/xdr_stdio.c: Likewise.
56171
e6c61494
UD
561722011-04-10 Ulrich Drepper <drepper@gmail.com>
56173
56174 [BZ #12650]
56175 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56176 * sysdeps/ia64/dl-tls.h: Likewise.
56177 * sysdeps/powerpc/dl-tls.h: Likewise.
56178 * sysdeps/s390/dl-tls.h: Likewise.
56179 * sysdeps/sh/dl-tls.h: Likewise.
56180 * sysdeps/sparc/dl-tls.h: Likewise.
56181 * sysdeps/x86_64/dl-tls.h: Likewise.
56182 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56183
34fe483e
AS
561842011-03-14 Andreas Schwab <schwab@redhat.com>
56185
56186 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56187 rpath element also skip the following colon.
56188 (expand_dynamic_string_token): Add is_path parameter and pass
56189 down to DL_DST_REQUIRED and _dl_dst_substitute.
56190 (decompose_rpath): Call expand_dynamic_string_token with
56191 non-zero is_path. Ignore empty rpaths.
56192 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56193 with zero is_path.
56194
f12a32e6
AS
561952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56196
56197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56198 Make cancelable.
56199
38a7d692
UD
562002011-04-09 Ulrich Drepper <drepper@gmail.com>
56201
56202 [BZ #12655]
56203 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56204 Patch by Filipe David Manana <fdmanana@apache.org>.
56205
e451d22b
AS
562062011-04-07 Andreas Schwab <schwab@redhat.com>
56207
56208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56209 Maintain aligned stack.
56210 (CHECK_RSP): Remove unused macro.
56211
dedc7c7b
UD
562122011-04-03 Ulrich Drepper <drepper@gmail.com>
56213
56214 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56215 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56216
94521213
UD
562172011-04-02 Ulrich Drepper <drepper@gmail.com>
56218
56219 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56220
8cb700c0 56221 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56222
0354e355
L
562232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56224
56225 [BZ #12518]
56226 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56227 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56228 * sysdeps/x86_64/memmove.c: New file.
56229 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56230 (memcpy): Renamed to ...
56231 (__new_memcpy): This.
56232 (memcpy): Provide GLIBC_2_14 memcpy.
56233 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56234 (memcpy): Provide GLIBC_2_2_5 memcpy.
56235
8593482f
UD
562362011-04-01 Ulrich Drepper <drepper@gmail.com>
56237
56238 [BZ #12631]
56239 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56240
81a5726b
AS
562412011-03-30 Andreas Schwab <schwab@redhat.com>
56242
56243 * misc/syncfs.c: New file.
56244 * misc/Makefile (routines): Add syncfs.
56245 * posix/unistd.h: Declare syncfs.
56246 * sysdeps/unix/syscalls.list: Add syncfs.
56247
00e5419f
AS
562482011-04-01 Andreas Schwab <schwab@redhat.com>
56249
56250 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56251 open_by_handle_at.
56252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56257 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56259
748876bf
UD
562602011-04-01 Ulrich Drepper <drepper@gmail.com>
56261
658e451d
UD
56262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56264 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56266 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56269
748876bf
UD
56270 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56271 sync_file_range.c with -fexceptions.
56272 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56273 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56274 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56275 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56276 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56277 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56279 sync_file_range as cancellation point
56280 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56281 now a wrapper around __call_sync_file_range with cancellation handling.
56282 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56283 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56284 function name to __call_sync_file_range.
56285 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56286 Add call_sync_file_range.
748876bf 56287
6e63d5e1
AS
562882011-04-01 Andreas Schwab <schwab@redhat.com>
56289
56290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56291 bits/timex.h.
6e63d5e1 56292
46998f74
UD
562932011-04-01 Ulrich Drepper <drepper@gmail.com>
56294
4c1423ed
UD
56295 * iconv/iconv.h: Fix typo in comment.
56296 * io/fcntl.h: Likewise.
56297 * libio/stdio.h: Likewise.
56298 * posix/spawn.h: Likewise.
56299 * posix/unistd.h: Likewise.
56300 * stdlib/stdlib.h: Likewise.
56301 * time/time.h: Likewise.
56302 * wcsmbs/wchar.h: Likewise.
56303
158648c0
UD
56304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56305 open_by_handle): Add.
56306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56307 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56308 Augment a few comments.
56309 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56314 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56315 open_by_handle.
56316
46998f74
UD
56317 * io/fcntl.h (AT_EMPTY_PATH): Define.
56318
83fe108b
UD
563192011-03-30 Ulrich Drepper <drepper@gmail.com>
56320
56321 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56322 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56323 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56324 to...
56325 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56326 * Versions.def: Add GLIBC_2.14.
56327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56328 Export.
83fe108b 56329
bb242059
UD
563302011-03-22 Ulrich Drepper <drepper@gmail.com>
56331
56332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56333 round counter.
56334 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56335
c97a1282
L
563362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56337
56338 [BZ #12597]
56339 * string/test-strncmp.c (do_page_test): New function.
56340 (check2): Likewise.
56341 (test_main): Call check2.
56342 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56343
2a115601
UD
563442011-03-20 Ulrich Drepper <drepper@gmail.com>
56345
56346 [BZ #12587]
56347 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56348 Handle cache information in CPU leaf 4.
56349 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56350
8126d904
UD
563512011-03-18 Ulrich Drepper <drepper@gmail.com>
56352
042c49c6 56353 [BZ #12583]
8126d904
UD
56354 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56355 character representation.
56356 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56357
ccfe366e
RA
563582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56359
56360 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56361 END(__isnan) to END(__isnanf) to match function entry point/label
56362 EALIGN(__isnanf,...).
56363
c6e13027
JJ
563642011-03-10 Jakub Jelinek <jakub@redhat.com>
56365
56366 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56367
33f85a3f
UD
563682011-03-10 Ulrich Drepper <drepper@gmail.com>
56369
028478fa
UD
56370 [BZ #12510]
56371 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56372 copy from the symbol referenced in the relocation to initialize the
56373 used variable.
56374 Patch by Piotr Bury <pbury@goahead.com>.
56375 * elf/Makefile: Add rules to build and tst-unique3.
56376 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56377 * elf/tst-unique3.cc: New file.
56378 * elf/tst-unique3.h: New file.
56379 * elf/tst-unique3lib.cc: New file.
56380 * elf/tst-unique3lib2.cc: New file.
56381
33f85a3f
UD
56382 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56383
03592fc7
MF
563842011-03-10 Mike Frysinger <vapier@gentoo.org>
56385
56386 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56387 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56388 to _start.
03592fc7 56389
6a5ee102
UD
563902011-03-06 Ulrich Drepper <drepper@gmail.com>
56391
56392 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56393 to-be-loaded object along a path to loader is ld.so.
56394
7e4ba49c
HJ
563952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56396 Ulrich Drepper <drepper@gmail.com>
56397
56398 * sysdeps/x86_64/memset.S: After aligning destination, code
56399 branches to different locations depending on the value of
56400 misalignment, when multiarch is enabled. Fix this.
56401
564022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56403
56404 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56405 Set _x86_64_preferred_memory_instruction for AMD processsors.
56406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56407 Set bit_Prefer_SSE_for_memop for AMD processors.
56408
13a804de
UD
564092011-03-04 Ulrich Drepper <drepper@gmail.com>
56410
56411 * libio/fmemopen.c (fmemopen): Optimize a bit.
56412
9d25c392
AS
564132011-03-03 Andreas Schwab <schwab@redhat.com>
56414
56415 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56416
a5543c6a
RM
564172011-03-03 Roland McGrath <roland@redhat.com>
56418
56419 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56420
012d35f7
DM
564212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56422
7e4ba49c 56423 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56424 __bzero_ultra1 instead of __memset_ultra1.
56425
4bff6e01
AS
564262011-02-23 Andreas Schwab <schwab@redhat.com>
56427 Ulrich Drepper <drepper@gmail.com>
56428
56429 [BZ #12509]
56430 * include/link.h (struct link_map): Add l_orig_initfini.
56431 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56432 returning unsuccessfully.
56433 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56434 close of a file loaded at startup, restore the original l_initfini
56435 list.
56436 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56437 list, store the pointer.
56438 * elf/Makefile ($(objpfx)noload-mem): New rule.
56439 (noload-ENV): Define.
56440 (tests): Add $(objpfx)noload-mem.
56441 * elf/noload.c: Include <memcheck.h>.
56442 (main): Call mtrace. Close all opened handles.
56443
f2092faf
AS
564442011-02-17 Andreas Schwab <schwab@redhat.com>
56445
56446 [BZ #12454]
56447 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56448 dependencies are missing.
56449
6c8a2e88
ST
564502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56451
f2092faf 56452 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56453 Hurd needs munmap.
56454 * sysdeps/mach/hurd/ifreq.h: New file.
56455
84a42118
PB
564562011-01-27 Petr Baudis <pasky@suse.cz>
56457 Ulrich Drepper <drepper@gmail.com>
56458
071f805e 56459 [BZ 12445]#
84a42118
PB
56460 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56461 to extend_alloca().
56462 * stdio-common/bug23.c: New file.
56463 * stdio-common/Makefile (tests): Add bug23.
56464
e23fe25b
AS
564652010-09-28 Andreas Schwab <schwab@redhat.com>
56466 Ulrich Drepper <drepper@gmail.com>
56467
56468 [BZ #12489]
56469 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56470 before performing relro protection. At old place add assertion
56471 to make sure nothing changed.
56472
d3f02e10
NS
564732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56474 Glauber de Oliveira Costa <glommer@gmail.com>
56475
56476 * elf/elf.h: Add new ARM TLS relocs.
56477
d55fd7a5
RA
564782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56479
56480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56481 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56482 cast from r3.
56483 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56484 'tests' variable.
56485 * sysdeps/wordsize-64/tst-writev.c: New file.
56486
2206397e
RA
564872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56488
56489 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56490 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56491 insns in _dl_start to prevent a TOC reference before relocs are
56492 resolved.
56493
e9433893
UD
564942011-02-15 Ulrich Drepper <drepper@gmail.com>
56495
56496 [BZ #12469]
56497 * Makeconfig: Remove RANLIB definition.
56498 * Makerules: Don't use RANLIB.
56499 * aclocal.m4: Remove ranlib test.
56500 * configure.in: No need to check for ranlib.
56501 * elf/rtld-Rules: Don't use RANLIB.
56502
f75286c6
ST
565032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56504
8e31c82d
ST
56505 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56506 protection macro.
56507 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56508 inclusion protection macro.
56509
f75286c6
ST
56510 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56511 SIGRTMIN and SIGRTMAX and print information in that case only when
56512 SIGRTMIN is defined.
56513
c1d0e639
JJ
565142011-02-11 Jakub Jelinek <jakub@redhat.com>
56515
56516 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56517 arginfo fn returning -1.
56518
56519 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56520 and thousands string is zero terminated.
56521
edf9294e
AS
565222011-02-03 Andreas Schwab <schwab@redhat.com>
56523
56524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56525 sysdeps/unix/sysv/linux/bits/socket.h.
56526
2b7e92df
ST
565272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56528
edf9294e
AS
56529 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56530 (__CPU_COUNT): Remove old macros.
56531 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56532 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56533 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56534 (__sched_cpualloc, __sched_cpufree): Add declarations.
56535
a4c7ea7b
UD
565362011-02-05 Ulrich Drepper <drepper@gmail.com>
56537
56538 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56539 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56540 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56541 (readdhstai): Return value of addhstaiX call.
56542 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56543 (addgrbyX): Return value returned by cache_addgr.
56544 (readdgrbyname): Return value returned by addgrbyX.
56545 (readdgrbygid): Likewise.
56546 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56547 (addpwbyX): Return value returned by cache_addpw.
56548 (readdpwbyname): Return value returned by addhstbyX.
56549 (readdpwbyuid): Likewise.
56550 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56551 (addservbyX): Return value returned by cache_addserv.
56552 (readdservbyname): Return value returned by addservbyX:
56553 (readdservbyport): Likewise.
56554 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56555 (addhstbyX): Return value returned by cache_addhst.
56556 (readdhstbyname): Return value returned by addhstbyX.
56557 (readdhstbyaddr): Likewise.
56558 (readdhstbynamev6): Likewise.
56559 (readdhstbyaddrv6): Likewise.
56560 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56561 (readdinitgroups): Return value returned by addinitgroupsX.
56562 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56563 (prune_cache): Keep track of timeout value of re-added entries.
56564 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56565 * nscd/nscd.h: Adjust prototypes of readd* functions.
56566
a0bf67cc
RM
565672011-02-04 Roland McGrath <roland@redhat.com>
56568
56569 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56570 (nis_stats): Likewise.
56571 * nis/nis_modify.c (nis_modify): Likewise.
56572 * nis/nis_remove.c (nis_remove): Likewise.
56573 * nis/nis_add.c (nis_add): Likewise.
56574
56575 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56576
56577 * posix/fnmatch_loop.c: Add some consts.
56578
56579 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56580
435b95eb
L
565812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56582
56583 [BZ #12460]
56584 * config.make.in (config-cflags-novzeroupper): Define.
56585 * configure.in: Substitute libc_cv_cc_novzeroupper.
56586 * elf/Makefile (AVX-CFLAGS): Define.
56587 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56588 (CFLAGS-tst-auditmod4a.c): Likewise.
56589 (CFLAGS-tst-auditmod4b.c): Likewise.
56590 (CFLAGS-tst-auditmod6b.c): Likewise.
56591 (CFLAGS-tst-auditmod6c.c): Likewise.
56592 (CFLAGS-tst-auditmod7b.c): Likewise.
56593 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56594
8517b15e
UD
565952011-02-02 Ulrich Drepper <drepper@gmail.com>
56596
56597 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56598 function to the callback.
56599 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56600
10a656fe
AS
566012011-02-02 Andreas Schwab <schwab@redhat.com>
56602
56603 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56604 of errno.
56605
968dad0a
UD
566062011-01-19 Ulrich Drepper <drepper@gmail.com>
56607
9f94d2ea 56608 [BZ #11724]
968dad0a
UD
56609 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56610 of constructors.
56611 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56612 of destructors.
56613 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56614
56615 [BZ #11724]
56616 * elf/Makefile: Add rules to build and run new test.
56617 * elf/tst-initorder.c: New file.
56618 * elf/tst-initorder.exp: New file.
56619 * elf/tst-initordera1.c: New file.
56620 * elf/tst-initordera2.c: New file.
56621 * elf/tst-initordera3.c: New file.
56622 * elf/tst-initordera4.c: New file.
56623 * elf/tst-initorderb1.c: New file.
56624 * elf/tst-initorderb2.c: New file.
56625 * elf/tst-order-a1.c: New file.
56626 * elf/tst-order-a2.c: New file.
56627 * elf/tst-order-a3.c: New file.
56628 * elf/tst-order-a4.c: New file.
56629 * elf/tst-order-b1.c: New file.
56630 * elf/tst-order-b2.c: New file.
56631 * elf/tst-order-main.c: New file.
56632 New test case by George Gensure <werkt0@gmail.com>.
56633
86e92359
UD
566342010-10-01 Andreas Schwab <schwab@redhat.com>
56635
56636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56637 decoding ACE if AI_CANONIDN.
56638
5d5732b0
UD
566392011-01-18 Ulrich Drepper <drepper@gmail.com>
56640
56641 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56642
a77e8cbc
UD
566432011-01-17 Ulrich Drepper <drepper@gmail.com>
56644
6392473f
UD
56645 * version.h (RELEASE): Bump for 2.13 release.
56646 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56647
620a0529
UD
56648 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56649
18ba70a5
UD
56650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56651 MADV_NOHUGEPAGE.
32465c3e
UD
56652 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56658
c0dafcf1
UD
56659 * posix/getconf.c: Update copyright year.
56660 * catgets/gencat.c: Likewise.
56661 * csu/version.c: Likewise.
56662 * debug/catchsegv.sh: Likewise.
56663 * debug/xtrace.sh: Likewise.
56664 * elf/ldconfig.c: Likewise.
56665 * elf/ldd.bash.in: Likewise.
56666 * elf/sprof.c (print_version): Likewise.
56667 * iconv/iconv_prog.c: Likewise.
56668 * iconv/iconvconfig.c: Likewise.
56669 * locale/programs/locale.c: Likewise.
56670 * locale/programs/localedef.c: Likewise.
56671 * malloc/memusage.sh: Likewise.
56672 * malloc/mtrace.pl: Likewise.
56673 * nscd/nscd.c (print_version): Likewise.
56674 * nss/getent.c: Likewise.
56675
a77e8cbc
UD
56676 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56677 PF_CAIF, and PF_ALG.
56678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56679
77e8bddf
AS
566802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56681
1f20b93a
AS
56682 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56683 (modules-names): Use them.
56684 (ifunc-test-modules, ifunc-pie-tests): Define.
56685 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56686 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56687 (test-extras): Likewise.
56688 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56689 $(compile-command.c).
56690 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56691 (all-built-dso): Define.
56692 (check-textrel.out, check-execstack.out): Depend on it.
56693
77e8bddf
AS
56694 * configure.in: Don't override --enable-multi-arch.
56695
bc425b33
UD
566962011-01-15 Ulrich Drepper <drepper@gmail.com>
56697
56698 [BZ #6812]
56699 * nscd/hstcache.c (tryagain): Define.
56700 (cache_addhst): Return tryagain not notfound for temporary errors.
56701 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56702 failed.
56703
794c3ad3
UD
567042011-01-14 Ulrich Drepper <drepper@gmail.com>
56705
70181fdd
UD
56706 [BZ #10563]
56707 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56708 to make the syscall.
56709 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56710
794c3ad3
UD
56711 [BZ #12378]
56712 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56713 and fall back to matching as normal character if the string ends before
56714 the matching ']' is found. This is what POSIX requires.
56715 * posix/testfnm.c: Adjust test result.
56716 * posix/globtest.sh: Adjust test result. Add new test.
56717 * posix/tst-fnmatch.input: Likewise.
56718 * posix/tst-fnmatch2.c: Add new test.
56719
68dc9497
AS
567202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56721
56722 * elf/Makefile (check-execstack): Revert last change. Depend on
56723 check-execstack.h.
56724 (check-execstack.h): New target.
56725 (generated): Add check-execstack.h.
56726 * elf/check-execstack.c: Include "check-execstack.h".
56727 (main): Revert last change.
56728 (handle_file): Return zero if GNU_STACK is absent and
56729 DEFAULT_STACK_PERMS doesn't include PF_X.
56730
451f001b
UD
567312011-01-13 Ulrich Drepper <drepper@gmail.com>
56732
cfa28e56
UD
56733 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56734 in child fails because the descriptor is already closed.
8cf8ce17
UD
56735 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56736 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56737 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56738
1086d70d
UD
56739 [BZ #12397]
56740 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56741 syscall.
56742
451f001b
UD
56743 [BZ #10484]
56744 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56745 temporary buffer used to handle multi lookups locally.
a85b5cb4 56746 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56747
08769175
UD
567482011-01-12 Ulrich Drepper <drepper@gmail.com>
56749
56750 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56751 loader is ld.so.
56752
5e49c52e
UD
567532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56754
56755 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56756 alignment for SSE2.
56757
60522a5f
UD
567582011-01-12 Ulrich Drepper <drepper@gmail.com>
56759
56760 [BZ #12394]
56761 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56762 characters. When rounding increased number of integer digits recompute
56763 number of groups.
56764 * stdio-common/tst-grouping.c: New file.
56765 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56766
f257bbd7
UD
567672011-01-09 Ulrich Drepper <drepper@gmail.com>
56768
56769 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56770 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56771
56772 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56773 void.
56774 * bits/select.h: Likewise.
56775
fa9c15cb
UD
567762011-01-08 Ulrich Drepper <drepper@gmail.com>
56777
56778 * po/ja.po: Update from translation team.
56779
16c2895f
DM
567802011-01-04 David S. Miller <davem@sunset.davemloft.net>
56781
56782 [BZ #11155]
56783 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56784 implementation just like for lxstat, fxstatat, et al.
56785
2543fef2
JM
567862010-12-27 Jim Meyering <meyering@redhat.com>
56787
56788 [BZ #12348]
56789 * posix/regexec.c (build_trtable): Return failure indication upon
56790 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56791
98727dbe
UD
567922010-12-25 Ulrich Drepper <drepper@gmail.com>
56793
5bd6dc5c
UD
56794 [BZ #12201]
56795 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56796 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56797 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56798 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56799
97983464
UD
56800 [BZ #12207]
56801 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56802
98727dbe
UD
56803 [BZ #12204]
56804 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56805 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56806
4a531bb0
L
568072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56808
56809 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56810 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56811 script has SORT_BY_INIT_PRIORITY.
56812 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56813 NO_CTORS_DTORS_SECTIONS is defined.
56814 * elf/soinit.c: Likewise.
56815 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56816 NO_CTORS_DTORS_SECTIONS is defined.
56817 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56818 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56819 * sysdeps/sh/init-first.c: Likewise.
56820 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56821
07eb4b71
UD
568222010-12-24 Ulrich Drepper <drepper@gmail.com>
56823
56824 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56825 always use the slow path.
56826
30950a5f
RA
568272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56828
56829 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56830 similar rule which adds the sysdep directories to the header search in
56831 order to pick up the correct platform stackinfo.h.
56832 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56833 perform test if it is, otherwise return successfully without testing.
56834 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56835 DEFAULT_STACK_PERMS define in stackinfo.h.
56836 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56837 defined in stackinfo.h.
56838 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56839 DEFAULT_STACK_PERMS defined in stackinfo.h.
56840 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56841 * sysdeps/ia64/stackinfo.h: Likewise.
56842 * sysdeps/s390/stackinfo.h: Likewise.
56843 * sysdeps/sh/stackinfo.h: Likewise.
56844 * sysdeps/sparc/stackinfo.h: Likewise.
56845 * sysdeps/x86_64/stackinfo.h: Likewise.
56846 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56847 PF_X for powerpc64. Retain PF_X for powerpc32.
56848
db753e2c
UD
568492010-12-19 Ulrich Drepper <drepper@gmail.com>
56850
14b697f7
UD
56851 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56852 accurately.
db753e2c
UD
56853 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56854 GETDENTS_64BIT_ALIGNED.
56855
28300719
UD
568562010-12-14 Ulrich Drepper <dreper@gmail.com>
56857
14b697f7 56858 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56859
4f197237
AS
568602010-12-10 Andreas Schwab <schwab@redhat.com>
56861
dbb0472f
AS
56862 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56863 _GNU_SOURCE.
56864
4f197237
AS
56865 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56866 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56867 Remove __restrict.
56868 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56869 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56870
fb88ac72
UD
568712010-12-09 Ulrich Drepper <drepper@gmail.com>
56872
56873 [BZ #11655]
56874 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56875 are initialized.
56876
42acbb92
JJ
568772010-12-09 Jakub Jelinek <jakub@redhat.com>
56878
56879 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56880
c038d98d
UD
568812010-12-03 Ulrich Drepper <drepper@gmail.com>
56882
56883 * po/it.po: Update from translation team.
56884
3a4a2499
L
568852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56886
56887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56888 unused codes.
56889
1e24cf6e
UD
568902010-11-30 Ulrich Drepper <drepper@gmail.com>
56891
56892 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56893
a7690819
AS
568942010-11-24 Andreas Schwab <schwab@redhat.com>
56895
56896 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56897 specially.
56898 (gaih_getanswer_slice): Likewise.
56899
3bf8d1b1
JJ
569002010-10-20 Jakub Jelinek <jakub@redhat.com>
56901
56902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56903
6db52fbb
PB
569042010-05-31 Petr Baudis <pasky@suse.cz>
56905
56906 [BZ #11149]
56907 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56908 silently even in the chroot mode.
56909
eaca7569
UD
569102010-11-22 Ulrich Drepper <drepper@gmail.com>
56911
56912 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56913 last patch a bit. Pretty printing
56914
3056dcdb
UD
569152010-05-31 Petr Baudis <pasky@suse.cz>
56916
56917 [BZ #10085]
56918 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56919 initialization of skip_initgroups_dyn.
56920
cf7c9078
UD
569212010-11-19 Ulrich Drepper <drepper@gmail.com>
56922
56923 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56924 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56925
a1fb5e3e
UD
569262010-11-16 Ulrich Drepper <drepper@gmail.com>
56927
56928 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56929
3540d66b
AS
569302010-11-11 Andreas Schwab <schwab@redhat.com>
56931
56932 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56933 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56934 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56935 ($(objpfx)tst-fnmatch-mem): New rule.
56936 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56937 * posix/tst-fnmatch.c (main): Call mtrace.
56938
13b69574
L
569392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56940
56941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56942 Support Intel processor model 6 and model 0x2c.
56943
da93d214
LM
569442010-11-10 Luis Machado <luisgpm@br.ibm.com>
56945
56946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56947 signed comparison.
56948
8ca52c6e
L
569492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56950
56951 [BZ #12205]
56952 * string/test-strncasecmp.c (check_result): New function.
56953 (do_one_test): Use it.
56954 (check1): New function.
56955 (test_main): Use it.
56956 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56957 Support strcasecmp and strncasecmp.
56958
69da074d
UD
569592010-11-08 Ulrich Drepper <drepper@gmail.com>
56960
56961 [BZ #12194]
56962 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56964
ff02d528
L
569652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56966
56967 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56968 IFUNC support.
56969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56970 memset-x86-64.
56971 * sysdeps/x86_64/multiarch/bzero.S: New file.
56972 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56973 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56974 * sysdeps/x86_64/multiarch/memset.S: New file.
56975 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56977 Set bit_Prefer_SSE_for_memop for Intel processors.
56978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56979 Define.
56980 (index_Prefer_SSE_for_memop): Define.
56981 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56982
344d0b54
LM
569832010-11-04 Luis Machado <luisgpm@br.ibm.com>
56984
56985 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56987
c0dde15b
UD
569882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56989
56990 [BZ #12191]
56991 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56992 (__x86_64_raw_data_cache_size_half): Likewise.
56993 (__x86_64_raw_shared_cache_size): Likewise.
56994 (__x86_64_raw_shared_cache_size_half): Likewise.
56995
56996 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56997 (__x86_64_raw_data_cache_size_half): Likewise.
56998 (__x86_64_raw_shared_cache_size): Likewise.
56999 (__x86_64_raw_shared_cache_size_half): Likewise.
57000 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57001 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57002 and __x86_64_raw_shared_cache_size_half. Round
57003 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57004 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57005 to multiple of 256 bytes.
57006
0e516e0e
MS
570072010-11-03 Ulrich Drepper <drepper@gmail.com>
57008
57009 [BZ #12167]
57010 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57011 of inacessible symlinks. Verify result of symlink before returning it.
57012 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57013 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57014
0e012e87
ER
570152010-10-28 Erich Ritz <erichritz@gmail.com>
57016
57017 * math/math.h (isinf): Fix typo in comment.
57018
de0ff7bc
UD
570192010-11-01 Ulrich Drepper <drepper@gmail.com>
57020
57021 * po/da.po: Update from translation team.
57022
fa41c84d
UD
570232010-10-26 Ulrich Drepper <drepper@gmail.com>
57024
57025 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57026 is added to the list.
57027
f0967738
AK
570282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57029 Ulrich Drepper <drepper@gmail.com>
57030
57031 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57032 the global list here. Move code to...
57033 (_dl_add_to_namespace_list): ...here. New function.
57034 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57035 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57036 * elf/dl-load.c (lose): Don't remove the element from the list.
57037 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57038 (_dl_map_object): Likewise.
57039
570402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
57041
57042 [BZ #12159]
57043 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57044 into all bytes of SSE register.
57045 Patch by Richard Li <richardpku@gmail.com>.
57046
f0967738 570472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
57048
57049 [BZ #12140]
57050 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57051 perturbing.
57052
d0b9e94f
MB
570532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57054
57055 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57056 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57057 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57058 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57060 submachine.
57061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57062
8e9f92e9
AS
570632010-10-22 Andreas Schwab <schwab@redhat.com>
57064
57065 * include/dlfcn.h (__RTLD_SECURE): Define.
57066 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57067 mode & __RTLD_SECURE instead.
57068 (open_path): Rename preloaded parameter to secure.
57069 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57070 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57071 * elf/dl-deps.c (openaux): Likewise.
57072 * elf/rtld.c (struct map_args): Remove is_preloaded.
57073 (map_doit): Don't use it.
57074 (dl_main): Likewise.
57075 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57076 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57077
bc96fbda
AS
570782010-09-09 Andreas Schwab <schwab@redhat.com>
57079
57080 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57081 (sysd-rules-targets): Remove duplicates.
57082 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57083 rtld-%.$o dependency.
57084
22cd1c9b
AS
570852010-10-18 Andreas Schwab <schwab@redhat.com>
57086
57087 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57088 _dl_map_object do it.
57089
18edac48
UD
570902010-10-19 Ulrich Drepper <drepper@gmail.com>
57091
57092 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57093 fast fma builtins, define the macros in the C99 standard.
57094 (FP_FAST_FMAF): Likewise.
57095 (FP_FAST_FMAL): Likewise.
57096 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57097
57098 * bits/mathdef.h: Update copyright year.
57099 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57100
d2050124
MM
571012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57102
57103 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57104 builtins, define the macros in the C99 standard.
57105 (FP_FAST_FMAF): Likewise.
57106 (FP_FAST_FMAL): Likewise.
57107 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57108 multiply/add.
57109 (FP_FAST_FMAF): Likewise.
57110
475facd1
JJ
571112010-10-15 Jakub Jelinek <jakub@redhat.com>
57112
57113 [BZ #3268]
57114 * math/libm-test.inc (fma_test): Some new testcases.
57115 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57117 y and infinite z. Do multiplication by C already in long double.
57118 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57120 y and infinite z. Do bitwise or of inexact bit into u.d.
57121 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57122 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57123 * sysdeps/i386/fpu/s_fma.S: Removed.
57124 * sysdeps/i386/fpu/s_fmal.S: Removed.
57125
7c08a05c
JJ
571262010-10-16 Jakub Jelinek <jakub@redhat.com>
57127
57128 [BZ #3268]
57129 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57131 computation is not scheduled after fetestexcept. Fix value
57132 of minimum denormal long double.
57133
f3f7372d
JJ
571342010-10-14 Jakub Jelinek <jakub@redhat.com>
57135
57136 [BZ #3268]
57137 * math/libm-test.inc (fma_test): Add some more tests.
57138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57139 correctly.
57140
14d43591
AS
571412010-10-15 Andreas Schwab <schwab@redhat.com>
57142
57143 * scripts/data/localplt-s390-linux-gnu.data: New file.
57144 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57145
5e908464
JJ
571462010-10-13 Jakub Jelinek <jakub@redhat.com>
57147
57148 [BZ #3268]
57149 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57150 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57151 instead of dbl-64.
57152 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57153 inlines.
57154 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57156 if one of x and y is very large and the other is subnormal.
57157 * sysdeps/s390/fpu/s_fmaf.c: New file.
57158 * sysdeps/s390/fpu/s_fma.c: New file.
57159 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57160 * sysdeps/powerpc/fpu/s_fma.S: New file.
57161 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57162 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57163 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57164
571652010-10-12 Jakub Jelinek <jakub@redhat.com>
57166
57167 [BZ #3268]
57168 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57169 fma tests.
57170 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57171 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57172 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57173 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57174 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57175 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57176 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57177
b833d51f
UD
571782010-10-12 Ulrich Drepper <drepper@redhat.com>
57179
57180 [BZ #12078]
57181 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57182 * posix/bug-regex31.input: Add test case.
57183
1751705d
UD
571842010-10-11 Ulrich Drepper <drepper@gmail.com>
57185
e9b9cbf5
UD
57186 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57187 * posix/bug-regex31.input: New file.
57188
57189 [BZ #12078]
57190 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57191 (parse_sub_exp): Fix last change, use postorder.
57192
ef06edbe
UD
57193 * posix/bug-regex31.c: New file.
57194 * posix/Makefile: Add rules to build and run bug-regex31.
57195
a129c80d
UD
57196 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57197
57198 [BZ #12078]
57199 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57200
b76b818e
UD
57201 [BZ #12108]
57202 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57203 to have entries in sys_siglist.
57204
1751705d
UD
57205 [BZ #12093]
57206 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57207 be NULL.
57208
9ff8d36f
JJ
572092010-10-07 Jakub Jelinek <jakub@redhat.com>
57210
57211 [BZ #3268]
57212 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57213 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57214 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57215 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57216 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57217 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57218 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57219 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57220 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57221 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57222 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57223 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57224 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57225 * math/ftestexcept.c (fetestexcept): Likewise.
57226 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57227 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57228 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57229 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57230 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57231 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57233
af325969
UD
572342010-10-11 Ulrich Drepper <drepper@gmail.com>
57235
c579b202 57236 [BZ #12107]
af325969
UD
57237 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57238 newline.
57239
67a67b95
UD
572402010-10-06 Ulrich Drepper <drepper@gmail.com>
57241
57242 * string/bug-strstr1.c: New file.
57243 * string/Makefile: Add rules to build and run bug-strstr1.
57244
5fb308bc
EB
572452010-10-05 Eric Blake <eblake@redhat.com>
57246
57247 [BZ #12092]
57248 * string/str-two-way.h (two_way_long_needle): Always clear memory
57249 when skipping input due to the shift table.
57250
45db99c7
UD
572512010-10-03 Ulrich Drepper <drepper@gmail.com>
57252
3b111893
UD
57253 [BZ #12005]
57254 * malloc/mcheck.c: Handle large requests.
57255
45db99c7
UD
57256 [BZ #12077]
57257 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57258 for strncmp and strncasecmp.
57259 * string/stratcliff.c: Add tests for strcmp and strncmp.
57260 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57261
cf7a1eb8
NI
572622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57263
57264 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57265 __set_fpscr.
57266
6484ba5e
AJ
572672010-09-30 Andreas Jaeger <aj@suse.de>
57268
57269 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57270 (CGROUP_SUPER_MAGIC): Define.
57271 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57272 Handle btrfs and cgroup file systems.
57273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57274 Likewise.
57275
91c42559
LM
572762010-09-27 Luis Machado <luisgpm@br.ibm.com>
57277
57278 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57279 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57280
87a97932
AK
572812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57282
57283 [BZ #12067]
57284 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57285 trying to locate the ELF header.
57286
c21cc9bc
AS
572872010-09-27 Andreas Schwab <schwab@redhat.com>
57288
57289 [BZ #11611]
57290 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57291 Mask out sign-bit copies when constructing f_fsid.
57292
315970f6
PB
572932010-09-24 Petr Baudis <pasky@suse.cz>
57294
57295 * debug/stack_chk_fail_local.c: Add missing licence exception.
57296 * debug/warning-nop.c: Likewise.
57297
1ac7a2c7
JM
572982010-09-15 Joseph Myers <joseph@codesourcery.com>
57299
57300 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57301 implementing getdents64 using getdents syscall, set d_type if
57302 __ASSUME_GETDENTS32_D_TYPE.
57303
56801c50
AS
573042010-09-16 Andreas Schwab <schwab@redhat.com>
57305
57306 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57307 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57308
dda51327
UD
573092010-09-21 Ulrich Drepper <drepper@redhat.com>
57310
57311 [BZ #12037]
57312 * posix/unistd.h: Undo change of feature selection for ftruncate from
57313 2010-01-11.
57314
8ffcee4a
UD
573152010-09-20 Ulrich Drepper <drepper@redhat.com>
57316
a545ecd9 57317 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57318 detection.
57319
e24f0a8b
AS
573202010-09-20 Andreas Schwab <schwab@redhat.com>
57321
57322 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57323 fanotify_mark.
57324 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57325
7291c56f
AS
573262010-09-14 Andreas Schwab <schwab@redhat.com>
57327
57328 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57329 variables after CHECK_SP call.
57330 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57331
bc5fb037
AS
573322010-09-13 Andreas Schwab <schwab@redhat.com>
57333 Ulrich Drepper <drepper@redhat.com>
57334
57335 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57336 re-relocationg ld.so.
57337 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57338 _dl_init_paths call.
57339 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57340 here anymore.
57341
e66e7419
UD
573422010-09-14 Ulrich Drepper <drepper@redhat.com>
57343
57344 * resolv/res_init.c (__res_vinit): Count the default server we added.
57345
c044aa75
CLT
573462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57347 Ulrich Drepper <drepper@redhat.com>
57348
57349 [BZ #11968]
57350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57351 (____longjmp_chk): Use %ebx for saving value across system call.
57352 Add unwind info.
57353
32cf4069
AS
573542010-09-06 Andreas Schwab <schwab@redhat.com>
57355
57356 * manual/Makefile: Don't mix pattern rules with normal rules.
57357
817328ee
AS
573582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57359
57360 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57361 operation.
57362 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57363 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57364 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57365 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57367 Likewise.
57368
29fddf61
UD
573692010-09-04 Ulrich Drepper <drepper@redhat.com>
57370
57371 [BZ #11979]
57372 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57373 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57374
0959ffc9
UD
573752010-09-02 Ulrich Drepper <drepper@redhat.com>
57376
57377 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57378 * sysdeps/x86_64/addmul_1.S: Likewise.
57379 * sysdeps/x86_64/lshift.S: Likewise.
57380 * sysdeps/x86_64/mul_1.S: Likewise.
57381 * sysdeps/x86_64/rshift.S: Likewise.
57382 * sysdeps/x86_64/sub_n.S: Likewise.
57383 * sysdeps/x86_64/submul_1.S: Likewise.
57384
ece29840
ST
573852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57386
0959ffc9
UD
57387 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57388 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57389 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57390 * bits/sched.h [__need_schedparam]
ece29840 57391 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57392 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57393 (__defined_schedparam): Define to 1.
ece29840
ST
57394 (__sched_param): New structure, identical to sched_param.
57395 (__need_schedparam): Undefine.
57396
e53a31fe
MF
573972010-08-31 Mike Frysinger <vapier@gentoo.org>
57398
fdc0c10d
MF
57399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57400 (epoll_create1): Declare.
57401
e53a31fe
MF
57402 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57403
a726d796
AS
574042010-08-31 Andreas Schwab <schwab@redhat.com>
57405
57406 [BZ #7066]
57407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57408 shifting retval into place.
57409
2f3e3dc7
UD
574102010-09-01 Ulrich Drepper <drepper@redhat.com>
57411
f2933da9
UD
57412 * nis/rpcsvc/nis.h: Update copyright notice.
57413 * nis/rpcsvc/nis.x: Likewise.
57414 * nis/rpcsvc/nis_callback.h: Likewise.
57415 * nis/rpcsvc/nis_callback.x: Likewise.
57416 * nis/rpcsvc/nis_object.x: Likewise.
57417 * nis/rpcsvc/nis_tags.h: Likewise.
57418 * nis/rpcsvc/yp.h: Likewise.
57419 * nis/rpcsvc/yp.x: Likewise.
57420 * nis/rpcsvc/ypupd.h: Likewise.
57421 * nis/yp_xdr.c: Likewise.
57422 * nis/ypupdate_xdr.c: Likewise.
57423
2f3e3dc7
UD
57424 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57425 mainly the body of pmap_getport. Add parameters to specify timeouts.
57426 (pmap_getport): Use __libc_rpc_getport.
57427 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57428 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57429 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57430
f3dcc2f9
AS
574312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57432
57433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57434 fanotify_mark.
57435
6d34eb5b
RM
574362010-08-27 Roland McGrath <roland@redhat.com>
57437
57438 * sysdeps/i386/i686/multiarch/Makefile
57439 (CFLAGS-varshift.c): New variable.
57440
9ea3de11
UD
574412010-08-27 Ulrich Drepper <drepper@redhat.com>
57442
c96d23fc
UD
57443 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57444 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57445
9ea3de11
UD
57446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57447
57448 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57449
623aac7f
L
574502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57451
57452 * sysdeps/x86_64/strlen.S: Unroll the loop.
57453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57454 strlen-sse2 strlen-sse2-bsf.
57455 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57456 __strlen_no_bsf if bit_Slow_BSF is set.
57457 (__strlen_sse42): Removed.
57458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57459 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57460
8b2b7715
RM
574612010-08-25 Roland McGrath <roland@redhat.com>
57462
57463 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57464 * sysdeps/x86_64/multiarch/varshift.c: New file.
57465 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57466 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57467 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57468 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57469
e73015f2
L
574702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57471
57472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57473 strlen-sse2 strlen-sse2-bsf.
57474 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57475 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57476 (__strlen_sse2): Removed.
57477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57480 bit_Slow_BSF for Atom.
57481 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57482 (index_Slow_BSF): Define.
57483 (HAS_SLOW_BSF): Define.
57484
df24a73e
UD
574852010-08-25 Ulrich Drepper <drepper@redhat.com>
57486
57487 [BZ #10851]
57488 * resolv/res_init.c (__res_vinit): When no server address at all
57489 is given default to loopback.
57490
f2ac4868
RM
574912010-08-24 Roland McGrath <roland@redhat.com>
57492
09055553
RM
57493 * configure.in: Remove config-name.h generation.
57494 * configure: Regenerated.
57495 * config-name.in: File removed.
57496 * scripts/config-uname.sh: New file.
57497 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57498 ($(objdir)config-name.h): New target.
57499
f2ac4868
RM
57500 * sunrpc/rpc_parse.h: Avoid nested comment.
57501
73f27d5e
RH
575022010-08-24 Richard Henderson <rth@redhat.com>
57503 Ulrich Drepper <drepper@redhat.com>
57504 H.J. Lu <hongjiu.lu@intel.com>
57505
57506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57508 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57509 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57510 _mm_alignr_epi8 with _mm_loadu_si128.
57511 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57512 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57513 (__m128i_shift_right): Removed.
57514 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57515 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57516 * sysdeps/x86_64/multiarch/varshift.h: New file.
57517 * sysdeps/x86_64/multiarch/varshift.S: New file.
57518
84b9230c
MF
575192010-08-21 Mike Frysinger <vapier@gentoo.org>
57520
57521 * configure.in: Move assembler checks to before sysdep dir checking.
57522
9bbd0ddc
PB
575232010-08-20 Petr Baudis <pasky@suse.cz>
57524
57525 * LICENSES: Sync the sunrpc license.
57526
9da4bb31
UD
575272010-08-19 Ulrich Drepper <drepper@redhat.com>
57528
a7ab6ec8
UD
57529 * sunrpc/auth_des.c: Update copyright notice once again.
57530 * sunrpc/auth_none.c: Likewise.
57531 * sunrpc/auth_unix.c: Likewise.
57532 * sunrpc/authdes_prot.c: Likewise.
57533 * sunrpc/authuxprot.c: Likewise.
57534 * sunrpc/bindrsvprt.c: Likewise.
57535 * sunrpc/clnt_gen.c: Likewise.
57536 * sunrpc/clnt_perr.c: Likewise.
57537 * sunrpc/clnt_raw.c: Likewise.
57538 * sunrpc/clnt_simp.c: Likewise.
57539 * sunrpc/clnt_tcp.c: Likewise.
57540 * sunrpc/clnt_udp.c: Likewise.
57541 * sunrpc/clnt_unix.c: Likewise.
57542 * sunrpc/des_crypt.c: Likewise.
57543 * sunrpc/des_soft.c: Likewise.
57544 * sunrpc/get_myaddr.c: Likewise.
57545 * sunrpc/getrpcport.c: Likewise.
57546 * sunrpc/key_call.c: Likewise.
57547 * sunrpc/key_prot.c: Likewise.
57548 * sunrpc/openchild.c: Likewise.
57549 * sunrpc/pm_getmaps.c: Likewise.
57550 * sunrpc/pm_getport.c: Likewise.
57551 * sunrpc/pmap_clnt.c: Likewise.
57552 * sunrpc/pmap_prot.c: Likewise.
57553 * sunrpc/pmap_prot2.c: Likewise.
57554 * sunrpc/pmap_rmt.c: Likewise.
57555 * sunrpc/rpc/auth.h: Likewise.
57556 * sunrpc/rpc/auth_unix.h: Likewise.
57557 * sunrpc/rpc/clnt.h: Likewise.
57558 * sunrpc/rpc/des_crypt.h: Likewise.
57559 * sunrpc/rpc/key_prot.h: Likewise.
57560 * sunrpc/rpc/netdb.h: Likewise.
57561 * sunrpc/rpc/pmap_clnt.h: Likewise.
57562 * sunrpc/rpc/pmap_prot.h: Likewise.
57563 * sunrpc/rpc/pmap_rmt.h: Likewise.
57564 * sunrpc/rpc/rpc.h: Likewise.
57565 * sunrpc/rpc/rpc_des.h: Likewise.
57566 * sunrpc/rpc/rpc_msg.h: Likewise.
57567 * sunrpc/rpc/svc.h: Likewise.
57568 * sunrpc/rpc/svc_auth.h: Likewise.
57569 * sunrpc/rpc/types.h: Likewise.
57570 * sunrpc/rpc/xdr.h: Likewise.
57571 * sunrpc/rpc_clntout.c: Likewise.
57572 * sunrpc/rpc_cmsg.c: Likewise.
57573 * sunrpc/rpc_common.c: Likewise.
57574 * sunrpc/rpc_cout.c: Likewise.
57575 * sunrpc/rpc_dtable.c: Likewise.
57576 * sunrpc/rpc_hout.c: Likewise.
57577 * sunrpc/rpc_main.c: Likewise.
57578 * sunrpc/rpc_parse.c: Likewise.
57579 * sunrpc/rpc_parse.h: Likewise.
57580 * sunrpc/rpc_prot.c: Likewise.
57581 * sunrpc/rpc_sample.c: Likewise.
57582 * sunrpc/rpc_scan.c: Likewise.
57583 * sunrpc/rpc_scan.h: Likewise.
57584 * sunrpc/rpc_svcout.c: Likewise.
57585 * sunrpc/rpc_tblout.c: Likewise.
57586 * sunrpc/rpc_util.c: Likewise.
57587 * sunrpc/rpc_util.h: Likewise.
57588 * sunrpc/rpcinfo.c: Likewise.
57589 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57590 * sunrpc/rpcsvc/key_prot.x: Likewise.
57591 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57592 * sunrpc/rpcsvc/mount.x: Likewise.
57593 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57594 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57595 * sunrpc/rpcsvc/rex.x: Likewise.
57596 * sunrpc/rpcsvc/rstat.x: Likewise.
57597 * sunrpc/rpcsvc/rusers.x: Likewise.
57598 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57599 * sunrpc/rpcsvc/spray.x: Likewise.
57600 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57601 * sunrpc/rtime.c: Likewise.
57602 * sunrpc/svc.c: Likewise.
57603 * sunrpc/svc_auth.c: Likewise.
57604 * sunrpc/svc_authux.c: Likewise.
57605 * sunrpc/svc_raw.c: Likewise.
57606 * sunrpc/svc_run.c: Likewise.
57607 * sunrpc/svc_simple.c: Likewise.
57608 * sunrpc/svc_tcp.c: Likewise.
57609 * sunrpc/svc_udp.c: Likewise.
57610 * sunrpc/svc_unix.c: Likewise.
57611 * sunrpc/svcauth_des.c: Likewise.
57612 * sunrpc/xcrypt.c: Likewise.
57613 * sunrpc/xdr.c: Likewise.
57614 * sunrpc/xdr_array.c: Likewise.
57615 * sunrpc/xdr_float.c: Likewise.
57616 * sunrpc/xdr_mem.c: Likewise.
57617 * sunrpc/xdr_rec.c: Likewise.
57618 * sunrpc/xdr_ref.c: Likewise.
57619 * sunrpc/xdr_sizeof.c: Likewise.
57620 * sunrpc/xdr_stdio.c: Likewise.
57621
9da4bb31
UD
57622 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57623 handling.
57624
bdaa77bc
AS
576252010-08-19 Andreas Schwab <schwab@redhat.com>
57626
57627 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57628
fe2f79db
LM
576292010-08-19 Luis Machado <luisgpm@br.ibm.com>
57630
57631 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57632 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57633 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57634 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57635 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57636 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57637 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57638 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57639 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57640 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57641 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57642 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57643 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57644 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57645
b9b42ee0
AB
576462010-07-26 Anton Blanchard <anton@samba.org>
57647
57648 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57649 * malloc/arena.c (heap_trim): Likewise.
57650
1c06ba31
UD
576512010-08-16 Ulrich Drepper <drepper@redhat.com>
57652
57653 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57654 here. Not...
57655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57656 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57657
f8392f40
L
576582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57659
57660 * sysdeps/i386/elf/Makefile: New file.
57661
3162f12e
AS
576622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57663
57664 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57665 from fanotify_init.
57666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57668
28c90b2c
UD
576692010-08-15 Ulrich Drepper <drepper@redhat.com>
57670
57671 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57672 of strncasecmp_l.
1feccb6c 57673 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57674
ca6bb004
UD
576752010-08-14 Ulrich Drepper <drepper@redhat.com>
57676
e9f82e0d
UD
57677 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57678 strncase_l-nonascii.
57679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57680 Add strncase_l-ssse3.
57681 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57682 * sysdeps/x86_64/strcmp.S: Likewise.
57683 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57684 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57685 * sysdeps/x86_64/strncase.S: New file.
57686 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57687 * sysdeps/x86_64/strncase_l.S: New file.
57688 * string/Makefile (strop-tests): Add strncasecmp.
57689 * string/test-strncasecmp.c: New file.
57690
57691 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57692 warning.
57693
ca6bb004
UD
57694 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57695 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57696
052fa7b3
AS
576972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57698
57699 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57700
962dba78
UD
577012010-08-12 Ulrich Drepper <drepper@redhat.com>
57702
57703 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57706
bebff237
AM
577072010-05-01 Alan Modra <amodra@gmail.com>
57708
57709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57710 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57711 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57712 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57713 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57714 tidying. Don't tail-call __sigjmp_save for static lib.
57715 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57716 save location.
57717 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57718 (CALL_MCOUNT): Add eh info, and nop after bl.
57719 (TAIL_CALL_SYSCALL_ERROR): New macro.
57720 (PSEUDO_RET): Use it.
57721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57722 Correct save location of integer regs and cr.
57723 (_dl_profile_resolve): Correct cr save location. Delete nops
57724 after bl when SHARED. Reduce cfi size a little by better
57725 placement of cfi directives.
57726 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57727 make a stack frame. Instead use parm save area as a temp.
57728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57729 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57731 Don't make a stack frame for parent, use parm save area.
57732 Increase child stack frame to 112 bytes. Don't save unused reg,
57733 and adjust reg usage. Set up cfi on error recovery and
57734 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57736 (__makecontext): Add dummy nop after jump to exit.
57737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57738 Use correct parm save area and cr save, reduce stack frame.
57739 Correct cfi for possible PSEUDO_RET frame setup.
57740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57741 Branch to local label emitted by PSEUDO_RET rather than
57742 __syscall_error.
57743
02637374
AS
577442010-08-12 Andreas Schwab <schwab@redhat.com>
57745
57746 [BZ #11904]
57747 * locale/programs/locale.c (print_assignment): New function.
57748 (show_locale_vars): Use it.
57749
c3e2f19b
UD
577502010-08-11 Ulrich Drepper <drepper@redhat.com>
57751
3cdaa6ad
UD
57752 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57753 field.
57754 (struct statfs64): Likewise.
57755 (_STATFS_F_FLAGS): Define.
57756 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57758 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57759 (ST_VALID): Define locally.
57760 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57761 __statvfs_getflags, use the provided value.
57762 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57763 __ASSUME_STATFS_F_FLAGS.
57764
754f7da3
UD
57765 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57766
10b3bedc
UD
57767 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57768 Add sys/fanotify.h.
57769 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57770 fanotify_mask for GLIBC_2.13.
57771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57772 fanotify_init and fanotify_mark.
57773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57774 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57775
c08fb0d7
UD
57776 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57777 Add prlimit.
57778 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57779 prlimit64 for GLIBC_2.13.
57780 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57781 prlimit64.
57782 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57783 syscall.
57784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57786 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57787 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57789 add prlimit alias.
57790 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57791
15bac72b
UD
57792 [BZ #11903]
57793 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57794 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57795
c3e2f19b
UD
57796 * nss/Makefile: Add rules to build and run tst-nss-test1.
57797 * shlib-versions: Add entry for libnss_test1.
57798 * nss/nss_test1.c: New file.
57799 * nss/tst-nss-test1.c: New file.
57800
57801 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57802 (__nss_configure_lookup): Set appropriate entry in
57803 __nss_configure_lookup to true.
57804 * nss/nsswitch.h: Define enum with indeces of databases in
57805 databases and __nss_database_custom arrays. Declare
57806 __nss_database_custom.
57807 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57808 to avoid using nscd when custom rules are installed.
57809 * nss/getXXbyYY_r.c: Likewise.
57810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57811
57812 * nss/nss_files/files-parse.c: Whitespace fixes.
57813
f15ce4d8
UD
578142010-08-09 Ulrich Drepper <drepper@redhat.com>
57815
57816 [BZ #11883]
57817 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57818 * posix/fnmatch_loop.c: Likewise.
57819
d22e4cc9
AK
578202010-07-17 Andi Kleen <ak@linux.intel.com>
57821
57822 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57823 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57824 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57825 * Versions.def [GLIBC_2.13]: Add.
57826
805bc17d
UD
578272010-08-06 Ulrich Drepper <drepper@redhat.com>
57828
57829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57830 Also fail if tpwd after pwuid call is NULL.
57831
5a42321d
ST
578322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57833
57834 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57835 when converting to ms.
57836
fd3ebeda
ST
578372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57838
57839 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57840 EOPNOTSUPP errors with ENOTTY.
57841 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57842 EOPNOTSUPP errors with ENOTTY.
57843
73507d3a
UD
578442010-07-31 Ulrich Drepper <drepper@redhat.com>
57845
57846 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57847 Add strcasecmp_l-ssse3.
57848 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57849 strcasecmp.
57850 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57851 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57852 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57853
fe36dd02
UD
578542010-07-30 Ulrich Drepper <drepper@redhat.com>
57855
66f6765a
UD
57856 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57857
42e08a54
UD
57858 * string/Makefile (strop-tests): Add strcasecmp.
57859 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57860 strcasecmp_l-nonascii.
57861 (gen-as-const-headers): Add locale-defines.sym.
57862 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57863 * sysdeps/x86_64/strcasecmp.S: New file.
57864 * sysdeps/x86_64/strcasecmp_l.S: New file.
57865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57866 * sysdeps/x86_64/locale-defines.sym: New file.
57867 * string/test-strcasecmp.c: New file.
57868
fe36dd02
UD
57869 * string/test-strcasestr.c: Test both ends of the range of characters.
57870 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57871
48cbc0d6
RM
578722010-07-29 Roland McGrath <roland@redhat.com>
57873
76e6d6bc 57874 [BZ #11856]
48cbc0d6
RM
57875 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57876
880113d9
UD
578772010-07-27 Ulrich Drepper <drepper@redhat.com>
57878
57879 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57880 for ld.so.
57881
deb9cabb
AS
578822010-07-27 Andreas Schwab <schwab@redhat.com>
57883
57884 * manual/memory.texi (Malloc Tunable Parameters): Document
57885 M_PERTURB.
57886
1c7570ff
RM
578872010-07-26 Roland McGrath <roland@redhat.com>
57888
57889 [BZ #11840]
57890 * configure.in (-fgnu89-inline check): Set and substitute
57891 gnu89_inline, not libc_cv_gnu89_inline.
57892 * configure: Regenerated.
57893 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57894
24fb0f88
UD
578952010-07-26 Ulrich Drepper <drepper@redhat.com>
57896
57897 * string/test-strnlen.c: New file.
57898 * string/Makefile (strop-tests): Add strnlen.
57899 * string/tester.c (test_strnlen): Add a few more test cases.
57900 * string/tst-strlen.c: Better error reporting.
57901
57902 * sysdeps/x86_64/strnlen.S: New file.
57903
8e96b93a
UD
579042010-07-24 Ulrich Drepper <drepper@redhat.com>
57905
57906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57907 lower-latency instructions.
57908
dbc676d4
UD
579092010-07-23 Ulrich Drepper <drepper@redhat.com>
57910
57911 * string/test-strcasestr.c: New file.
57912 * string/test-strstr.c: New file.
57913 * string/Makefile (strop-tests): Add strstr and strcasestr.
57914 * string/str-two-way.h: Don't undefine MAX.
57915 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57916
f6a31e0e
AS
579172010-07-21 Andreas Schwab <schwab@redhat.com>
57918
57919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57920 strcasestr-nonascii.
57921 (CFLAGS-strcasestr-nonascii.c): Define.
57922 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57924 Remove unused attribute.
57925
5dbc3b6c
RM
579262010-07-20 Roland McGrath <roland@redhat.com>
57927
57928 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57929 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57930 ld.so.cache was broken. With it, there is no way to disable dsocaps
57931 like LD_HWCAP_MASK can disable hwcaps.
57932
23d101d8
EPM
579332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57934
57935 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57936
cc9f2e47
UD
579372010-07-16 Ulrich Drepper <drepper@redhat.com>
57938
57939 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57940 call in strcasestr.
57941 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57942 __strcasestr_sse42_nonascii.
57943 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57944 strcasestr-nonascii.c.
57945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57946
77c1b069
LM
579472010-06-15 Luis Machado <luisgpm@br.ibm.com>
57948
57949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57953
440566c3
UD
579542010-07-09 Ulrich Drepper <drepper@redhat.com>
57955
57956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57957 fcntl.
57958
5be9d05d
AS
579592010-07-06 Andreas Schwab <schwab@redhat.com>
57960
c30b7ee2 57961 [BZ #11577]
5be9d05d
AS
57962 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57963 dl_signal_cerror.
57964
8a492a67
UD
579652010-07-06 Ulrich Drepper <drepper@redhat.com>
57966
57967 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57968 _PC_PIPE_BUF using F_GETPIPE_SZ.
57969
713df3d5
RM
579702010-07-05 Roland McGrath <roland@redhat.com>
57971
57972 * manual/arith.texi (Rounding Functions): Fix rint description
57973 implicit in round description.
57974
702e8f14
UD
579752010-07-02 Ulrich Drepper <drepper@redhat.com>
57976
57977 * elf/Makefile: Fix linking for a few tests to make recent linker
57978 happy.
57979
52ed8be9
AS
579802010-06-30 Andreas Schwab <schwab@redhat.com>
57981
57982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57983 $(common-objpfx)libc_nonshared.a.
57984
f47c9a11
LM
579852010-06-21 Luis Machado <luisgpm@br.ibm.com>
57986
57987 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57988 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57989 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57990 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57991 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57992 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57993 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57994 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58009 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58010 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58011 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58012 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58013 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58014 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58015 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58016 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58017 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58018 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58019 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58020 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58035
6fb8cbcb
L
580362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58037
58038 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58039 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58040 * string/memmove.c (memmove): Renamed to ...
58041 (MEMMOVE): ...this. Default to memmove.
58042 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58043 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58044 (END_CHK): Define.
58045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58046 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58047 mempcpy-ssse3-back memmove-ssse3-back.
58048 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58051 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58052 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58053 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58054 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58055 * sysdeps/x86_64/multiarch/memmove.c: New file.
58056 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58057 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58058 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58059 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58060 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58062 Define.
58063 (index_Fast_Copy_Backward): Define.
58064 (HAS_ARCH_FEATURE): Define.
58065 (HAS_FAST_REP_STRING): Define.
58066 (HAS_FAST_COPY_BACKWARD): Define.
58067
4e733bac 580682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58069
58070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58071 Restore proper fallback handling.
58072
63c4ed22
UD
580732010-06-19 Ulrich Drepper <drepper@redhat.com>
58074
ac2b484c
UD
58075 [BZ #11701]
58076 * posix/group_member.c (__group_member): Correct checking loop.
58077
63c4ed22
UD
58078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58079 OOM in getpwuid_r correctly. Return error number when the caller
58080 should return, otherwise -1.
58081 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58082 call returning > 0 value.
58083 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58084
765ade4b
AS
580852010-06-07 Andreas Schwab <schwab@redhat.com>
58086
58087 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58088 libc_nonshared.a from targets in modules-names.
58089
80da2e09
KS
580902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58091
58092 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58093 requires it.
58094
158db122
LM
580952010-06-10 Luis Machado <luisgpm@br.ibm.com>
58096
58097 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58098 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58101
caa78cf8
AS
581022010-06-02 Andreas Schwab <schwab@redhat.com>
58103
58104 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58105
b2ef2c01
UD
581062010-06-14 Ulrich Drepper <drepper@redhat.com>
58107
58108 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58109 and F_GETPIPE_SZ.
58110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58116
fbd643b6
RM
581172010-06-14 Roland McGrath <roland@redhat.com>
58118
58119 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58120
f32f2869
JJ
581212010-06-07 Jakub Jelinek <jakub@redhat.com>
58122
58123 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58124 __REDIRECT followed by __THROW.
58125 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58126 * posix/getopt.h (getopt): Likewise.
58127
2a50c078
EPM
581282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58129
58130 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58131 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58132 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58133 in AT_FLAGS.
58134 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58135 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58136
eb5ad2eb
LM
581372010-05-28 Luis Machado <luisgpm@br.ibm.com>
58138
58139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58140
3c88fe1e
L
581412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58142
58143 [BZ #11640]
58144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58145 Properly check family and model.
58146
d2f73151
TY
581472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58148
58149 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58150
ebd2e13d
LM
581512010-05-24 Luis Machado <luisgpm@br.ibm.com>
58152
58153 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58154
b32b8b45
UD
581552010-05-21 Ulrich Drepper <drepper@redhat.com>
58156
58157 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58158 symbol reference.
58159
9acbe24d
AS
581602010-05-19 Andreas Schwab <schwab@redhat.com>
58161
58162 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58163 symbol reference.
58164
f0ccf6ea
AS
581652010-05-21 Andreas Schwab <schwab@redhat.com>
58166
3d04ff3a
AS
58167 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58168 and internal_recvmmsg.
58169 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58170 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58171 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58172 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58173
f0ccf6ea
AS
58174 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58175 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58176 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58177
5b08ac57
AS
581782010-05-20 Andreas Schwab <schwab@redhat.com>
58179
58180 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58181
4828935d
LM
581822010-05-17 Luis Machado <luisgpm@br.ibm.com>
58183
58184 POWER7 optimizations.
58185 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58186 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58187
373d545e
UD
581882010-05-19 Ulrich Drepper <drepper@redhat.com>
58189
58190 * version.h: Update for 2.13 development version.
58191
21a2b1ae
AS
581922010-05-12 Andrew Stubbs <ams@codesourcery.com>
58193
58194 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58195 exceptions. Return 0.
58196
3f7dcb2b
RM
581972010-05-07 Roland McGrath <roland@redhat.com>
58198
58199 * elf/ldconfig.c (main): Add a const.
58200
5f24d53a 582012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58202
a160f8d8
UD
58203 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58204 (args_options): Add no-idn option.
58205 (ahosts_keys_int): Add idn_flags to ai_flags.
58206 (parse_option): Handle 'i' option to clear idn_flags.
58207
5f24d53a
UD
58208 * malloc/malloc.c (_int_free): Possible race in the most recently
58209 added check. Only act on the data if no current modification
58210 happened.
265bb1ce
UD
58211
58212See ChangeLog.17 for earlier changes.