]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ#17460: Fix buffer overrun in nscd --help.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c763c5d2
RM
12014-10-08 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #17460]
4 * nscd/nscd.c (more_help): Rewrite list of tables collection
5 using xstrdup and asprintf.
6
7 * nscd/nscd_conf.c: Remove local xstrdup declaration.
8
7b8fb2b8
RM
92014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10 Roland McGrath <roland@hack.frob.com>
11
12 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13 (do_lookup_unique): ... local function 'enter' here; update callers.
14
abb280f7
JM
152014-10-06 Joseph Myers <joseph@codesourcery.com>
16
f7b42517
JM
17 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18 compat_symbol calls on [SHARED].
19 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21 Remove.
22 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24 (oldsetrlimit): Remove.
25 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27 (lchown): New syscall entry.
28 (oldsetrlimit): Remove.
29 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31 (oldsetrlimit): Remove.
32 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33
abb280f7
JM
34 [BZ #14138]
35 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
36 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41 (fchown): Likewise.
42 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
43 (fchown): Likewise.
44 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45 Likewise.
46
47d46237
AZ
472014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48
49 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
50 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
51 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
52 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
53 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
54 Likewise.
55 (__old_sem_post): Likewise.
56
572014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 58
845a7343
CM
59 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
60 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
61 HAVE_CLOCK_GETTIME_VSYSCALL macros.
62 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
63 Use INLINE_VSYSCALL macro.
64 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
65 __vdso_clock_gettime.
66 * sysdeps/unix/sysv/linux/tile/init-first.c
67 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
68 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
69 __vdso_clock_gettime.
70
83d641ef
CM
71 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
72 to set up frame more cleanly.
73
d9cd52e6
CM
74 * sysdeps/tile/memcmp.c: New file.
75
4b68ea11
CM
76 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
77
c86f7b80
CM
78 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
79 * sysdeps/tile/tilegx/strcasestr.c: New file.
80 * sysdeps/tile/tilegx/strnlen.c: New file.
81 * sysdeps/tile/tilegx/strstr.c: New file.
82
1c4c1a6f
CM
83 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
84
99d86ea3
AS
852014-10-06 Arjun Shankar <arjun.is@lostca.se>
86
87 * nptl/tst-setuid3.c: Write errors to stdout.
88
06210a44
KS
892014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
90
91 * elf/dl-deps.c
92 (preload): New functions broken out of _dl_map_object_deps.
93 (_dl_map_object_deps): Remove a nested function. Update call sites.
94
6268f532
JM
952014-10-01 Joseph Myers <joseph@codesourcery.com>
96
97 [BZ #14138]
98 * sysdeps/unix/sysv/linux/execve.c: Remove file.
99 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
100
b925285f
SE
1012014-10-01 Steve Ellcey <sellcey@mips.com>
102
103 * sysdeps/mips/strcmp.S: New.
104
754a15c6
JM
1052014-09-30 Joseph Myers <joseph@codesourcery.com>
106
107 [BZ #14138]
108 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
109 (linkat): Likewise.
110 (mkdirat): Likewise.
111 (readlinkat): Likewise.
112 (renameat): Likewise.
113 (symlinkat): Likewise.
114 (unlinkat): Likewise.
115 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
116 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
117 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
118 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
119 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
120 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
121 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
122
85bb81c9
WN
1232014-09-30 Will Newton <will.newton@linaro.org>
124
dc6fe23b
WN
125 * math/math.h: Define long double math functions if
126 _LIBC_TEST is defined.
127 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
128
85bb81c9
WN
129 * localedata/Makefile: Move assignment to tests-special
130 into an ifdef testing run-built-tests.
131 * timezone/Makefile: Likewise.
132
b7e02da4
JM
1332014-09-29 Joseph Myers <joseph@codesourcery.com>
134
135 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
136 with $(BASH) not $(SHELL).
137
62058ce6
CD
1382014-09-29 Carlos O'Donell <carlos@redhat.com>
139 Matthew LeGendre <legendre1@llnl.gov>
140
141 [BZ #17411]
142 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
143 l_reloc_result.
144
8e257a29
KS
1452014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
146
147 * stdio-common/printf_fp.c
148 (hack_digit): New function, broken out of ...
149 (__printf_fp): ... local function here. Update call sites.
150 hack_digit now takes an additional parameter that is a pointer
151 to a struct of the referenced locals. Those locals moved inside
152 the struct and references updated.
153
f4a58f0d
L
1542014-09-29 H.J. Lu <hongjiu.lu@intel.com>
155
156 * aclocal.m4: Require autoconf 2.69.
157 * configure: Regenerated.
158 * sysdeps/aarch64/configure: Likewise.
159 * sysdeps/alpha/configure: Likewise.
160 * sysdeps/arm/armv7/configure: Likewise.
161 * sysdeps/arm/configure: Likewise.
162 * sysdeps/ia64/configure: Likewise.
163 * sysdeps/mach/configure: Likewise.
164 * sysdeps/mips/configure: Likewise.
165 * sysdeps/s390/configure: Likewise.
166 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
168
169 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
170 file.
171 * sysdeps/ia64/configure.ac: Likewise.
172
93ae1eba
JM
1732014-09-26 Joseph Myers <joseph@codesourcery.com>
174
1810d3ab
JM
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
176 specify symbol version for ld.so. Do not include entry for
177 libpthread.
178 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
179 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
180 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
181
93ae1eba
JM
182 [BZ #14171]
183 * Makeconfig [$(build-shared) = yes]
184 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
185 makefiles.
186 [$(build-shared) = yes && $(soversions.mk-done) = t]
187 ($(common-objpfx)gnu/lib-names.h): Remove rule.
188 [$(build-shared) = yes && $(soversions.mk-done) = t]
189 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
190 to Makerules.
191 [$(build-shared) = yes && $(soversions.mk-done) = t]
192 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
193 here.
194 [$(build-shared) = yes && $(soversions.mk-done) = t]
195 (common-generated): Don't append gnu/lib-names.h and
196 gnu/lib-names.stmp here.
197 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
198 (lib-names-h-abi): New variable.
199 [$(build-shared) = yes && $(soversions.mk-done) = t]
200 (lib-names-stmp-abi): Likewise.
201 [$(build-shared) = yes && $(soversions.mk-done) = t &&
202 abi-variants] (before-compile): Append
203 $(common-objpfx)$(lib-names-h-abi).
204 [$(build-shared) = yes && $(soversions.mk-done) = t &&
205 abi-variants] (common-generated): Append gnu/lib-names.h.
206 [$(build-shared) = yes && $(soversions.mk-done) = t &&
207 abi-variants] (install-others-nosubdir): Depend on
208 $(inst_includedir)/$(lib-names-h-abi).
209 [$(build-shared) = yes && $(soversions.mk-done) = t &&
210 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
211 [$(build-shared) = yes && $(soversions.mk-done) = t]
212 ($(common-objpfx)$(lib-names-h-abi)): New rule.
213 [$(build-shared) = yes && $(soversions.mk-done) = t]
214 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
215 [$(build-shared) = yes && $(soversions.mk-done) = t]
216 (common-generated): Append $(lib-names-h-abi) and
217 $(lib-names-stmp-abi).
218 * scripts/lib-names.awk: Do not handle multi being set.
219 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
220 Remove variable.
221 (abi-lp64_be-ld-soname): Likewise.
222 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
223 Likewise.
224 (abi-hard-ld-soname): Likewise.
225 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
226 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
227 Remove variable.
228 (abi-o32_hard-ld-soname): Likewise.
229 (abi-o32_soft_2008-ld-soname): Likewise.
230 (abi-o32_hard_2008-ld-soname): Likewise.
231 (abi-n32_soft-ld-soname): Likewise.
232 (abi-n32_hard-ld-soname): Likewise.
233 (abi-n32_soft_2008-ld-soname): Likewise.
234 (abi-n32_hard_2008-ld-soname): Likewise.
235 (abi-n64_soft-ld-soname): Likewise.
236 (abi-n64_hard-ld-soname): Likewise.
237 (abi-n64_soft_2008-ld-soname): Likewise.
238 (abi-n64_hard_2008-ld-soname): Likewise.
239 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
240 Likewise.
241 (abi-64-v2-ld-soname): Likewise.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
243 ld.so entries.
244 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
245 variable.
246 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
247 entry.
248 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
249 variable.
250 (abi-64-ld-soname): Likewise.
251 (abi-x32-ld-soname): Likewise.
252 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
253 entry.
254 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
255
68870f12
JM
2562014-09-23 Joseph Myers <joseph@codesourcery.com>
257
258 [BZ #14138]
259 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
260 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
261 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
263 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
264 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
265 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
266 syscall entry for GLIBC_2.2 symbol version.
267 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
268 Likewise.
269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
270 (setrlimit): Likewise.
271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
272 Likewise.
273
ea58f202
WN
2742014-09-23 Will Newton <will.newton@linaro.org>
275
276 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
277 _LINUX_ARM_SYSDEP_H include guard too.
278 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
279 define.
280
69eb9a18
RV
2812014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
282
283 * sysdeps/unix/sysv/linux/eventfd.c:
284 Make first argument unsigned.
285 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
286 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
287
20e5a5f7
OB
2882014-09-20 Ondřej Bílka <neleai@seznam.cz>
289
290 * socket/recvmmsg.c (recvmmsg): Drop const argument.
291 * socket/sys/socket.h: Likewise
292 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
293
d3c827e7
AK
2942014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
295
296 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
297
fe1cc35a
AS
2982014-09-17 Arjun Shankar <arjun.is@lostca.se>
299
300 * time/tst-ftime.c: New test.
301 * time/Makefile (tests): Add tst-ftime.
302
4e8afe69
JM
3032014-09-17 Joseph Myers <joseph@codesourcery.com>
304
c4fe3ea7
JM
305 * soft-fp/extended.h: Fix comment formatting.
306 * soft-fp/op-1.h: Likewise.
307 * soft-fp/op-2.h: Likewise.
308 * soft-fp/op-4.h: Likewise.
309 * soft-fp/op-8.h: Likewise.
310 * soft-fp/op-common.h: Likewise.
311 * soft-fp/soft-fp.h: Likewise.
312
4e8afe69
JM
313 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
314
af296fcd
JM
3152014-09-16 Joseph Myers <joseph@codesourcery.com>
316
317 [BZ #6652]
318 * Makeconfig (soversions-default-setname): Remove variable.
319 ($(common-objpfx)soversions.i): Don't pass default_setname to
320 soversions.awk.
321 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
322 oldest_abi to abi-versions.awk.
323 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
324 * config.make.in (oldest-abi): Remove variable.
325 * configure.ac (--enable-oldest-abi): Remove configure option.
326 * configure: Regenerated.
327 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
328 text.
329 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
330 * scripts/soversions.awk: Do not handle default_setname variable.
331 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
332 variable.
333 * sysdeps/mach/hurd/configure: Regenerated.
334 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
335 variable.
336 * sysdeps/unix/sysv/linux/configure: Regenerated.
337
545583d6
SP
3382014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
339
d330b980
SP
340 * elf/Makefile (CFLAGS-interp.c): Remove.
341 ($(elf-objpfx)runtime-linker.h): Generate header with linker
342 path string.
343 * elf/interp.c: Include generated runtime-linker.h
344
02657da2
SP
345 * Makerules (lib%.so): Don't include $(+interp) in
346 prerequisites.
347 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
348 * dlfcn/eval.c: Remove file.
349
653b1080
SP
350 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
351 macros.
352
602f80ec
SP
353 [BZ #17266]
354 * misc/sys/cdefs.h: Define __extern_always_inline for clang
355 4.2 and newer.
356
545583d6
SP
357 [BZ #17370]
358 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
359
884ddc50
SP
3602014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
361 Jakub Jelinek <jakub@redhat.com>
362
363 [BZ #17266]
364 * libio/stdio.h: Check definition of __fortify_function
365 instead of __extern_always_inline to include bits/stdio2.h.
366 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
367 check if __extern_always_inline is defined.
368 [__USE_MISC || __USE_XOPEN]: Likewise.
369 [__USE_ISOC99] Likewise.
370 * misc/sys/cdefs.h (__fortify_function): Define only if
371 __extern_always_inline is defined.
372 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
373 __extern_always_inline and __extern_inline only for g++-4.3
374 and newer or a compatible gcc.
375
a7b87268
AS
3762014-09-15 Andreas Schwab <schwab@linux-m68k.org>
377
378 [BZ #17371]
379 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
380 last change to handle zero prefix length.
381
3f41521d
SP
3822014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
383
61fe374a
SP
384 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
385 _SC_REGEX_VERSION.
386
3f41521d
SP
387 * posix/getconf.c (vars): Add _POSIX_IPV6 and
388 _POSIX_RAW_SOCKETS.
389
d8f879ee
AM
3902014-09-13 Allan McRae <allan@archlinux.org>
391
392 * po/ru.po: Update Russian translation from translation project.
393
c079afb7
RM
3942014-09-12 Roland McGrath <roland@hack.frob.com>
395
a62b3c15
RM
396 * locale/programs/locale.c (show_locale_vars): Inline local function
397 into its sole call site. Clean up some style nits.
398 (print_item): New function, broken out of ...
399 (show_info): ... local function here. Clean up style nits.
400
d7e49b19
RM
401 * locale/programs/ld-ctype.c (set_one_default): New function, broken
402 out of ...
403 (set_class_defaults): ... local function set_default here.
404 Define set_default as a macro locally to pass constant parameters.
405 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
406 rather than a shared local.
407
c079afb7
RM
408 * stdlib/rpmatch.c (try): New function, broken out of ...
409 (rpmatch): ... local function here. Also, prototypify definition.
410
0bd72468
JM
4112014-09-12 Joseph Myers <joseph@codesourcery.com>
412
ba90e050
JM
413 * scripts/soversions.awk: Do not handle configuration names.
414 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
415 vendor and os variables to soversions.awk.
416 * configure.ac: Do not modify gnu-* host_os.
417 * configure: Regenerated
418 * shlib-versions: Remove first column with configuration names.
419 * nptl/shlib-versions: Likewise.
420 * nptl_db/shlib-versions: Likewise.
421 * sysdeps/hppa/shlib-versions: Likewise.
422 * sysdeps/m68k/shlib-versions: Likewise.
423 * sysdeps/mach/hurd/shlib-versions: Likewise.
424 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
425 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
426 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
427 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
428 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
429 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
430 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
431 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
433 Likewise.
434 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
435 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
436 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
437 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
438 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
439 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
440 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
441 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
442
73a39112
JM
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
444 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
446 Regenerated.
447 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
449 Condition symbol version definitions on [HAVE_ELFV2_ABI].
450
c729e7c1
JM
451 * shlib-versions: Remove OS-specific entries. Moved to files in
452 sysdeps.
453 * sysdeps/mach/hurd/shlib-versions: New file.
454 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
455
dc932a24
JM
456 * nptl/shlib-versions: Remove architecture-specific entries.
457 Moved to files in sysdeps.
458 * shlib-versions: Likewise.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
460 file.
461 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
462 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
463 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
464 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
465
0bd72468
JM
466 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
467 (UDP_NO_CHECK6_RX): Likewise.
468
920238e0
SP
4692014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
470
471 * sysdeps/posix/sysconf.c (__sysconf): Spell
472 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
473
ba7b4d29
FW
4742014-08-12 Florian Weimer <fweimer@redhat.com>
475
476 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
477 loading.
478 * iconv/Versions (__gconv_transliterate): Export for use from
479 gconv modules.
480 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
481 (struct __gconv_trans_data, __gconv_trans_fct,
482 __gconv_trans_context_fct, __gconv_trans_query_fct,
483 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
484 definitions.
485 (struct __gconv_step_data): Remove __trans member.
486 (__gconv_transliterate): Declaration moved from gconv_int.h. No
487 longer hidden. Remove unused trans_data argument.
488 * iconv/gconv_int.h (struct trans_struct): Remove definition.
489 (__gconv_translit_find): Remove declaration.
490 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
491 prototype.
492 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
493 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
494 trans_data argument. Add hidden definition.
495 (__gconv_translit_find): Remove.
496 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
497 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
498 * iconv/skeleton.c: Remove transliteration initialization.
499 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
500 __gconv_step_data initialization.
501 * libio/iofwide.c (__libio_translit_): Remove.
502 (_IO_fwide): Adjust struct __gconv_step_data initialization.
503 * wcsmbs/btowc.c (__btowc): Likewise.
504 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
505 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
506 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
507 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
508 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
509 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
510 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
511 * wcsmbs/wctob.c (wctob): Likewise.
512
5379aebd
SP
5132014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
514
515 [BZ #16194]
516 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
517 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
518 register usage.
519 * sysdeps/x86/Makefile: Adjust.
520
8c0ab919
RM
5212014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
522 Roland McGrath <roland@hack.frob.com>
523
524 * locale/weight.h: Add include guard.
525 (findidx): Make static rather than auto; take new parameters
526 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
527 * locale/weightwc.h: Likewise.
528 * posix/fnmatch_loop.c
529 (FCT): Change type of EXTRA from int32_t to wint_t.
530 Don't include either header inside the function.
531 Call FINDIDX rather than findidx, and pass new arguments.
532 #undef FINDIDX at the end of the file.
533 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
534 FINDIDX before including fnmatch_loop.c for the non-wide version.
535 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
536 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
537 for the wide version.
538 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
539 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
540 Pass new arguments to findidx.
541 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
542 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
543 Don't #include it inside the function. Pass new arguments to findidx.
544 * posix/regex_internal.h
545 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
546 (re_string_elem_size_at): Don't #include it inside the function.
547 Pass new arguments to findidx.
548 * string/strcoll_l.c: #include WEIGHT_H at top level.
549 (get_next_seq): Don't #include it inside the function.
550 Pass new arguments to findidx.
551 (get_next_seq_nocache): Likewise.
552 * string/strxfrm_l.c: #include WEIGHT_H at top level.
553 (STRXFRM): Don't #include it inside the function.
554 Pass new arguments to findidx.
555
52ffbdf2
FW
5562014-09-11 Florian Weimer <fweimer@redhat.com>
557
558 [BZ #17344]
559 * malloc/malloc.c (unlink): Turn asserts into a call to
560 malloc_printerr.
561
984c0ea9
TL
5622014-09-11 Tim Lammens <tim.lammens@gmail.com>
563
564 [BZ #17370]
565 * libio/wfileops (do_ftell_wide): Free OUT.
566
3daee107
CM
5672014-09-10 Chris Metcalf <cmetcalf@tilera.com>
568
569 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
570
58b930ae
SP
5712014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
572
573 [BZ #17363]
574 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
575 group if the current group is empty.
576
3b473fec
AZ
5772014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578
71ae8647
AZ
579 * benchtests/bench-memset.c (test_main): Add more test from size
580 from 32 to 512 bytes.
581 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
582 Add POWER8 memset object.
583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
584 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
585 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
586 implementation.
587 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
588 Likewise.
589 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
590 multiarch POWER8 memset optimization.
591 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
592 POWER8 memset optimization.
593
3b473fec
AZ
594 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
595 Remove bzero multiarch objects.
596 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
597 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
598 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
599 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
600 Remove define.
601 [__bzero]: Redefine to specific name.
602 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
603 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
604 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
605 define.
606 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
607 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
608
e6fb9587
FW
6092014-09-10 Florian Weimer <fweimer@redhat.com>
610
611 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
612 warnings into errors.
613
614 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
615 __cxa_thread_atexit_impl prototype.
616
9d3a350b
SE
6172014-09-09 Steve Ellcey <sellcey@mips.com>
618
619 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
620 Fix capitalization of error message.
621
0febba23
SE
6222014-09-09 Steve Ellcey <sellcey@mips.com>
623
624 * sysdeps/mips/preconfigure: Modify ABI tests.
625
645a0e9c
CD
6262014-09-07 Carlos O'Donell <carlos@systemhalted.org>
627
628 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
629
d83f0734
CD
6302014-09-07 Roland McGrath <roland@hack.frob.com>
631 Carlos O'Donell <carlos@systemhalted.org>
632
633 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
634 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
635 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
636 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
637 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
638 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
639 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
640 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
641 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
642 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
643 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
644 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
645 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
646 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
647 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
648 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
649 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
650 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
651 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
652 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
653 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
654 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
655 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
656 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
657 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
658 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
659 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
660 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
661 Deconditionalize the code that was previously under [RESET_PID].
662 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
663 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
664 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
665 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
666 include sysdep.h.
667
21c83793
AM
6682014-09-08 Allan McRae <allan@archlinux.org>
669
670 * version.h (RELEASE): Set to "development".
671 (VERSION): Set to "2.20.90"
672
1cd9b65c
AM
6732014-09-07 Allan McRae <allan@archlinux.org
674
b8079dd0
AM
675 * version.h (RELEASE): Set to "stable".
676 (VERSION): Set to "2.20"
677 * include/features.h (__GLIBC_MINOR__): Set to 20.
678
c46303ef
AM
679 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
680 Liebler.
681
1cd9b65c
AM
682 * po/ko.po: Update Korean translation from translation project.
683
8622092d
CM
6842014-09-06 Chris Metcalf <cmetcalf@tilera.com>
685
686 [BZ #17354]
687 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
688 macro for handling signed relocations.
689
41488498
FW
6902014-09-03 Florian Weimer <fweimer@redhat.com>
691
692 [BZ #17325]
693 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
694 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
695 assert.
696 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
697 * iconvdata/ibm935.c (BODY): Likewise.
698 * iconvdata/ibm937.c (BODY): Likewise.
699 * iconvdata/ibm939.c (BODY): Likewise.
700 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
701 assert.
702 * iconvdata/Makefile (iconv-test.out): Pass module list to test
703 script.
704 * iconvdata/run-iconv-test.sh: New test loop for checking for
705 decoder crashers.
706
a78b712d
KR
7072014-09-02 Khem Raj <raj.khem@gmail.com>
708
709 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
710 libm_hidden_ver.
711
cb08abc6
AM
7122014-09-01 Allan McRae <allan@archlinux.org>
713
2c31e102
AM
714 * po/eo.po: Update Esperanto translation from translation project.
715
cb08abc6
AM
716 * po/ca.po: Update Catalan translation from translation project.
717
17a62de1
ST
7182014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
719
720 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
721 __proc_dostop call.
722
9570bc53
MW
7232014-08-27 Mark Wielaard <mjw@redhat.com>
724
725 [BZ #17319]
726 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
727 to call set_thread_area instead of hand written asm.
728 (__NR_set_thread_area): Removed define.
729 (TLS_FLAG_WRITABLE): Likewise.
730 (__ASSUME_SET_THREAD_AREA): Remove check.
731 (TLS_EBX_ARG): Remove define.
732 (TLS_LOAD_EBX): Likewise.
733
b0f955c9
ST
7342014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
735
736 Simplify atomicity of socket creation in bind.
737
738 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
739 looking up the name after linking the file.
740
529bf515
AM
7412014-08-27 Allan McRae <allan@archlinux.org>
742
743 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
744
a1a6a401
FW
7452014-08-26 Florian Weimer <fweimer@redhat.com>
746
747 [BZ #17187]
748 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
749 trans_compare, open_translit, __gconv_translit_find):
750 Remove module loading code.
751
686ab290
AM
7522014-08-26 Allan McRae <allan@archlinux.org>
753
e4e7cfd2
AM
754 * po/vi.po: Update Vietnamese translation from translation project.
755
6aa09f71
AM
756 * po/uk.po: Update Ukrainian translation from translation project.
757
edc0660e
AM
758 * po/fr.po: Update French translation from translation project.
759
7eea72ac
AM
760 * po/ru.po: Update Russian translation from translation project.
761
93c49eff
AM
762 * po/pl.po: Update Polish translation from translation project.
763
46acaf63
AM
764 * po/cs.po: Update Czech translation from translation project.
765
a9f5ce98
AM
766 * po/de.po: Update German translation from translation project.
767
373f2b78
AM
768 * po/bg.po: Update Bulgarian translation from translation project.
769
e7548bd8
AM
770 * po/sv.po: Update Sweedish translation from translation project.
771
c526bf4d
AM
772 * po/nl.po: Update Dutch translation from translation project.
773
686ab290
AM
774 * po/es.po: Update Spanish translation from translation project.
775
eb72478a
SP
7762014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
777
dd763fdb
SP
778 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
779
318c7a58
SP
780 * catgets/Makefile (CPPFLAGS-gencat): Remove.
781 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
782 (CPPFLAGS-iconvconfig): Likewise.
783 * timezone/Makefile (CPPFLAGS-zic): Likewise.
784
eb72478a
SP
785 * include/libc-symbols.h: Remove unnecessary check for
786 NOT_IN_libc.
787 * nptl/pthreadP.h: Likewise.
788 * sysdeps/aarch64/setjmp.S: Likewise.
789 * sysdeps/alpha/setjmp.S: Likewise.
790 * sysdeps/arm/sysdep.h: Likewise.
791 * sysdeps/i386/setjmp.S: Likewise.
792 * sysdeps/m68k/setjmp.c: Likewise.
793 * sysdeps/posix/getcwd.c: Likewise.
794 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
795 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
796 * sysdeps/s390/s390-32/setjmp.S: Likewise.
797 * sysdeps/s390/s390-64/setjmp.S: Likewise.
798 * sysdeps/sh/sh3/setjmp.S: Likewise.
799 * sysdeps/sh/sh4/setjmp.S: Likewise.
800 * sysdeps/unix/alpha/sysdep.h: Likewise.
801 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
802 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
803 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
804 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
808 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
809 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
812 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
814 * sysdeps/x86_64/setjmp.S: Likewise.
815
d44a052c
JM
8162014-08-13 Joseph Myers <joseph@codesourcery.com>
817
818 [BZ #17263]
819 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
820 <stdint.h>.
821 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
822 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
823
508ce3ac
SP
8242014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
825
e44c8b0e
SP
826 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
827
508ce3ac
SP
828 [BZ #17262]
829 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
830 and __x86_64__ when disabling x87 inline functions.
831
b4acef1f
L
8322014-08-12 H.J. Lu <hongjiu.lu@intel.com>
833
834 [BZ #17259]
835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
836 asm statement with __cpuid_count.
837
61b1ef6e
MF
8382014-08-12 Mike Frysinger <vapier@gentoo.org>
839
840 * configure.ac: Change __ehdr_start code to dereference the struct.
841 Run readelf on the output to look for relocations.
842 * configure: Regenerated.
843
898c62f4
JM
8442014-08-12 Joseph Myers <joseph@codesourcery.com>
845
846 [BZ #17261]
847 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
848 value to 0.
849 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
850
9a8a5720
RM
8512014-08-12 Roland McGrath <roland@hack.frob.com>
852
853 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
854
4e75751c
BO
8552014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
856
857 [BZ #16892]
858 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
859 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
860
bb2ce416
SA
8612014-08-12 Sean Anderson <seanga2@gmail.com>
862
863 * malloc/malloc.c: Fix typo in comment.
864
7950a4ee
AM
8652014-08-09 Allan McRae <allan@archlinux.org>
866
867 * Regenerate libc.po.
868
f469c49f
MF
8692014-08-08 Mike Frysinger <vapier@gentoo.org>
870
871 * intl/tst-gettext2.sh: Check every lang file for creation.
872
656b84c2
WD
8732014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
874
875 * sysdeps/aarch64/fpu/math_private.h
876 (libc_feholdsetround_noex_aarch64_ctx): New function.
877
538e9e45
W
8782014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
879
880 * sysdeps/arm/armv6/strcpy.S (strcpy):
881 Fix performance issue in misaligned cases.
882
d4795e4a
AZ
8832014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
884
885 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
886 Move definition from termios.h.
887 (struct termio): Likewise.
888 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
889 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
890 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
891 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
892 Likewise.
893 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
894 Move definition to ioctl-types.h
895 (struct termio): Likewise.
896 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
897 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
898 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
899 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
900 Likewise.
901
64accb62
RH
9022014-08-05 Richard Henderson <rth@redhat.com>
903
27bb6dc0
RH
904 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
905 exceptions.
906 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
907 Add fraiseexcpt.
908 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
909 Use __feraiseexcept.
910 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
911 Protect libm symbols with IS_IN_libm.
912
64accb62
RH
913 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
914
e5292691
BO
9152014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
916
917 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
918
5b4bd2d4
WN
9192014-08-04 Will Newton <will.newton@linaro.org>
920
921 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
922 file.
923
fcadaeef
MF
9242014-08-04 Mike Frysinger <vapier@gentoo.org>
925
926 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
927 variants for each function.
928
43a94c64
RM
9292014-08-04 Roland McGrath <roland@hack.frob.com>
930
931 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
932 appended ...
933 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
934 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
935 appended ...
936 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
937 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
938 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
939 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
940 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
941 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
942 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
943 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
944 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
945 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
946 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
947 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
948 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
949 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
950 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
951 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
953 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
955 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
957 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
958 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
959 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
960 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
961 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
962 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
963 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
964 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
965 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
966 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
967 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
968 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
969 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
971 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
972 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
973 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
974 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
975 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
976 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
977 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
978 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
979 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
980 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
981 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
982 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
983 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
984 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
985 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
986 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
987 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
988 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
989 Update #include.
990 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
991 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
992
8f3c1fa4
RM
9932014-08-04 Roland McGrath <roland@hack.frob.com>
994
995 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
996 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
997 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
998 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
999 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1000 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1001
ca08746f
RM
10022014-08-04 Roland McGrath <roland@hack.frob.com>
1003
1004 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1005 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1006 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1007 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1008
9c925ff9
RM
10092014-08-04 Roland McGrath <roland@hack.frob.com>
1010
1011 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1012 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1013 (__libc_vfork): Define function under this name.
1014 (__vfork): Define as an alias.
1015 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1016 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1017
e641054c
RM
10182014-08-04 Roland McGrath <roland@hack.frob.com>
1019
1020 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1021 that was previously under [RESET_PID].
1022 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1023
dacdc867
AS
10242014-08-04 Andreas Schwab <schwab@suse.de>
1025
1026 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1027
41f725ff
MF
10282014-08-03 Mike Frysinger <vapier@gentoo.org>
1029
1030 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1031 (main): Likewise.
1032
277cfb31
RM
10332014-08-01 Roland McGrath <roland@hack.frob.com>
1034
1035 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1036
4896f049
RH
10372014-08-01 Richard Henderon <rth@redhat.com>
1038
1039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1040 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1041 typo in exact zero test.
1042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1043 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1045
6f64e7d7
RM
10462014-08-01 Roland McGrath <roland@hack.frob.com>
1047
1048 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1049 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1050 * sysdeps/arm/sysdep.h: ... here.
1051 [!__ASSEMBLER__]: Include <stdint.h>.
1052
3f3dd810
SP
10532014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1054
a476ac4b
SP
1055 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1056 (HAVE_WCTYPE_H): Likewise.
1057 (HAVE_ISWCTYPE): Likewise.
1058 (ENABLE_NLS): Likewise.
1059 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1060 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1061
78dd658a
SP
1062 * posix/regex_internal.c: Check if DEBUG is defined and is
1063 set.
1064
3f3dd810
SP
1065 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1066 (HAVE_MBSRTOWCS): Likewise.
1067 * posix/fnmatch.c: Include string.h unconditionally.
1068
95ee7fb1
SL
10692014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1070
1071 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1072 reversal.
1073
23fe486b
RM
10742014-07-31 Roland McGrath <roland@hack.frob.com>
1075
f61a113f
RM
1076 * sysdeps/generic/safe-fatal.h: New file.
1077 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1078 * nptl/forward.c: Include it.
1079 (__pthread_unwind): Use __safe_fatal as default action, rather
1080 than a bogus use of INTERNAL_SYSCALL that could never work.
1081
9fe7e787
RM
1082 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1083 * configure.ac (libc_cv_builtin_trap): New test.
1084 * configure: Regenerated.
1085 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1086 (ABORT_INSTRUCTION): Define using __builtin_trap.
1087
23fe486b
RM
1088 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1089 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1090 * sysdeps/nptl/nptl-signals.h: New file.
1091 * nptl/pthreadP.h: Include <nptl-signals.h>.
1092
f349489e
SL
10932014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1094
1095 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1096 (ONE_DIRECTION): Define.
1097 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1098 (ONE_DIRECTION): Define.
1099 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1100 (ONE_DIRECTION): Define.
1101
2f438e20
SL
11022014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1103
1104 * sysdeps/s390/Makefile: Delete file.
1105 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1106 * sysdeps/s390/__longjmp.c: Delete file.
1107 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1108 Remove fields __flags and __reserved.
1109 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1110 and add versioning.
1111 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1112 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1113 * sysdeps/s390/rtld-setjmp.S: Likewise.
1114 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1115 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1116 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1117 * sysdeps/s390/s390-32/setjmp.S: ... here.
1118 Add versioning.
1119 (__sigsetjmp): Remove setting __flags field.
1120 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1121 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1122 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1123 * sysdeps/s390/s390-64/setjmp.S: ... here.
1124 Add versioning.
1125 (__sigsetjmp): Remove setting __flags field.
1126 * sysdeps/s390/setjmp.S: Delete file.
1127 * sysdeps/s390/sigjmp.c: Likewise.
1128 * sysdeps/s390/v1-longjmp.c: Likewise.
1129 * sysdeps/s390/v1-setjmp.h: Likewise.
1130 * sysdeps/s390/v1-sigjmp.c: Likewise.
1131 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1132 Remove v1-longjmp_chk.
1133 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1134 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1135 Include debug/longjmp_chk.c and add versioning.
1136 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1137 Include nptl/pt-longjmp.c and add versioning.
1138 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1139 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1140 Include __longjmp.c.
1141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1142 Move to ...
1143 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1144 (__getcontext): Remove setting __flags field.
1145 Add versioning.
1146 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1147 Don't restore upper high grps.
1148 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1149 Likewise.
1150 (__swapcontext): Remove setting uc_flags field.
1151 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1152 Delete file.
1153 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1154 Include __longjmp.c.
1155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1156 Move to ...
1157 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1158 (__getcontext): Remove setting __flags field.
1159 Add versioning.
1160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1161 (__swapcontext): Remove setting uc_flags field.
1162 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1163 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1164 Remove fields uc_high_gprs and __reserved.
1165 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1166 New file with reverted content.
1167 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1168 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1169 Regenerated.
1170 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1171 Regenerated.
1172
6c9578a2
AS
11732014-07-31 Andreas Schwab <schwab@suse.de>
1174
1175 * config.h.in (HAVE_IFUNC): Define to 0.
1176 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1177 definedness.
1178
05f3633d
LM
11792014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1180
1181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1182 memmove-avx-unaligned, memcpy-avx-unaligned and
1183 mempcpy-avx-unaligned.
1184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1185 Add tests for AVX memcpy functions.
1186 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1187 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1188 memcpy_chk.
1189 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1190 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1191 memmove_chk.
1192 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1193 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1194 mempcpy_chk.
1195 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1196 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1197 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1198
a53fbd8e
AZ
11992013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1200
1201 [BZ #17213]
1202 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1203 powerpc64le.
1204
0961f7e1
JL
12052014-07-29 Jeff Layton <jlayton@poochiereds.net>
1206
1207 [BZ #16839]
1208 * manual/llio.texi: Add section about open file description locks.
1209 * manual/examples/ofdlocks.c: Example of open file description
1210 lock usage.
1211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1212 F_OFD_SETLK, and F_OFD_SETLKW.
1213
cc5fb300
AM
12142014-07-23 Allan McRae <allan@archlinux.org>
1215
1216 * po/es.po: Update Spanish translation from translation project.
1217
23329dca
AS
12182014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1219
1220 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1221
9c82da17
MR
12222014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1223
1224 [BZ #17078]
1225 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1226 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1227 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1228
29c4f53e
JM
12292014-07-17 Joseph Myers <joseph@codesourcery.com>
1230
831b9896
JM
1231 [BZ #17088]
1232 * math/fesetenv.c (__fesetenv)
1233 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1234 * math/feupdateenv.c (__feupdateenv)
1235 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1236
b21c2d50
JM
1237 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1238 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1239 (__ASSUME_SOCKETCALL): Do not define.
1240
067764ef
JM
1241 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1242 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1243 (__ASSUME_SOCKETCALL): Do not define.
1244 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1245 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1246 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1247 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1248 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1249 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1250 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1251 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1252
642530c1
JM
1253 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1254 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1255 (__ASSUME_SOCKETCALL): Do not define.
1256 (__ASSUME_IPC64): Define unconditionally.
1257 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1258 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1259 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1260 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1261 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1262 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1263 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1264 Likewise.
1265
03f77315
JM
1266 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1267 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1268 (__ASSUME_SOCKETCALL): Do not define.
1269 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1270 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1271 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1272 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1273 (__ASSUME_REQUEUE_PI): Define unconditionally.
1274 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1275 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1276 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1277 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1278 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1279 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1280
083b1f7c
JM
1281 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1282 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1283 (__ASSUME_SOCKETCALL): Do not define.
1284 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1285 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1286 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1287 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1288 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1289 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1290
5be44ea6
JM
1291 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1292 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1293 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1294 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1295 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1296 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1297 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1298 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1299 (__ASSUME_GETCPU_SYSCALL): Likewise.
1300
d95ffd4c
JM
1301 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1302 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1303 cases for individual architectures.
1304 * sysdeps/gnu/configure: Regenerated.
1305 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1306 LIBC_SLIBDIR_RTLDDIR.
1307 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1308 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1309 LIBC_SLIBDIR_RTLDDIR.
1310 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1312 LIBC_SLIBDIR_RTLDDIR.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1314 Regenerated.
1315 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1316 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1317 file.
1318 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1319 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1320 file.
1321 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1322 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1323 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1325
29c4f53e
JM
1326 * sysdeps/aarch64/shlib-versions: Move to ...
1327 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1328 * sysdeps/alpha/shlib-versions: Move to ...
1329 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1330 * sysdeps/arm/shlib-versions: Move to ...
1331 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1332 * sysdeps/hppa/shlib-versions: Move all contents except for
1333 libgcc_s entry to ...
1334 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1335 entry from ...
1336 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1337 * sysdeps/ia64/shlib-versions: Move to ...
1338 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1339 entry from ...
1340 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1341 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1342 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1343 * sysdeps/microblaze/shlib-versions: Move to ...
1344 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1345 * sysdeps/mips/shlib-versions: Move to ...
1346 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1347 entry from ...
1348 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1349 * sysdeps/tile/shlib-versions: Move to ...
1350 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1351 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1352 from ...
1353 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1354 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1355 entry from ...
1356 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1357
32bead5b
WN
13582014-07-17 Will Newton <will.newton@linaro.org>
1359
57977c4b
WN
1360 * sysdeps/arm/bits/atomic.h
1361 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1362 (__arch_compare_and_exchange_bool_16_int): Likewise.
1363 (__arch_compare_and_exchange_bool_64_int): Likewise.
1364
32bead5b
WN
1365 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1366 into an #else block.
1367
37fccd41
RM
13682014-07-16 Roland McGrath <roland@hack.frob.com>
1369
1370 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1371 just Linux configurations. Test empirically that the compiler sets
1372 __ARM_EABI__, rather than using the tuple to decide.
1373 * sysdeps/arm/preconfigure: Regenerated.
1374 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1375 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1376 contents appended ...
1377 * sysdeps/arm/configure.ac: ... here.
1378 * sysdeps/arm/configure: Regenerated.
1379
b365f3ec
RM
13802014-07-15 Roland McGrath <roland@hack.frob.com>
1381
8badf496
RM
1382 * nptl/pthread_kill.c: New file.
1383 * nptl/pthread_sigmask.c: New file.
1384 * nptl/pthread_sigqueue.c: New file.
1385
3df6f22e
RM
1386 * sysdeps/nptl/lowlevellock.h: New file.
1387 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1388 * sysdeps/nptl/lowlevellock-futex.h: New file.
1389
b365f3ec
RM
1390 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1391 Remove dead declarations.
1392
f2fef657
L
13932014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1396 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1397 config-cflags-avx2.
1398 * sysdeps/x86_64/configure.ac: Likewise.
1399 * sysdeps/i386/configure: Regenerated.
1400 * sysdeps/x86_64/configure: Likewise.
1401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1402 memset-avx2 only if config-cflags-avx2 is yes.
1403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1404 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1405 defined.
1406 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1407 only if HAVE_AVX2_SUPPORT is defined.
1408 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1409
f6c44d47
AM
14102014-07-14 Alan Modra <amodra@gmail.com>
1411
1412 [BZ #17153]
1413 * elf/elf.h (DT_PPC64_NUM): Correct value.
1414 * NEWS: Add to fixed bug list.
1415
7ee03f00
JM
14162014-07-13 Jim Meyering <meyering@fb.com>
1417
1418 [BZ 17150]
1419 regex: don't deref NULL upon heap allocation failure
1420 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1421 failure in one more place.
1422 To trigger the segfault, configure grep -with-included-regex,
1423 build it, and run these commands:
1424 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1425
9d39d517
AS
14262014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1427
1428 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1429
a75b89b7
RH
14302014-07-11 Richard Henderson <rth@redhat.com>
1431
1432 * sysdeps/aarch64/libm-test-ulps: Update.
1433
771eb141
FW
14342014-07-10 Florian Weimer <fweimer@redhat.com>
1435
1436 [BZ #17135]
1437 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1438 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1439 (__nptl_setxid): Initialize error member. Call
1440 __nptl_setxid_error.
1441 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1442 * nptl/descr.h (struct xid_command): Add error member.
1443 * nptl/tst-setuid3.c: New file.
1444 * nptl/Makefile (tests): Add it.
1445
bc1da176
AZ
14462014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447
1448 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1449 New define.
1450 (__lll_trylock): Use __lll_base_trylock.
1451 (__lll_cond_trylock): Likewise.
1452
887865fc
RM
14532014-07-10 Roland McGrath <roland@hack.frob.com>
1454
c0c6bac9
RM
1455 * nptl/pthread_create.c (start_thread): Use atomic_or and
1456 lll_futex_wake directly rather than lll_robust_dead.
1457 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1458 (lll_robust_dead): Macro removed.
6a42be57 1459 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
1460 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1461 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1462 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1463 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1464 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1465 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1466 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1467 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1469 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1470 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1472 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1473 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1474
887865fc
RM
1475 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1476 Use atomic_compare_and_exchange_val_acq directly rather than
1477 lll_robust_trylock.
1478 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1479 (__lll_robust_trylock, lll_robust_trylock): Removed.
1480 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1481 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1482 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1483 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1484 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1485 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1486 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1487 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1488 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1489 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1490 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1491 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1492 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1493 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1494
58536726
FW
14952014-07-02 Florian Weimer <fweimer@redhat.com>
1496
1497 * manual/locale.texi (Locale Names): New section documenting
1498 locale name syntax. Adjust menu and node chaining accordingly.
1499 (Choosing Locale): Reference Locale Names, Locale Categories.
1500 Mention setting LC_ALL=C. Reflect that name syntax is now
1501 documented.
1502 (Locale Categories): New section title. Reference Locale Names.
1503 LC_ALL is an environment variable, but not a category.
1504 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1505 description, now in Locale Name. Reference that section. Locale
1506 name syntax is now documented.
1507
4e8f95a0
FW
15082014-07-02 Florian Weimer <fweimer@redhat.com>
1509
1510 [BZ #17137]
1511 * locale/findlocale.c (name_present, valid_locale_name): New
1512 functions.
1513 (_nl_find_locale): Use the loc_name variable to store name
1514 candidates. Call name_present and valid_locale_name to check and
1515 validate locale names. Return an error if the locale is invalid.
1516
d1836456
FW
15172014-07-02 Florian Weimer <fweimer@redhat.com>
1518
1519 * locale/setlocale.c (setlocale): Use strdup for allocating
1520 composite name copy.
1521
d69b7f5a
SP
15222014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1523
888c679b
SP
1524 Sync up with gnulib.
1525 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1526 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1527 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1528 and _GL_ARG_NONNULL.
1529 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1530 [!_LIBC]: Include code for Windows and Cygwin.
1531 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1532 Include prototype for int strerror_r.
1533 [!_LIBC] (is_open): New function.
1534 (flush_stdout): New function.
1535 (print_errno_message): Use it.
1536 (error): Likewise.
1537 (error_at_line): Likewise.
1538 (error_tail) Add function attribute macros. Use
1539 __builtin_expect.
1540
180e0e4b
SP
1541 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1542
d22f1fe2
SP
1543 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1544
12f2254b
SP
1545 * io/ftw.c: Include sys/param.h unconditionally.
1546
c3c7c360
SP
1547 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1548
d62aa75a
SP
1549 [BZ #17125]
1550 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1551 libc_freeres_ptr.
1552 (freecache): New function to free CACHE on exit.
1553
d69b7f5a
SP
1554 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1555 initialization.
1556
5efe06a1
DM
15572014-07-09 David S. Miller <davem@davemloft.net>
1558
1559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1560
7000d82e
DM
1561 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1562 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1563 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1564 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1565 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1566 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1567 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1568 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1569 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1570 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1571 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1572 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1573 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1574
c213442d
AS
15752014-07-09 Andreas Schwab <schwab@suse.de>
1576
4a2552c3
AS
1577 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1578 output.
1579 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1580 (do_test): Likewise.
1581
c213442d
AS
1582 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1583
82374e65
WN
15842014-07-09 Will Newton <will.newton@linaro.org>
1585
1586 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1587 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1588 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1589 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1590 * sysdeps/hppa/start.S (_start): Likewise.
1591
6680738a
SP
15922014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1593
6ee3eab4
SP
1594 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1595
6680738a
SP
1596 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1597 defined.
1598
80b5c505
SP
15992014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1600
e35c53e3
SP
1601 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1602 after checking that it is non-NULL.
1603
80b5c505
SP
1604 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1605
91f4b564
AZ
16062014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607
27b75f56
AZ
1608 * sysdeps/powerpc/memmove.c: Remove file.
1609 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1610 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1611 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1612 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1613 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1614 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1615 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1616 string memmove instead of removed powerpc one.
1617
e7f95bb5
AZ
1618 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1619 [weak_alias]: Fix compiler warning due trailing data.
1620 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1621 [weak_alias]: Likewise.
1622 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1623 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1624
91f4b564
AZ
1625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1626 (__libc_ifunc_impl_list): Add memmove functions.
1627
7c33f1e5
SP
16282014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1629
1630 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1631 Remove code.
1632 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1633 Likewise
1634 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1635 Likewise
1636 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1637 Likewise
1638 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1639 Likewise
1640 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1641 Likewise
1642 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1643 Likewise
1644 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1645 Likewise
1646 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1647 Likewise
1648 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1649 Likewise
1650 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1651 Likewise
1652 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1653 Likewise
1654 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1655 Likewise
1656 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1657 Likewise
1658 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1659 Likewise
1660 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1661 Likewise
1662 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1663 Likewise
1664
3f17b03b
AZ
16652014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1666
87868c24
AZ
1667 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1668 to avoid alignment traps in non-cacheable memory.
1669 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1670
07aedd78
AZ
1671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1672 multiarch objects.
1673 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1674 file: multiarch power7 memmove.
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1676 multiarch default memmove.
1677 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1678 multiarch memove for powerpc32/power4.
1679
17762f66
AZ
1680 * string/bcopy.c: Use full path to include memmove.c.
1681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1682 multiarch objects.
1683 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1684 bcopy for powerpc64.
1685 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1686 bcopy for powerpc64.
1687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1688 and memmove implementations.
1689 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1690 optimized multiarch memmove for POWER7/powerpc64.
1691 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1692 default multiarch memmove for powerpc64.
1693 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1694 multiarch for powerpc64.
1695 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1696 for POWER7/powerpc64.
1697 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1698 memmove for POWER7/powerpc64.
1699
d6f68bbe
AZ
1700 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1701 glibc default one.
1702
3f17b03b
AZ
1703 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1704 __ELF_NATIVE_CLASS equal to 64.
1705
08192659
RM
17062014-07-07 Roland McGrath <roland@hack.frob.com>
1707
f4c4021b
RM
1708 * sysdeps/nptl/lowlevellock.h: File removed.
1709
f083450f
RM
1710 * NEWS: NPTL is no longer an add-on!
1711 * nptl/internaltypes.h: Moved ...
1712 * sysdeps/nptl/internaltypes.h: ... here.
1713 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1714 * sysdeps/nptl/fork.c: Likewise.
1715 * sysdeps/nptl/gai_misc.h: Likewise.
1716 * sysdeps/nptl/librt-cancellation.c: Likewise.
1717 * sysdeps/nptl/jmp-unwind.c: Likewise.
1718 * sysdeps/nptl/setxid.h: Likewise.
1719 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1720 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1721 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1722 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1723 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1724 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1725 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1726 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1727 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1728 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1729 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1730 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1731 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1732 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1733 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1734 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1735 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1736 * nptl/Makeconfig: Moved ...
1737 * sysdeps/nptl/Makeconfig: ... here.
1738 * nptl/configure: File removed.
1739 * nptl/ANNOUNCE: File removed.
1740 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1741 * sysdeps/unix/sysv/linux/configure: Regenerated.
1742
08192659
RM
1743 * nptl/Makefile (routines): Add libc_pthread_init,
1744 libc_multiple_threads, register-atfork and unregister-atfork.
1745 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1746 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1747 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1748 pthread-pi-defines.sym, structsem.sym.
1749 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1750 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1751 [$(subdir) = nptl] (tests): Add tst-setgetname.
1752 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1753 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1754 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1755 [!LIBC_SIGACTION]: Remove aliases.
1756 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1757 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1758 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1759 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1760 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1761 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1764 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1765 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1766 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1767 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1768 __libc_allocate_rtsig_private.
1769 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1770 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1771 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1772 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1773 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1774 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1775 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1776 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1777 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1778 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1779 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1780 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1781 * nptl/internaltypes.h: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1783 * sysdeps/nptl/jmp-unwind.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1785 * nptl/libc-lowlevellock.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1787 * nptl/libc_multiple_threads.c: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1789 * nptl/libc_pthread_init.c: ... here.
1790 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1791 * nptl/lowlevelbarrier.sym: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1793 * nptl/lowlevelcond.sym: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1795 * nptl/lowlevellock.c: ... here.
1796 * nptl/lowlevellock.h: Moved ...
1797 * sysdeps/nptl/lowlevellock.h: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1799 * nptl/lowlevelrobustlock.c: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1801 * nptl/lowlevelrobustlock.sym: ... here.
1802 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1803 * nptl/lowlevelrwlock.sym: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1805 * nptl/pt-fork.c: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1807 * nptl/pthread-pi-defines.sym: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1809 * nptl/pthread_attr_getaffinity.c: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1811 * nptl/pthread_attr_setaffinity.c: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1813 * nptl/pthread_mutex_cond_lock.c: ... here.
1814 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1815 Update #include.
1816 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1817 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1818 * nptl/pthread_once.c: ... here, replacing old file.
1819 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1820 * nptl/pthread_yield.c: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1822 * nptl/register-atfork.c: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1824 * nptl/sem_post.c: ... here.
1825 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1826 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1827 * nptl/sem_timedwait.c: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1829 * nptl/sem_trywait.c: ... here.
1830 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1831 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1832 * nptl/sem_wait.c: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1834 * nptl/structsem.sym: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1836 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1837 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1838 * nptl/unregister-atfork.c: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1840 * nptl/unwindbuf.sym: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1842 * sysdeps/nptl/fork.c: ... here.
1843 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1844 * sysdeps/nptl/fork.h: ... here.
1845 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1846 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1847 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1849 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1851 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1853 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1855 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1857 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1858 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1859 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1861 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1862 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1863 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1864 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1865 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1867 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1869 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1871 * sysdeps/unix/sysv/linux/raise.c: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1873 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1875 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1876 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1877 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1879 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1881 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1883 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1884 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1885 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1886 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1887
96baf6ff
SP
18882014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1889
1890 * sysdeps/generic/memcopy.h: Add comment for
1891 MEMCPY_OK_FOR_FWD_MEMMOVE.
1892
6b7b14b2
WN
18932014-07-04 Will Newton <will.newton@linaro.org>
1894
1570a72b
WN
1895 * string/memchr.c: Merge from gnulib.
1896 [_LIBC]: Remove conditionals.
1897 (__ptr_t): Remove define.
1898 (LONG_MAX_32_BITS): Likewise.
1899 (LONG_MAX): Likewise.
1900 (MEMCHR): Use ANSI prototype and optimize algorithm.
1901
6b7b14b2
WN
1902 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1903
38851324
SP
19042014-07-03 Roland McGrath <roland@hack.frob.com>
1905
3d9eb57c
RM
1906 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1907 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1908
78b984ae
RM
1909 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1910 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1911 in a bare environment with no <stdlib.h> installed.
1912 * sysdeps/nptl/configure: Regenerated.
1913
2d5976a5
RM
1914 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1915
c1f5acd4
RM
1916 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1917 AC_EGREP_CPP for kernel header checks, so they only succeed if
1918 including <linux/version.h> actually works right.
1919 * sysdeps/unix/sysv/linux/configure: Regenerated.
1920
4d614fe5
RM
1921 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1922 value so it's not diagnosed as unused.
1923
38851324
SP
1924 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1925 thing) with "ifeq ($(subdir),rt)".
1926
b3ec00e5
RH
19272014-07-03 Richard Henderson <rth@redhat.com>
1928
69862e25
RH
1929 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1930 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1931 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1932
d5e16ade
RH
1933 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1934 (math_force_eval): New.
1935
ca7b945c
RH
1936 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1937 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1938
cd1175a3
RH
1939 * sysdeps/alpha/fpu/s_round.c: Remove file.
1940 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1941
b3ec00e5
RH
1942 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1943 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1944 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1945 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1946 (_dl_start, print_statistics): Likewise.
1947 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1948 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1949
1950 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1951 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1952 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1953 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1954 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1955 (HP_SMALL_TIMING_AVAIL): Define.
1956 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1957 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1958 (HP_SMALL_TIMING_AVAIL): Define.
1959 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1960 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1961
1962 * sysdeps/aarch64/hp-timing.h: New file.
1963
1964 * sysdeps/generic/hp-timing.h: Remove dead comment.
1965 * sysdeps/generic/hp-timing-common.h: New file.
1966 * sysdeps/alpha/hp-timing.h: Include it.
1967 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1968 * sysdeps/i386/i686/hp-timing.h: Likewise.
1969 * sysdeps/ia64/hp-timing.h: Likewise.
1970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1971 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1972 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1973 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1974 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1975 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1976 (hp_timing_t): New.
1977
1978 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1979 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1980 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1981 * elf/rtld.c (_dl_start_final): Likewise.
1982 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1983 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1984 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1985 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1986 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1988 (HP_TIMING_DIFF_INIT): Remove.
1989 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1991 (HP_TIMING_DIFF_INIT): Remove.
1992 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1993 * sysdeps/i386/i686/hp-timing.c: Remove file.
1994 * sysdeps/x86_64/hp-timing.c: Remove file.
1995 * sysdeps/ia64/hp-timing.c: Remove file.
1996 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1997 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1999 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2000
2001 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2002 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2003 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2004 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2006 (HP_TIMING_ACCUM): Remove.
2007 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2008 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2009 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2010
2011 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2012 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2013 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2014 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2015 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2016 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2017 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2018 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2019
2020 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2021
225f410f
MR
20222014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2023
2024 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2025
3247f285
SP
20262014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2027
2028 Sync up with gettext.
2029 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2030 [_MSC_VER]: Include malloc.h
2031 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2032 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2033 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2034 TEMP_FAILURE_RETRY. Cast return of alloca.
2035 [!_LIBC] Call gl_rwlock_init.
2036 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2037
d12704c7
SP
20382014-07-02 Roland McGrath <roland@hack.frob.com>
2039
2040 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2041 before checking its value.
2042
99f8dc92
SP
20432014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2044
05fdac77
SP
2045 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2046
99f8dc92
SP
2047 * debug/memcpy_chk.c: Don't include pagecopy.h.
2048 * debug/mempcpy_chk.c: Likewise.
2049 * string/memcpy.c: Likewise.
2050 * string/memmove.c: Likewise.
2051 * sysdeps/powerpc/memmove.c: Likewise.
2052 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2053 definition of PAGE_COPY_FWD_MAYBE here...
2054 * sysdeps/generic/pagecopy.h: ... from here.
2055 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2056
bc8ea385
VR
20572014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2058 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059
2060 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2062 optimizations.
2063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2064 (__libc_ifunc_impl_list): Likewise.
2065 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2066 multiarch strcat for PPC64.
2067 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2068 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2069
fe5f34e4
RM
20702014-07-02 Roland McGrath <roland@hack.frob.com>
2071
2072 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2073
256aa665
SP
20742014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2075
d4eb8195
SP
2076 * intl/loadmsgcat.c: Remove declaration of
2077 get_sysdep_segment_value.
2078 (get_sysdep_segment_value): Use ISO C style.
2079 (_nl_load_domain): Use ISO C style. Get rid of redundant
2080 semicolon. Fix typo and formatting in comment.
2081 (_nl_unload_domain): Use ISO C style.
2082
256aa665
SP
2083 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2084
b100f9aa
WN
20852014-07-02 Will Newton <will.newton@linaro.org>
2086
2087 * malloc/obstack.c: Merge from gnulib master.
2088 [HAVE_CONFIG_H]: Remove conditional code.
2089 [!_LIBC]: Include config.h.
2090 [!ELIDE_CODE]: Don't include inttypes.h, include
2091 stdint.h unconditionally.
2092 (print_and_abort): Mark as _Noreturn.
2093 (_obstack_allocated_p): Mark as __attribute_pure__.
2094 (obstack_free): Rename to __obstack_free.
2095 [!__attribute__]: Remove conditional code.
2096 * malloc/obstack.h: Merge from gnulib master.
2097 [__cplusplus]: Move conditional down.
2098 [!__attribute_pure__]: Define __attribute_pure__ here
2099 if it is not already defined.
2100 (_obstack_memory_used): Mark as __attribute_pure__.
2101 [!__obstack_free]: Define as obstack_free.
2102 [__GNUC__]: Remove check for ancient NeXT gcc.
2103
c4c41244
PE
21042014-07-02 Will Newton <will.newton@linaro.org>
2105 Paul Eggert <eggert@cs.ucla.edu>
2106
2107 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2108
e1e041c4
SP
21092014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2110
2111 * resolv/gethnamaddr.c: Add comment warning that the file is
2112 not maintained.
2113
ccf431ff
CD
21142014-07-01 Carlos O'Donell <carlos@redhat.com>
2115
d34570a6
CD
2116 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2117 entries.
2118
ccf431ff
CD
2119 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2120 entry for aio_cancel and aio_cancel64.
2121 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2122 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2123 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2124 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2125 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2126 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2127 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2128 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2129 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2130 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2131 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2132 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2133 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2134
ca06321d
RM
21352014-07-01 Roland McGrath <roland@hack.frob.com>
2136
2137 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2138 * nptl/pthread_mutex_lock.c: Likewise.
2139 * nptl/pthread_mutex_timedlock.c: Likewise.
2140 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2141
a1ac3184
RH
21422014-07-01 Richard henderson <rth@redhat.com>
2143
631021e0
RH
2144 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2145 (__isnan, __isnanl): Remove.
2146 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2147
a1ac3184
RH
2148 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2149
0c1d731f
SL
21502014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2151
2152 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2153
76985d3e
SP
21542014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2155
2156 * resolv/nss_dns/dns-host.c (getanswer_r)
2157 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2158
b0cb3096
JM
21592014-07-01 Joseph Myers <joseph@codesourcery.com>
2160
2161 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2162 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2163 undefine.
2164 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2165 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2166
4d76cb39
RM
21672014-07-01 Roland McGrath <roland@hack.frob.com>
2168
2169 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2170 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2171
2172 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2173 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2174
2175 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2176 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2177 ... here.
2178 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2179 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2180
2181 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2182 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2183 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2184 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2185
2186 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2187 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2188 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2189 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2191 Moved ...
2192 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2193 ... here.
2194 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2197 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2198 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2199 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2200 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2201 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2202 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2203 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2205 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2206 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2207 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2208 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2209 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2213 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2214 ... here.
2215 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2218 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2219 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2220 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2221 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2222 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2223
0cdcad17
DH
22242014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2225
2226 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2227 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2228 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2229 Add sysdep.
2230
9b71d0e3
AZ
22312014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2232
2233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2234
665390c2
JM
22352014-06-30 Joseph Myers <joseph@codesourcery.com>
2236
ae05a9d7
JM
2237 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2238 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2239
a7672a2f
JM
2240 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2241
665390c2
JM
2242 * sysdeps/arm/libm-test-ulps: Regenerated.
2243
d7a05d07
MR
22442014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2245 Roland McGrath <roland@hack.frob.com>
2246
2247 * test-skeleton.c (signal_handler): Kill the whole process group
2248 before killing the child individually.
2249 (main): Report any failure on `setpgid'.
2250
46f1d8a6
RM
22512014-06-30 Roland McGrath <roland@hack.frob.com>
2252
2253 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2254 from _TLS_H to _ARM_NPTL_TLS_H.
2255 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2256 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2257
9c37ec0b
JM
22582014-06-30 Joseph Myers <joseph@codesourcery.com>
2259
ce9c5b3e
JM
2260 [BZ #16539]
2261 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2262 (__expm1l): Return argument unchanged when small but not
2263 subnormal.
2264
3a6e9887
JM
2265 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2266 include macro name.
2267 (_FP_UNPACK_RAW_1_P): Likewise.
2268 (_FP_PACK_RAW_1): Likewise.
2269 (_FP_PACK_RAW_1_P): Likewise.
2270 (_FP_MUL_MEAT_1_wide): Likewise.
2271 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2272 (_FP_MUL_MEAT_1_hard): Likewise.
2273 (_FP_DIV_MEAT_1_imm): Likewise.
2274 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2275 (_FP_DIV_MEAT_1_udiv): Likewise.
2276 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2277 (_FP_UNPACK_RAW_2): Likewise.
2278 (_FP_UNPACK_RAW_2_P): Likewise.
2279 (_FP_PACK_RAW_2): Likewise.
2280 (_FP_PACK_RAW_2_P): Likewise.
2281 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2282 (_FP_MUL_MEAT_2_wide): Likewise.
2283 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2284 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2285 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2286 (_FP_MUL_MEAT_2_gmp): Likewise.
2287 (_FP_DIV_MEAT_2_udiv): Likewise.
2288 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2289 (_FP_FRAC_SRL_4): Likewise.
2290 (_FP_FRAC_SRST_4): Likewise.
2291 (_FP_FRAC_SRS_4): Likewise.
2292 (_FP_UNPACK_RAW_4): Likewise.
2293 (_FP_UNPACK_RAW_4_P): Likewise.
2294 (_FP_PACK_RAW_4): Likewise.
2295 (_FP_PACK_RAW_4_P): Likewise.
2296 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2297 (_FP_MUL_MEAT_4_wide): Likewise.
2298 (_FP_MUL_MEAT_4_gmp): Likewise.
2299 (umul_ppppmnnn): Likewise.
2300 (_FP_DIV_MEAT_4_udiv): Likewise.
2301 (__FP_FRAC_ADD_4): Likewise.
2302 (__FP_FRAC_SUB_3): Likewise.
2303 (__FP_FRAC_SUB_4): Likewise.
2304 (__FP_FRAC_DEC_3): Likewise.
2305 (__FP_FRAC_DEC_4): Likewise.
2306 (__FP_FRAC_ADDI_4): Likewise.
2307 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2308 (_FP_FRAC_SRL_8): Likewise.
2309 (_FP_FRAC_SRS_8): Likewise.
2310
9c37ec0b
JM
2311 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2312 include macro name.
2313 (FP_UNPACK_RAW_EP): Likewise.
2314 (FP_PACK_RAW_E): Likewise.
2315 (FP_PACK_RAW_EP): Likewise.
2316 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2317 (_FP_ISSIGNAN): Likewise.
2318 (_FP_ADD_INTERNAL): Likewise.
2319 (_FP_FMA): Likewise.
2320 (_FP_CMP): Likewise.
2321 (_FP_SQRT): Likewise.
2322 (_FP_TO_INT): Likewise.
2323 (_FP_FROM_INT): Likewise.
2324 (FP_EXTEND): Likewise.
2325 (_FP_DIV_MEAT_N_loop): Likewise.
2326
2125f674
MR
23272014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2328
2329 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2330 throughout.
2331
edea4028
JM
23322014-06-29 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #17097]
2335 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2336 result with correct sign in case of exponents that produce
2337 overflow except for X very close to 1.
2338
dd0ba018
PE
23392014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2340
2341 mktime: merge #if/#ifdef usage from glibc
2342 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2343 as that works with both Glibc's and Gnulib's style.
2344 See thread starting at Siddhesh Poyarekar's bug report at:
2345 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2346
64df73c2
SP
23472014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2348
2349 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2350 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2351 * sysdeps/tile/tilegx/memmove.c: Remove file.
2352
f1eafb41
JM
23532014-06-27 Joseph Myers <joseph@codesourcery.com>
2354
2355 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2356 abi-name definition.
2357 * scripts/soversions.awk: Do not handle or generate ABI lines.
2358 * shlib-versions: Remove ABI entries.
2359 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2360 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2361
58eb0862
RM
23622014-06-27 Roland McGrath <roland@hack.frob.com>
2363
37caf178
RM
2364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2365 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2371 Moved ...
2372 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2373 ... here.
2374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2387 Moved ...
2388 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2394 Moved ...
2395 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2397 Moved ...
2398 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2402 Moved ...
2403 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2405 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2406 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2409 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2411 Moved ...
2412 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2416 Moved ...
2417 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2419 Moved ...
2420 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2421 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2424 Moved ...
2425 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2426 ... here.
2427 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2428 Identical file removed.
2429 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2430 Moved ...
2431 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2433 Identical file removed.
2434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2435 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2437 Moved ...
2438 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2439 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2440 Identical file removed.
2441 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2442 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2443 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2444 Identical file removed.
2445 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2446 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2447 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2448 Identical file removed.
2449 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2450 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2451 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2452 Identical file removed.
2453 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2454 Moved ...
2455 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2457 Identical file removed.
2458 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2459 Moved ...
2460 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2461 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2462 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2463 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2464 Identical file removed.
2465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2466 Moved ...
2467 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2468 ... here.
2469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2470 Identical file removed.
2471 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2472 Moved ...
2473 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2475 Identical file removed.
2476 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2477 Moved ...
2478 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2479 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2480 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2481 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2482 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2484 Moved ...
2485 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2486 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2487 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2488
58eb0862
RM
2489 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2490 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2491 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2492 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2493 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2494
6f12d062
AS
24952014-06-27 Arjun Shankar <arjun.is@lostca.se>
2496
2497 [BZ #17092]
2498 * nscd/nscd.c (monitor_child): Return exit status of child
2499 instead of return value from wait syscall.
2500
be254932
JM
25012014-06-27 Joseph Myers <joseph@codesourcery.com>
2502
cb403c34
JM
2503 * configure.ac (libc_commonpagesize): Remove variable.
2504 (libc_relro_required): Likewise.
2505 (libc_cv_z_relro): Remove configure test.
2506 * configure: Regenerated.
2507 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2508 variable.
2509 (libc_relro_required): Likewise.
2510 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2511 (libc_relro_required): Likewise.
2512 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2513 (libc_relro_required): Likewise.
2514 * sysdeps/arm/preconfigure: Regenerated.
2515 * sysdeps/ia64/preconfigure: Remove file.
2516 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2517 variable.
2518 (libc_relro_required): Likewise.
2519
be254932
JM
2520 [BZ #16561]
2521 [BZ #16562]
2522 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2523 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2524 recompute overflowing results in original rounding mode.
2525 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2526 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2527 recompute overflowing results in original rounding mode.
2528 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2529 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2530 recompute overflowing results in original rounding mode.
2531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2532 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2533 recompute overflowing results in original rounding mode.
2534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2535 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2536 recompute overflowing results in original rounding mode.
2537 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2538 (libc_feholdsetround_ctx): New macro.
2539 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2540 * sysdeps/i386/fpu/libm-test-ulps: Update.
2541 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2542
b351d85a
JM
25432014-06-26 Joseph Myers <joseph@codesourcery.com>
2544
2545 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2546 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2547 corresponding .cpsetup call.
2548
3cb4de47
RM
25492014-06-26 Roland McGrath <roland@hack.frob.com>
2550
2551 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2552 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2553 * sysdeps/arm/Makefile [$(subdir) = csu]
2554 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2555 (static-only-routines): Add aeabi_read_tp here.
2556 (shared-only-routines): Add libc-aeabi_read_tp here.
2557 (CFLAGS-libc-start.c): Add -fexceptions here.
2558 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2559 (sysdep_routines, static-only-routines, shared-only-routines):
2560 Don't add to these here.
2561 (CFLAGS-libc-start.c): Likewise.
2562
2563 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2564 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2565 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2566 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2567 * sysdeps/arm/Makefile [$(subdir) = rt]
2568 (librt-sysdep_routines, librt-shared-only-routines):
2569 Append rt-aeabi_unwind_cpp_pr1 here.
2570 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2571 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2572 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2573 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2574 Append nptl-aeabi_unwind_cpp_pr1 here.
2575 (tests): Filter out tst-cleanupx4 here.
2576 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2577 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2578 Don't do those here.
2579
354426bb
JM
25802014-06-26 Joseph Myers <joseph@codesourcery.com>
2581
2582 * scripts/list-sources.sh: Do not handle ports specially.
2583
28b0a8c9
RM
25842014-06-26 Roland McGrath <roland@hack.frob.com>
2585
a3dd035d
RM
2586 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2587 * sysdeps/arm/feupdateenv.c: Likewise.
2588
28b0a8c9
RM
2589 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2590
e66a8203
JM
25912014-06-26 Joseph Myers <joseph@codesourcery.com>
2592
2593 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2594 trailing whitespace removed.
2595 * scripts/config.guess: Update to version 2014-03-23.
2596 * scripts/config.sub: Update to version 2014-05-01
2597 * scripts/install-sh: Update to version 2013-12-25.23.
2598 * scripts/move-if-change: Update from gnulib.
2599
74171115
SP
26002014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2601
b97c9ce5
SP
2602 * debug/memmove_chk.c: Remove pagecopy.h include.
2603
4000f892
SP
26042014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2605
74171115
SP
2606 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2607 identical to gnulib mktime.
2608
a8779c28
JM
26092014-06-26 Joseph Myers <joseph@codesourcery.com>
2610
e64708de
JM
2611 * configure.ac: Do not test for machine being rs6000. Do not test
2612 for powerpc*-*soft.
2613 * configure: Regenerated.
2614
a8779c28
JM
2615 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2616 test.
2617 * configure: Regenerated.
2618 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2619 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2620 Remove configure test.
2621 * sysdeps/arm/configure: Regenerated.
2622 * sysdeps/nptl/configure.ac: Do not check
2623 libc_cv_asm_cfi_directives.
2624 * sysdeps/nptl/configure: Regenerated.
2625 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2626 * sysdeps/x86_64/nptl/configure: Remove generated file.
2627 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2628 unconditional.
2629 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2630
2aac0a86
SP
26312014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2632
059bf913
SP
2633 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2634 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2635 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2636 it is defined.
2637
4cf5b6d0
SP
2638 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2639 instead of whether it is defined.
2640 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2641 * sysdeps/hppa/dl-machine.h: Likewise.
2642 * sysdeps/ia64/dl-machine.h: Likewise.
2643 * sysdeps/m68k/dl-machine.h: Likewise.
2644 * sysdeps/microblaze/dl-machine.h: Likewise.
2645 * sysdeps/mips/dl-machine.: Likewise.
2646 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2647 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2648 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2649 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2650 * sysdeps/sh/dl-machine.h: Likewise.
2651 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2652 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2653 * sysdeps/tile/dl-machine.h: Likewise.
2654 * sysdeps/x86_64/dl-machine.h: Likewise.
2655
2aac0a86
SP
2656 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2657 code.
2658 (verify_persistent_db): Likewise.
2659
6ad2df0b
RM
26602014-06-26 Roland McGrath <roland@hack.frob.com>
2661
d8a483f3
RM
2662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2663 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2667 Moved ...
2668 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2669 ... here.
2670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2671 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2673 Identical file removed.
2674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2677 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2679 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2683 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2685 Moved ...
2686 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2688 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2690 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2692 Moved ...
2693 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2697 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2699 Identical file removed.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2701 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2705 Moved ...
2706 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2707 ... here.
2708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2713 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2715 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2717 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2719 Moved ...
2720 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2722 Moved ...
2723 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2727 Moved ...
2728 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2730 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2731
52ae23b4
RM
2732 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2733 folded into ...
2734 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2735 * sysdeps/unix/sysv/linux/s390/Versions
2736 (libpthread: GLIBC_2.19): New version set.
2737 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2738 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2739 (librt: GLIBC_2.3.3): New version set.
2740 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2741 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2742 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2743 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2744 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2746 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2748 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2750 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2752 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2754 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2756 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2758 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2760 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2762 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2764 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2766 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2768 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2770 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2776 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2778 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2780 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2782 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2784 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2785
39507e4a
RM
2786 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2787 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2788 (__libc_vfork): Define the function under this name.
2789 [!NOT_IN_libc] (__vfork): Make this an alias.
2790 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2791 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2792 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2793 (__libc_vfork): Define the function under this name.
2794 [!NOT_IN_libc] (__vfork): Make this an alias.
2795 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2796 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2797 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2799 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2800 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2801
e549ee56
RM
2802 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2803 code that was previously under [RESET_PID].
2804 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2805 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2807
6ad2df0b
RM
2808 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2809 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2810 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2811 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2812 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2813 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2814 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2815 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2816 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2817 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2819 Moved ...
2820 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2826 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2830 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2844 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2845 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2846 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2847 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2848 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2849
7c1c1d8e
RM
28502014-06-25 Roland McGrath <roland@hack.frob.com>
2851
2852 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2853 that was previously under [RESET_PID].
2854 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2855
3e239be6
JM
28562014-06-25 Joseph Myers <joseph@codesourcery.com>
2857
74385da5
JM
2858 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2859 not undefine and redefine.
2860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2861 [O_CLOEXEC]: Make code unconditional.
2862 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2863 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2864 <kernel-features.h>.
2865 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2866 conditional variable definition.
2867 (shm_open) [O_CLOEXEC]: Make code unconditional.
2868 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2869 code.
2870
c2570a0b
JM
2871 * configure.ac (USE_REGPARMS): Don't define here.
2872 * configure: Regenerated.
2873 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2874 * sysdeps/i386/configure: Regenerated.
2875
11b076bb
JM
2876 * nptl/createthread.c: Don't include kernel-features.h.
2877 * nptl/pthread_cancel.c: Likewise.
2878 * nptl/pthread_condattr_setclock.c: Likewise.
2879 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2880 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2881 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2882 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2883 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2884 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2885 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2888 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2889 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2890 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2891 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2892 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2893 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2894 * nscd/gai.c: Likewise.
2895 * nss/nss_db/db-open.c: Likewise.
2896 * sysdeps/generic/ldsodefs.h: Likewise.
2897 * sysdeps/sh/nptl/tls.h: Likewise.
2898 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2899 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2900 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2901 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2902 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2903 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2904 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2905 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2907 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2908 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2909 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2910 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2911 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2912 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2913 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2914 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2915 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2916 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2917 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2918 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2919 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2920 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2921 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2922 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2923 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2924 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2925 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2926 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2927 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2928 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2929 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2930 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2931 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2932 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2933 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2934 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2935 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2936 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2937 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2938 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2939 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2940 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2941 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2942 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2943 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2944 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2945 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2946 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2947 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2948 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2949 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2950 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2951 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2952 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2953 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2955 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2978 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2979 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2980 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2981 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2982 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2983 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2984 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2985 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2986 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2987 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2988 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2989 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2990 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2991 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2992 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2993 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2995 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2996 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2997 * sysdeps/unix/sysv/linux/system.c: Likewise.
2998 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2999 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3000 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3001 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3002 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3003 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3004 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3005
92072d57
JM
3006 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3007 * configure: Regenerated.
3008 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3009
3e239be6
JM
3010 * configure.ac (base_machine): Do not set specially for particular
3011 machines here.
3012 * configure: Regenerated.
3013 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3014 settings from configure.ac.
3015 * sysdeps/i386/preconfigure: New file.
3016 * sysdeps/s390/preconfigure: Likewise.
3017 * sysdeps/sh/preconfigure: Likewise.
3018 * sysdeps/sparc/preconfigure: Likewise.
3019
06d50baa
RM
30202014-06-25 Roland McGrath <roland@hack.frob.com>
3021
74836003
RM
3022 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3023 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3024 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3025 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3026 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3027 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3028 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3029 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3030 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3031 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3032 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3033 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3034 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3035 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3036 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3037 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3038 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3039 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3040 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3041
3042 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3043 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3044 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3045 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3046 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3047 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3048 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3049 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3050 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3051 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3052 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3053 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3054 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3055 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3056 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3057 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3058 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3059 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3060 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3061 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3062 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3063 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3064 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3065 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3066 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3067 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3068 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3069 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3070 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3071 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3072 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3073 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3074 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3075 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3076 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3077 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3078 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3079 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3080
06d50baa
RM
3081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3082 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3086 Moved ...
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3088 ... here.
3089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3090 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3092 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3094 Moved ...
3095 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3097 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3099 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3103 Moved ...
3104 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3106 Moved ...
3107 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3109 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3111 Moved ...
3112 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3114 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3116 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3118 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3120 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3122 Moved ...
3123 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3124 ... here.
3125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3126 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3128 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3130 Moved ...
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3133 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3139 Moved ...
3140 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3142 Moved ...
3143 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3145 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3147 Moved ...
3148 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3150 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3152 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3153
a4ccbc9b
JM
31542014-06-25 Joseph Myers <joseph@codesourcery.com>
3155
0828edbf
JM
3156 * timezone/checktab.awk: Update from tzcode 2014e.
3157 * timezone/private.h: Likewise.
3158 * timezone/tzfile.h: Likewise.
3159 * timezone/zdump.c: Likewise.
3160 * timezone/zic.c: Likewise.
3161
a4ccbc9b
JM
3162 * sysdeps/unix/sysv/linux/kernel-features.h
3163 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3165 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3166 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3167 Remove conditional code.
3168
9aea0cb8
WN
31692014-06-25 Will Newton <will.newton@linaro.org>
3170
3171 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3172 (_dl_arm_cap_flags): Add HWCAP2 values.
3173 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3174 (_DL_HWCAP_COUNT): Increase to 37.
3175 (_DL_HWCAP_LAST): New define.
3176 (_DL_HWCAP2_LAST): New define.
3177 (_dl_procinfo): Add support for printing
3178 AT_HWCAP2 entries.
3179 (_dl_string_hwcap): Use _dl_hwcap_string.
3180
6eaa65ce
AZ
31812014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182
3183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3184
0f5b7185
JM
31852014-06-25 Joseph Myers <joseph@codesourcery.com>
3186
cfd2ea50
JM
3187 * README: Do not mention ports directory.
3188
cecf2ed4
JM
3189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3190 Remove macro.
3191 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3192 <kernel-features.h>.
3193 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3194 conditional variable definition.
3195 (__futimes): Update comment.
3196 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3197 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3198
a638de82
JM
3199 [BZ #16560]
3200 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3201 arguments close to 0.
3202 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3203 Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3205 Likewise.
3206 * math/auto-libm-test-in: Add more tests of exp10.
3207 * math/auto-libm-test-out: Regenerated.
3208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3209
0f5b7185
JM
3210 * sysdeps/unix/sysv/linux/kernel-features.h
3211 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3212 * sysdeps/unix/sysv/linux/readv.c: Do not include
3213 <kernel-features.h>.
3214 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3215 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3216 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3217 unconditional.
3218 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3219 conditional code.
3220 * sysdeps/unix/sysv/linux/writev.c: Do not include
3221 <kernel-features.h>.
3222 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3223 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3224 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3225 unconditional.
3226 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3227 conditional code.
3228
c7aec4be
WN
32292014-06-25 Will Newton <will.newton@linaro.org>
3230
3231 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3232 comment changes throughout the file. Remove checks
3233 for HAVE_*_H definitions that are not required.
3234 (__gen_tempname): Call abort if an unknown kind value is
3235 passed.
3236
c5241f95
AS
32372014-06-25 Andreas Schwab <schwab@suse.de>
3238
3239 [BZ #17086]
3240 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3241 scalbln, scalblnf, scalblnl in libc.
3242
911422da
SP
32432014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3244
3245 [BZ #17086]
3246 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3247 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3248 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3249
0d749bbe
RM
32502014-06-24 Roland McGrath <roland@hack.frob.com>
3251
3252 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3253 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3254 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3255 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3256 Update #include.
3257 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3258 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3259 Update #include.
3260 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3261 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3262 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3263 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3264 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3265 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3266 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3267 * sysdeps/x86/bits/semaphore.h: ... here.
3268 * sysdeps/x86/nptl/elide.h: Moved ...
3269 * sysdeps/x86/elide.h: ... here.
3270 * sysdeps/x86_64/nptl/Implies: File removed.
3271 * sysdeps/i386/nptl/Implies: File removed.
3272
0ea5d373
JM
32732014-06-24 Joseph Myers <joseph@codesourcery.com>
3274
4060283d
JM
3275 [BZ #16539]
3276 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3277 return the argument for normal arguments with exponent below -64.
3278 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3279 Likewise.
3280 * math/auto-libm-test-in: Add another test of expm1.
3281 * math/auto-libm-test-out: Regenerated.
3282
e7dd3c8c
JM
3283 [BZ #16287]
3284 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3285 calling __erfcl for arguments at least 16.
3286 * math/auto-libm-test-in: Add more tests of erf.
3287 * math/auto-libm-test-out: Regenerated.
3288
0ea5d373
JM
3289 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3290 individual architectures.
3291 * sysdeps/unix/sysv/linux/configure: Regenerated.
3292 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3293 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3294 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3295 (ldd_rewrite_script): Define variable.
3296 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3298 file.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3300 generated file.
3301 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3302 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3303 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3304 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3305 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3306 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3307 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3308 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3309
2307e126
SP
33102014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3311
3312 [BZ #17084]
3313 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3314 Rename member __data.d to __data.__elision_data.
3315
c0a4ed77
W
33162014-06-24 Wilco <wdijkstr@arm.com>
3317
3318 * NEWS: Add 16918 to fixed bug list.
3319
b8c00573
W
33202014-06-24 Wilco <wdijkstr@arm.com>
3321
3322 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3323
b5570d92
W
33242014-06-24 Wilco <wdijkstr@arm.com>
3325
3326 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3327 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3328 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3329 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3330 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3331 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3332 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3333 Use _FPU_MASK_RM.
3334
947bdca2
W
33352014-06-24 Wilco <wdijkstr@arm.com>
3336
3337 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3338
00f669ed
W
33392014-06-24 Wilco <wdijkstr@arm.com>
3340
3341 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3342 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3343 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3344 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3345
db59bad3
W
33462014-06-24 Wilco <wdijkstr@arm.com>
3347
3348 [BZ #16918]
3349 * sysdeps/arm/feupdateenv.c (feupdateenv):
3350 Rewrite to reduce FPSCR accesses and fix return value.
3351
001f7b77
W
33522014-06-24 Wilco <wdijkstr@arm.com>
3353
3354 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3355 Optimize to avoid unnecessary FPSCR writes.
3356 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3357 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3358 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3359 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3360
4841e6a6
W
33612014-06-24 Wilco <wdijkstr@arm.com>
3362
3363 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3364 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3365 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3366 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3367 Call libc_fetestexcept_vfp.
3368 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3369 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3370 __SOFTFP__ ifdef so that they can be built for softfp.
3371
0813022c
SP
33722014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3373
08e5862f
SP
3374 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3375 argument type signed char.
3376
0813022c
SP
3377 * Makerules (check-abi): Dump diff of symlist if the test
3378 fails.
3379
3fc7236a
RM
33802014-06-23 Roland McGrath <roland@hack.frob.com>
3381
aba8ef95
RM
3382 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3383 using abort.
3384
3fc7236a
RM
3385 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3386 Remove unused variable ST.
3387
4da6db51
JM
33882014-06-23 Joseph Myers <joseph@codesourcery.com>
3389
4648909d
JM
3390 [BZ #16354]
3391 [BZ #17061]
3392 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3393 small arguments before calling __expm1.
3394 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3395 small arguments before calling __expm1f.
3396 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3397 small arguments before calling __expm1l.
3398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3399 Likewise.
3400 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3401 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3402 spurious underflow for some cosh tests.
3403 * math/auto-libm-test-out: Regenerated.
3404 * sysdeps/i386/fpu/libm-test-ulps: Update.
3405
46a3d3c7
JM
3406 [BZ #17050]
3407 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3408 (__ieee754_y1): Set errno if return value overflows.
3409 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3410 (__ieee754_y1f): Set errno if return value overflows.
3411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3412 (__ieee754_y1l): Set errno if return value overflows.
3413 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3414 (__ieee754_y1l): Set errno if return value overflows.
3415 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3416 * math/auto-libm-test-out: Regenerated.
3417
863893ec
JM
3418 * math/gen-auto-libm-tests.c: Document use of
3419 ignore-zero-inf-sign.
3420 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3421 (input_flags): Add ignore-zero-inf-sign.
3422 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3423 * math/gen-libm-test.pl (generate_testfile): Handle
3424 ignore-zero-inf-sign.
3425 * math/auto-libm-test-in: Mark some cpow tests with
3426 ignore-zero-inf-sign and some with xfail-rounding.
3427 * math/auto-libm-test-out: Regenerated.
3428 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3429 * sysdeps/i386/fpu/libm-test-ulps: Update.
3430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3431
4da6db51
JM
3432 [BZ #16315]
3433 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3434 overflowing or underflowing operations take place with sign of
3435 result.
3436 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3437 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3438 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3439 (__ieee754_pow): Recompute overflowing and underflowing results in
3440 original rounding mode.
3441 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3442 (__powl_helper): Allow negative argument X and scale negated value
3443 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3444 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3445 overflowing or underflowing operations take place with sign of
3446 result.
3447 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3448 Include <math.h>.
3449 * math/auto-libm-test-in: Add more tests of pow.
3450 * math/auto-libm-test-out: Regenerated.
3451 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3452 (pow_tonearest_test_data): Remove.
3453 (pow_test_tonearest): Likewise.
3454 (pow_towardzero_test_data): Likewise.
3455 (pow_test_towardzero): Likewise.
3456 (pow_downward_test_data): Likewise.
3457 (pow_test_downward): Likewise.
3458 (pow_upward_test_data): Likewise.
3459 (pow_test_upward): Likewise.
3460 (main): Don't call removed functions.
3461 * sysdeps/i386/fpu/libm-test-ulps: Update.
3462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3463
5686b236
RM
34642014-06-23 Roland McGrath <roland@hack.frob.com>
3465
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3467 Moved ...
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3470 Moved ...
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3473 Moved ...
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3476 Moved ...
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3479 File removed.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3481 File removed.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3483 File removed.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3485 File removed.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3487 File removed.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3489 File removed.
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3491 File removed.
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3493 File removed.
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3495 File removed.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3497 File removed.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3499 File removed.
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3501 File removed.
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3503 Moved ...
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3506 Moved ...
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3508 ... here.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3510 Moved ...
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3513 Moved ...
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3516 Moved ...
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3519 Moved ...
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3522 Moved ...
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3525 Moved ...
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3528 Moved ...
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3532 ... here.
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3534 Moved ...
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3537 Moved ...
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3539 ... here.
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3541 Moved ...
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3543 ... here.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3545 Moved ...
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3547 ... here.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3549 Moved ...
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3552 Moved ...
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3557 Moved ...
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3559 ... here.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3561 Moved ...
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3563 ... here.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3565 Moved ...
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3568 Moved ...
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3571 Moved ...
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3574 Moved ...
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3577 Moved ...
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3579 ... here.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3581 Moved ...
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3584 Moved ...
3585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3587 Moved ...
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3590 Moved ...
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3595 Moved ...
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3598 Moved ...
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3601 Moved ...
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3603 ... here.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3605 Moved ...
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3607 ... here.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3609 Moved ...
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3611 ... here.
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3613 Moved ...
3614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3616 Moved ...
3617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3619 Moved ...
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3622 Moved ...
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3624 ... here.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3626 Moved ...
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3628 ... here.
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3630 Moved ...
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3632 ... here.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3634 Moved ...
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3637 Moved ...
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3639
e6d90d67
WD
36402014-06-23 Will Newton <will.newton@linaro.org>
3641 Wilco <wdijkstr@arm.com>
3642
3643 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3644 implementation. Include get-rounding-mode.h.
3645 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3646 [!libc_feholdsetround_noex_ctx]: Define
3647 libc_feholdsetround_noex_ctx.
3648 [!libc_feholdsetround_noexf_ctx]: Define
3649 libc_feholdsetround_noexf_ctx.
3650 [!libc_feholdsetround_noexl_ctx]: Define
3651 libc_feholdsetround_noexl_ctx.
3652 (libc_feholdsetround_ctx): New function.
3653 (libc_feresetround_ctx): New function.
3654 (libc_feholdsetround_noex_ctx): New function.
3655 (libc_feresetround_noex_ctx): New function.
3656
d42df555
RM
36572014-06-23 Roland McGrath <roland@hack.frob.com>
3658
88a46474
RM
3659 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3660 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3661 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3662 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3663 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3664 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3665
15bed472
RM
3666 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3667 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3668 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3669 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3670 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3671 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3673 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3675 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3677 Moved ...
3678 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3679 ... here.
3680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3681 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3685 Moved ...
3686 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3688 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3692 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3694 Moved ...
3695 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3696 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3697 Moved ...
3698 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3700 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3702 Moved ...
3703 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3704 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3705 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3706 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3707 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3708 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3709 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3711 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3713 Moved ...
3714 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3715 ... here.
3716 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3717 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3718 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3719 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3720 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3721 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3723 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3727 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3728 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3729 Moved ...
3730 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3731 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3732 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3736 Moved ...
3737 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3738 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3739 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3740 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3741 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3742
d42df555
RM
3743 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3744 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3745 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3746 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3747 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3750 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3754 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3756 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3758 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3759 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3760 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3761 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3762 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3763 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3764 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3766 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3767 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3768 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3769 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3770 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3771
76e5216e
JM
37722014-06-23 Joseph Myers <joseph@codesourcery.com>
3773
3774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3775 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3776 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3777 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3778 (IPV6_PMTUDISC_INTERFACE): Likewise.
3779 (IPV6_PMTUDISC_OMIT): Likewise.
3780
7a81cbcc
AS
37812014-06-23 Andreas Schwab <schwab@suse.de>
3782
3783 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3784 Remove unused errout label.
3785
db224009
AZ
37862014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3787
3788 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3789 macro: hardware supports Vector Crypto instructions.
3790
f393b4aa
WN
37912014-06-23 Will Newton <will.newton@linaro.org>
3792
cc7d0447
WN
3793 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3794 rather than __builtin_expect.
3795
d6d06225
WN
3796 * elf/dl-lookup.c (undefined_msg): Remove variable.
3797 (_dl_lookup_symbol_x): Replace undefined_msg with string
3798 literal.
3799
f393b4aa
WN
3800 * elf/dl-lookup.c (do_lookup_unique): New function.
3801 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3802 to a separate function.
3803
ac60763e
AS
38042014-06-23 Andreas Schwab <schwab@suse.de>
3805
3806 [BZ #17079]
3807 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3808 before reading the next line.
3809
c5c13355
WN
38102014-06-23 Will Newton <will.newton@linaro.org>
3811
3812 * test-skeleton.c (signal_handler): Use printf and %m
3813 rather than perror. Use printf rather than fprintf to
3814 stderr. Use puts rather than fputs to stderr.
3815 (main): Likewise.
3816
bd3675f9
LC
38172014-06-22 Ludovic Courtès <ludo@gnu.org>
3818
3819 * nscd/nscd.c (thread_info_t): Remove typedef.
3820 (thread_info): Remove variable.
3821
d03efb2f
AM
38222014-06-21 Allan McRae <allan@archlinux.org>
3823
3824 * NEWS: Mention CVE-2014-4043.
3825
bc4a86fa
RM
38262014-06-20 Roland McGrath <roland@hack.frob.com>
3827
dc9a54f8
RM
3828 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3829 * nptl/smp.h: ... here.
3830
bd7022c4
RM
3831 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3832
26ffd5e6
RM
3833 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3834 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3835 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3836 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3837
93a6d082
RM
3838 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3839 * nptl/stack-aliasing.h: New file.
3840 * sysdeps/i386/i686/stack-aliasing.h: New file.
3841 * sysdeps/i386/i686/nptl/Makefile: File removed.
3842 * sysdeps/x86_64/stack-aliasing.h: New file.
3843 * sysdeps/x86_64/nptl/Makefile
3844 (CFLAGS-pthread_create.c): Variable removed.
3845
bc4a86fa
RM
3846 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3847 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3848 old file.
3849 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3850 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3851 old file.
3852
2272ffc1
JM
38532014-06-21 Joseph Myers <joseph@codesourcery.com>
3854
3855 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3856 (__ASSUME_SIGFRAME_V2): Remove macro.
3857 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3858 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3859 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3860 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3861 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3862 Declare as function. Remove conditional macro definitions.
3863 (__default_rt_sa_restorer): Likewise.
3864 (__default_sa_restorer_v1): Remove declaration.
3865 (__default_sa_restorer_v2): Likewise.
3866 (__default_rt_sa_restorer_v1): Likewise.
3867 (__default_rt_sa_restorer_v2): Likewise.
3868 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3869 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3870 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3871
4b88139b
RM
38722014-06-20 Roland McGrath <roland@hack.frob.com>
3873
3874 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3875 (libpthread-routines): Add sysdep.
3876 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3877 * sysdeps/unix/sysv/linux/sparc/Versions
3878 (libpthread: GLIBC_2.3.3): New version set.
3879 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3880 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3881 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3883 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3884 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3885 Moved ...
3886 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3887 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3888 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3889 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3890 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3891 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3892 * sysdeps/sparc/nptl/sem_init.c: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3894 * sysdeps/sparc/nptl/sem_post.c: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3896 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3898 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3900 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3901 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3902 (libpthread-routines): Add cpu_relax.
3903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3904 File removed.
3905 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3906 (librt: GLIBC_2.3.3): New version set.
3907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3908 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3909 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3910 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3913 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3915 Moved ...
3916 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3918 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3920 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3922 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3924 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3926 Moved ...
3927 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3928 Update #include.
3929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3930 Moved ...
3931 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3932 Update #include.
3933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3934 Moved ...
3935 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3936 Update #include.
3937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3938 Moved ...
3939 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3940 Update #include.
3941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3942 Moved ...
3943 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3944 Update #include.
3945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3946 Moved ...
3947 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3948 Update #include.
3949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3950 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3952 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3956 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3958 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3960 Moved ...
3961 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3963 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3965 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3966
d7109027
JM
39672014-06-20 Joseph Myers <joseph@codesourcery.com>
3968
9bc6103d
JM
3969 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3970 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3971 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3972 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3973 * nscd/nscd.c: Likewise.
3974 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3975 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3976 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3977 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3978
d7109027
JM
3979 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3980 <kernel-features.h>.
3981 (init_mq_netlink): Remove conditional have_sock_cloexec
3982 definitions. Remove code conditional on have_sock_cloexec < 0.
3983 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3984 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3985 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3986 <kernel-features.h>.
3987 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3988 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3989
d92d8f8a
L
39902014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3991
3992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3993 Add tests for memset_chk and memset.
3994
3995 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3996 with AVX2_Usable.
3997
4e6d2347
MR
39982014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3999
257ce712
MR
4000 [BZ #16046]
4001 * elf/tst-dl-iter-static.c: New file.
4002 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4003
4e6d2347
MR
4004 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4005 error.
4006
a2a76afe
JM
40072014-06-20 Joseph Myers <joseph@codesourcery.com>
4008
7fd00f99
JM
4009 * sysdeps/unix/sysv/linux/kernel-features.h
4010 (__ASSUME_F_GETOWN_EX): Remove macro.
4011 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4012 <kernel-features.h>.
4013 (miss_F_GETOWN_EX): Remove variable or macro.
4014 (do_fcntl): Do not check miss_F_GETOWN_EX.
4015 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4016
4a103975
JM
4017 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4018 Remove macro.
4019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4020 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4021 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4022
a2a76afe
JM
4023 * sysdeps/unix/sysv/linux/kernel-features.h
4024 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4025 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4026 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4027 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4028
90e5dd48
MR
40292014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4030
4031 [BZ #17075]
4032 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4033 Fix calculation of the symbol's value.
4034 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4035 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4036 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4037 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4038 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4039 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4040 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4041 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4042 (modules-names): Add `tst-armtlsdescmod',
4043 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4044 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4045 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4046 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4047 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4048 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4049 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4050 ($(objpfx)tst-armtlsdescloc): New dependency.
4051 ($(objpfx)tst-armtlsdescextnow): Likewise.
4052 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4053 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4054 TLS scheme support.
4055 * sysdeps/arm/configure: Regenerate.
4056
809fdf0d
JM
40572014-06-20 Joseph Myers <joseph@codesourcery.com>
4058
4059 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4060 (__atfct_seterrno_2): Likewise.
4061 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4062 <kernel-features.h>.
4063 (__ASSUME_ATFCTS): Do not undefine and redefine.
4064 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4065 (__have_atfcts): Remove conditional definition.
4066 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4067 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4068 unreachable if [__ASSUME_ATFCTS].
4069 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4070 not undefine and redefine.
4071 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4072 <kernel-features.h>.
4073 (faccessat) [__NR_faccessat]: Make code unconditional.
4074 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4075 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4076 <kernel-features.h>.
4077 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4078 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4079 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4080 <kernel-features.h>.
4081 (fchownat) [__NR_fchownat]: Make code unconditional.
4082 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4083 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4084 <kernel-features.h>.
4085 (futimesat) [__NR_futimesat]: Make code unconditional.
4086 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4087 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4088 <kernel-features.h>.
4089 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4090 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4091 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4092 <kernel-features.h>.
4093 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4094 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4095 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4096 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4097 <kernel-features.h>.
4098 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4099 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4100 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4101 <kernel-features.h>.
4102 (linkat) [__NR_linkat]: Make code unconditional.
4103 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4104 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4105 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4106 <kernel-features.h>.
4107 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4108 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4109 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4110 <kernel-features.h>.
4111 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4112 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4113 * sysdeps/unix/sysv/linux/openat.c: Do not include
4114 <kernel-features.h>.
4115 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4116 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4117 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4118 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4119 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4120 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4121 <kernel-features.h>.
4122 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4123 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4124 result of INLINE_SYSCALL directly, not via int variable.
4125 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4126 <kernel-features.h>.
4127 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4128 (renameat) [__NR_renameat]: Make code unconditional.
4129 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4130 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4131 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4133 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4134 (__ASSUME_ATFCTS): Do not undefine and redefine.
4135 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4136 <kernel-features.h>.
4137 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4138 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4139 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4140 <kernel-features.h>.
4141 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4142 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4143 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4144 (__ASSUME_ATFCTS): Do not undefine and redefine.
4145 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4146 <kernel-features.h>.
4147 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4148 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4149 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4150 <kernel-features.h>.
4151 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4152 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4153
224c6c51
L
41542014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4155
4156 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4157
aa6ec754
AS
41582014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4159
4160 [BZ #17069]
4161 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4162 constructed tree before returning error.
4163 * posix/bug-regexp36.c: Expand test case.
4164
d8c2869d
SL
41652014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4166
3ef6b850
SL
4167 [BZ #6803]
4168 * math/libm-test.inc (scalbln_test_date):
4169 Add errno expectations.
4170 * math/w_scalblnf.c: New File.
4171 Add wrapper which checks for setting errno to ERANGE.
4172 Add weak_alias for corresponding scalbln function.
4173 * math/w_scalbln.c: Likewise.
4174 * math/w_scalblnl.c: Likewise.
4175 * math/Makefile (libm-calls): Add w_scalbln.
4176 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4177 Remove weak_alias for corresponding scalbln function.
4178 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4182 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4183 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4184 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4185 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4186 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4187 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4188 Remove long_double_symbol for scalblnl function in libm, libc.
4189 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4190 Add wrapper which checks for setting errno to ERANGE.
4191 Add long_double_symbol for scalblnl function in libm, libc.
4192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4193 Remove long_double_symbol for scalblnl in libm.
4194 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4195 Add wrapper which checks for setting errno to ERANGE.
4196 Add long_double_symbol for scalblnl function in libm.
4197 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4198 Do not use wrapper because of own implementation.
4199
c8daec5c
L
42002014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4201
4202 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4203 3 bytes for __pad1 for x32.
4204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4205
5c74e47c
LM
42062014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4207 H.J. Lu <hongjiu.lu@intel.com>
4208
4209 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4210 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4211 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4212 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4213 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4214
4d43ef1e
AS
42152014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4216
4217 [BZ #17069]
4218 * posix/regcomp.c (parse_expression): Deallocate partially
4219 constructed tree before returning error.
4220 * posix/Makefile.c (tests): Add bug-regex36.
4221 (generated): Add bug-regex36.mtrace.
4222 (tests-special): Add $(objpfx)bug-regex36-mem.out
4223 (bug-regex36-ENV): New variable.
4224 ($(objpfx)bug-regex36-mem.out): New rule.
4225 * posix/bug-regex36.c: New file.
4226
51a7380b
WN
42272014-06-19 Will Newton <will.newton@linaro.org>
4228
4229 * malloc/malloc.c (systrim): If extra is zero then return
4230 early.
4231
91b84fe5
SP
42322014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4233
4234 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4235
f940b965
RE
42362014-06-19 Richard Earnshaw <rearnsha@arm.com>
4237
4238 * sysdeps/aarch64/strchr.S: New file.
4239
4ba7a00f
JM
42402014-06-18 Joseph Myers <joseph@codesourcery.com>
4241
4242 [BZ #17022]
4243 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4244 from arguments -2 or below.
4245 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4246 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4247
b3a9f56b
AS
42482014-06-18 Andreas Schwab <schwab@suse.de>
4249
4250 [BZ #17062]
4251 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4252 of a bracket expr not to run off the end of the string.
4253 * posix/Makefile (tests): Add tst-fnmatch3.
4254 * posix/tst-fnmatch3.c: New file.
4255
85d89278
JM
42562014-06-18 Joseph Myers <joseph@codesourcery.com>
4257
4258 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4259 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4260 [$(cross-compiling) = no]: Likewise.
4261 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4262 [$(cross-compiling) = no]: Likewise.
4263
754c5a08
RS
42642014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4265
4266 [BZ #17031]
4267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4268 double, adjusted for any remainder from the high double.
4269 * math/libm-test.inc (nearbyint): Add tests.
4270 (rint): Likewise.
4271
556f529d
AZ
42722014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4273
4274 * nptl/sysdeps/powerpc/Makefile: Moved ...
4275 * sysdeps/powerpc/nptl/Makefile: ... here.
4276 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4277 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4278 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4279 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4280 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4281 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4282 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4283 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4284 * nptl/sysdeps/powerpc/tls.h: Moved ...
4285 * sysdeps/powerpc/nptl/tls.h: ... here.
4286
91c03c53
JM
42872014-06-16 Joseph Myers <joseph@codesourcery.com>
4288
4289 [BZ #16681]
4290 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4291 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4292 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4293 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4294 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4295 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4296 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4297 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4298 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4299
a76e63c5
AS
43002014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4301
4302 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4303
f2f6d82f
AS
43042014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4305
ea8a15f6
AS
4306 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4307 defined operator.
4308
f2f6d82f
AS
4309 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4310 $TIMEOUTFACTOR.
4311
a7291117
FW
43122014-06-16 Florian Weimer <fweimer@redhat.com>
4313
4314 [BZ #17058]
4315 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4316 non-executed part of the test.
4317
3d7c00e3
AS
43182014-06-16 Andreas Schwab <schwab@suse.de>
4319
4320 * string/bits/string2.h (strdup, strndup): Update feature guard.
4321
6957fb31
DM
43222014-06-14 David S. Miller <davem@davemloft.net>
4323
4324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4325
11b9e55b
AS
43262014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4327
1d2a0492
AS
4328 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4329 that was previously under [RESET_PID].
4330 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4331
11b9e55b
AS
4332 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4333 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4334 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4335 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4336 (__libc_vfork): New strong alias.
4337 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4338
0f6901d0
AK
43392014-06-14 Andi Kleen <ak@linux.intel.com>
4340
4341 * sysdeps/generic/elide.h: New file.
4342
38bbbb9f
SL
43432014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4344
4345 * Makefile (installed-headers): Adjust path of pthread.h header.
4346
45193bb8
RM
43472014-06-13 Roland McGrath <roland@hack.frob.com>
4348
9a25fd1e
RM
4349 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4350 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4351 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4352 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4353
4004f7e4
RM
4354 * nptl/sysdeps/s390/Makefile: Moved ...
4355 * sysdeps/s390/nptl/Makefile: ... here.
4356 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4357 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4358 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4359 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4360 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4361 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4362 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4363 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4364 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4365 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4366 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4367 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4368 * nptl/sysdeps/s390/tls.h: Moved ...
4369 * sysdeps/s390/nptl/tls.h: ... here.
4370
45193bb8
RM
4371 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4372 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4373
f6fdf533
DM
43742014-06-13 David S. Miller <davem@davemloft.net>
4375
4376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4379 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4384 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4385 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4386 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4387 Remove RESET_PID cpp guards.
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4389 Remove RESET_PID cpp guards.
4390 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4391
f5d71e14
AS
43922014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4393
4394 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4395 __sp to uintptr_t.
4396
b7aa8caa
AK
43972014-06-13 Andi Kleen <ak@linux.intel.com>
4398
4b266200
AZ
4399 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4403 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4407 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4408 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4409 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
4419
4420 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
4421 (pthread_rwlock_rdlock): Add elision.
4422 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4423 (pthread_rwlock_wrlock): Add elision.
4424 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4425 (pthread_rwlock_trywrlock): Add elision.
4426 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4427 (pthread_rwlock_tryrdlock): Add elision.
4428 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4429 (pthread_rwlock_tryrdlock): Add elision unlock.
4430 * nptl/sysdeps/pthread/pthread.h:
4431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4432 (PTHREAD_RWLOCK_INITIALIZER,
4433 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4434 Handle new elision field.
4435 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4436 * sysdeps/arm/nptl/bits/pthreadtypes.h
4437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4438 * sysdeps/sh/nptl/bits/pthreadtypes.h
4439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4440 * sysdeps/tile/nptl/bits/pthreadtypes.h
4441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4442 * sysdeps/a/nptl/bits/pthreadtypes.h
4443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4444 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4446 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4447 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4448 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4449 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4450 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4452 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4453 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4454 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4455 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4456 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4457 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4458 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4459 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4460 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4461 (elision_init): Set try_xbegin to zero when no RTM.
4462 * sysdeps/x86/nptl/bits/pthreadtypes.h
4463 (pthread_rwlock_t): Change __pad1 to __rwelision.
4464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 4465
a832bdd3
AK
44662014-06-13 Andi Kleen <ak@linux.intel.com>
4467
4468 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4469 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4470 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4471 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4472
995a46bb
MI
44732014-06-13 Meador Inge <meadori@codesourcery.com>
4474
4475 [BZ #16996]
03ed7738 4476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
4477 that the cached result has been set before returning it.
4478
45262aee
RM
44792014-06-12 Roland McGrath <roland@hack.frob.com>
4480
febf6cc5
RM
4481 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4482 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4483 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4484 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4485 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4486 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4487
e2682246
RM
4488 * nptl/sysdeps/sparc/Makefile: Moved ...
4489 * sysdeps/sparc/nptl/Makefile: ... here.
4490 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4491 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4492 * nptl/sysdeps/sparc/tls.h: Moved ...
4493 * sysdeps/sparc/nptl/tls.h: ... here.
4494 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4495 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4496 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4497 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4498 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4499 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4500 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4501 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4502 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4503 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4504 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4505 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4506 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4507 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4508 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4509 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4510 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4512 Update #include.
4513 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4514 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4515 Update #include.
4516 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4517 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4518 Update #include.
4519 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4520 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4521 Update #include.
4522
b0725f43
RM
4523 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4524
b14368b8
RM
4525 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4526 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4527
c5620eb3
RM
4528 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4529 (struct list_links): Type removed.
4530 (struct thread_node, struct timer_node): Replace struct list_links
4531 with struct list_head.
4532 (list_unlink_ip): Likewise.
4533 * sysdeps/pthread/timer_routines.c
4534 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4535 (list_append, list_insbefore): Likewise.
4536 (list_init): Function removed.
4537 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
4538 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4539 * sysdeps/pthread/Makefile: ... here, new file.
4540
4541 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4542 * sysdeps/nptl/Implies: ... here.
4543 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4544 * nptl/sysdeps/pthread/list.h: Moved ...
4545 * include/list.h: ... here.
4546 * nptl/sysdeps/pthread/createthread.c: Moved ...
4547 * nptl/createthread.c: ... here.
4548 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4549 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4550 * nptl/pt-longjmp.c: ... here.
4551 * nptl/sysdeps/pthread/Makefile: Moved ...
4552 * sysdeps/nptl/Makefile: ... here.
4553 * nptl/sysdeps/pthread/Subdirs: Moved ...
4554 * sysdeps/nptl/Subdirs: ... here.
4555 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4556 * sysdeps/nptl/aio_misc.h: ... here.
4557 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4558 * sysdeps/nptl/bits/libc-lock.h: ... here.
4559 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4560 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4561 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4562 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4563 * nptl/sysdeps/pthread/configure: Moved ...
4564 * sysdeps/nptl/configure: ... here.
4565 * nptl/sysdeps/pthread/configure.ac: Moved ...
4566 * sysdeps/nptl/configure.ac: ... here.
4567 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4568 * sysdeps/nptl/gai_misc.h: ... here.
4569 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4570 * sysdeps/nptl/librt-cancellation.c: ... here.
4571 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4572 * sysdeps/nptl/malloc-machine.h: ... here.
4573 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4574 * sysdeps/nptl/pthread-functions.h: ... here.
4575 * nptl/sysdeps/pthread/pthread.h: Moved ...
4576 * sysdeps/nptl/pthread.h: ... here.
4577 * nptl/sysdeps/pthread/setxid.h: Moved ...
4578 * sysdeps/nptl/setxid.h: ... here.
4579 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4580 * sysdeps/nptl/sigfillset.c: ... here.
4581 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4582 * sysdeps/nptl/tcb-offsets.h: ... here.
4583 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4584 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4585 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4586 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4587 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4588 * sysdeps/pthread/allocalim.h: ... here.
4589 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4590 * sysdeps/pthread/bits/sigthread.h: ... here.
4591 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4592 * sysdeps/pthread/flockfile.c: ... here.
4593 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4594 * sysdeps/pthread/ftrylockfile.c: ... here.
4595 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4596 * sysdeps/pthread/funlockfile.c: ... here.
4597 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4598 * sysdeps/pthread/posix-timer.h: ... here.
4599 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4600 * sysdeps/pthread/timer_create.c: ... here.
4601 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4602 * sysdeps/pthread/timer_delete.c: ... here.
4603 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4604 * sysdeps/pthread/timer_getoverr.c: ... here.
4605 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4606 * sysdeps/pthread/timer_gettime.c: ... here.
4607 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4608 * sysdeps/pthread/timer_routines.c: ... here.
4609 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4610 * sysdeps/pthread/timer_settime.c: ... here.
4611 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4612 * sysdeps/pthread/tst-timer.c: ... here.
4613 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4614 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4615
e876b090
RM
4616 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4617 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4618
f6b07b3d
RM
4619 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4620 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4621 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4622 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4623 Update #include target.
4624 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4625 * sysdeps/i386/i686/nptl/Makefile: ... here.
4626 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4627 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4628 Update #include target.
4629 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4630 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4631 * nptl/sysdeps/i386/Makefile: Moved ...
4632 * sysdeps/i386/nptl/Makefile: ... here.
4633 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4634 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4635 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4636 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4637 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4638 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4639 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4640 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4641 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4642 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4643 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4644 * nptl/sysdeps/i386/tls.h: Moved ...
4645 * sysdeps/i386/nptl/tls.h: ... here.
4646
45262aee
RM
4647 * sysdeps/sh/Makefile [$(subdir) = csu]
4648 (gen-as-const-headers): Add tcb-offsets.sym.
4649 * nptl/sysdeps/sh/Makefile: File removed.
4650 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4651 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4652 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4653 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4654 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4655 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4656 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4657 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4658 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4659 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4660 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4661 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4662 * nptl/sysdeps/sh/tls.h: Moved ...
4663 * sysdeps/sh/nptl/tls.h: ... here.
4664 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4665 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4666 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4667 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4668 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4669 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4671 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4673 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4675 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4676 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4677 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4678 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4679 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4681 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4682 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4683 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4684 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4685 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4686 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4687 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4688 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4689 Moved ...
4690 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4691 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4692 Moved ...
4693 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4695 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4696 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4697 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4698 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4699 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4700 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4701 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4702 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4703 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4704 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4705 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4706 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4707 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4708 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4709 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4710 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4711 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4712
35a5e3e3
SL
47132014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4714
4715 * posix/spawn_faction_addopen.c: Include string.h.
4716
14642b85
RM
47172014-06-11 Roland McGrath <roland@hack.frob.com>
4718
4719 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4720 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4721 * nptl/sysdeps/x86_64/Makefile: Moved ...
4722 * sysdeps/x86_64/nptl/Makefile: ... here.
4723 * nptl/sysdeps/x86_64/configure: Moved ...
4724 * sysdeps/x86_64/nptl/configure: ... here.
4725 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4726 * sysdeps/x86_64/nptl/configure.ac: ... here.
4727 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4728 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4729 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4730 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4731 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4732 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4733 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4734 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4735 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4736 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4737 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4738 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4739 * nptl/sysdeps/x86_64/tls.h: Moved ...
4740 * sysdeps/x86_64/nptl/tls.h: ... here.
4741 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4742 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4743 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4744 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4745
4746 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4747
31c44fea
AZ
47482014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4749
4750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4751
e81a4f9a
JM
47522014-06-11 Joseph Myers <joseph@codesourcery.com>
4753
4754 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4755 type.
4756 [POSIX] (off_t): Likewise.
4757 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4758 [POSIX] (S_ISBLK): Require macro.
4759 [POSIX] (S_ISCHR): Likewise.
4760 [POSIX] (S_ISDIR): Likewise.
4761 [POSIX] (S_ISFIFO): Likewise.
4762 [POSIX] (S_ISREG): Likewise.
4763 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4764 optional-macro.
4765 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4766 type.
4767 [POSIX] (time_t): Likewise.
4768 [POSIX] (timer_t): Likewise.
4769
89e435f3
FW
47702014-06-11 Florian Weimer <fweimer@redhat.com>
4771
4772 [BZ #17048]
4773 * posix/spawn_int.h (struct __spawn_action): Make the path string
4774 non-const to support deallocation.
4775 * posix/spawn_faction_addopen.c
4776 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4777 * posix/spawn_faction_destroy.c
4778 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4779 path in all spawn_do_open actions.
4780 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4781 posix_spawn_file_actions_addopen.
4782
c3a2ebe1
CM
47832014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4784
4785 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4786 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4787 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4788 conditional code always true.
4789 (__libc_vfork): New alias.
4790
9503784a
RM
47912014-06-11 Roland McGrath <roland@hack.frob.com>
4792
c9cab3d2
RM
4793 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4794 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4795
d3996c79
RM
4796 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4797
ba5ec611
RM
4798 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4799 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4800
f12b4814
RM
4801 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4802 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4803
9503784a
RM
4804 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4805 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4806
e23d3d26
VR
48072014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4808
4809 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4810 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4811 multiarch strcmp for PPC64.
4812 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4815 multiarch optimizations.
4816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4817 (__libc_ifunc_impl_list): Likewise.
4818
42b1161e
SP
48192014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4820
4821 * benchtests/scripts/validate_benchout.py: New script.
4822 * benchtests/Makefile (bench-func): Call it.
4823 * benchtests/scripts/benchout.schema.json: New file.
4824
2d0fc4dc
CM
48252014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4826
4a594c34
AZ
4827 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4828 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4829 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4830 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4831 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4832 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4833 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4834 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4835 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4836 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4837 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4838 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4839 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4840 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4841 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4842 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4844 Moved ...
4a594c34 4845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4846 ... here.
4a594c34 4847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4848 Moved ...
4a594c34
AZ
4849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4851 Moved ...
4a594c34 4852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4853 ... here.
4a594c34 4854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4855 Moved ...
4a594c34 4856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4857 ... here.
4a594c34 4858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4859 Moved ...
4a594c34
AZ
4860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4862 Moved ...
4a594c34 4863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4864 ... here.
4a594c34 4865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4866 Moved ...
4a594c34 4867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4868 ... here.
4a594c34 4869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4870 Moved ...
4a594c34
AZ
4871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4873 Moved ...
4a594c34 4874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4875 ... here.
4a594c34 4876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4877 Moved ...
4a594c34 4878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4879 ... here.
4a594c34 4880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4881 Moved ...
4a594c34 4882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4883 ... here.
4a594c34 4884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4885 Moved ...
4a594c34
AZ
4886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4888 Moved ...
4a594c34 4889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4890 ... here.
4a594c34 4891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4892 Moved ...
4a594c34 4893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4894 ... here.
4a594c34 4895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4896 Moved ...
4a594c34 4897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4898 ... here.
4a594c34 4899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4900 Moved ...
4a594c34
AZ
4901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4903 Moved ...
4a594c34 4904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4905 ... here.
4a594c34 4906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4907 Moved ...
4a594c34 4908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4909 ... here.
4a594c34 4910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4911 Moved ...
4a594c34
AZ
4912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4914 Moved ...
4a594c34 4915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4916 ... here.
4a594c34 4917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4918 Moved ...
4a594c34
AZ
4919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4921 Moved ...
4a594c34
AZ
4922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4924 Moved ...
4a594c34 4925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4926 ... here.
4a594c34 4927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4928 Moved ...
4a594c34 4929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4930 ... here.
4a594c34 4931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4932 Moved ...
4a594c34 4933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4934 ... here.
4a594c34 4935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4936 Moved ...
4a594c34
AZ
4937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4939 Moved ...
4a594c34 4940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4941 ... here.
4a594c34 4942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4943 Moved ...
4a594c34 4944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4945 ... here.
4a594c34
AZ
4946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4947 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4949 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4951 Moved ...
4a594c34 4952 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4953 ... here.
4a594c34
AZ
4954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4955 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4956 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4957 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4958 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4959 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4961 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4962 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4963 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4964 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4965 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4966 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4967 Moved ...
4a594c34
AZ
4968 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4969 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4970 Moved ...
4a594c34
AZ
4971 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4972 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4973 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4975 Moved ...
4a594c34
AZ
4976 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4978 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4980 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4981 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4982 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4983
0570cfed
W
49842014-06-10 Wilco <wdijkstr@arm.com>
4985
4986 * math/test-fenv-return.c: New file.
4987 * math/Makefile: Add new test test-fenv-return.
4988
f8ba1b56
JM
49892014-06-10 Joseph Myers <joseph@codesourcery.com>
4990
4991 [BZ #17042]
4992 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4993 when x - 1 is zero.
4994 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4995 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4996 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4997 0.0L for an argument of 1.0L.
4998 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4999 Likewise.
5000 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5001 value when x - 1 is zero.
5002 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5003 * sysdeps/i386/fpu/libm-test-ulps: Update.
5004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5005
2c3520d9
BO
50062014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5007
5008 [BZ #15119]
5009 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5010
acaa4d24
RM
50112014-06-09 Roland McGrath <roland@hack.frob.com>
5012
5013 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5014 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5015
962b744d
RM
50162014-06-09 Roland McGrath <roland@hack.frob.com>
5017
d752f0cc
RM
5018 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5019 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5020
34eda6d1
RM
5021 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5022 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5023
50f0a637
RM
5024 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5025 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5026
08f41f04
RM
5027 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5028 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5029
962b744d
RM
5030 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5031 if not already defined.
5032 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5033 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5034 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5035 (TLS_INIT_TP): Use it.
5036 (TLS_DEFINE_INIT_TP): New macro.
5037 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5038
09f19b05
JM
50392014-06-09 Joseph Myers <joseph@codesourcery.com>
5040
5041 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5042 constant.
5043 [POSIX] (IXANY): Likewise.
5044 [POSIX] (OLCUC): Likewise.
5045 [POSIX || POSIX2008] (CBAUD): Do not allow.
5046 [POSIX || POSIX2008] (DEFECHO): Likewise.
5047 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5048 [POSIX || POSIX2008] (ECHOKE): Likewise.
5049 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5050 [POSIX || POSIX2008] (EXTA): Likewise.
5051 [POSIX || POSIX2008] (EXTB): Likewise.
5052 [POSIX || POSIX2008] (FLUSHO): Likewise.
5053 [POSIX || POSIX2008] (LOBLK): Likewise.
5054 [POSIX || POSIX2008] (PENDIN): Likewise.
5055 [POSIX || POSIX2008] (SWTCH): Likewise.
5056 [POSIX || POSIX2008] (VDISCARD): Likewise.
5057 [POSIX || POSIX2008] (VDSUSP): Likewise.
5058 [POSIX || POSIX2008] (VLNEXT): Likewise.
5059 [POSIX || POSIX2008] (VREPRINT): Likewise.
5060 [POSIX || POSIX2008] (VSTATUS): Likewise.
5061 [POSIX || POSIX2008] (VWERASE): Likewise.
5062 (B*): Change to B[0123456789]*.
5063 * conform/data/time.h-data [POSIX || UNIX98]
5064 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5065 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5066 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5067 [POSIX] (tm_*): Do not allow.
5068
686554bf
JM
50692014-06-07 Joseph Myers <joseph@codesourcery.com>
5070
5071 * Makefile (install): Don't set LANGUAGE.
5072 * Makefile.in (install): Likewise.
5073 * assert/Makefile (test-assert-ENV): Remove variable.
5074 (test-assert-perr-ENV): Likewise.
5075 * elf/Makefile (neededtest4-ENV): Likewise.
5076 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5077 [$(cross-compiling) = no]: Don't set LANGUAGE.
5078 * io/ftwtest-sh (LANG): Remove variable.
5079 * libio/Makefile (tst-widetext-ENV): Likewise.
5080 * manual/install.texi (Running make install): Don't refer to
5081 environment settings for make install.
5082 * INSTALL: Regenerated.
5083 * nptl/tst-tls6.sh: Don't set LANG.
5084 * posix/globtest.sh (LANG): Remove variable.
5085 * string/Makefile (tester-ENV): Likewise.
5086 (inl-tester-ENV): Likewise.
5087 (noinl-tester-ENV): Likewise.
5088 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5089 [$(cross-compiling) = no]: Don't set LANGUAGE.
5090 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5091 without explicit environment settings.
5092
68e6b6b1
RM
50932014-06-06 Roland McGrath <roland@hack.frob.com>
5094
5095 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5096 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5097 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5098 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5099
4d3ae034
CM
51002014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5101
5102 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5103 other files in the crypt directory.
5104 * crypt/crypt.c: Remove duplicate includes.
5105 * crypt/crypt-entry.c: Likewise.
5106 * crypt/crypt_util.c: Likewise.
5107
8540f6d2
JM
51082014-06-06 Joseph Myers <joseph@codesourcery.com>
5109
5110 * Makeconfig (run-program-env): New variable.
5111 (run-program-prefix-before-env): Likewise.
5112 (run-program-prefix-after-env): Likewise.
5113 (run-program-prefix): Define in terms of new variables.
5114 (built-program-cmd-before-env): New variable.
5115 (built-program-cmd-after-env): Likewise.
5116 (built-program-cmd): Define in terms of new variables.
5117 (test-program-prefix-before-env): New variable.
5118 (test-program-prefix-after-env): Likewise.
5119 (test-program-prefix): Define in terms of new variables.
5120 (test-program-cmd-before-env): New variable.
5121 (test-program-cmd-after-env): Likewise.
5122 (test-program-cmd): Define in terms of new variables.
5123 * Rules (make-test-out): Use $(run-program-env).
5124 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5125 (help): Do not mention environment variables. Mention
5126 --timeoutfactor option.
5127 (timeoutfactor): New variable.
5128 (blacklist_exports): Remove function.
5129 (exports): Remove variable.
5130 (command): Do not include ${exports}.
5131 * manual/install.texi (Configuring and compiling): Do not mention
5132 test wrappers preserving environment variables. Mention that last
5133 assignment to a variable must take precedence.
5134 * INSTALL: Regenerated.
5135 * benchtests/Makefile (run-bench): Use $(run-program-env).
5136 * catgets/Makefile ($(objpfx)test1.cat): Use
5137 $(built-program-cmd-before-env), $(run-program-env) and
5138 $(built-program-cmd-after-env).
5139 ($(objpfx)test2.cat): Do not specify environment variables
5140 explicitly.
5141 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5142 $(run-program-env) and $(built-program-cmd-after-env).
5143 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5144 $(run-program-env) and $(test-program-cmd-after-env).
5145 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5146 explicitly.
5147 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5148 run_program_env and test_program_cmd_after_env arguments.
5149 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5150 * elf/tst-pathopt.sh: Use run_program_env argument.
5151 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5152 $(test-wrapper-env) and $(run-program-env).
5153 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5154 run_program_env arguments.
5155 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5156 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5157 $(test-program-prefix-before-env), $(run-program-env) and
5158 $(test-program-prefix-after-env).
5159 ($(objpfx)tst-gettext2.out): Likewise.
5160 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5161 run_program_env and test_program_prefix_after_env arguments.
5162 * intl/tst-gettext2.sh: Likewise.
5163 * intl/tst-gettext4.sh: Do not set environment variables
5164 explicitly.
5165 * intl/tst-gettext6.sh: Likewise.
5166 * intl/tst-translit.sh: Likewise.
5167 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5168 $(test-program-prefix-before-env), $(run-program-env) and
5169 $(test-program-prefix-after-env).
5170 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5171 run_program_env and test_program_prefix_after_env arguments.
5172 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5173 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5174 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5175 explicitly with each use of ${test_wrapper_env}.
5176 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5177 $(test-program-prefix-before-env), $(run-program-env) and
5178 $(test-program-prefix-after-env).
5179 * posix/tst-getconf.sh: Do not set environment variables
5180 explicitly.
5181 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5182 run_program_env and test_program_prefix_after_env arguments.
5183 * stdio-common/tst-printf.sh: Do not set environment variables
5184 explicitly.
5185 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5186 $(test-program-prefix-before-env), $(run-program-env) and
5187 $(test-program-prefix-after-env).
5188 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5189 run_program_env and test_program_prefix_after_env arguments.
5190 Split $test calls into $test_pre and $test.
5191 * timezone/Makefile (build-testdata): Use
5192 $(built-program-cmd-before-env), $(run-program-env) and
5193 $(built-program-cmd-after-env).
5194
ed36bfa1
AZ
51952014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5196
5197 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5198 strlen for non SHARED builds.
5199
fc75bf46
SP
52002014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5201
5202 * nptl/allocatestack.c (check_list): Inlined function...
5203 (__reclaim_stacks): ... here.
5204
d89b3d80
OB
52052014-06-05 Ondřej Bílka <neleai@seznam.cz>
5206
5207 [BZ #15698]
5208 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5209 memory overrun.
5210
2bf18041
JM
52112014-06-05 Joseph Myers <joseph@codesourcery.com>
5212
5213 * Rules (make-test-out): Include
5214 LOCPATH=$(common-objpfx)localedata in default environment.
5215 * debug/Makefile (tst-chk1-ENV): Remove variable.
5216 (tst-chk2-ENV): Likewise.
5217 (tst-chk3-ENV): Likewise.
5218 (tst-chk4-ENV): Likewise.
5219 (tst-chk5-ENV): Likewise.
5220 (tst-chk6-ENV): Likewise.
5221 (tst-lfschk1-ENV): Likewise.
5222 (tst-lfschk2-ENV): Likewise.
5223 (tst-lfschk3-ENV): Likewise.
5224 (tst-lfschk4-ENV): Likewise.
5225 (tst-lfschk5-ENV): Likewise.
5226 (tst-lfschk6-ENV): Likewise.
5227 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5228 (tst-iconv7-ENV): Likewise.
5229 * intl/Makefile (LOCPATH-ENV): Likewise.
5230 (tst-codeset-ENV): Likewise.
5231 (tst-gettext3-ENV): Likewise.
5232 (tst-gettext5-ENV): Likewise.
5233 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5234 (tst-fopenloc-ENV): Likewise.
5235 (tst-fgetws-ENV): Remove variable.
5236 (tst-ungetwc1-ENV): Likewise.
5237 (tst-ungetwc2-ENV): Likewise.
5238 (bug-ungetwc2-ENV): Likewise.
5239 (tst-swscanf-ENV): Likewise.
5240 (bug-ftell-ENV): Likewise.
5241 (tst-fgetwc-ENV): Likewise.
5242 (tst-fseek-ENV): Likewise.
5243 (tst-ftell-partial-wide-ENV): Likewise.
5244 (tst-ftell-active-handler-ENV): Likewise.
5245 (tst-ftell-append-ENV): Likewise.
5246 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5247 (tst-regexloc-ENV): Likewise.
5248 (bug-regex1-ENV): Likewise.
5249 (tst-regex-ENV): Likewise.
5250 (tst-regex2-ENV): Likewise.
5251 (bug-regex5-ENV): Likewise.
5252 (bug-regex6-ENV): Likewise.
5253 (bug-regex17-ENV): Likewise.
5254 (bug-regex18-ENV): Likewise.
5255 (bug-regex19-ENV): Likewise.
5256 (bug-regex20-ENV): Likewise.
5257 (bug-regex22-ENV): Likewise.
5258 (bug-regex23-ENV): Likewise.
5259 (bug-regex25-ENV): Likewise.
5260 (bug-regex26-ENV): Likewise.
5261 (bug-regex30-ENV): Likewise.
5262 (bug-regex32-ENV): Likewise.
5263 (bug-regex33-ENV): Likewise.
5264 (bug-regex34-ENV): Likewise.
5265 (bug-regex35-ENV): Likewise.
5266 (tst-rxspencer-ENV): Likewise.
5267 (tst-rxspencer-no-utf8-ENV): Likewise.
5268 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5269 (tst-sscanf-ENV): Likewise.
5270 (tst-swprintf-ENV): Likewise.
5271 (tst-swscanf-ENV): Likewise.
5272 (test-vfprintf-ENV): Likewise.
5273 (scanf13-ENV): Likewise.
5274 (bug14-ENV): Likewise.
5275 (tst-grouping-ENV): Likewise.
5276 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5277 (tst-strtod3-ENV): Likewise.
5278 (tst-strtod4-ENV): Likewise.
5279 (tst-strtod5-ENV): Likewise.
5280 (testmb2-ENV): Likewise./
5281 * string/Makefile (tst-strxfrm-ENV): Likewise.
5282 (tst-strxfrm2-ENV): Likewise.
5283 (bug-strcoll1-ENV): Likewise.
5284 (test-strcasecmp-ENV): Likewise.
5285 (test-strncasecmp-ENV): Likewise.
5286 * time/Makefile (tst-strptime-ENV): Likewise.
5287 (tst-ftime_l-ENV): Likewise.
5288 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5289 (tst-mbrtowc-ENV): Likewise.
5290 (tst-wcrtomb-ENV): Likewise.
5291 (tst-mbrtowc2-ENV): Likewise.
5292 (tst-c16c32-1-ENV): Likewise.
5293 (tst-mbsnrtowcs-ENV): Likewise.
5294
cd1fb604
OB
52952014-06-05 Ondřej Bílka <neleai@seznam.cz>
5296
5297 * manual/resource.texi (How to get information about the memory
5298 subsystem?): Fix typo.
5299 Reported by Peon de la Parra Ivan <peon@keba.com>
5300
b42eca7d
GY
53012014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5302
5303 [BZ #16882]
5304 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5305 (pthread_spin_lock): Branch out of spin loop to proper location.
5306 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5307 (pthread_spin_lock): Likewise.
5308
902b71f9
DM
5309 * nptl/tst-spin4.c: New test.
5310 * nptl/Makefile (tests): Add tst-spin4.
5311
f9d2d032
AS
53122014-06-03 Andreas Schwab <schwab@suse.de>
5313
5314 [BZ #15946]
5315 * resolv/res_send.c (send_dg): Reload file descriptor after
5316 calling reopen.
5317
cf7bfd28
SL
53182014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5319
5320 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5321
111cc714
RH
53222014-06-03 Richard Henderson <rth@redhat.com>
5323
89b4bd6b
RH
5324 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5325 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5326 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5327 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5328 in the SAVE_PID block.
5329 (__libc_vfork): New alias.
71840409 5330 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5331
111cc714
RH
5332 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5333 child in registers, not on the stack. Remove RESET_PID conditionals.
5334 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5335
ccc39911
MS
53362014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5337
5338 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5339
693096cc
W
53402014-06-03 Wilco <wdijkstr@arm.com>
5341
5342 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5343 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5344 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5345 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5346 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5347 Likewise.
5348
0b4366bc
W
53492014-06-03 Wilco <wdijkstr@arm.com>
5350
5351 * sysdeps/aarch64/fpu/math_private.h
5352 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5353 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5354 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5355 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5356 Fix declarations.
5357
8747cd03
KS
53582014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5359
5360 * crypt/crypt-private.h: Include ufc-crypt.h.
5361 (__b64_from_24bit): Declare extern.
5362 * crypt/crypt_util.c(__b64_from_24bit): New function.
5363 (b64t): New static const variable.
5364 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5365 (b64t): Remove variable.
5366 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5367 * crypt/sha256-crypt.c: Include crypt-private.h.
5368 (b64t): Remove variable.
5369 (__sha256_crypt_r): Remove b64_from_24bit and replace
5370 with __b64_from_24bit.
5371 * crypt/sha512-crypt.c: Likewise.
5372
d936d379
RM
53732014-06-02 Roland McGrath <roland@hack.frob.com>
5374
5375 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5376 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5377 Label the code __libc_vfork rather than __vfork.
5378 [!NOT_IN_libc] (vfork): Define as weak alias.
5379 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5380 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5381 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5382
9fa76613
SP
53832014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5384
5385 * malloc/malloc.c (malloc_info): Fix format specifier for
5386 n_mmaps.
5387
a88dadbe
W
53882014-06-02 Wilco <wdijkstr@arm.com>
5389
5390 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5391 FPCR write.
5392
c95b3011
W
53932014-06-02 Wilco <wdijkstr@arm.com>
5394
5395 [BZ #17009]
5396 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5397 Rewrite to reduce FPCR/FPSR accesses.
5398
6b4d7a90
DM
53992014-06-01 David S. Miller <davem@davemloft.net>
5400
5401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5402
30f3d07c
DM
54032014-05-31 David S. Miller <davem@davemloft.net>
5404
5405 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5406 to occur in round to nearest mode when |x| >= 2.0
5407
74f31c18
RH
54082014-05-30 Richard Henderson <rth@twiddle.net>
5409
f0712b54
RH
5410 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5411 (PSEUDO_RET_NOERRNO): Remove.
5412 (ret): Don't redefine.
5413 (ret_NOERRNO): Define in terms of ret.
5414 (ret_ERRVAL): Likewise.
5415
74f31c18
RH
5416 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5417 use of PSEUDO_RET; perform the error check directly.
5418
30477995
MM
54192014-05-30 Marko Myllynen <myllynen@redhat.com>
5420
5421 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5422 with __int128_t.
5423
62a58816
SP
54242014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 * malloc/malloc (malloc_info): Fix formatting.
5427
4d653a59
SP
54282014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5429 Roland McGrath <roland@hack.frob.com>
5430
5431 * malloc/malloc (malloc_info): Also print mmapped statistics.
5432
5190c17f
RM
54332014-05-30 Roland McGrath <roland@hack.frob.com>
5434
5435 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5436 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5437
987c0269
OB
54382014-05-30 Ondřej Bílka <neleai@seznam.cz>
5439
5440 * malloc/malloc.c (malloc_info): Inline mi_arena.
5441
af4e8ef9
RH
54422014-05-29 Richard Henderson <rth@twiddle.net>
5443
1670e207
RH
5444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5445 Remove comma before expanding ASM_ARGS_##nr.
5446 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5447 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5448 of ASM_ARGS_##nr.
5449 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5450 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5451 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5452 (ASM_ARGS_1): Add leading comma.
5453
11a28aee
RH
5454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5455 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5456 to __errno_location.
5457 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5458 Remove the expected plt for __errno_location.
5459
a17e5ffb 5460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 5461 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
5462 call to __read_tp.
5463
b5be4597
RH
5464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5465 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5466 it and break it down.
5467 (DOCARGS_0, DOCARGS_1): Do nothing.
5468 (DOCARGS_2): Update to store into the new stack frame.
5469 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5470 (UNDOCARGS_1): Update to restore from the new stack frame.
5471 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5472 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5473
645d44ab
RH
5474 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5475 (SINGLE_THREAD_P): New parameter for result regno.
5476 (PSEUDO): Update to match; use cbz instead of beq.
5477
a8b4f04a
RH
5478 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5479 Use ENTRY to define the _nocancel entry point. Share the syscall
5480 and syscall error check paths with the cancel path.
5481 (PSEUDO_END): New.
5482
af4e8ef9
RH
5483 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5484 whitespace; tabs before and after asm mnemonics.
5485
26b0d2e1
EW
54862014-05-29 Eric Wong <normalperson@yhbt.net>
5487
5488 [BZ #15132]
5489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5490 Call fstat64 or stat64 internally, depending on arguments passed.
5491 Replace stat buffer argument with file descriptor argument.
5492 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5493 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5494 Pass fd to __internal_statvfs instead of calling fstat64.
5495 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5496 Pass fd to __internal_statvfs64 instead of calling fstat64.
5497 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5498 Pass -1 to __internal_statvfs instead of calling stat64.
5499 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5500 Pass -1 to __internal_statvfs64 instead of calling stat64.
5501
1efe2bd9
RM
55022014-05-28 Roland McGrath <roland@hack.frob.com>
5503
0d3b7a19
RM
5504 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5505 that was previously under [RESET_PID].
5506 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5507
1efe2bd9
RM
5508 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5509 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5510
a6bea3ca
RM
55112014-05-27 Roland McGrath <roland@hack.frob.com>
5512
30b6629e
RM
5513 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5514
a6bea3ca
RM
5515 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5516 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5517
3dfb9a5c
OB
55182014-05-27 Ondřej Bílka <neleai@seznam.cz>
5519
5520 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5521
774f9285
AS
55222014-05-27 Andreas Schwab <schwab@suse.de>
5523
5524 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5525 TLS_INIT_TP macro.
5526 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5527 * elf/rtld.c (init_tls, dl_main): Likewise.
5528 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5529 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5530 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5531 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5532 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5533 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5534 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5535 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5536 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5537 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5538 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5539 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5540 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5541 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5542 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5543 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5544 * sysdeps/generic/tls.h: Update description.
5545
36ffe739
WN
55462014-05-27 Will Newton <will.newton@linaro.org>
5547
5548 [BZ #16990]
5549 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5550 and restore r2 rather than just restoring.
5551
2482ae43
SP
55522014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5553
5554 [BZ #16724]
5555 * libio/tst-ftell-append.c: New test case.
5556 * libio/Makefile (tests): Add test case.
5557 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5558 append mode.
5559 * libio/wfileops.c (do_ftell_wide): Likewise.
5560
3d1024e8
AZ
55612014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5562
bab90016
AZ
5563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5564
c7a8d667
AZ
5565 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5566 ...
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5569 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5570 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5572 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5573 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5574 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5576 Moved ...
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5579 Moved ...
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5581 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5582 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5583 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5584 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5586 ...
5587 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5588 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5589 Moved ...
5590 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5591 here.
5592 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5593 ...
5594 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5595 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5596 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5597
daee7851
AZ
5598 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5599 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5601 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5602
50a40819
AZ
5603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5604 merge into ...
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5607 ...
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5610 ...
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5613 Moved ...
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5615 here.
5616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5617 Moved ...
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5620 Moved ...
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5622
8464c2a1
AZ
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5624 conditional [RESET_PID].
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5627 removed.
5628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5629 removed.
5630
3d1024e8
AZ
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5632 <tcb-offsets.h>.
5633 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5634 (__libc_vfork): New strong alias.
5635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5636 removed.
5637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5638 Removed.
5639
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5641 <tcb-offsets.h>.
5642 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5643 (__libc_vfork): New strong alias.
5644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5645 removed.
5646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5647 removed.
5648
fdfd175d
CD
56492014-05-26 Carlos O'Donell <carlos@redhat.com>
5650
5651 * malloc/malloc.c (mi_arena): New function.
5652 (malloc_info): Remove nested function mi_arena. Call non-nosted
5653 function mi_arena.
5654
d298c416
AZ
56552014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5656
5657 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5658 by insrwi.
5659 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5660 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5661 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5662 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5663 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5664 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5665 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5666
b60ea6ff
AS
56672014-05-26 Andreas Schwab <schwab@suse.de>
5668
5669 [BZ #16984]
5670 * locale/programs/repertoire.c (repertoire_read): Add slash
5671 between I18NPATH element and file name.
5672 * locale/programs/locfile.c (locfile_read): Likewise.
5673
67365926
SL
56742014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5675
5676 * nptl/pthread_mutexattr_settype.c
5677 (__pthread_mutexattr_settype):
5678 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5679
f8bdf1f0
SL
56802014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5681
5682 * nptl/tst-mutex5 (do_test):
5683 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5684
15eaf6ff
SP
56852014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5686
5687 * benchtests/README: Document 'init' directive.
5688 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5689 BENCH_INIT.
5690 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5691 (parse_file): Recognize 'init' directive.
5692
75f11331
KM
56932014-05-26 Kyle McMartin <kyle@redhat.com>
5694
5695 [BZ #16796]
5696 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5697 alignment of struct pthread.
5698
c3ec475c
SP
56992014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5700
5701 [BZ #16878]
5702 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5703 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5704 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5705 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5706
82aab97c
RH
57072014-05-25 Richard Henderson <rth@twiddle.net>
5708
aa2f176d
RH
5709 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5710 (SINGLE_THREAD_P_PIC): Remove.
5711 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5712 (SINGLE_THREAD_P_PIC): Remove.
5713
ca3cfa40
RH
5714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5715 branch to syscall error ...
5716 (PSEUDO): ... here.
5717 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5718 from __local_syscall_error to .Lsyscall_error.
5719 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5720 (SYSCALL_ERROR): Update label name.
5721
6e6c2d01
RH
5722 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5723 Do not use DOARGS/UNDOARGS.
5724 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5725 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5726 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5727 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5728 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5729
c69abcee
RH
5730 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5731 block comment.
5732
82aab97c
RH
5733 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5734 define if !NOT_IN_libc.
5735 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5736 define with non-default symbol versions.
5737
8820e3ac
RH
57382014-05-23 Richard Henderson <rth@twiddle.net>
5739
900e445f
RH
5740 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5741 (vfork, __vfork): Define via compat_symbol.
5742
8820e3ac
RH
5743 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5744 [!HAVE_IFUNC] (vfork_compat): Remove.
5745 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5746
e59252a5
JM
57472014-05-23 Joseph Myers <joseph@codesourcery.com>
5748
5749 [BZ #16978]
5750 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5751 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5752 variable.
5753
132c7f5f
RH
57542014-05-23 Richard Henderson <rth@twiddle.net>
5755
bc89e962
RH
5756 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5757 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5758 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5759 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5760
5761 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5762 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5763 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5764 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5765 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5766 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5767 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5768 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5769 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5770 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5771 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5772 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5773 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5800 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5801 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5802 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5803 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5804 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5805 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5806 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5807 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5808 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5809 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5810 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5811 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5812 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5813 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5814 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5815 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5816 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5817
e2fa4bc2
RH
5818 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5819 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5820 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5821 before exiting on error.
5822 (__libc_vfork): New strong alias.
5823 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5824 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5825
279b24e2
RH
5826 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5827 that was previously under [RESET_PID].
5828 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5829
132c7f5f
RH
5830 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5831
b72592e7
JM
58322014-05-23 Joseph Myers <joseph@codesourcery.com>
5833
5834 [BZ #16977]
5835 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5836 value when x - 1 is zero.
5837 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5838 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5839 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5840 0.0L for an argument of 1.0L.
5841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5842 Likewise.
5843 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5844 value when x - 1 is zero.
5845 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5846 * sysdeps/i386/fpu/libm-test-ulps: Update.
5847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5848
2302d679
RV
58492014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5850
5851 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5852 alphasort and versionsort.
5853
32999d63
AZ
58542014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5855
5856 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5857 macro.
5858 [copysignf]: Likewise.
5859
019324d0
SP
58602014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5861
5862 * crypt/md5-crypt.c: Fix formatting.
5863
34fff5c2
KS
58642014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5865
5866 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5867 (b64_from_24bit): New function.
5868
3d2badac
AZ
58692014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5870
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5872 libc_hidden_builtin_def to ifunc.
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5874 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5875
f7bb179f 58762014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5877
5878 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5879 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5880
4134b50d
JM
58812014-05-21 Joseph Myers <joseph@codesourcery.com>
5882
bb7d0337
JM
5883 * nscd/Depend (linuxthreads): Remove.
5884 (nptl): Add.
5885 * resolv/Depend (linuxthreads): Remove.
5886 * rt/Depend (linuxthreads): Remove.
5887
4134b50d
JM
5888 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5889 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5890 $(common-objpfx)elf/.
5891 (link-libc-before-gnulib): Likewise.
5892 (elfobjdir): Remove variable.
5893 * Makefile (install): Use $(elf-objpfx) instead of
5894 $(common-objpfx)elf/.
5895 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5896 $(elfobjdir)/.
5897 (link-libc-deps): Likewise.
5898 ($(common-objpfx)libc.so): Likewise.
5899 ($(common-objpfx)linkobj/libc.so): Likewise.
5900 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5901 instead of $(common-objpfx)elf/.
5902 (symbolic-link-list): Likewise.
5903 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5904 [$(cross-compiling) = no]: Likewise.
5905 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5906 $(elfobjdir)/.
5907 (static-gnulib-arch): Likewise.
5908 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5909 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5910 $(common-objpfx)elf/.
5911
3612eb8f
RH
59122014-05-21 Richard Henderson <rth@redhat.com>
5913
a6b3657b
RH
5914 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5915 (SINGLE_THREAD_P): Use the correct width load. Fold
5916 into the ldr offset.
5917
3612eb8f
RH
5918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5919 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5920
175cef41
JM
59212014-05-20 Joseph Myers <joseph@codesourcery.com>
5922
5923 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5924 (libgcc_s_resume): Use __attribute_used__.
5925 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5926 Likewise.
5927
e13bccd3
AZ
59282014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5931 optimization when used with float constants.
5932
7c112a38
AZ
5933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5934
ae75a883
AJ
59352014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5936
5937 [BZ #16915]
5938 * locale/nl_langinfo_l.c: Make direct reference to every
5939 _nl_current_CATEGORY symbol.
5940 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5941 (tests-static): Add tst-langinfo-static.
5942 (tests-special): Add tst-langinfo-static.out.
5943 ($(objpfx)tst-langinfo.out): Redirect output.
5944 ($(objpfx)tst-langinfo-static.out): New.
5945 * localedata/tst-langinfo.sh: Send output to stdout.
5946 * localedata/tst-langinfo-static.c: New file.
5947
4406c41c
AJ
5948 [BZ #16965]
5949 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5950 when the shift amount is modulo the limb size.
5951
4c0a1e63
RH
59522014-05-20 Richard Henderson <rth@redhat.com>
5953
de9d8f20
RH
5954 [BZ #16967]
5955 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5956 Change type of sa_flags from unsigned int to int.
5957
4c0a1e63
RH
5958 [BZ #16966]
5959 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5960
5961 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5962
a60339aa
WN
59632014-05-20 Will Newton <will.newton@linaro.org>
5964
5965 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5966 Test the return value of the system call in the nocancel case.
5967
7d05a816
YR
59682014-05-20 Will Newton <will.newton@linaro.org>
5969 Yvan Roux <yvan.roux@linaro.org>
5970
5971 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5972 #include of asm/ptrace.h.
5973 (PTRACE_GET_THREAD_AREA): Remove #undef.
5974 (PTRACE_GETHBPREGS): Likewise.
5975 (PTRACE_SETHBPREGS): Likewise.
5976 (struct user_regs_struct): New structure.
5977 (struct user_fpsimd_struct): New structure.
5978 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5979 #include of asm/ptrace.h and second #include of sys/user.h.
5980 (PTRACE_GET_THREAD_AREA): Remove #undef.
5981 (PTRACE_GETHBPREGS): Likewise.
5982 (PTRACE_SETHBPREGS): Likewise.
5983 (ELF_NGREG): Use new struct user_regs_struct.
5984 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5985
af121e37
AZ
59862014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987
5988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5990
834caf06
JM
59912014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5992
5993 [BZ #16958]
5994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5995 membar to avoid block loads/stores to overlap previous stores.
5996
e184a918
RH
59972014-05-17 Richard Henderson <rth@redhat.com>
5998
5999 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6000 Create the __##syscall_name##_nocancel entry point.
6001 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6002 Remove; let the sysdep-cancel.h code create it.
6003
f56c7a6a
DM
60042014-05-17 David S. Miller <davem@davemloft.net>
6005
6006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6007 Protect with __USE_GNU.
6008 (TIOCSET_TEMPT): Likewise.
6009 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6010 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6011 these are already provided in bits/ioctl-types.h
6012
f75616b2
RM
60132014-05-16 Roland McGrath <roland@hack.frob.com>
6014
3edeca86
RM
6015 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6016 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6017
f75616b2
RM
6018 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6019 Use wait4 regardless of [__NR_waitpid].
6020
deb0f7f6
MR
60212014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6022
6023 PR libgcc/60166
6024 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6025 (_FP_NANSIGN_Q): Set the quiet bit.
6026
79520f4b
JM
60272014-05-16 Joseph Myers <joseph@codesourcery.com>
6028
6029 * benchtests/Makefile
6030 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6031 not $(common-objpfx)math/libm.so.
6032 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6033 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6034 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6035 $(common-objpfx)dlfcn/libdl.so.
6036 ($(objpfx)tst-audit8): Depend on $(libm), not
6037 $(common-objpfx)math/libm.so.
6038 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6039 not $(common-objpfx)dlfcn/libdl.so.
6040 * math/Makefile
6041 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6042 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6043 [$(build-shared) = yes].
6044 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6045 $(common-objpfx)nptl/libpthread.so.
6046 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6047 $(common-objpfx)math/libm.so$(libm.so-version) or
6048 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6049 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6050 $(common-objpfx)dlfcn/libdl.so.
6051 * setjmp/Makefile (link-libm): Remove variable.
6052 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6053 * stdio-common/Makefile (link-libm): Remove variable.
6054 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6055 * stdlib/Makefile (link-libm): Remove variable.
6056 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6057 ($(objpfx)tst-strtod-round): Likewise.
6058 ($(objpfx)tst-tininess): Likewise.
6059 ($(objpfx)tst-strtod-underflow): Likewise.
6060 ($(objpfx)tst-strtod6): Likewise.
6061 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6062 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6063 $(common-objpfx)dlfcn/libdl.so.
6064
026b0fe4
AZ
60652014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6068 BSD terminal modes definitions.
6069
def4bcb2
RM
60702014-05-16 Roland McGrath <roland@hack.frob.com>
6071
fe39b021
RM
6072 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6073 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6074
1d1fc46e 6075 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
6076 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6077 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6078 Don't do #include_next.
6079 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6080 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6081 Don't do #include_next.
6082 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6083 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6084 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6085 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6086
c72399fb
AM
60872014-05-16 Allan McRae <allan@archlinux.org>
6088
d51d659d
AM
6089 * po/sv.po: Update Swedish translation from translation project.
6090
c72399fb
AM
6091 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6092 in sed expression.
6093
d0583c40
AJ
60942014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6095
6096 [BZ #16917]
6097 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6098 errno if the TIOCGPTN ioctl fails with an error different than
6099 EINVAL.
6100 * login/tst-ptsname.c: New file.
6101 * login/Makefile (tests): Add tst-ptsname.
6102
d16e6ec7
AJ
6103 [BZ #16943]
6104 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6105 and prlimit64.
6106
cf26a0cb
SP
61072014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6108
6109 [BZ #16849]
6110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6111 herrno to return EAI_AGAIN.
6112
5675da1e
RM
61132014-05-14 Roland McGrath <roland@hack.frob.com>
6114
a5d87b3d
RM
6115 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6116 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6117 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6118 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6119 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6120 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6121 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6122 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6123 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6124 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6125 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6126 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6127 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6128 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6129 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6130 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6132 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6134 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6136 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6137 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6138 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6139 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6140 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6141 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6142 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6143 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6144 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6146 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6148 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6150 Moved ...
6151 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6153 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6155 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6157 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6159 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6161 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6163 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6165 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6167 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6169 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6171 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6173 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6175 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6177 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6179 Moved ...
6180 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6182 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6184 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6186 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6188 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6190 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6192 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6194 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6198 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6200 Moved ...
6201 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6203 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6204
039890a6
RM
6205 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6206 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6207 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6208 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6209 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6211 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6213 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6215 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6217 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6219 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6220 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6221 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6222 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6223 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6224 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6225 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6226 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6227 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6228 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6229 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6230 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6231 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6232 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6233 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6234 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6235 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6236
65c89320
RM
6237 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6238 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6239
348f8e8c
RM
6240 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6241 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6242 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6243 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6244 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6246 Moved ...
6247 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6249 Moved ...
6250 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6252 Moved ...
6253 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6254 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6255 Moved ...
6256 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6257 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6258 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6260 Moved ...
6261 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6262 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6263 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6264 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6265 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6266 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6267 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6268 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6269 Moved ...
6270 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6271 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6272 Moved ...
6273 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6274 ... here.
6275 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6276 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6277 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6278 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6279 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6280 Moved ...
6281 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6282 ... here.
6283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6284 Moved ...
6285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6286 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6287 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6288 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6289 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6291 Moved ...
6292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6294 Moved ...
6295 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6296 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6297 Moved ...
6298 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6299 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6300 Moved ...
6301 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6303 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6305 Moved ...
6306 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6307 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6308 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6309 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6310 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6312 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6314 Moved ...
6315 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6316 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6317 Moved ...
6318 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6319 ... here.
6320 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6321 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6322 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6323 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6324 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6325 Moved ...
6326 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6327 ... here.
6328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6329 Moved ...
6330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6331 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6332 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6333 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6334 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6335 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6336 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6337 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6338 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6340 Moved ...
6341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6342 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6343 Moved ...
6344 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6345 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6346 Moved ...
6347 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6349 Moved ...
6350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6351 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6352 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6353 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6354 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6355 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6356 Moved ...
6357 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6358 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6359 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6361 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6362 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6363 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6364 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6365 Moved ...
6366 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6367 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6368 Moved ...
6369 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6370 ... here.
6371 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6372 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6373 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6374 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6375 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6376 Moved ...
6377 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6378 ... here.
6379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6380 Moved ...
6381 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6382 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6383 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6384 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6385 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6386 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6387 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6388 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6389 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6390 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6391 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6392
5085af05
RM
6393 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6394 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6395
708f0813
RM
6396 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6397 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6398
c96067bc
RM
6399 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6400 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6401 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6402 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6403 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6404 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6405 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6406 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6407 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6408 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6410 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6411 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6412 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6413 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6415 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6417 Moved ...
6418 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6420 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6422 Moved ...
6423 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6425 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6427 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6429 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6431 Moved ...
6432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6434 Moved ...
6435 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6436 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6437 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6438 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6439 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6440 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6441 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6442 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6443 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6444 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6445 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6446 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6447 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6448 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6449 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6450 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6451 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6452
ec136444
RM
6453 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6454 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6455 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6456 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6457 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6458
2fbdf533
RM
6459 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6460 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6461 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6462 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6463 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6464 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6465 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6466 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6467 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6468 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6469
4c68138b
RM
6470 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6472
4eaae765
RM
6473 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6474 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
6475 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6476 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6477 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6478 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6479 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6480 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6481 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6482 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6483 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6484 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6485 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6486 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6488 Update #include.
6489 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6490 Likewise.
6491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6492 Likewise.
6493 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6494 Likewise.
6495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6496 Likewise.
6497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6498 Likewise.
6499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6500 Likewise.
6501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6502 Likewise.
6503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6504 Likewise.
6505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6506 Likewise.
4ef6befa
RM
6507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
6512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6516 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6519 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6520 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6521 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 6522
941d7dfd
RM
6523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6524 that was previously under [RESET_PID].
6525 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6526 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6527 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6528
1b731c35
RM
6529 * sysdeps/i386/nptl/Implies: New file.
6530 * sysdeps/x86_64/nptl/Implies: New file.
6531 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6532 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6533 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6534 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6535
e2787137
RM
6536 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6537 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6538 (__libc_vfork): New strong alias.
6539 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6540 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6541
6542 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6543 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6544 (__libc_vfork): New strong alias.
6545 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6546 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6547
5675da1e
RM
6548 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6549 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6550 (__libc_vfork): New strong alias.
6551 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6552 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6553 * nptl/pt-vfork.c: New file.
6554 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6555 (libpthread: GLIBC_2.20): New version set (empty).
6556
4f02e2b8
WN
65572014-05-14 Will Newton <will.newton@linaro.org>
6558
6559 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6560 rather than #if.
6561
0bf061d3
JM
65622014-05-14 Joseph Myers <joseph@codesourcery.com>
6563
1a84c3d6
JM
6564 [BZ #16564]
6565 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6566 arguments with exponent 65 or above.
6567 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6568 arguments 0x1p113L or above.
6569 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6570 to arguments 0x1p107L or above.
6571 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6572 positive arguments with exponent 65 or above.
6573 * math/auto-libm-test-in: Add more tests of log1p.
6574 * math/auto-libm-test-out: Regenerated.
6575
01dbacd2
JM
6576 [BZ #16928]
6577 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6578 non-finite arguments is +0.
6579 * math/s_cacosf.c (__cacosf): Likewise.
6580 * math/s_cacosl.c (__cacosl): Likewise.
6581 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6582 * sysdeps/i386/fpu/libm-test-ulps: Update.
6583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6584
913d03c8
JM
6585 [BZ #16927]
6586 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6587 value.
6588 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6589 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6590 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6591 for explicit high bit of mantissa when testing for argument equal
6592 to 1.
6593 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6594 * sysdeps/i386/fpu/libm-test-ulps: Update.
6595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6596
0bf061d3
JM
6597 [BZ #16516]
6598 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6599 (__erf): Scale by 16 instead of 8 in potentially underflowing
6600 case. Ensure exception if result actually underflows.
6601 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6602 (__erff): Scale by 16 instead of 8 in potentially underflowing
6603 case. Ensure exception if result actually underflows.
6604 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6605 (efx8): Remove variable.
6606 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6607 case. Ensure exception if result actually underflows.
6608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6609 (efx8): Remove variable.
6610 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6611 case. Ensure exception if result actually underflows.
6612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6613 (efx8): Remove variable.
6614 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6615 case. Ensure exception if result actually underflows.
6616 * math/auto-libm-test-in: Add more tests of erf.
6617 * math/auto-libm-test-out: Regenerated.
6618
73ba67cb
AS
66192014-05-14 Andreas Schwab <schwab@suse.de>
6620
3d8c8bff
AS
6621 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6622 Remove code conditionalized on USE___THREAD.
6623
73ba67cb
AS
6624 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6625 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6626 not definedness.
6627
5c521ecd
JM
66282014-05-14 Joseph Myers <joseph@codesourcery.com>
6629
5e7698c6
JM
6630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6631 Define unconditionally.
6632 (__ASSUME_O_CLOEXEC): Likewise.
6633 (__ASSUME_SOCK_CLOEXEC): Likewise.
6634 (__ASSUME_IN_NONBLOCK): Likewise.
6635 (__ASSUME_PIPE2): Likewise.
6636 (__ASSUME_EVENTFD2): Likewise.
6637 (__ASSUME_SIGNALFD4): Likewise.
6638 (__ASSUME_DUP3): Likewise.
6639 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6640 (__ASSUME_DUP3): Do not define.
6641 (__ASSUME_EVENTFD2): Likewise.
6642 (__ASSUME_IN_NONBLOCK): Likewise.
6643 (__ASSUME_O_CLOEXEC): Likewise.
6644 (__ASSUME_PIPE2): Likewise.
6645 (__ASSUME_SIGNALFD4): Likewise.
6646 (__ASSUME_SOCK_CLOEXEC): Likewise.
6647 (__ASSUME_UTIMES): Undefine.
6648 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6649 (__ASSUME_UTIMES): Do not define.
6650 (__ASSUME_O_CLOEXEC): Likewise.
6651 (__ASSUME_SOCK_CLOEXEC): Likewise.
6652 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6653 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6654 0x020621].
6655 (__ASSUME_PIPE2): Likewise.
6656 (__ASSUME_EVENTFD2): Likewise.
6657 (__ASSUME_SIGNALFD4): Likewise.
6658 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6659 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6660 Do not define.
6661 (__ASSUME_EVENTFD2): Likewise.
6662 (__ASSUME_SIGNALFD4): Likewise.
6663 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6664 (__ASSUME_32BITUIDS): Likewise.
6665 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6666 (__ASSUME_IPC64): Likewise.
6667 (__ASSUME_ST_INO_64_BIT): Likewise.
6668 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6669 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6670 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6671 (__ASSUME_UTIMES): Do not define.
6672 (__ASSUME_PSELECT): Likewise.
6673 (__ASSUME_PPOLL): Likewise.
6674 (__ASSUME_O_CLOEXEC): Likewise.
6675 (__ASSUME_SOCK_CLOEXEC): Likewise.
6676 (__ASSUME_IN_NONBLOCK): Likewise.
6677 (__ASSUME_PIPE2): Likewise.
6678 (__ASSUME_EVENTFD2): Likewise.
6679 (__ASSUME_SIGNALFD4): Likewise.
6680 (__ASSUME_DUP3): Likewise.
6681 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6682 (__ASSUME_UTIMES): Likewise.
6683 (__ASSUME_O_CLOEXEC): Likewise.
6684 (__ASSUME_SOCK_CLOEXEC): Likewise.
6685 (__ASSUME_IN_NONBLOCK): Likewise.
6686 (__ASSUME_PIPE2): Likewise.
6687 (__ASSUME_EVENTFD2): Likewise.
6688 (__ASSUME_SIGNALFD4): Likewise.
6689 (__ASSUME_DUP3): Likewise.
6690 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6691 (__ASSUME_UTIMES): Likewise.
6692 (__ASSUME_O_CLOEXEC): Likewise.
6693 (__ASSUME_SOCK_CLOEXEC): Likewise.
6694 (__ASSUME_IN_NONBLOCK): Likewise.
6695 (__ASSUME_PIPE2): Likewise.
6696 (__ASSUME_EVENTFD2): Likewise.
6697 (__ASSUME_SIGNALFD4): Likewise.
6698 (__ASSUME_DUP3): Likewise.
6699 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6700 Likewise.
6701 (__ASSUME_UTIMES): Likewise.
6702 (__ASSUME_EVENTFD2): Likewise.
6703 (__ASSUME_SIGNALFD4): Likewise.
6704 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6705 (__ASSUME_O_CLOEXEC): Likewise.
6706 (__ASSUME_SOCK_CLOEXEC): Likewise.
6707 (__ASSUME_IN_NONBLOCK): Likewise.
6708 (__ASSUME_PIPE2): Likewise.
6709 (__ASSUME_EVENTFD2): Likewise.
6710 (__ASSUME_SIGNALFD4): Likewise.
6711 (__ASSUME_DUP3): Likewise.
6712 (__ASSUME_UTIMES): Undefine.
6713
5c521ecd
JM
6714 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6715 feclearexcept. Remove symbol versioning code.
6716 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6717 symbol versioning code.
6718 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6719 symbol versioning code.
6720 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6721 feupdateenv. Remove symbol versioning code.
6722 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6723 fegetexceptflag. Remove symbol versioning code.
6724 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6725 fesetexceptflag. Remove symbol versioning code.
6726 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6727 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6728 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6729 (__posix_fadvise64_l32): Remove prototype.
6730 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6731 code.
6732
5da9dfad
RM
67332014-05-13 Roland McGrath <roland@hack.frob.com>
6734
6735 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6736 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6737 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6738 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6739
893b4f37
SK
67402014-05-13 Sami Kerola <kerolasa@iki.fi>
6741
6742 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6743 current working directory
6744
e0db6517
RM
67452014-05-13 Roland McGrath <roland@hack.frob.com>
6746
58aa195d
RM
6747 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6748 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6749 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6750 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6751 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6752 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6753 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6754 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6756 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6760 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6761 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6762 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6763 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6764 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6765 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6766 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6767 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6768 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6769 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6770 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6771 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6772 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6773 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6774 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6776 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6777 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6778 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6779 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6780 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6781 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6782 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6783 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6784 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6785 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6786 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6787 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6788 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6789
8c6d01f0
RM
6790 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6791 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6792
6793 * sysdeps/unix/sysv/linux/arm/Makefile
6794 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6795 Add rt-aeabi_unwind_cpp_pr1.
6796 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6797 Add nptl-aeabi_unwind_cpp_pr1.
6798 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6799 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6800 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6801 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6802 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6803 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6804
6805 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6806 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6807 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6808 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6809
bba6da4e
RM
6810 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6811 Deconditionalize the code that was previously under [RESET_PID].
6812 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6813
e0db6517
RM
6814 * sysdeps/generic/exit-thread.h: New file.
6815 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6816 * include/unistd.h (__exit_thread): Remove declaration.
6817 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6818 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6819 * csu/libc-start.c: Include <exit-thread.h>.
6820 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6821 * nptl/pthread_create.c: Include <exit-thread.h>.
6822 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6823 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6824 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6825 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6826 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6827 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6828 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6829 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6830 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6831 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6832 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6833 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6834 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6835 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6836 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6837 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6838 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6839
01eb16fd
AS
68402014-05-13 Andreas Schwab <schwab@suse.de>
6841
6842 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6843
637461d9
JM
68442014-05-12 Joseph Myers <joseph@codesourcery.com>
6845
6846 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6847 (__ASSUME_UTIMES): Do not condition on kernel version.
6848 (__ASSUME_PSELECT): Define unconditionally.
6849 (__ASSUME_PPOLL): Likewise.
6850 (__ASSUME_ATFCTS): Likewise.
6851 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6852 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6853 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6854 (__ASSUME_UTIMENSAT): Define unconditionally.
6855 (__ASSUME_PRIVATE_FUTEX): Likewise.
6856 (__ASSUME_FALLOCATE): Likewise.
6857 (__ASSUME_O_CLOEXEC): Likewise.
6858 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6859 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6860 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6861 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6862 (__ASSUME_IN_NONBLOCK): Likewise.
6863 (__ASSUME_PIPE2): Likewise.
6864 (__ASSUME_EVENTFD2): Likewise.
6865 (__ASSUME_SIGNALFD4): Likewise.
6866 (__ASSUME_DUP3): Likewise.
6867 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6868 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6869 (__ASSUME_AT_RANDOM): Likewise.
6870 (__ASSUME_PREADV): Likewise.
6871 (__ASSUME_PWRITEV): Likewise.
6872 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6873 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6874 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6875 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6876 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6877 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6878 (__ASSUME_O_CLOEXEC): Define unconditionally.
6879 (__ASSUME_PSELECT): Do not undefine conditionally.
6880 (__ASSUME_PPOLL): Likewise.
6881 (__ASSUME_ATFCTS): Likewise.
6882 (__ASSUME_SET_ROBUST_LIST): Likewise.
6883 (__ASSUME_UTIMENSAT): Likewise.
6884 (__ASSUME_FDATASYNC): Define unconditionally.
6885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6886 (__ASSUME_SIGFRAME_V2): Likewise.
6887 )__ASSUME_EVENTFD2): Likewise.
6888 (__ASSUME_SIGNALFD4): Likewise.
6889 (__ASSUME_PSELECT): Do not undefine conditionally.
6890 (__ASSUME_PPOLL): Likewise.
6891 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6892 (__ASSUME_PSELECT): Define unconditionally.
6893 (__ASSUME_PPOLL): Likewise.
6894 (__ASSUME_O_CLOEXEC): Likewise.
6895 (__ASSUME_SOCK_CLOEXEC): Likewise.
6896 (__ASSUME_IN_NONBLOCK): Likewise.
6897 (__ASSUME_PIPE2): Likewise.
6898 (__ASSUME_EVENTFD2): Likewise.
6899 (__ASSUME_SIGNALFD4): Likewise.
6900 (__ASSUME_DUP3): Likewise.
6901 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6902 (__ASSUME_O_CLOEXEC): Likewise.
6903 (__ASSUME_SOCK_CLOEXEC): Likewise.
6904 (__ASSUME_IN_NONBLOCK): Likewise.
6905 (__ASSUME_PIPE2): Likewise.
6906 (__ASSUME_EVENTFD2): Likewise.
6907 (__ASSUME_SIGNALFD4): Likewise.
6908 (__ASSUME_DUP3): Likewise.
6909 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6910 (__ASSUME_EVENTFD2): Likewise.
6911 (__ASSUME_SIGNALFD4): Likewise.
6912 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6913
315eb1d8
AS
69142014-05-12 Andreas Schwab <schwab@suse.de>
6915
6916 [BZ #16932]
6917 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6918 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6919 than maximum RPC packet size.
6920 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6921 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6922 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6923 (_nss_nis_getservbyport_r): Likewise.
6924
91df99f7
WN
69252014-05-12 Will Newton <will.newton@linaro.org>
6926
6927 * malloc/Makefile (tests): Add tst-mallopt.
6928 * malloc/tst-mallopt.c: New file.
6929
0a982a29
RM
69302014-05-09 Roland McGrath <roland@hack.frob.com>
6931
6932 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6933 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6934
0ded08a5
AZ
69352014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936
6937 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6938 (tst-tlsmod6.so): Likewise.
6939
55d4d550
RM
69402014-05-09 Roland McGrath <roland@hack.frob.com>
6941
6942 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6943
77d08aca
JM
69442014-05-09 Joseph Myers <joseph@codesourcery.com>
6945
6946 [BZ #16064]
6947 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6948 and <dl-procinfo.h>.
6949 (__fegetenv): Save SSE state in envp->__eip if supported.
6950 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6951 envp->__eip if supported.
6952 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6953 and <dl-procinfo.h>.
6954 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6955 __data_offset and __data_selector in environment to 0. Set SSE
6956 state if supported.
6957 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6958 test-fenv-sse.
6959 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6960 -mfpmath=sse.
6961 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6962
28162f4d
WN
69632014-05-09 Will Newton <will.newton@linaro.org>
6964
6965 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6966 and libc_relro_required for ARM.
6967 * sysdeps/arm/preconfigure: Regenerate.
6968
5a414ff7
DV
69692014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6970 Stefan Liebler <stli@linux.vnet.ibm.com>
6971
6972 * config.make.in (enable-lock-elision): New Makefile variable.
6973 * configure.ac: Likewise.
6974 * configure: Regenerate.
6975 * sysdeps/s390/configure.ac:
6976 Add check for gcc transactions support.
6977 * sysdeps/s390/configure: Regenerate.
6978 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6979 Build elision files if enabled.
6980 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6981 Add lock elision support for s390.
6982 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6983 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6984 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6985 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6986 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6987 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6988 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6989 Likewise.
6990 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6991 Likewise.
6992 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6993 Likewise.
6994 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6995 Likewise.
6996 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6997 (__lll_timedlock_elision, __lll_lock_elision)
6998 (__lll_unlock_elision, __lll_trylock_elision)
6999 (lll_timedlock_elision, lll_lock_elision)
7000 (lll_unlock_elision, lll_trylock_elision): Add.
7001 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7002 (pthread_mutex_t): Add lock elision support for s390.
7003
1a2f40e5
W
70042014-05-14 Wilco <wdijkstr@arm.com>
7005
7006 * sysdeps/arm/fclrexcpt.c: Cleanup.
7007 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7008 * sysdeps/arm/feenablxcpt.c: Cleanup.
7009 * sysdeps/arm/fegetenv.c: Cleanup.
7010 * sysdeps/arm/fegetexcept.c: Cleanup.
7011 * sysdeps/arm/fegetround.c: Cleanup.
7012 * sysdeps/arm/feholdexcpt.c: Cleanup.
7013 * sysdeps/arm/fesetenv.c: Cleanup.
7014 * sysdeps/arm/fesetround.c: Cleanup.
7015 * sysdeps/arm/feupdateenv.c: Cleanup.
7016 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7017 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7018 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7019 * sysdeps/arm/ftestexcept.c: Cleanup.
7020 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7021 * sysdeps/arm/setfpucw.c: Cleanup.
7022
f63c86fe
WN
70232014-05-09 Will Newton <will.newton@linaro.org>
7024
7025 * sysdeps/arm/armv7/strcmp.S: New file.
7026 * NEWS: Mention addition of ARMv7 optimized strcmp.
7027
7a1a51b5
RM
70282014-05-08 Roland McGrath <roland@hack.frob.com>
7029
95afbbe5
RM
7030 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7031 look for %.ac rather than %.in.
7032
7033 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7034 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7035 * sysdeps/mach/hurd/configure: Regenerated.
7036 * sysdeps/unix/sysv/linux/configure: Regenerated.
7037
7a1a51b5
RM
7038 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7039
5057ad3b
SE
70402014-05-07 Steve Ellcey <sellcey@mips.com>
7041
7042 [BZ# 16922]
7043 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7044 (LONG_SUB): Ditto.
7045 (PTR_SUB): Ditto.
7046
8dc97517
AS
70472014-05-07 Andreas Schwab <schwab@suse.de>
7048
7049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7050 when skipping over non-matching result from nscd.
7051
ce0c5b8f
OB
70522014-05-07 Ondřej Bílka <neleai@seznam.cz>
7053
7054 [BZ #16876]
7055 * nptl/sockperf.c (client): Check socket return value.
8dc97517 7056
a1189263
OB
7057 [BZ #16877]
7058 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7059 nscd security class.
ce0c5b8f 7060
0f58d252
RM
70612014-05-06 Roland McGrath <roland@hack.frob.com>
7062
7063 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7064 * sysdeps/arm/unwind.h: ... here.
7065
83df9ad0
AJ
70662014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7067
ce0c5b8f
OB
7068 [BZ# 16916]
7069 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7070 Define.
83df9ad0 7071
f360f94a
VR
70722014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7073
7074 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7075 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7076 multiarch strncpy for PPC64.
7077 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7078 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7080 multiarch optimizations.
7081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7082 (__libc_ifunc_impl_list): Likewise.
7083 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7084 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7085 multiarch stpncpy for PPC64.
7086 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7087 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7088
978a41c3
AS
70892014-05-06 Andreas Schwab <schwab@suse.de>
7090
7091 [BZ #16912]
7092 * gmon/mcount.c (_MCOUNT_DECL): Use
7093 atomic_compare_and_exchange_bool_acq instead of
7094 catomic_compare_and_exchange_bool_acq.
7095
eb1ed03d
RM
70962014-05-05 Roland McGrath <roland@hack.frob.com>
7097
fe658845
RM
7098 * elf/Makefile (others, install-bin): Remove pldd.
7099 (pldd-modules): Variable removed.
7100 ($(objpfx)pldd): Target removed.
7101 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7102 (others, install-bin): Append pldd here.
7103 ($(objpfx)pldd): New target.
7104
eb1ed03d
RM
7105 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7106 to 0, so the first #if test emitted later doesn't see it undefined.
7107 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7108 * sysdeps/gnu/errlist.c: Regenerated.
7109
19c4bec0
AZ
71102014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7111
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7113 [libc_hidden_builtin_def]: Define to empty value.
7114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7115 [libc_hidden_builtin_def]: Likewise.
7116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7117 [libc_hidden_builtin_def]: Likewise.
7118 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7119 [libc_hidden_builtin_def]: Likewise.
7120 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7121 __redirect_memcpy and define ifunc as default hidden symbol.
7122 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7123 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7124
7776e669
AC
71252014-05-04 Adam Conrad <adconrad@0c3.net>
7126
7127 * locale/iso-4217.def: Reintroduce XDR currency.
7128
d69aeb12
AM
71292014-05-04 Allan McRae <allan@archlinux.org>
7130
7131 * po/eo.po: Update Esperanto translation from translation project.
7132
8f1df5cf
CD
71332014-05-02 Carlos O'Donell <carlos@redhat.com>
7134
7135 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7136 and FEATURE_INDEX_MAX to 1.
7137 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7138
13e402e7
SE
71392014-05-01 Steve Ellcey <sellcey@mips.com>
7140
7141 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7142 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7143 * iconvdata/big5.c (ONE_DIRECTION): Define.
7144 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7145 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7146 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7147 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7148 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7149 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7150 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7151 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7152 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7153 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7154 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7155 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7156 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7157 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7158 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7159 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7160 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7161 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7162 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7163 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7164 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7165 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7166 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7167 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7168 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7169 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7170 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7171 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7172 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7173 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7174 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7175 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7176 * iconvdata/johab.c (ONE_DIRECTION): Define.
7177 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7178 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7179 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7180 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7181 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7182 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7183 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7184 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7185 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7186 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7187
c727f032
RM
71882014-05-01 Roland McGrath <roland@hack.frob.com>
7189
8f2f08d0
RM
7190 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7191 (_IO_JUMPS_OFFSET): Define to 0.
7192
c727f032
RM
7193 * nptl/sysdeps/pthread/bits/libc-lock.h
7194 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7195 (__libc_lock_define_initialized_recursive): Always define using
7196 initializer. Modern compilers treat uninitialized (implicit zero) and
7197 explicit zero initializers the same (i.e. put the datum in bss).
7198
a849e800
AS
71992014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7200
7201 * nscd/nscd-client.h: Include <string.h>.
7202
5331255b
DM
72032014-05-01 David S. Miller <davem@davemloft.net>
7204
7205 [BZ #16885]
7206 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7207 multiple zero bytes exist at the end of a string.
7208 Reported by Aurelien Jarno <aurelien@aurel32.net>
7209
7210 * string/test-strcmp.c (check): Add explicit test for situations where
7211 there are multiple zero bytes after the first.
7212
4fdfe821
AS
72132014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7214
7215 [BZ #16890]
7216 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7217 when compiling wprintf.
7218 * stdio-common/tstdiomisc.c (t3): New function.
7219 (main): Call it.
7220
0cdddc25
SE
72212014-05-01 Steve Ellcey <sellcey@mips.com>
7222
7223 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7224 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7225 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7226 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7227
6426d77e
SE
72282014-05-01 Steve Ellcey <sellcey@mips.com>
7229
7230 * stdlib/longlong.h: Updated from GCC.
7231
6d96f5e4
WN
72322014-05-01 Will Newton <will.newton@linaro.org>
7233 Bernard Ogden <bernie.ogden@linaro.org>
7234
7470db0c
WN
7235 * NEWS: Update fixed bug list.
7236
6d96f5e4
WN
7237 [BZ #15119]
7238 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7239
211d653c
DM
72402014-04-30 David S. Miller <davem@davemloft.net>
7241
4fa262fa
DM
7242 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7243 (libc_feholdexcept_setround_sparc_ctx): New function.
7244 (libc_fesetenv_sparc_ctx): Likewise.
7245 (libc_feupdateenv_sparc_ctx): Likewise.
7246 (libc_feholdsetround_sparc_ctx): Likewise.
7247 (libc_feholdexcept_setround_ctx): Define.
7248 (libc_feholdexcept_setroundf_ctx): Likewise.
7249 (libc_feholdexcept_setroundl_ctx): Likewise.
7250 (libc_fesetenv_ctx): Likewise.
7251 (libc_fesetenvf_ctx): Likewise.
7252 (libc_fesetenvl_ctx): Likewise.
7253 (libc_feupdateenv_ctx): Likewise.
7254 (libc_feupdateenvf_ctx): Likewise.
7255 (libc_feupdateenvl_ctx): Likewise.
7256 (libc_feresetround_ctx): Likewise.
7257 (libc_feresetroundf_ctx): Likewise.
7258 (libc_feresetroundl_ctx): Likewise.
7259 (libc_feholdsetround_ctx): Likewise.
7260 (libc_feholdsetroundf_ctx): Likewise.
7261 (libc_feholdsetroundl_ctx): Likewise.
7262
1d3d93ef
DM
7263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7264 with __USE_GNU instead of XOPEN cpp guards.
7265
8aa583c3
DM
7266 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7267 0.
7268
211d653c
DM
7269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7270 with XOPEN cpp guards.
7271
60c8f1f6
JB
72722014-04-30 Julian Brown <julian@codesourcery.com>
7273
7274 [BZ #16888]
7275 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7276 handling.
7277
9a461d46
JM
72782014-04-30 Joseph Myers <joseph@codesourcery.com>
7279
d0f5b3f8
JM
7280 [BZ #9894]
7281 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7282 Change to 2.6.32.
7283 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7284 * sysdeps/unix/sysv/linux/configure: Regenerated.
7285 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7286 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7287 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7288 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7289 * README: Update reference to required Linux kernel version.
7290 * manual/install.texi (Linux): Update reference to required Linux
7291 kernel headers version.
7292 * INSTALL: Regenerated.
7293
9a461d46
JM
7294 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7295 header inclusion.
7296 [POSIX] (limits.h): Likewise.
7297 [POSIX] (math.h): Likewise.
7298 [POSIX] (sys/wait.h): Likewise.
7299 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7300 function.
7301 [POSIX] (stddef.h): Do not allow header inclusion.
7302
1775babf
AZ
73032014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7304
57f41c40 7305 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7306
8f630cca
YY
73072014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7308
7309 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7310 Return immediately after lll_futex_wake.
7311
1cdeb237
SP
73122014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7313
bc8f194c
SP
7314 [BZ #16791]
7315 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7316 structure.
7317 (datahead_init_pos): Call datahead_init_common early.
7318 (datahead_init_neg): Likewise.
7319
1cdeb237
SP
7320 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7321 datahead_init_neg): New functions.
7322 * nscd/aicache.c (addhstaiX): Use them.
7323 * nscd/grpcache.c (cache_addgr): Likewise.
7324 * nscd/hstcache.c (cache_addhst): Likewise.
7325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7326 * nscd/netgroupcache.c (do_notfound): Likewise.
7327 (addgetnetgrentX): Likewise.
7328 (addinnetgrX): Likewise.
7329 * nscd/pwdcache.c (cache_addpw): Likewise.
7330 * nscd/servicescache.c (cache_addserv): Likewise.
7331
16b293a7
SP
73322014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7333 Atsushi Onoe <atsushi@onoe.org>
7334
7335 [BZ #14308]
7336 [BZ #12994]
7337 [BZ #13651]
7338 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7339 one response is valid.
7340 * resolv/res_send.c (send_dg): Check for validity of other
7341 response if the current response is a referral.
7342
a28a9b94
SE
73432014-04-29 Steve Ellcey <sellcey@mips.com>
7344
7345 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7346
2ca180e9
SL
73472014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7348
7349 [BZ #16823]
7350 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7351 Always divide by positive zero when computing -Inf result.
7352 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7353 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7354
18f2945a
AZ
73552014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7356
7357 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7358 FPSCR if value do not change.
7359 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7360 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7361 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7362 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7363 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7364 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7365 function.
7366
5abebba4
CD
73672014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7368
7369 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7370 * sysdeps/unix/sysv/linux/hppa: Move directory from
7371 ports/systeps/unix/sysv/linux/hppa.
7372 * README: Update listing for hppa-*-linux-gnu.
7373
f7ed60c2
OB
73742014-04-28 Ondřej Bílka <neleai@seznam.cz>
7375
fff763a5
OB
7376 [BZ #16754]
7377 * manual/stdio.texi (Hook functions): Fix types of stream hook
7378 functions.
f7ed60c2
OB
7379 [BZ #16854]
7380 * socket/sys/socket.h: Fix typo in comment.
7381
df639d73
WD
73822014-04-28 Wilco <wdijkstr@arm.com>
7383
f7ed60c2 7384 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7385 * sysdeps/arm/math_private.h: New file.
7386 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7387
48332d82
L
73882014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7389
7390 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7391 with __int128_t.
7392 (La_x86_64_retval): Likewise.
7393
e5e0d9a4
IB
73942014-04-24 Ian Bolton <ian.bolton@arm.com>
7395
7396 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7397 fpsr if value didn't change.
7398 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7399 to fpcr if value didn't change.
7400 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7401 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7402 fpsr or fpcr if value didn't change.
7403 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7404 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7405 fpcr if value didn't change.
7406 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7407 to fpsr if value didn't change.
7408
bacc75f7
SP
74092014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7410
7411 * nptl/tst-sem3.c: Use test-skeleton.c
7412 (main): Rename to do_test. Use return instead of
7413 exit.
7414 * nptl/tst-sem4.c: Use test-skeleton.c
7415 (main): Rename to do_test.
7416
a059d359
DM
74172014-04-22 David S. Miller <davem@davemloft.net>
7418
7419 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7420 (struct sigaction): New struct member __glibc_reserved0, change
7421 type of sa_flags to int.
7422
ea6c92f3
YZ
74232014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7424
7425 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7426 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7427
766c4a36
SP
74282014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7429
7430 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7431 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7432
140cc7ab
VK
74332014-04-22 Will Newton <will.newton@linaro.org>
7434 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7435
7436 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7437 (__longjmp): Add longjmp and longjmp_target SystemTap
7438 probes.
7439 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7440 (__sigsetjmp): Add setjmp SystemTap probe.
7441
c54e5cf7
CD
74422014-04-17 Carlos O'Donell <carlos@redhat.com>
7443
7444 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7445 match manual order.
7446
75ffb047
AZ
74472014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7448
7449 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7450
2cd925f7
AZ
7451 * sysdeps/powerpc/fpu/fenv_private.h
7452 (libc_feholdexcept_setroundl_ctx): Define to
7453 libc_feholdexcept_setround_ppc_ctx.
7454 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7455 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7456 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7457 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7458
39e6cd8d
IB
74592014-04-17 Ian Bolton <ian.bolton@arm.com>
7460
7461 * sysdeps/aarch64/math-tests.h: New file.
7462
f9281df9
SY
74632014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7464
7465 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7466 New.
7467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7468 Check and set bit_AVX2_Usable.
7469 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7470 macro.
7471 (bit_AVX2): Likewise.
7472 (index_AVX2_Usable): Likewise.
7473 (CPUID_AVX2): Likewise.
7474 (HAS_AVX2): Likewise.
7475
37d35007
WN
74762014-04-17 Will Newton <will.newton@linaro.org>
7477
7c677662
WN
7478 * manual/setjmp.texi (System V contexts): Add note that
7479 calling setcontext on a context created by a call to a
7480 signal handler is undefined. Update text to note that
7481 setcontext from a signal handler is possible but not
7482 recommended.
7483
37d35007 7484 [BZ #16629]
e04a4e9d
WN
7485 * stdlib/tst-setcontext.c: Include signal.h.
7486 (main): Check that the signal stack before and
7487 after swapcontext is the same.
7488
37d35007
WN
7489 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7490 Re-implement to restore registers in user code and avoid
7491 rt_sigreturn system call.
7492
423a7160
W
74932014-04-17 Wilco <wdijkstr@arm.com>
7494
7495 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7496 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7497 * math/test-fenv.c: Skip exception trap tests on targets which only
7498 support non-stop mode.
7499
bc93ab29
IB
75002014-04-17 Ian Bolton <ian.bolton@arm.com>
7501 Wilco Dijkstra <wilco.dijkstra@arm.com>
7502
7503 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7504 (libc_feholdsetround_aarch64_ctx)
7505 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7506 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7507 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7508 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7509 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7510 (libc_feresetround_noexl_ctx): Define.
7511
95fc5fa3
RH
75122014-04-16 Richard Henderson <rth@redhat.com>
7513
ddb04724
RH
7514 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7515
d77c0899
RH
7516 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7517 unwind tables.
7518
a3df56fc
RH
7519 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7520 const from the non-libc, non-ldso copy.
7521
95fc5fa3
RH
7522 * sysdeps/alpha/libm-test-ulps: Regenerate.
7523
7e0b6763
IB
75242014-04-16 Ian Bolton <ian.bolton@arm.com>
7525 Wilco Dijkstra <wilco.dijkstra@arm.com>
7526
7527 * sysdeps/aarch64/fpu/math_private.h: New file.
7528
a9ea2e0c
MS
75292014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7530
7531 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7532
ea8ba7cd
IZ
75332014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7534
7e54fd04 7535 [BZ #16275]
ea8ba7cd
IZ
7536 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7537 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7539 Intel MPX bound registers before _dl_profile_fixup.
7540 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7541 registers after _dl_profile_fixup. Save and restore bound
7542 registers bnd0/bnd1 when calling _dl_call_pltexit.
7543 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7544 (LR_BND_OFFSET): Likewise.
7545 (LRV_BND0_OFFSET): Likewise.
7546 (LRV_BND1_OFFSET): Likewise.
7547
9f2a4fbc
ST
75482014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7549
7550 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7551 to...
7552 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
7553 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7554 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7555 fields.
9f2a4fbc 7556
fd15a59b
ST
75572014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7558
7559 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7560
f19dfa0a
SL
75612014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7562
7563 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7564
4fa8bc3b
SL
75652014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7566
7567 [BZ #14770]
7568 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7569 * sysdeps/s390/configure: Regenerate.
7570
8ea587db
SL
7571 [BZ #16824]
7572 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7573 Set round-to-nearest internally to reduce error accumulation.
7574
aa5f0ff1
AM
75752014-04-16 Alan Modra <amodra@gmail.com>
7576
7577 [BZ #16740]
7578 [BZ #16619]
7579 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7580 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 7581 * NEWS: Update fixed bug list.
aa5f0ff1 7582
bb9c256f
SP
75832014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7584
7585 * benchtests/Makefile: Depend on libraries in build directory.
7586 (bench-math): Separate out math tests.
7587 (bench-pthread): Separate out pthread tests.
7588 (bench): Include math and pthread tests.
7589
f737dfd0
CD
75902014-04-14 Carlos O'Donell <carlos@redhat.com>
7591
7592 [BZ #16831]
7593 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7594 _dl_debug_initialize.
7595
0699f766
CD
7596 * configure.ac: Remove SELinux header check.
7597 * configure: Regenerate.
7598 * nscd/selinux.c (perms): Array of const char* to permission names.
7599 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7600 default policy. Call string_to_security_class and string_to_av_perm to
7601 translate strings. Enforce default policy and call avs_has_perm with
7602 results of translated strings.
7603
809bd45f
DM
76042014-04-13 David S. Miller <davem@davemloft.net>
7605
7606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7607
89e691f2
AM
76082014-04-12 Allan McRae <allan@archlinux.org>
7609
7610 [BZ #16838]
7611 * manual/string.texi (Collation Functions): Fix qsort argument
7612 order in example.
7613 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7614
9c9daaeb
CM
76152014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7616
7617 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7618 Make the test a no-op if there are no exceptions defined.
7619
95561fb9
PP
76202014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7621
fe8d072c 7622 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
7623 enable-hardcoded-path-in-tests
7624
970c602a
WN
76252014-04-11 Will Newton <will.newton@linaro.org>
7626
7627 * benchtests/Makefile (extra-objs): Add json-lib.o.
7628 (bench-func): Tidy up JSON output.
7629 * benchtests/bench-skeleton.c: Include json-lib.h.
7630 (main): Use JSON library functions to do output of
7631 benchmark results.
7632 * benchtests/bench-timing-type.c (main): Output the
7633 timing type simply, leaving formatting to the user.
7634 * benchtests/json-lib.c: New file.
7635 * benchtests/json-lib.h: Likewise.
7636
36875b06
TR
76372014-04-11 Torvald Riegel <triegel@redhat.com>
7638
7639 [BZ #15215]
7640 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7641 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7642 memory barriers. Add comments.
7643 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7644 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7645 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7646 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7647 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7648 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7649
579db35a
SL
76502014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7651
7652 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7653 * sysdeps/s390/s390-64/configure.ac: ... this ...
7654 * sysdeps/s390/configure.ac: ... to here.
7655 * sysdeps/s390/s390-32/configure: Delete file.
7656 * sysdeps/s390/s390-64/configure: Delete file.
7657 * sysdeps/s390/configure: Regenerate.
7658
c12e9f37
JAPH
76592014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7660
7661 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7662
439bda32
WN
76632014-04-11 Will Newton <will.newton@linaro.org>
7664
7665 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7666 to zero if it is not defined elsewhere. (mtrim): Test
7667 the value of MALLOC_DEBUG with #if rather than #ifdef.
7668
6a5d6ea1
TR
76692014-04-10 Torvald Riegel <triegel@redhat.com>
7670
7671 * benchtests/pthread_once-inputs: New file.
7672 * benchtests/pthread_once-source.c: New file.
7673 * benchtests/README: Update documentation.
7674
a4c75cfd
IZ
76752014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7676 H.J. Lu <hongjiu.lu@intel.com>
7677
7e54fd04 7678 [BZ #16275]
a4c75cfd
IZ
7679 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7680 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7681 * sysdeps/x86_64/configure: Regenerated.
7682 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7683 macro.
7684 (REGISTER_SAVE_RAX): Likewise.
7685 (REGISTER_SAVE_RCX): Likewise.
7686 (REGISTER_SAVE_RDX): Likewise.
7687 (REGISTER_SAVE_RSI): Likewise.
7688 (REGISTER_SAVE_RDI): Likewise.
7689 (REGISTER_SAVE_R8): Likewise.
7690 (REGISTER_SAVE_R9): Likewise.
7691 (REGISTER_SAVE_BND0): Likewise.
7692 (REGISTER_SAVE_BND1): Likewise.
7693 (REGISTER_SAVE_BND2): Likewise.
7694 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7695 bound registers when calling _dl_fixup.
7696
27822ce6
AZ
76972014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7698
7699 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
7700 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7701 of its definition.
27822ce6
AZ
7702 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7703 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7704 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7705 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7706 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7707 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7708 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7709
a88ddc90
PTB
77102014-04-09 Peter Brett <peter@peter-b.co.uk>
7711
7712 [BZ #15514]
7713 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7714 pathconf(_PC_NAME_MAX).
7715
01f8eac2
AZ
77162014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7717
7718 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7719 Remove macro usage.
7720 (__PTHREAD_SPINS): Move definition to ...
7721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7722 (__PTHREAD_SPINS): ... here.
7723 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7724 (__PTHREAD_SPIN): Likewise.
7725 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7726 (__PTHREAD_SPIN): Likewise.
7727 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7728 (__PTHREAD_SPIN): Likewise.
7729 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7730 (__PTHREAD_SPIN): Likewise.
7731 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7732 (__PTHREAD_SPIN): Likewise.
7733 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7734 (__PTHREAD_SPIN): Likewise.
7735 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7736 (__PTHREAD_SPIN): Likewise.
7737 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7738 (__PTHREAD_SPIN): Likewise.
7739 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7740 (__PTHREAD_SPIN): Likewise.
7741 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7742 (__PTHREAD_SPIN): Likewise.
7743 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7744 (__PTHREAD_SPIN): Likewise.
7745 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7746 (__PTHREAD_SPIN): Likewise.
7747
de21c33c
AZ
7748 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7749 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7750 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7751 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7752 imply folder.
7753 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7754 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7755 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7756 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7757 correct imply path.
7758 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7759 strlen symbol for non multi-arch builds.
7760 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7761 missing hidden_def and weak_alias.
7762
862c472e
CD
77632014-04-08 Carlos O'Donell <carlos@redhat.com>
7764
7765 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7766
8667f90e
WN
77672014-04-07 Will Newton <will.newton@linaro.org>
7768
7769 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7770 and contents. [!_LIBC] Remove #ifndef and contents.
7771 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7772 * string/memccpy.c (__memccpy): Use ANSI prototype.
7773 * string/memfrob.c (memfrob): Likewise.
7774 * string/strcoll.c (STRCOLL): Likewise.
7775 * string/strlen.c (strlen): Likewise.
7776 * string/strtok.c (STRTOK): Likewise.
7777 * string/strcat.c: Remove unused #include of memcopy.h.
7778 (strcat): Use ANSI prototype.
7779 * string/strchr.c: Remove unused #include of memcopy.h.
7780 (strchr): Use ANSI prototype.
7781 * string/strcmp.c: Remove unused #include of memcopy.h.
7782 (strcmp): Use ANSI prototype.
7783 * string/strcpy.c: Remove unused #include of memcopy.h.
7784 (strcpy): Use ANSI prototype.
7785
7ffa9423
AZ
77862014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7787
7788 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7789 * config.make.in (config-extra-cppflags): Set it from
7790 libc_extra_cppflags.
7791 * configure.ac (libc_extra_cflags): Make it accumulate over
7792 configure fragments.
7793 (libc_extra_cppflags): New flag.
7794 * configure. Regenerate.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7796 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7797 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7799
8bd70862
AZ
7800 [BZ #16815]
7801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7802 result for FE_DOWNWARD rounding mode.
7803 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7804 Likewise.
7805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7806
d42f3448
CM
78072014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7808
7809 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7810 in function argument name.
7811
1c21d115
DS
78122014-04-03 David Svoboda <svoboda@cert.org>
7813
7814 [BZ #5666]
7815 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7816 explicitly.
7817
fcccd512
RM
78182014-04-03 Roland McGrath <roland@hack.frob.com>
7819
7820 * elf/dl-unmap-segments.h: New file.
7821 * sysdeps/generic/ldsodefs.h
7822 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7823 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7824 * elf/dl-fptr.c: Likewise.
7825 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7826 * sysdeps/aarch64/tlsdesc.c: Likewise.
7827 * sysdeps/arm/tlsdesc.c: Likewise.
7828 * sysdeps/i386/tlsdesc.c: Likewise.
7829 * sysdeps/tile/dl-runtime.c: Likewise.
7830 * sysdeps/x86_64/tlsdesc.c: Likewise.
7831 * elf/dl-load.h: New file.
7832 * elf/dl-load.c: Include it.
7833 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7834 Macros moved to dl-load.h.
7835 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7836 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7837 Use _dl_unmap_segments in place of __munmap.
7838 Break out segment-mapping loop into ...
7839 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7840
f6488e2b
WN
78412014-04-03 Will Newton <will.newton@linaro.org>
7842
7843 * elf/dl-lookup.c (do_lookup_x): Remove comment
7844 referring to nested function and move variable
7845 declarations down to before first use.
7846
6f05bafe
JM
78472014-04-02 Joseph Myers <joseph@codesourcery.com>
7848
a84e78c8
JM
7849 [BZ #16799]
7850 [BZ #16800]
7851 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7852 with 0 numerator.
7853 * math/s_catanf.c (__catanf): Likewise.
7854 * math/s_catanh.c (__catanh): Likewise.
7855 * math/s_catanhf.c (__catanhf): Likewise.
7856 * math/s_catanhl.c (__catanhl): Likewise.
7857 * math/s_catanl.c (__catanl): Likewise.
7858 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7859 by positive zero when computing -Inf result.
7860 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7861 (catanh_test): Likewise.
7862 * sysdeps/i386/fpu/libm-test-ulps: Update.
7863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7864
6f05bafe
JM
7865 [BZ #16789]
7866 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7867 instead of using underflowing value in computing result.
7868 * math/s_clog10.c (__clog10): Likewise.
7869 * math/s_clog10f.c (__clog10f): Likewise.
7870 * math/s_clog10l.c (__clog10l): Likewise.
7871 * math/s_clogf.c (__clogf): Likewise.
7872 * math/s_clogl.c (__clogl): Likewise.
7873 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7874 (clog10_test): Likewise.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update.
7876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7877
b0abbc21
AM
78782014-04-02 Alan Modra <amodra@gmail.com>
7879
7880 [BZ #16739]
7881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7882 output when value is near a power of two. Use int64_t for lx and
7883 remove casts. Use decimal rather than hex exponent constants.
7884 Don't use long double multiplication when double will suffice.
7885 * math/libm-test.inc (nextafter_test_data): Add tests.
7886 * NEWS: Add 16739 and 16786 to bug list.
7887
af6b1797
AM
7888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7889
483818d7
AM
7890 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7891
f6c55796
WN
78922014-04-01 Will Newton <will.newton@linaro.org>
7893
7894 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7895 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7896
13f7fe35
FW
78972014-04-01 Florian Weimer <fweimer@redhat.com>
7898
7899 [BZ #13347]
7900 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7901 * nptl/tst-setuid2.c: New file.
7902 * nptl/Makefile (xtests): Add tst-setuid2.
7903
c859b32e
AM
79042014-04-01 Alan Modra <amodra@gmail.com>
7905
7906 [BZ #16786]
7907 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7908
54fa2475
JM
79092014-03-31 Joseph Myers <joseph@codesourcery.com>
7910
8795b4a4
JM
7911 [BZ #6803]
7912 [BZ #6804]
7913 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7914 set errno as appropriate.
7915 * math/w_scalbf.c (__scalbf): Likewise.
7916 * math/w_scalbl.c (__scalbl): Likewise.
7917 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7918 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7919 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7920 Add more NaN tests.
7921
54fa2475
JM
7922 [BZ #16349]
7923 * math/w_atan2.c: Include <errno.h>.
7924 (__atan2): Set errno for result underflowing to zero.
7925 * math/w_atan2f.c: Include <errno.h>.
7926 (__atan2f): Set errno for result underflowing to zero.
7927 * math/w_atan2l.c: Include <errno.h>.
7928 (__atan2l): Set errno for result underflowing to zero.
7929 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7930 tests.
7931 * math/auto-libm-test-out: Regenerated.
7932
757d9dd5
AZ
79332014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7934
7935 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7936 Encode instruction correctly in little endian.
7937 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7938 Likewise.
7939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7940 Likewise.
7941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7942 Likewise.
7943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7944 Likewise.
7945
d7a68734
JM
79462014-03-31 Joseph Myers <joseph@codesourcery.com>
7947
47c5adeb
JM
7948 [BZ #9894]
7949 * sysdeps/unix/sysv/linux/kernel-features.h
7950 [__sparc__ && !__arch64__ && !__sparc_v9__]
7951 (__ASSUME_SET_ROBUST_LIST): Do not define.
7952 [__sparc__ && !__arch64__ && !__sparc_v9__]
7953 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7954 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7955 Likewise.
7956 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7957 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7958 (__ASSUME_REQUEUE_PI): Likewise.
7959 (__ASSUME_SET_ROBUST_LIST): Likewise.
7960 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7961 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7962 Undefine.
7963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7964 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7965 Likewise.
7966 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7967 Likewise.
7968 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7969 Likewise.
7970 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7971 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7972 Undefine.
7973 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7974 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7975 Likewise.
7976
d7a68734
JM
7977 [BZ #16648]
7978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7979 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7980 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7981
c760f5c2
WN
79822014-03-31 Will Newton <will.newton@linaro.org>
7983
7984 * benchtests/Makefile (bench): Add ffs and ffsll to list
7985 of tests.
7986 * benchtests/ffs-inputs: New file.
7987 * benchtests/ffsll-inputs: Likewise.
7988
ea6029b1
JM
79892014-03-29 Joseph Myers <joseph@codesourcery.com>
7990
7991 [BZ #16770]
7992 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7993 too large before casting to int.
7994 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7995 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7996 * math/libm-test.inc (scalb_test_data): Add more tests.
7997
cf806aff
SP
79982014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7999
56737508
SP
8000 * benchtests/Makefile (DETAILED_OPT): New make option.
8001 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8002 set.
8003 * benchtests/bench-skeleton.c: Include stdbool.h.
8004 (main): Store and print timings per input.
8005 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8006 member to each argument value.
8007 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8008 (_print_arg_data): Initialize per-input timing to 0.
8009
cb5e4aad
SP
8010 * benchtests/Makefile (timing-type): New binary.
8011 (bench-clean): Also remove bench-timing-type.
8012 (bench): New target for timing-type.
8013 (bench-func): Print output in JSON format.
8014 * benchtests/bench-skeleton.c (main): Print output in JSON
8015 format.
8016 * benchtests/bench-timing-type.c: New file.
8017 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8018 (TIMING_PRINT_STATS): Remove.
8019 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8020 name separately.
8021
cf806aff
SP
8022 * benchtests/bench-modf.c: Remove.
8023 * benchtests/modf-inputs: New inputs file.
8024
289e0779
JM
80252014-03-28 Joseph Myers <joseph@codesourcery.com>
8026
8027 [BZ #16362]
8028 * math/s_clog10.c (M_PI_LOG10E): New macro.
8029 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8030 imaginary parts are 0.
8031 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8032 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8033 imaginary parts are 0.
8034 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8035 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8036 imaginary parts are 0.
8037 * math/libm-test.inc (clog10_test_data): Update expected results
8038 for when real and imaginary parts are 0.
8039
277ae3f1
PP
80402014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8041
8042 * elf/dl-load.c: Finish conversion of __builtin_expect into
8043 __glibc_{un}likely.
8044
03a7091f
JM
80452014-03-27 Joseph Myers <joseph@codesourcery.com>
8046
8047 [BZ #16348]
8048 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8049 1+x for argument with exponent below -67.
8050 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8051 Likewise.
8052 * math/auto-libm-test-in: Add more tests of exp.
8053 * math/auto-libm-test-out: Regenerated.
8054
ea7d8b95
SP
80552014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8056
dd3022d7
SP
8057 [BZ #16759]
8058 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8059 (nscd_getnetgrent): Use it.
8060
ea7d8b95
SP
8061 [BZ #16760]
8062 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8063 of stpcpy.
8064
df5b85da
AK
80652014-03-27 Andi Kleen <ak@linux.intel.com>
8066
57f41c40
AS
8067 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8068 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8069 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8070 (lll_robust_unlock): Remove out of line section. Use cfi
8071 intrinsics.
df5b85da 8072 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
8073 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8074 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8075 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8076 (lll_robust_unlock): Remove out of line section. Use cfi
8077 intrinsics.
df5b85da
AK
8078 (LLL_STUB_UNWIND_INFO*): Remove.
8079
fbd6b5a4
SP
80802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8081
8082 [BZ #16758]
8083 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8084 blank values.
8085
1b26b855
PP
80862014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8087
8088 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8089
9be36fb8
JM
80902014-03-26 Joseph Myers <joseph@codesourcery.com>
8091
8092 [BZ #16198]
8093 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8094 fnstenv.
8095 * math/test-fenv-preserve.c: New file.
8096 * math/Makefile (tests): Add test-fenv-preserve.
8097
60a2f3c1
WN
80982014-03-26 Will Newton <will.newton@linaro.org>
8099
8100 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8101
a5e5f1e2
RM
81022014-03-25 Roland McGrath <roland@hack.frob.com>
8103
8104 * scripts/versionlist.awk: Partition the version sets and emit all
8105 GLIBC_* (sorted) before all others (sorted).
8106
00f4012a
JM
81072014-03-25 Joseph Myers <joseph@codesourcery.com>
8108
8109 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8110 GLIBC_2.2.5 version.
8111
7bc5a741
AZ
81122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8113
8114 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8115 calls.
8116
7578473b
AZ
8117 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8118 previous change.
8119
f3f1dab3
AZ
8120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8121
6da36183
AS
81222014-03-25 Andreas Schwab <schwab@suse.de>
8123
8124 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8125 label to be used after in6ailist is initialized.
8126
f3f1dab3 81272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 8128
7578473b 8129 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
8130 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8131
046651c1
JM
81322014-03-25 Joseph Myers <joseph@codesourcery.com>
8133
8134 [BZ #16357]
8135 [BZ #16599]
8136 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8137 min_plus_half.
8138 (fp_formats): Update initializers.
8139 (init_fp_formats): Initialize new field.
8140 (output_for_one_input_case): Allow underflow for results up to
8141 min_plus_half.
8142 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8143 * math/auto-libm-test-in: Don't mark some underflows from asin and
8144 atanh as spurious.
8145 * math/auto-libm-test-out: Regenerated.
8146 * sysdeps/i386/fpu/libm-test-ulps: Update.
8147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8148
003e49ed
AS
81492014-03-25 Andreas Schwab <schwab@suse.de>
8150
8151 * libio/Makefile (tst-ftell-partial-wide-ENV)
8152 (tst-ftell-active-handler-ENV): Define.
8153
de031874
SL
81542014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8155
8156 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8157
55a81e3b
PP
81582014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8159
8160 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8161
f3426898
JM
81622014-03-24 Joseph Myers <joseph@codesourcery.com>
8163
8164 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8165 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8166 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8167
a42faf59
PP
81682014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8169
8170 [BZ #16634]
a42faf59 8171 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8172 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8173 (open_path): Change from boolean 'secure' to complete flag 'mode'
8174 (_dl_map_object): Adjust.
a42faf59
PP
8175 * elf/Makefile (tests): Add tst-dlopen-aout.
8176 * elf/tst-dlopen-aout.c: New test.
8177
50936127
SL
81782014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8179
8180 [BZ #16714]
8181 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8182 (struct stat): Rename member pad0 to __glibc_reserved0.
8183
26011b5c
SL
8184 [BZ #16712]
8185 * sysdeps/s390/s390-32/bits/wordsize.h
8186 (__WORDSIZE32_SIZE_ULONG): New define.
8187 * sysdeps/s390/s390-64/bits/wordsize.h
8188 (__WORDSIZE32_SIZE_ULONG): Likewise.
8189 * sysdeps/generic/stdint.h (SIZE_MAX):
8190 Define as UL if __WORDSIZE32_SIZE_ULONG.
8191
a2d86bf1
SL
8192 [BZ #16713]
8193 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8194 (__glibc_reserved0): New variable.
8195 (sa_flags): Change type to int.
8196
78b6eebc
SL
8197 * posix/Makefile (before-compile): Use += before-compile instead
8198 of a :=.
8199
f1399b5a
SL
8200 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8201 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8202
a071766e
AS
82032014-03-20 Andreas Schwab <schwab@suse.de>
8204
8205 [BZ #16743]
8206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8207 non-matching result from nscd.
8208
27c673b8
SP
82092014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8210
8211 * scripts/bench.py: Moved to ...
8212 * benchtests/scripts/bench.py: ... here.
8213 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8214
44152e4b
AS
82152014-03-24 Andreas Schwab <schwab@suse.de>
8216
8217 [BZ #16002]
8218 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8219 alloca_account and account alloca use for struct in6ailist.
8220
b376a11a
JM
82212014-03-24 Joseph Myers <joseph@codesourcery.com>
8222
8223 [BZ #16284]
8224 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8225 rounding mode to recompute results that overflow to infinity or
8226 underflow to zero.
8227 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8228 bug 16284.
8229 * math/auto-libm-test-out: Regenerated.
8230 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8231 (ccosh_test): Likewise.
8232 (csin_test_data): Use plus_oflow.
8233 (csin_test): Use ALL_RM_TEST.
8234 (csinh_test_data): Use plus_oflow.
8235 (csinh_test): Use ALL_RM_TEST.
8236 * sysdeps/i386/fpu/libm-test-ulps: Update.
8237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8238
f7be7376
JM
82392014-03-21 Joseph Myers <joseph@codesourcery.com>
8240
1ca2d03e
JM
8241 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8242 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8243 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8244
f7be7376
JM
8245 [BZ #16731]
8246 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8247 when x - 1 is zero.
8248 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8249 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8250 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8251 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8252 argument is 1.
8253 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8254 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8255 zero.
8256 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8257 * sysdeps/i386/fpu/libm-test-ulps: Update.
8258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8259
fdf4534d
SP
82602014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8261
df26ea53
SP
8262 * scripts/bench.pl: Remove file.
8263 * scripts/bench.py: New benchmark script.
8264 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8265 * benchtests/README: Mention python dependency.
8266 * scripts/pylintrc: New file.
8267 * scripts/pylint: New file.
8268
fdf4534d
SP
8269 * bits/mathdef.h: Use #ifdef instead of #if.
8270 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8271 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8272 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8273 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8274 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8275 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8276
6f23d093
AZ
82772014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8278 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8279
8280 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8282 and strpbrk-ppc64 objects.
8283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8284 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8285 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8286 multiarch strpbrk for POWER7.
8287 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8288 multiarch strpbrk for PPC64.
8289 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8290 ifunc selector.
8291 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8292 strpbrk for POWER7.
8293
8c92dfff
JM
82942014-03-20 Joseph Myers <joseph@codesourcery.com>
8295
8296 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8297 (atan_test): Likewise.
8298 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8299 (atanh_test): Use ALL_RM_TEST.
8300 (atan2_test_data): Likewise.
8301 (cabs_test): Likewise.
8302 (cacosh_test): Likewise.
8303 (carg_test): Likewise.
8304 (casin_test): Likewise.
8305 (casinh_test): Likewise.
8306 (cbrt_test): Likewise.
8307 (csqrt_test): Likewise.
8308 (erf_test): Likewise.
8309 (erfc_test): Likewise.
8310 (pow10_test): Likewise.
8311 (exp2_test): Likewise.
8312 (hypot_test): Likewise.
8313 (j0_test): Likewise.
8314 (j1_test): Likewise.
8315 (lgamma_test): Likewise.
8316 (gamma_test): Likewise.
8317 (sincos_test): Likewise.
8318 (tanh_test): Likewise.
8319 (y0_test): Likewise.
8320 (y1_test): Likewise.
8321 * sysdeps/i386/fpu/libm-test-ulps: Update.
8322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8323
6eaf95cb
AZ
83242014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8325
a387428c
SP
8326 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8328 and strcspn-ppc64 objects.
8329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8330 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8331 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8332 multiarch strcspn for POWER7.
8333 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8334 multiarch strcspn for PPC64.
8335 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8336 ifunc selector.
8337 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8338 strcspn for POWER7.
8339
ae3a5dff
JM
83402014-03-20 Joseph Myers <joseph@codesourcery.com>
8341
8342 * math/gen-libm-test.pl (generate_testfile): Expect only function
8343 name as argument to AUTO_TESTS_* and pass results for all rounding
8344 modes to parse_args.
8345 (parse_auto_input): Separate inputs of automatic tests from
8346 outputs before storing in %auto_tests.
8347 * math/libm-test.inc (acos_test_data): Update call to
8348 AUTO_TESTS_f_f.
8349 (acos_test): Use ALL_RM_TEST.
8350 (acos_tonearest_test_data): Remove.
8351 (acos_test_tonearest): Likewise.
8352 (acos_towardzero_test_data): Likewise.
8353 (acos_test_towardzero): Likewise.
8354 (acos_downward_test_data): Likewise.
8355 (acos_test_downward): Likewise.
8356 (acos_upward_test_data): Likewise.
8357 (acos_test_upward): Likewise.
8358 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8359 (asin_test_data): Likewise.
8360 (asin_test): Use ALL_RM_TEST.
8361 (asin_tonearest_test_data): Remove.
8362 (asin_test_tonearest): Likewise.
8363 (asin_towardzero_test_data): Likewise.
8364 (asin_test_towardzero): Likewise.
8365 (asin_downward_test_data): Likewise.
8366 (asin_test_downward): Likewise.
8367 (asin_upward_test_data): Likewise.
8368 (asin_test_upward): Likewise.
8369 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8370 (atan_test_data): Likewise.
8371 (atanh_test_data): Likewise.
8372 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8373 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8374 (carg_test_data): Likewise.
8375 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8376 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8377 (ccosh_test_data): Likewise.
8378 (cexp_test_data): Likewise.
8379 (clog_test_data): Likewise.
8380 (clog10_test_data): Likewise.
8381 (cos_test_data): Update call to AUTO_TESTS_f_f.
8382 (cos_test): Use ALL_RM_TEST.
8383 (cos_tonearest_test_data): Remove.
8384 (cos_test_tonearest): Likewise.
8385 (cos_towardzero_test_data): Likewise.
8386 (cos_test_towardzero): Likewise.
8387 (cos_downward_test_data): Likewise.
8388 (cos_test_downward): Likewise.
8389 (cos_upward_test_data): Likewise.
8390 (cos_test_upward): Likewise.
8391 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8392 (cosh_test): Use ALL_RM_TEST.
8393 (cosh_tonearest_test_data): Remove.
8394 (cosh_test_tonearest): Likewise.
8395 (cosh_towardzero_test_data): Likewise.
8396 (cosh_test_towardzero): Likewise.
8397 (cosh_downward_test_data): Likewise.
8398 (cosh_test_downward): Likewise.
8399 (cosh_upward_test_data): Likewise.
8400 (cosh_test_upward): Likewise.
8401 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8402 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8403 (ctan_test_data): Likewise.
8404 (ctan_test): Use ALL_RM_TEST.
8405 (ctan_tonearest_test_data): Remove.
8406 (ctan_test_tonearest): Likewise.
8407 (ctan_towardzero_test_data): Likewise.
8408 (ctan_test_towardzero): Likewise.
8409 (ctan_downward_test_data): Likewise.
8410 (ctan_test_downward): Likewise.
8411 (ctan_upward_test_data): Likewise.
8412 (ctan_test_upward): Likewise.
8413 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8414 (ctanh_test): Use ALL_RM_TEST.
8415 (ctanh_tonearest_test_data): Remove.
8416 (ctanh_test_tonearest): Likewise.
8417 (ctanh_towardzero_test_data): Likewise.
8418 (ctanh_test_towardzero): Likewise.
8419 (ctanh_downward_test_data): Likewise.
8420 (ctanh_test_downward): Likewise.
8421 (ctanh_upward_test_data): Likewise.
8422 (ctanh_test_upward): Likewise.
8423 (erf_test_data): Update call to AUTO_TESTS_f_f.
8424 (erfc_test_data): Likewise.
8425 (exp_test_data): Likewise.
8426 (exp_test): Use ALL_RM_TEST.
8427 (exp_tonearest_test_data): Remove.
8428 (exp_test_tonearest): Likewise.
8429 (exp_towardzero_test_data): Likewise.
8430 (exp_test_towardzero): Likewise.
8431 (exp_downward_test_data): Likewise.
8432 (exp_test_downward): Likewise.
8433 (exp_upward_test_data): Likewise.
8434 (exp_test_upward): Likewise.
8435 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8436 (exp10_test): Use ALL_RM_TEST.
8437 (exp10_tonearest_test_data): Remove.
8438 (exp10_test_tonearest): Likewise.
8439 (exp10_towardzero_test_data): Likewise.
8440 (exp10_test_towardzero): Likewise.
8441 (exp10_downward_test_data): Likewise.
8442 (exp10_test_downward): Likewise.
8443 (exp10_upward_test_data): Likewise.
8444 (exp10_test_upward): Likewise.
8445 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8446 (expm1_test_data): Likewise.
8447 (expm1_test): Use ALL_RM_TEST.
8448 (expm1_tonearest_test_data): Remove.
8449 (expm1_test_tonearest): Likewise.
8450 (expm1_towardzero_test_data): Likewise.
8451 (expm1_test_towardzero): Likewise.
8452 (expm1_downward_test_data): Likewise.
8453 (expm1_test_downward): Likewise.
8454 (expm1_upward_test_data): Likewise.
8455 (expm1_test_upward): Likewise.
8456 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8457 (fma_test): Use ALL_RM_TEST.
8458 (fma_towardzero_test_data): Remove.
8459 (fma_test_towardzero): Likewise.
8460 (fma_downward_test_data): Likewise.
8461 (fma_test_downward): Likewise.
8462 (fma_upward_test_data): Likewise.
8463 (fma_test_upward): Likewise.
8464 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8465 (j0_test_data): Update call to AUTO_TESTS_f_f.
8466 (j1_test_data): Likewise.
8467 (jn_test_data): Update call to AUTO_TESTS_if_f.
8468 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8469 (log_test_data): Update call to AUTO_TESTS_f_f.
8470 (log10_test_data): Likewise.
8471 (log1p_test_data): Likewise.
8472 (log2_test_data): Likewise.
8473 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8474 (pow_tonearest_test_data): Likewise.
8475 (sin_test_data): Update call to AUTO_TESTS_f_f.
8476 (sin_test): Use ALL_RM_TEST.
8477 (sin_tonearest_test_data): Remove.
8478 (sin_test_tonearest): Likewise.
8479 (sin_towardzero_test_data): Likewise.
8480 (sin_test_towardzero): Likewise.
8481 (sin_downward_test_data): Likewise.
8482 (sin_test_downward): Likewise.
8483 (sin_upward_test_data): Likewise.
8484 (sin_test_upward): Likewise.
8485 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8486 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8487 (sinh_test): Use ALL_RM_TEST.
8488 (sinh_tonearest_test_data): Remove.
8489 (sinh_test_tonearest): Likewise.
8490 (sinh_towardzero_test_data): Likewise.
8491 (sinh_test_towardzero): Likewise.
8492 (sinh_downward_test_data): Likewise.
8493 (sinh_test_downward): Likewise.
8494 (sinh_upward_test_data): Likewise.
8495 (sinh_test_upward): Likewise.
8496 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8497 (sqrt_test): Use ALL_RM_TEST.
8498 (sqrt_tonearest_test_data): Remove.
8499 (sqrt_test_tonearest): Likewise.
8500 (sqrt_towardzero_test_data): Likewise.
8501 (sqrt_test_towardzero): Likewise.
8502 (sqrt_downward_test_data): Likewise.
8503 (sqrt_test_downward): Likewise.
8504 (sqrt_upward_test_data): Likewise.
8505 (sqrt_test_upward): Likewise.
8506 (tan_test_data): Update call to AUTO_TESTS_f_f.
8507 (tan_test): Use ALL_RM_TEST.
8508 (tan_tonearest_test_data): Remove.
8509 (tan_test_tonearest): Likewise.
8510 (tan_towardzero_test_data): Likewise.
8511 (tan_test_towardzero): Likewise.
8512 (tan_downward_test_data): Likewise.
8513 (tan_test_downward): Likewise.
8514 (tan_upward_test_data): Likewise.
8515 (tan_test_upward): Likewise.
8516 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8517 (tgamma_test_data): Likewise.
8518 (y0_test_data): Likewise.
8519 (y1_test_data): Likewise.
8520 (yn_test_data): Update call to AUTO_TESTS_if_f.
8521 (main): Do not call removed functions.
8522
d71aeee8
JM
85232014-03-19 Joseph Myers <joseph@codesourcery.com>
8524
8525 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8526 (ldexp_test_data): Remove.
8527 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8528 scalbn_test_data.
8529 (scalb_test): Use ALL_RM_TEST.
8530
baaf1ded
AS
85312014-03-19 Andreas Schwab <schwab@suse.de>
8532
8533 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8534
b1115e91
JM
85352014-03-19 Joseph Myers <joseph@codesourcery.com>
8536
8537 [BZ #16649]
8538 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8539 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8540 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8542 (__ASSUME_PREADV): Undefine.
8543 (__ASSUME_PWRITEV): Likewise.
8544
0283ecca
RM
85452014-03-18 Roland McGrath <roland@hack.frob.com>
8546
7d375303
RM
8547 * bits/mman-linux.h: Add comment about non-Linux use.
8548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8549 bits/mman-linux.h resting place.
8550
0283ecca
RM
8551 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8552 * bits/mman-linux.h: ... here.
8553
aebe1003
AZ
85542014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8555
8556 * conform/conformtest.pl: Add standard definition when calling C
8557 preprocessor on data files.
8558 (checknamespace): Remove unused variable.
8559
b29b6bb8
JM
85602014-03-18 Joseph Myers <joseph@codesourcery.com>
8561
8562 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8563 minus_oflow, plus_uflow and minus_uflow in expected results.
8564 * math/libm-test.inc (scalbn_test_data): Add more tests of
8565 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8566 minus_uflow.
8567 (scalbn_test): Use ALL_RM_TEST.
8568 (scalbln_test_data): Add more tests of negative arguments. Use
8569 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8570 (scalbln_test): Use ALL_RM_TEST.
8571
c8f8fa15
RM
85722014-03-18 Roland McGrath <roland@hack.frob.com>
8573
8574 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8575
fede7a5f
WN
85762014-03-18 Will Newton <will.newton@linaro.org>
8577
8578 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8579 inaccurate comment.
8580
80cf0a58
JM
85812014-03-18 Joseph Myers <joseph@codesourcery.com>
8582
8583 * Makerules [!subdir] (check-abi): Exit with error status if a
8584 test failed.
8585
b3620862
JM
85862014-03-17 Joseph Myers <joseph@codesourcery.com>
8587
8588 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8589 for rint. Include results for all rounding modes.
8590 (nearbyint_test): Use ALL_RM_TEST.
8591 (rint_test_data): Include all tests used for nearbyint.
8592
788bba36
WN
85932014-03-17 Will Newton <will.newton@linaro.org>
8594
04ec140a
WN
8595 * nptl/sysdeps/pthread/pthread.h: Revert previous
8596 change.
8597
7579d8d5
WN
8598 * sysdeps/generic/ldsodefs.h: Revert previous
8599 change.
8600
c15cf13a
WN
8601 * libio/genops.c: Revert previous change.
8602 * libio/libioP.h: Likewise.
8603 * stdio-common/vfprintf.c: Likewise.
8604
d0ac1324
WN
8605 * sysdeps/generic/math_private.h: Revert previous
8606 change.
8607
9290130a
WN
8608 * sysdeps/generic/math_private.h: Check whether
8609 HAVE_RM_CTX is defined with #ifdef rather
8610 than #if.
8611
afb466fc
WN
8612 * argp/argp-fmtstream.h: Check whether
8613 __STRICT_ANSI__ is defined with #ifdef rather
8614 than #if.
8615 * argp/argp.h: Likewise.
8616
f7efd7c3
WN
8617 * libio/genops.c: Check whether
8618 _IO_JUMPS_OFFSET is defined with #ifdef rather
8619 than #if.
8620 * libio/libioP.h: Likewise.
8621 * stdio-common/vfprintf.c: Likewise.
8622
53f1bed3
WN
8623 * sysdeps/generic/ldsodefs.h: Check whether
8624 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8625 than #if.
8626
788bba36
WN
8627 * nptl/sysdeps/pthread/pthread.h: Check
8628 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8629 its value.
8630
fcd89ebe
SP
86312014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8632
ae42bbc5
SP
8633 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8634 setting O_APPEND.
8635 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8636 test case.
8637
ea33158c
SP
8638 [BZ #16680]
8639 * libio/fileops.c (_IO_file_open): Seek to end of file but
8640 don't cache the offset.
8641 (get_file_offset): Remove function.
8642 (do_ftell): Use cached offset when available.
8643 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8644 don't cache the offset.
8645 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8646 case.
8647 (do_one_test): Call it.
8648 (do_ftell_test): Fix up expected old offset for a+ mode.
8649 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8650 available.
8651
b1dbb426
SP
8652 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8653 up test status with function return status.
8654 (do_write_test): Likewise.
8655 (do_append_test): Likewise.
8656
fcd89ebe
SP
8657 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8658 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8659 Remove.
8660
9962a2d3
JM
86612014-03-17 Joseph Myers <joseph@codesourcery.com>
8662
8663 * math/gen-libm-test.pl (parse_args): Handle results specified for
8664 each rounding mode separately.
8665 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8666 tests and results from lrint_tonearest_test_data,
8667 lrint_towardzero_test_data, lrint_downward_test_data and
8668 lrint_upward_test_data.
8669 (lrint_test): Use ALL_RM_TEST.
8670 (lrint_tonearest_test_data): Remove.
8671 (lrint_test_tonearest): Likewise.
8672 (lrint_towardzero_test_data): Likewise.
8673 (lrint_test_towardzero): Likewise.
8674 (lrint_downward_test_data): Likewise.
8675 (lrint_test_downward): Likewise.
8676 (lrint_upward_test_data): Likewise.
8677 (lrint_test_upward): Likewise.
8678 (llrint_test_data): Merge in per-rounding-mode tests and results
8679 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8680 llrint_downward_test_data and llrint_upward_test_data.
8681 (llrint_test): Use ALL_RM_TEST.
8682 (llrint_tonearest_test_data): Remove.
8683 (llrint_test_tonearest): Likewise.
8684 (llrint_towardzero_test_data): Likewise.
8685 (llrint_test_towardzero): Likewise.
8686 (llrint_downward_test_data): Likewise.
8687 (llrint_test_downward): Likewise.
8688 (llrint_upward_test_data): Likewise.
8689 (llrint_test_upward): Likewise.
8690 (rint_test_data): Merge in per-rounding-mode tests and results
8691 from rint_tonearest_test_data, rint_towardzero_test_data,
8692 rint_downward_test_data and rint_upward_test_data. Add
8693 per-rounding-mode results for tests not in those arrays.
8694 (rint_test): Use ALL_RM_TEST.
8695 (rint_tonearest_test_data): Remove.
8696 (rint_test_tonearest): Likewise.
8697 (rint_towardzero_test_data): Likewise.
8698 (rint_test_towardzero): Likewise.
8699 (rint_downward_test_data): Likewise.
8700 (rint_test_downward): Likewise.
8701 (rint_upward_test_data): Likewise.
8702 (rint_test_upward): Likewise.
8703 (main): Don't call removed functions.
8704
5006148e
RM
87052014-03-14 Roland McGrath <roland@hack.frob.com>
8706
8707 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8708 "Compiled on ..." crapola. It is anti-useful.
8709
d6fe5e58
JM
87102014-03-14 Joseph Myers <joseph@codesourcery.com>
8711
8712 * scripts/evaluate-test.sh: Handle fourth argument to determine
8713 whether test run should stop on failure.
8714 * Makeconfig (stop-on-test-failure): New variable.
8715 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8716 $(stop-on-test-failure).
8717 * Makefile (tests): Give a summary of results from testing and
8718 exit with failure status if they include an ERROR or FAIL.
8719 (xtests): Likewise.
8720 * manual/install.texi (Configuring and compiling): Mention
8721 stop-on-test-failure=y.
8722 * INSTALL: Regenerated.
8723
498a2233
RM
87242014-03-14 Roland McGrath <roland@hack.frob.com>
8725
22dbc19d
RM
8726 * scripts/versionlist.awk: New file.
8727 * Makerules [$(build-shared) = yes]
8728 (postclean-generated): Add Versions.def, not Versions.def.v and
8729 Versions.def.v.i.
8730 ($(common-objpfx)Versions.def.v.i): Target removed.
8731 ($(common-objpfx)Versions.def): New target.
8732 ($(common-objpfx)Versions.all): Depend on that rather that
8733 $(common-objpfx)Versions.def.v.
8734 * Versions.def: File removed.
8735
498a2233
RM
8736 * Makeconfig (+gccwarn): Add -Wundef.
8737 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8738 a dl-sysdep.h breaking its contract.
8739 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8740 * include/stackinfo.h: New file.
8741 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8742 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8743 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8744 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8745 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8746 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8747 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8748 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8749 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8750 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8751 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8752 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8753 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8754 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8755 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8756
c7de5025
AZ
87572014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8758
8759 [BZ #16707]
8760 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8761 implementation.
8762 * math/libm-test.inc (round_test_data): Add more tests.
8763
98fb27a3
AZ
8764 [BZ #16706]
8765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8766 implementation.
8767 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8768
374f7f61
AZ
8769 [BZ #16701]
8770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8771 implementation.
8772 * math/libm-test.inc (ceil_test_data): Add more tests.
8773
4655c291
AZ
8774 * math/libm-test.inc (trunc_test_data): Add more tests related to
8775 BZ#16414.
8776
d7329d4b
RM
87772014-03-14 Roland McGrath <roland@hack.frob.com>
8778
8779 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8780 with #if rather than #ifdef.
8781 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8782
aa4de9ce
L
87832014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8784
8785 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8786 first. Disable AVX-512 GCC support if assembler doesn't support
8787 it.
8788 * sysdeps/x86_64/configure: Regenerated.
8789
2e03fae7
CD
87902014-03-13 Carlos O'Donell <carlos@redhat.com>
8791
8792 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8793 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8794 (__old_pthread_attr_setstack): Likewise.
8795 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8796 [!_STACK_GROWS_DOWN]: Likewise.
8797
43ca83ec
MF
87982014-03-13 Mike Frysinger <vapier@gentoo.org>
8799
8800 * config.make.in (have-bash2): Delete.
8801 * configure.ac (libc_cv_have_bash2): Delete.
8802 * configure: Regenerate.
8803 * elf/Makefile (common-ldd-rewrite): Rename to ...
8804 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8805 (sh-ldd-rewrite): Delete.
8806 (bash-ldd-rewrite): Delete.
8807 (have-bash2): Delete checks.
57f41c40
AS
8808 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8809 ldd-rewrite.
c66e48b4
MF
8810
8811 * config.make.in (have-ksh): Delete.
8812 (KSH): Delete.
8813 * configure.ac (libc_cv_have_ksh): Delete.
8814 * configure: Regenerate.
8815
b93834ef
MF
8816 * elf/Makefile: Delete $(have-ksh) check.
8817 ($(objpfx)sotruss): Change KSH to BASH.
8818 * elf/sotruss.ksh: Rename to ...
8819 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8820 function style to match POSIX. Drop ksh vim mode setting.
8821
f3a4632a
MF
8822 * manual/time.texi (Specifying the Time Zone with TZ): Change
8823 Tuesday to Thursday.
8824
5896c8bd
MF
8825 * debug/tst-longjmp_chk2.c: Update header comment.
8826 (stackoverflow_handler): Add comment. Call assert on pass value.
8827
2d63a517
IZ
88282014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8829
7e54fd04 8830 [BZ #16194]
2d63a517
IZ
8831 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8832 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8833 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8834 (La_x86_64_vector): Add zmm.
8835 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8836 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8837 ($(objpfx)tst-audit10): New target.
8838 ($(objpfx)tst-audit10.out): Likewise.
8839 (tst-audit10-ENV): New.
8840 (AVX512-CFLAGS): Likewise.
8841 (CFLAGS-tst-audit10.c): Likewise.
8842 (CFLAGS-tst-auditmod10a.c): Likewise.
8843 (CFLAGS-tst-auditmod10b.c): Likewise.
8844 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8845 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8846 * sysdeps/x86_64/configure: Regenerated.
8847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8848 AVX-512 zmm register support.
8849 (_dl_x86_64_save_sse): Likewise.
8850 (_dl_x86_64_restore_sse): Likewise.
8851 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8852 size vector registers.
8853 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8854 (ZMM_SIZE): Likewise.
8855 * sysdeps/x86_64/tst-audit10.c: New file.
8856 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8857 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8858
44c4e5d5
RM
88592014-03-13 Roland McGrath <roland@hack.frob.com>
8860
8861 * configure.ac (HAVE_EHDR_START): New check.
8862 * configure: Regenerated.
8863 * config.h.in (HAVE_EHDR_START): New #undef.
8864 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8865 assuming the lowest-addressed segment maps the start of the file.
8866
acd6e389
JM
88672014-03-13 Joseph Myers <joseph@codesourcery.com>
8868
8869 * INSTALL: Regenerated.
8870
6f918f36
WN
88712014-03-13 Will Newton <will.newton@linaro.org>
8872
8873 * manual/setjmp.texi (System V contexts): Improve
8874 clarity and grammar of documentation.
8875
798212a0
PP
88762014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8877
8878 [BZ #16381]
798212a0 8879 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8880 (tests-pie): Add tst-pie2.
798212a0
PP
8881 * elf/tst-pie2.c: New file.
8882 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8883 for ET_EXEC.
8884 * elf/rtld.c (map_doit): Load executable as lt_executable.
8885 (dl_main): Likewise.
8886
abe6d90c
JM
88872014-03-12 Joseph Myers <joseph@codesourcery.com>
8888
8889 [BZ #16642]
8890 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8891 (__ASSUME_PSELECT): Undefine.
8892
dd3946c6
AZ
88932014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8894
8895 [BZ #16689]
8896 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8897 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8898 static build.
8899 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8900 selector for static builds.
8901
c44496df
SP
89022014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8903
8904 [BZ #16695]
8905 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8906 key in the buffer.
8907
27c7220a
AZ
89082014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8909
57f41c40
AS
8910 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8911 IFUNC selector for static builds.
27c7220a 8912
600fa361
JM
89132014-03-11 Joseph Myers <joseph@codesourcery.com>
8914
76c96cf7
JM
8915 * sysdeps/mips/math_private.h [__mips_hard_float]
8916 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8917 libc_feresetround_mips_ctx.
8918 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8919 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8920 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8921
600fa361
JM
8922 [BZ #16677]
8923 * math/s_nextafter.c (__nextafter): Do not return value from
8924 overflowing computation.
8925 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8926 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8927 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8928 Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8930 Likewise.
8931 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8932 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8933
d7706c32
RM
89342014-03-11 Roland McGrath <roland@hack.frob.com>
8935
8936 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8937 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8938 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8939 the new mov targetting sp.
8940
4facea47
AZ
89412014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8942
8943 [BZ #16683]
8944 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8945 Define it for static builds as well.
8946 (NO_BZERO_IMPL): Likewise.
8947
e65caf1f
VR
89482014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8949
8950 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8951 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8952 multiarch strspn for PPC64.
8953 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8954 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8956 (__libc_ifunc_impl_list): Likewise.
8957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8958 multiarch optimizations
8959 * string/strspn.c (strspn): Using macro to redefine symbol name.
8960
ba9cc071
AZ
89612014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8962 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8963
8964 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8965 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8966 multiarch strncat for PPC64.
8967 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8968 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8970 (__libc_ifunc_impl_list): Likewise.
8971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8972 multiarch optimizations
8973
8b4ff974
SP
89742014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8975
8976 [BZ #16639]
8977 * nscd/nscd.service: Make service type forking.
8978
54b46a4b
AZ
89792014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8980
8981 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8982 sign in non default rounding modes.
8983 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8984
e9996ef7
JM
89852014-03-08 Joseph Myers <joseph@codesourcery.com>
8986
8987 * math/libm-test.inc (ALL_RM_TEST): New macro.
8988 (ceil_test): Use ALL_RM_TEST.
8989 (cimag_test): Likewise.
8990 (conj_test): Likewise.
8991 (copysign_test): Likewise.
8992 (cproj_test): Likewise.
8993 (creal_test): Likewise.
8994 (fabs_test): Likewise.
8995 (floor_test): Likewise.
8996 (fmax_test): Likewise.
8997 (fmin_test): Likewise.
8998 (fmod_test): Likewise.
8999 (fpclassify_test): Likewise.
9000 (frexp_test): Likewise.
9001 (ilogb_test): Likewise.
9002 (isfinite_test): Likewise.
9003 (finite_test): Likewise.
9004 (isgreater_test): Likewise.
9005 (isgreaterequal_test): Likewise.
9006 (isinf_test): Likewise.
9007 (isless_test): Likewise.
9008 (islessequal_test): Likewise.
9009 (islessgreater_test): Likewise.
9010 (isnan_test): Likewise.
9011 (isnormal_test): Likewise.
9012 (issignaling_test): Likewise.
9013 (isunordered_test): Likewise.
9014 (logb_test): Likewise.
9015 (logb_downward_test_data): Remove.
9016 (logb_test_downward): Likewise.
9017 (lround_test): Use ALL_RM_TEST.
9018 (llround_test): Likewise.
9019 (modf_test): Likewise.
9020 (nexttoward_test): Likewise.
9021 (remainder_test): Likewise.
9022 (drem_test): Likewise.
9023 (remainder_tonearest_test_data): Likewise.
9024 (remainder_test_tonearest): Likewise.
9025 (drem_test_tonearest): Likewise.
9026 (remainder_towardzero_test_data): Likewise.
9027 (remainder_test_towardzero): Likewise.
9028 (drem_test_towardzero): Likewise.
9029 (remainder_downward_test_data): Likewise.
9030 (remainder_test_downward): Likewise.
9031 (drem_test_downward): Likewise.
9032 (remainder_upward_test_data): Likewise.
9033 (remainder_test_upward): Likewise.
9034 (drem_test_upward): Likewise.
9035 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9036 (round_test): Use ALL_RM_TEST.
9037 (signbit_test): Likewise.
9038 (trunc_test): Likewise.
9039 (significand_test): Likewise.
9040 (main): Don't call removed functions.
9041
bc61d27c
JM
90422014-03-07 Joseph Myers <joseph@codesourcery.com>
9043
5c780849
JM
9044 [BZ #16674]
9045 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9046 || __USE_XOPEN2K8].
9047 (ILL_ILLOPN): Likewise.
9048 (ILL_ILLADR): Likewise.
9049 (ILL_ILLTRP): Likewise.
9050 (ILL_PRVOPC): Likewise.
9051 (ILL_PRVREG): Likewise.
9052 (ILL_COPROC): Likewise.
9053 (ILL_BADSTK): Likewise.
9054 (FPE_INTDIV): Likewise.
9055 (FPE_INTOVF): Likewise.
9056 (FPE_FLTDIV): Likewise.
9057 (FPE_FLTOVF): Likewise.
9058 (FPE_FLTUND): Likewise.
9059 (FPE_FLTRES): Likewise.
9060 (FPE_FLTINV): Likewise.
9061 (FPE_FLTSUB): Likewise.
9062 (SEGV_MAPERR): Likewise.
9063 (SEGV_ACCERR): Likewise.
9064 (BUS_ADRALN): Likewise.
9065 (BUS_ADRERR): Likewise.
9066 (BUS_OBJERR): Likewise.
9067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9068 (TRAP_TRACE): Likewise.
9069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9070 __USE_XOPEN2K8].
9071 (CLD_KILLED): Likewise.
9072 (CLD_DUMPED): Likewise.
9073 (CLD_TRAPPED): Likewise.
9074 (CLD_STOPPED): Likewise.
9075 (CLD_CONTINUED): Likewise.
9076 (POLL_IN): Likewise.
9077 (POLL_OUT): Likewise.
9078 (POLL_MSG): Likewise.
9079 (POLL_ERR): Likewise.
9080 (POLL_PRI): Likewise.
9081 (POLL_HUP): Likewise.
9082 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9083 Likewise.
9084 (ILL_ILLOPN): Likewise.
9085 (ILL_ILLADR): Likewise.
9086 (ILL_ILLTRP): Likewise.
9087 (ILL_PRVOPC): Likewise.
9088 (ILL_PRVREG): Likewise.
9089 (ILL_COPROC): Likewise.
9090 (ILL_BADSTK): Likewise.
9091 (FPE_INTDIV): Likewise.
9092 (FPE_INTOVF): Likewise.
9093 (FPE_FLTDIV): Likewise.
9094 (FPE_FLTOVF): Likewise.
9095 (FPE_FLTUND): Likewise.
9096 (FPE_FLTRES): Likewise.
9097 (FPE_FLTINV): Likewise.
9098 (FPE_FLTSUB): Likewise.
9099 (SEGV_MAPERR): Likewise.
9100 (SEGV_ACCERR): Likewise.
9101 (BUS_ADRALN): Likewise.
9102 (BUS_ADRERR): Likewise.
9103 (BUS_OBJERR): Likewise.
9104 (BUS_MCEERR_AR): Likewise.
9105 (BUS_MCEERR_AO): Likewise.
9106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9107 (TRAP_TRACE): Likewise.
9108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9109 __USE_XOPEN2K8].
9110 (CLD_KILLED): Likewise.
9111 (CLD_DUMPED): Likewise.
9112 (CLD_TRAPPED): Likewise.
9113 (CLD_STOPPED): Likewise.
9114 (CLD_CONTINUED): Likewise.
9115 (POLL_IN): Likewise.
9116 (POLL_OUT): Likewise.
9117 (POLL_MSG): Likewise.
9118 (POLL_ERR): Likewise.
9119 (POLL_PRI): Likewise.
9120 (POLL_HUP): Likewise.
9121 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9122 (ILL_ILLOPN): Likewise.
9123 (ILL_ILLADR): Likewise.
9124 (ILL_ILLTRP): Likewise.
9125 (ILL_PRVOPC): Likewise.
9126 (ILL_PRVREG): Likewise.
9127 (ILL_COPROC): Likewise.
9128 (ILL_BADSTK): Likewise.
9129 (FPE_INTDIV): Likewise.
9130 (FPE_INTOVF): Likewise.
9131 (FPE_FLTDIV): Likewise.
9132 (FPE_FLTOVF): Likewise.
9133 (FPE_FLTUND): Likewise.
9134 (FPE_FLTRES): Likewise.
9135 (FPE_FLTINV): Likewise.
9136 (FPE_FLTSUB): Likewise.
9137 (SEGV_MAPERR): Likewise.
9138 (SEGV_ACCERR): Likewise.
9139 (BUS_ADRALN): Likewise.
9140 (BUS_ADRERR): Likewise.
9141 (BUS_OBJERR): Likewise.
9142 (BUS_MCEERR_AR): Likewise.
9143 (BUS_MCEERR_AO): Likewise.
9144 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9145 (TRAP_TRACE): Likewise.
9146 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9147 __USE_XOPEN2K8].
9148 (CLD_KILLED): Likewise.
9149 (CLD_DUMPED): Likewise.
9150 (CLD_TRAPPED): Likewise.
9151 (CLD_STOPPED): Likewise.
9152 (CLD_CONTINUED): Likewise.
9153 (POLL_IN): Likewise.
9154 (POLL_OUT): Likewise.
9155 (POLL_MSG): Likewise.
9156 (POLL_ERR): Likewise.
9157 (POLL_PRI): Likewise.
9158 (POLL_HUP): Likewise.
9159 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9160 Likewise.
9161 (ILL_ILLOPN): Likewise.
9162 (ILL_ILLADR): Likewise.
9163 (ILL_ILLTRP): Likewise.
9164 (ILL_PRVOPC): Likewise.
9165 (ILL_PRVREG): Likewise.
9166 (ILL_COPROC): Likewise.
9167 (ILL_BADSTK): Likewise.
9168 (ILL_BADIADDR): Likewise.
9169 (ILL_BREAK): Likewise.
9170 (FPE_INTDIV): Likewise.
9171 (FPE_INTOVF): Likewise.
9172 (FPE_FLTDIV): Likewise.
9173 (FPE_FLTOVF): Likewise.
9174 (FPE_FLTUND): Likewise.
9175 (FPE_FLTRES): Likewise.
9176 (FPE_FLTINV): Likewise.
9177 (FPE_FLTSUB): Likewise.
9178 (FPE_DECOVF): Likewise.
9179 (FPE_DECDIV): Likewise.
9180 (FPE_DECERR): Likewise.
9181 (FPE_INVASC): Likewise.
9182 (FPE_INVDEC): Likewise.
9183 (SEGV_MAPERR): Likewise.
9184 (SEGV_ACCERR): Likewise.
9185 (SEGV_PSTKOVF): Likewise.
9186 (BUS_ADRALN): Likewise.
9187 (BUS_ADRERR): Likewise.
9188 (BUS_OBJERR): Likewise.
9189 (BUS_MCEERR_AR): Likewise.
9190 (BUS_MCEERR_AO): Likewise.
9191 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9192 (TRAP_TRACE): Likewise.
9193 (TRAP_BRANCH): Likewise.
9194 (TRAP_HWBKPT): Likewise.
9195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9196 __USE_XOPEN2K8].
9197 (CLD_KILLED): Likewise.
9198 (CLD_DUMPED): Likewise.
9199 (CLD_TRAPPED): Likewise.
9200 (CLD_STOPPED): Likewise.
9201 (CLD_CONTINUED): Likewise.
9202 (POLL_IN): Likewise.
9203 (POLL_OUT): Likewise.
9204 (POLL_MSG): Likewise.
9205 (POLL_ERR): Likewise.
9206 (POLL_PRI): Likewise.
9207 (POLL_HUP): Likewise.
9208 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9209 (ILL_ILLOPN): Likewise.
9210 (ILL_ILLADR): Likewise.
9211 (ILL_ILLTRP): Likewise.
9212 (ILL_PRVOPC): Likewise.
9213 (ILL_PRVREG): Likewise.
9214 (ILL_COPROC): Likewise.
9215 (ILL_BADSTK): Likewise.
9216 (FPE_INTDIV): Likewise.
9217 (FPE_INTOVF): Likewise.
9218 (FPE_FLTDIV): Likewise.
9219 (FPE_FLTOVF): Likewise.
9220 (FPE_FLTUND): Likewise.
9221 (FPE_FLTRES): Likewise.
9222 (FPE_FLTINV): Likewise.
9223 (FPE_FLTSUB): Likewise.
9224 (SEGV_MAPERR): Likewise.
9225 (SEGV_ACCERR): Likewise.
9226 (BUS_ADRALN): Likewise.
9227 (BUS_ADRERR): Likewise.
9228 (BUS_OBJERR): Likewise.
9229 (BUS_MCEERR_AR): Likewise.
9230 (BUS_MCEERR_AO): Likewise.
9231 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9232 (TRAP_TRACE): Likewise.
9233 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9234 __USE_XOPEN2K8].
9235 (CLD_KILLED): Likewise.
9236 (CLD_DUMPED): Likewise.
9237 (CLD_TRAPPED): Likewise.
9238 (CLD_STOPPED): Likewise.
9239 (CLD_CONTINUED): Likewise.
9240 (POLL_IN): Likewise.
9241 (POLL_OUT): Likewise.
9242 (POLL_MSG): Likewise.
9243 (POLL_ERR): Likewise.
9244 (POLL_PRI): Likewise.
9245 (POLL_HUP): Likewise.
9246 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9247 (ILL_ILLOPN): Likewise.
9248 (ILL_ILLADR): Likewise.
9249 (ILL_ILLTRP): Likewise.
9250 (ILL_PRVOPC): Likewise.
9251 (ILL_PRVREG): Likewise.
9252 (ILL_COPROC): Likewise.
9253 (ILL_BADSTK): Likewise.
9254 (FPE_INTDIV): Likewise.
9255 (FPE_INTOVF): Likewise.
9256 (FPE_FLTDIV): Likewise.
9257 (FPE_FLTOVF): Likewise.
9258 (FPE_FLTUND): Likewise.
9259 (FPE_FLTRES): Likewise.
9260 (FPE_FLTINV): Likewise.
9261 (FPE_FLTSUB): Likewise.
9262 (SEGV_MAPERR): Likewise.
9263 (SEGV_ACCERR): Likewise.
9264 (BUS_ADRALN): Likewise.
9265 (BUS_ADRERR): Likewise.
9266 (BUS_OBJERR): Likewise.
9267 (BUS_MCEERR_AR): Likewise.
9268 (BUS_MCEERR_AO): Likewise.
9269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9270 (TRAP_TRACE): Likewise.
9271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9272 __USE_XOPEN2K8].
9273 (CLD_KILLED): Likewise.
9274 (CLD_DUMPED): Likewise.
9275 (CLD_TRAPPED): Likewise.
9276 (CLD_STOPPED): Likewise.
9277 (CLD_CONTINUED): Likewise.
9278 (POLL_IN): Likewise.
9279 (POLL_OUT): Likewise.
9280 (POLL_MSG): Likewise.
9281 (POLL_ERR): Likewise.
9282 (POLL_PRI): Likewise.
9283 (POLL_HUP): Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9285 (ILL_ILLOPN): Likewise.
9286 (ILL_ILLADR): Likewise.
9287 (ILL_ILLTRP): Likewise.
9288 (ILL_PRVOPC): Likewise.
9289 (ILL_PRVREG): Likewise.
9290 (ILL_COPROC): Likewise.
9291 (ILL_BADSTK): Likewise.
9292 (FPE_INTDIV): Likewise.
9293 (FPE_INTOVF): Likewise.
9294 (FPE_FLTDIV): Likewise.
9295 (FPE_FLTOVF): Likewise.
9296 (FPE_FLTUND): Likewise.
9297 (FPE_FLTRES): Likewise.
9298 (FPE_FLTINV): Likewise.
9299 (FPE_FLTSUB): Likewise.
9300 (SEGV_MAPERR): Likewise.
9301 (SEGV_ACCERR): Likewise.
9302 (BUS_ADRALN): Likewise.
9303 (BUS_ADRERR): Likewise.
9304 (BUS_OBJERR): Likewise.
9305 (BUS_MCEERR_AR): Likewise.
9306 (BUS_MCEERR_AO): Likewise.
9307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9308 (TRAP_TRACE): Likewise.
9309 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9310 __USE_XOPEN2K8].
9311 (CLD_KILLED): Likewise.
9312 (CLD_DUMPED): Likewise.
9313 (CLD_TRAPPED): Likewise.
9314 (CLD_STOPPED): Likewise.
9315 (CLD_CONTINUED): Likewise.
9316 (POLL_IN): Likewise.
9317 (POLL_OUT): Likewise.
9318 (POLL_MSG): Likewise.
9319 (POLL_ERR): Likewise.
9320 (POLL_PRI): Likewise.
9321 (POLL_HUP): Likewise.
9322 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9323 (ILL_ILLOPN): Likewise.
9324 (ILL_ILLADR): Likewise.
9325 (ILL_ILLTRP): Likewise.
9326 (ILL_PRVOPC): Likewise.
9327 (ILL_PRVREG): Likewise.
9328 (ILL_COPROC): Likewise.
9329 (ILL_BADSTK): Likewise.
9330 (ILL_DBLFLT): Likewise.
9331 (ILL_HARDWALL): Likewise.
9332 (FPE_INTDIV): Likewise.
9333 (FPE_INTOVF): Likewise.
9334 (FPE_FLTDIV): Likewise.
9335 (FPE_FLTOVF): Likewise.
9336 (FPE_FLTUND): Likewise.
9337 (FPE_FLTRES): Likewise.
9338 (FPE_FLTINV): Likewise.
9339 (FPE_FLTSUB): Likewise.
9340 (SEGV_MAPERR): Likewise.
9341 (SEGV_ACCERR): Likewise.
9342 (BUS_ADRALN): Likewise.
9343 (BUS_ADRERR): Likewise.
9344 (BUS_OBJERR): Likewise.
9345 (BUS_MCEERR_AR): Likewise.
9346 (BUS_MCEERR_AO): Likewise.
9347 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9348 (TRAP_TRACE): Likewise.
9349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9350 __USE_XOPEN2K8].
9351 (CLD_KILLED): Likewise.
9352 (CLD_DUMPED): Likewise.
9353 (CLD_TRAPPED): Likewise.
9354 (CLD_STOPPED): Likewise.
9355 (CLD_CONTINUED): Likewise.
9356 (POLL_IN): Likewise.
9357 (POLL_OUT): Likewise.
9358 (POLL_MSG): Likewise.
9359 (POLL_ERR): Likewise.
9360 (POLL_PRI): Likewise.
9361 (POLL_HUP): Likewise.
9362 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9363 (ILL_ILLOPN): Likewise.
9364 (ILL_ILLADR): Likewise.
9365 (ILL_ILLTRP): Likewise.
9366 (ILL_PRVOPC): Likewise.
9367 (ILL_PRVREG): Likewise.
9368 (ILL_COPROC): Likewise.
9369 (ILL_BADSTK): Likewise.
9370 (FPE_INTDIV): Likewise.
9371 (FPE_INTOVF): Likewise.
9372 (FPE_FLTDIV): Likewise.
9373 (FPE_FLTOVF): Likewise.
9374 (FPE_FLTUND): Likewise.
9375 (FPE_FLTRES): Likewise.
9376 (FPE_FLTINV): Likewise.
9377 (FPE_FLTSUB): Likewise.
9378 (SEGV_MAPERR): Likewise.
9379 (SEGV_ACCERR): Likewise.
9380 (BUS_ADRALN): Likewise.
9381 (BUS_ADRERR): Likewise.
9382 (BUS_OBJERR): Likewise.
9383 (BUS_MCEERR_AR): Likewise.
9384 (BUS_MCEERR_AO): Likewise.
9385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9386 (TRAP_TRACE): Likewise.
9387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9388 __USE_XOPEN2K8].
9389 (CLD_KILLED): Likewise.
9390 (CLD_DUMPED): Likewise.
9391 (CLD_TRAPPED): Likewise.
9392 (CLD_STOPPED): Likewise.
9393 (CLD_CONTINUED): Likewise.
9394 (POLL_IN): Likewise.
9395 (POLL_OUT): Likewise.
9396 (POLL_MSG): Likewise.
9397 (POLL_ERR): Likewise.
9398 (POLL_PRI): Likewise.
9399 (POLL_HUP): Likewise.
9400 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9401 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9402
bc61d27c
JM
9403 [BZ #16670]
9404 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9405 before #include of <time.h>.
9406 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9407 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9408 (test-xfail-UNIX98/sched.h/conform): Likewise.
9409
302949e2
MS
94102014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9411
9412 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9413 error absence of trapping exception support.
9414 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9415
a00f522a
JM
94162014-03-07 Joseph Myers <joseph@codesourcery.com>
9417
6f99f280
JM
9418 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9419 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9420 * timezone/Makefile (testdata): Move definition above include of
9421 Rules.
9422 (test-zones): New variable.
9423 (tests-special): Add zone files.
9424 (build-testdata): Use $(evaluate-test).
9425
0b20a9e8
JM
9426 * elf/Makefile (tests-special): Rename tests to end with .out.
9427 ($(objpfx)noload-mem): Likewise.
9428 ($(objpfx)tst-leaks1-mem): Likewise.
9429 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9430 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9431 $(objpfx)test-iconvconfig.out.
9432 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9433 set -e inside subshell and redirect output to file.
9434 * iconvdata/Makefile (generated): Rename tests to end with .out.
9435 Correct type.
9436 (tests-special): Rename tests to end with .out.
9437 ($(objpfx)mtrace-tst-loading): Likewise.
9438 * intl/Makefile (generated): Likewise.
9439 (tests-special): Likewise.
9440 ($(objpfx)mtrace-tst-gettext): Likewise.
9441 * misc/Makefile (generated): Likewise.
9442 (tests-special): Likewise.
9443 ($(objpfx)tst-error1-mem): Likewise.
9444 * nptl/Makefile (tests-special): Likewise.
9445 ($(objpfx)tst-stack3-mem): Likewise.
9446 (generated): Likewise.
9447 * posix/Makefile (generated): Likewise.
9448 (tests-special): Likewise.
9449 (xtests-special): Likewise.
9450 ($(objpfx)tst-fnmatch-mem): Likewise.
9451 ($(objpfx)bug-regex2-mem): Likewise.
9452 ($(objpfx)bug-regex14-mem): Likewise.
9453 ($(objpfx)bug-regex21-mem): Likewise.
9454 ($(objpfx)bug-regex31-mem): Likewise.
9455 ($(objpfx)tst-vfork3-mem): Likewise.
9456 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9457 ($(objpfx)tst-pcre-mem): Likewise.
9458 ($(objpfx)tst-boost-mem): Likewise.
9459 ($(objpfx)bug-ga2-mem): Likewise.
9460 ($(objpfx)bug-glob2-mem): Likewise.
9461 * resolv/Makefile (generate): Likewise.
9462 (tests-special): Likewise.
9463 (xtests-special): Likewise.
9464 (generated): Likewise.
9465 ($(objpfx)mtrace-tst-leaks): Likewise.
9466 ($(objpfx)mtrace-tst-leaks2): Likewise.
9467
265d52ab
JM
9468 * scripts/merge-test-results.sh: New file.
9469 * Makefile (tests-special-notdir): New variable.
9470 (tests): Run merge-test-results.sh.
9471 (xtests): Likewise.
9472 * Rules (tests-special-notdir): New variable.
9473 (xtests-special-notdir): Likewise.
9474 (tests): Run merge-test-results.sh
9475 (xtests): Likewise.
9476
54ee292d
JM
9477 * Makeconfig (test-xfail-name): New variable.
9478 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9479 compute variable name for expected failures.
9480 * conform/Makefile (conformtest-headers-data): New variable.
9481 (conformtest-standards): Likewise.
9482 (conformtest-headers-ISO): Likewise.
9483 (conformtest-headers-ISO99): Likewise.
9484 (conformtest-headers-ISO11): Likewise.
9485 (conformtest-headers-POSIX): Likewise.
9486 (conformtest-headers-XPG3): Likewise.
9487 (conformtest-headers-XPG4): Likewise.
9488 (conformtest-headers-UNIX98): Likewise.
9489 (conformtest-headers-XOPEN2K): Likewise.
9490 (conformtest-headers-POSIX2008): Likewise.
9491 (conformtest-headers-XOPEN2K8): Likewise.
9492 (conformtest-header-list-base): Likewise.
9493 (conformtest-header-list-tests): Likewise.
9494 (conformtest-header-base): Likewise.
9495 (conformtest-header-tests): Likewise.
9496 (tests-special): Add $(conformtest-header-list-tests). If
9497 [$(fast-check) && !$(cross-compiling)], add
9498 $(conformtest-header-tests) instead of
9499 $(objpfx)run-conformtest.out.
9500 (generated): Add $(conformtest-header-list-base). If
9501 [$(fast-check) && !$(cross-compiling)], add
9502 $(conformtest-header-base). Remove previous setting.
9503 ($(conformtest-header-list-tests)): New target.
9504 (test-xfail-run-conformtest): Remove variable.
9505 ($(objpfx)run-conformtest.out): Remove target.
9506 (test-xfail-ISO11/complex.h/conform): New variable.
9507 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9508 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9509 (test-xfail-XPG3/varargs.h/conform): Likewise.
9510 (test-xfail-XPG4/varargs.h/conform): Likewise.
9511 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9512 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9513 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9514 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9515 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9516 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9517 (test-xfail-XPG3/ftw.h/conform): Likewise.
9518 (test-xfail-XPG3/grp.h/conform): Likewise.
9519 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9520 (test-xfail-XPG3/limits.h/conform): Likewise.
9521 (test-xfail-XPG3/pwd.h/conform): Likewise.
9522 (test-xfail-XPG3/search.h/conform): Likewise.
9523 (test-xfail-XPG3/signal.h/conform): Likewise.
9524 (test-xfail-XPG3/stdio.h/conform): Likewise.
9525 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9526 (test-xfail-XPG3/string.h/conform): Likewise.
9527 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9528 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9529 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9530 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9531 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9532 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9533 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9534 (test-xfail-XPG3/termios.h/conform): Likewise.
9535 (test-xfail-XPG3/time.h/conform): Likewise.
9536 (test-xfail-XPG3/unistd.h/conform): Likewise.
9537 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9538 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9539 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9540 (test-xfail-XPG4/netdb.h/conform): Likewise.
9541 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9542 (test-xfail-XPG4/signal.h/conform): Likewise.
9543 (test-xfail-XPG4/stdio.h/conform): Likewise.
9544 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9545 (test-xfail-XPG4/stropts.h/conform): Likewise.
9546 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9547 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9548 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9549 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9550 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9551 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9552 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9553 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9554 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9555 (test-xfail-XPG4/termios.h/conform): Likewise.
9556 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9557 (test-xfail-XPG4/unistd.h/conform): Likewise.
9558 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9559 (test-xfail-POSIX/sched.h/conform): Likewise.
9560 (test-xfail-POSIX/signal.h/conform): Likewise.
9561 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9562 (test-xfail-POSIX/tar.h/conform): Likewise.
9563 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9564 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9565 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9566 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9567 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9568 (test-xfail-UNIX98/sched.h/conform): Likewise.
9569 (test-xfail-UNIX98/signal.h/conform): Likewise.
9570 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9571 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9572 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9573 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9574 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9575 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9576 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9577 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9578 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9579 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9580 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9581 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9582 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9583 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9584 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9585 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9586 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9587 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9588 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9589 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9590 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9591 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9592 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9593 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9594 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9595 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9596 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9597 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9598 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9599 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9600 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9601 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9602 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9603 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9604 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9605 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9606 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9607 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9608 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9609 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9610 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9611 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9612 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9613 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9614 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9615 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9616 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9617 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9618 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9619 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9620 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9621 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9622 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9623 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9624 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9625 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9626 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9627 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9628 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9629 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9630 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9631 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9632 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9633 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9634 (conformtest-cc-flags): Likewise.
9635 ($(conformtest-header-tests): New target.
9636 * conform/check-header-lists.sh: New file.
9637 * conform/run-conformtest.sh: Remove.
9638
a00f522a
JM
9639 * conform/conformtest.pl: Allow ' and \ in values given for
9640 constants.
9641 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9642 inclusion.
9643 [POSIX] (sys/types.h): Likewise.
9644 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9645 inclusion.
9646 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9647 inclusion.
9648 * conform/data/signal.h-data (SIGIO): Remove expectation.
9649 [XPG3] (SIGBUS): Do not expect.
9650 [POSIX || XPG3] (SIGPOLL): Likewise.
9651 [POSIX || XPG3] (SIGPROF): Likewise.
9652 [POSIX || XPG3] (SIGSYS): Likewise.
9653 [XPG3] (SIGTRAP): Likewise.
9654 [POSIX || XPG3] (SIGURG): Likewise.
9655 [POSIX || XPG3] (SIGVTALRM): Likewise.
9656 [POSIX || XPG3] (SIGXCPU): Likewise.
9657 [POSIX || XPG3] (SIGXFSZ): Likewise.
9658 [POSIX] (SA_SIGINFO): Expect.
9659 [XPG3] (siginfo_t): Do not expect type or contents.
9660 [POSIX] (si_pid): Do not expect element.
9661 [POSIX] (si_uid): Likewise.
9662 [POSIX] (si_addr): Likewise.
9663 [POSIX] (si_status): Likewise.
9664 [POSIX] (si_band): Likewise.
9665 [XPG4] (si_value): Likewise.
9666 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9667 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9668 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9669 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9670 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9671 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9672 [POSIX || XPG3] (ILL_COPROC): Likewise.
9673 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9674 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9675 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9676 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9677 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9678 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9679 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9680 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9681 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9682 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9683 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9684 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9685 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9686 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9687 [POSIX || XPG3] (CLD_EXITED): Likewise.
9688 [POSIX || XPG3] (CLD_KILLED): Likewise.
9689 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9690 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9691 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9692 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9693 [POSIX || XPG3] (POLL_IN): Likewise.
9694 [POSIX || XPG3] (POLL_OUT): Likewise.
9695 [POSIX || XPG3] (POLL_MSG): Likewise.
9696 [POSIX || XPG3] (POLL_ERR): Likewise.
9697 [POSIX || XPG3] (POLL_PRI): Likewise.
9698 [POSIX || XPG3] (POLL_HUP): Likewise.
9699 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9700 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9701 (SIG*): Do not allow.
9702 [XPG3] (si_*): Likewise.
9703 [XPG3] (SI_*): Likewise.
9704 [XPG3 || XPG4] (sigev_*): Likewise.
9705 [XPG3 || XPG4] (SIGEV_*): Likewise.
9706 [XPG3 || XPG4] (sival_*): Likewise.
9707 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9708 [POSIX || XPG3] (BUS_*): Likewise.
9709 [POSIX || XPG3] (CLD_*): Likewise.
9710 [POSIX || XPG3] (FPE_*): Likewise.
9711 [POSIX || XPG3] (ILL_*): Likewise.
9712 [POSIX || XPG3] (POLL_*): Likewise.
9713 [POSIX || XPG3] (SEGV_*): Likewise.
9714 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9715 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9716 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9717 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9718 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9719 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9720 Specify type and value.
9721 (TVERSLEN): Likewise.
9722 (REGTYPE): Likewise.
9723 (AREGTYPE): Likewise.
9724 (LNKTYPE): Likewise.
9725 (SYMTYPE): Likewise.
9726 (CHRTYPE): Likewise.
9727 (BLKTYPE): Likewise.
9728 (DIRTYPE): Likewise.
9729 (FIFOTYPE): Likewise.
9730 (CONTTYPE): Likewise.
9731 (TSUID): Likewise.
9732 (TSGID): Likewise.
9733 (TSVTX): Likewise.
9734 (TUREAD): Likewise.
9735 (TUWRITE): Likewise.
9736 (TUEXEC): Likewise.
9737 (TGREAD): Likewise.
9738 (TGWRITE): Likewise.
9739 (TGEXEC): Likewise.
9740 (TOREAD): Likewise.
9741 (TOWRITE): Likewise.
9742 (TOEXEC): Likewise.
9743 [POSIX] (TSVTX): Expect constant.
9744
aa97dee1
JM
97452014-03-06 Joseph Myers <joseph@codesourcery.com>
9746
f214606a
JM
9747 * Makefile (tests): Change dependencies to ....
9748 (tests-special): ... additions to this variable.
9749 (tests): Depend on $(tests-special).
9750 * Makerules (check-abi-list): New variable.
9751 (check-abi): Depend on $(check-abi-list).
9752 [$(subdir) = elf] (tests-special): Add
9753 $(objpfx)check-abi-libc.out.
9754 [$(build-shared) = yes && subdir] (tests-special): Add
9755 $(check-abi-list).
9756 [$(build-shared) = yes && subdir] (tests): Do not depend on
9757 check-abi.
9758 * Rules (tests): Depend on $(tests-special).
9759 (xtests): Depend on $(xtests-special).
9760 * catgets/Makefile (tests): Change dependencies to ....
9761 (tests-special): ... additions to this variable.
9762 * conform/Makefile (tests): Change dependencies to ....
9763 (tests-special): ... additions to this variable.
9764 * elf/Makefile (tests): Change dependencies to ....
9765 (tests-special): ... additions to this variable.
9766 * grp/Makefile (tests): Change dependencies to ....
9767 (tests-special): ... additions to this variable.
9768 * iconv/Makefile (xtests): Change dependencies to ....
9769 (xtests-special): ... additions to this variable.
9770 * iconvdata/Makefile (tests): Change dependencies to ....
9771 (tests-special): ... additions to this variable.
9772 * intl/Makefile (tests): Change dependencies to ....
9773 (tests-special): ... additions to this variable. Also add
9774 $(objpfx)tst-gettext.out.
9775 * io/Makefile (tests): Change dependencies to ....
9776 (tests-special): ... additions to this variable.
9777 * libio/Makefile (tests): Change dependencies to ....
9778 (tests-special): ... additions to this variable.
9779 * malloc/Makefile (tests): Change dependencies to ....
9780 (tests-special): ... additions to this variable.
9781 * misc/Makefile (tests): Change dependencies to ....
9782 (tests-special): ... additions to this variable.
9783 * nptl/Makefile (tests): Change dependencies to ....
9784 (tests-special): ... additions to this variable.
9785 * nptl_db/Makefile (tests): Change dependencies to ....
9786 (tests-special): ... additions to this variable.
9787 * posix/Makefile (tests): Change dependencies to ....
9788 (tests-special): ... additions to this variable.
9789 (xtests): Change dependencies to ....
9790 (xtests-special): ... additions to this variable.
9791 * resolv/Makefile (tests): Change dependencies to ....
9792 (tests-special): ... additions to this variable.
9793 (xtests): Change dependencies to ....
9794 (xtests-special): ... additions to this variable.
9795 * stdio-common/Makefile (tests): Change dependencies to ....
9796 (tests-special): ... additions to this variable.
9797 (do-tst-unbputc): Remove target.
9798 (do-tst-printf): Likewise.
9799 * stdlib/Makefile (tests): Change dependencies to ....
9800 (tests-special): ... additions to this variable.
9801 * string/Makefile (tests): Change dependencies to ....
9802 (tests-special): ... additions to this variable.
9803 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9804 (tests-special): ... additions to this variable.
9805
81700b53
JM
9806 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9807 whole file.
9808 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9809 whole file.
9810 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9811 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9812
2ea18461
JM
9813 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9814 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9815 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9816 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9817 * conform/data/libgen.h-data [XPG3]: Likewise.
9818 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9819 * conform/data/ndbm.h-data [XPG3]: Likewise.
9820 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9821 * conform/data/netdb.h-data [XPG3]: Likewise.
9822 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9823 * conform/data/poll.h-data [XPG3]: Likewise.
9824 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9825 * conform/data/strings.h-data [XPG3]: Likewise.
9826 * conform/data/stropts.h-data [XPG3]: Likewise.
9827 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9828 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9829 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9830 Likewise.
9831 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9832 * conform/data/sys/time.h-data [XPG3]: Likewise.
9833 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9834 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9835 * conform/data/sys/un.h-data [XPG3]: Likewise.
9836 * conform/data/syslog.h-data [XPG3]: Likewise.
9837 * conform/data/ucontext.h-data [XPG3]: Likewise.
9838 * conform/data/utmpx.h-data [XPG3]: Likewise.
9839 * conform/data/varargs.h-data [UNIX98]: Enable file.
9840
355bc986
JM
9841 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9842
215db402
JM
9843 * math/libm-test.inc (struct test_f_f_data): Move expected results
9844 into structure for each rounding mode.
9845 (struct test_ff_f_data): Likewise.
9846 (struct test_ff_f_data_nexttoward): Likewise.
9847 (struct test_fi_f_data): Likewise.
9848 (struct test_fl_f_data): Likewise.
9849 (struct test_if_f_data): Likewise.
9850 (struct test_fff_f_data): Likewise.
9851 (struct test_c_f_data): Likewise.
9852 (struct test_f_f1_data): Likewise.
9853 (struct test_fF_f1_data): Likewise.
9854 (struct test_ffI_f1_data): Likewise.
9855 (struct test_c_c_data): Likewise.
9856 (struct test_cc_c_data): Likewise.
9857 (struct test_f_i_data): Likewise.
9858 (struct test_ff_i_data): Likewise.
9859 (struct test_f_l_data): Likewise.
9860 (struct test_f_L_data): Likewise.
9861 (struct test_fFF_11_data): Likewise.
9862 (RM_): New macro.
9863 (RM_FE_DOWNWARD): Likewise.
9864 (RM_FE_TONEAREST): Likewise.
9865 (RM_FE_TOWARDZERO): Likewise.
9866 (RM_FE_UPWARD): Likewise.
9867 (RUN_TEST_LOOP_f_f): Update references to expected results.
9868 (RUN_TEST_LOOP_2_f): Likewise.
9869 (RUN_TEST_LOOP_fff_f): Likewise.
9870 (RUN_TEST_LOOP_c_f): Likewise.
9871 (RUN_TEST_LOOP_f_f1): Likewise.
9872 (RUN_TEST_LOOP_fF_f1): Likewise.
9873 (RUN_TEST_LOOP_fI_f1): Likewise.
9874 (RUN_TEST_LOOP_ffI_f1): Likewise.
9875 (RUN_TEST_LOOP_c_c): Likewise.
9876 (RUN_TEST_LOOP_cc_c): Likewise.
9877 (RUN_TEST_LOOP_f_i): Likewise.
9878 (RUN_TEST_LOOP_f_i_tg): Likewise.
9879 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9880 (RUN_TEST_LOOP_f_b): Likewise.
9881 (RUN_TEST_LOOP_f_b_tg): Likewise.
9882 (RUN_TEST_LOOP_f_l): Likewise.
9883 (RUN_TEST_LOOP_f_L): Likewise.
9884 (RUN_TEST_LOOP_fFF_11): Likewise.
9885 * math/gen-libm-test.pl (parse_args): Output four copies of
9886 expected results for each test.
9887
67737b8f
JM
9888 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9889 (__ASSUME_UTIMES): Remove.
9890 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9891 (__ASSUME_UTIMES): Likewise.
9892
aa97dee1
JM
9893 * math/gen-auto-libm-tests.c: Update comment on output format.
9894 (output_for_one_input_case): Generate before-rounding and
9895 after-rounding information as conditions on output flags not
9896 floating-point format.
9897 * math/auto-libm-test-out: Regenerated.
9898 * math/gen-libm-test.pl (cond_value): New function.
9899 (or_cond_value): Use cond_value.
9900 (generate_testfile): Handle conditional exceptions.
9901
e6b6a857
JM
99022014-03-05 Joseph Myers <joseph@codesourcery.com>
9903
2f0a0f44
JM
9904 * math/libm-test.inc (max_valid_error): New variable.
9905 (init_max_error): Take new argument specifying whether function
9906 results are exactly determined. Set max_valid_error and bound
9907 other variables for errors based on this argument.
9908 (set_max_error): Do not record results above max_valid_error.
9909 (check_float_internal): Only accept errors of up to 0.5ulps if
9910 also at most max_valid_error.
9911 (START): Take new argument EXACT and pass it to init_max_error.
9912 (acos_test): Update call to START.
9913 (acos_test_tonearest): Likewise.
9914 (acos_test_towardzero): Likewise.
9915 (acos_test_downward): Likewise.
9916 (acos_test_upward): Likewise.
9917 (acosh_test): Likewise.
9918 (asin_test): Likewise.
9919 (asin_test_tonearest): Likewise.
9920 (asin_test_towardzero): Likewise.
9921 (asin_test_downward): Likewise.
9922 (asin_test_upward): Likewise.
9923 (asinh_test): Likewise.
9924 (atan_test): Likewise.
9925 (atanh_test): Likewise.
9926 (atan2_test): Likewise.
9927 (cabs_test): Likewise.
9928 (cacos_test): Likewise.
9929 (cacosh_test): Likewise.
9930 (carg_test): Likewise.
9931 (casin_test): Likewise.
9932 (casinh_test): Likewise.
9933 (catan_test): Likewise.
9934 (catanh_test): Likewise.
9935 (cbrt_test): Likewise.
9936 (ccos_test): Likewise.
9937 (ccosh_test): Likewise.
9938 (ceil_test): Likewise.
9939 (cexp_test): Likewise.
9940 (cimag_test): Likewise.
9941 (clog_test): Likewise.
9942 (clog10_test): Likewise.
9943 (conj_test): Likewise.
9944 (copysign_test): Likewise.
9945 (cos_test): Likewise.
9946 (cos_test_tonearest): Likewise.
9947 (cos_test_towardzero): Likewise.
9948 (cos_test_downward): Likewise.
9949 (cos_test_upward): Likewise.
9950 (cosh_test): Likewise.
9951 (cosh_test_tonearest): Likewise.
9952 (cosh_test_towardzero): Likewise.
9953 (cosh_test_downward): Likewise.
9954 (cosh_test_upward): Likewise.
9955 (cpow_test): Likewise.
9956 (cproj_test): Likewise.
9957 (creal_test): Likewise.
9958 (csin_test): Likewise.
9959 (csinh_test): Likewise.
9960 (csqrt_test): Likewise.
9961 (ctan_test): Likewise.
9962 (ctan_test_tonearest): Likewise.
9963 (ctan_test_towardzero): Likewise.
9964 (ctan_test_downward): Likewise.
9965 (ctan_test_upward): Likewise.
9966 (ctanh_test): Likewise.
9967 (ctanh_test_tonearest): Likewise.
9968 (ctanh_test_towardzero): Likewise.
9969 (ctanh_test_downward): Likewise.
9970 (ctanh_test_upward): Likewise.
9971 (erf_test): Likewise.
9972 (erfc_test): Likewise.
9973 (exp_test): Likewise.
9974 (exp_test_tonearest): Likewise.
9975 (exp_test_towardzero): Likewise.
9976 (exp_test_downward): Likewise.
9977 (exp_test_upward): Likewise.
9978 (exp10_test): Likewise.
9979 (exp10_test_tonearest): Likewise.
9980 (exp10_test_towardzero): Likewise.
9981 (exp10_test_downward): Likewise.
9982 (exp10_test_upward): Likewise.
9983 (pow10_test): Likewise.
9984 (exp2_test): Likewise.
9985 (expm1_test): Likewise.
9986 (expm1_test_tonearest): Likewise.
9987 (expm1_test_towardzero): Likewise.
9988 (expm1_test_downward): Likewise.
9989 (expm1_test_upward): Likewise.
9990 (fabs_test): Likewise.
9991 (fdim_test): Likewise.
9992 (floor_test): Likewise.
9993 (fma_test): Likewise.
9994 (fma_test_towardzero): Likewise.
9995 (fma_test_downward): Likewise.
9996 (fma_test_upward): Likewise.
9997 (fmax_test): Likewise.
9998 (fmin_test): Likewise.
9999 (fmod_test): Likewise.
10000 (fpclassify_test): Likewise.
10001 (frexp_test): Likewise.
10002 (hypot_test): Likewise.
10003 (ilogb_test): Likewise.
10004 (isfinite_test): Likewise.
10005 (finite_test): Likewise.
10006 (isgreater_test): Likewise.
10007 (isgreaterequal_test): Likewise.
10008 (isinf_test): Likewise.
10009 (isless_test): Likewise.
10010 (islessequal_test): Likewise.
10011 (islessgreater_test): Likewise.
10012 (isnan_test): Likewise.
10013 (isnormal_test): Likewise.
10014 (issignaling_test): Likewise.
10015 (isunordered_test): Likewise.
10016 (j0_test): Likewise.
10017 (j1_test): Likewise.
10018 (jn_test): Likewise.
10019 (ldexp_test): Likewise.
10020 (lgamma_test): Likewise.
10021 (gamma_test): Likewise.
10022 (lrint_test): Likewise.
10023 (lrint_test_tonearest): Likewise.
10024 (lrint_test_towardzero): Likewise.
10025 (lrint_test_downward): Likewise.
10026 (lrint_test_upward): Likewise.
10027 (llrint_test): Likewise.
10028 (llrint_test_tonearest): Likewise.
10029 (llrint_test_towardzero): Likewise.
10030 (llrint_test_downward): Likewise.
10031 (llrint_test_upward): Likewise.
10032 (log_test): Likewise.
10033 (log10_test): Likewise.
10034 (log1p_test): Likewise.
10035 (log2_test): Likewise.
10036 (logb_test): Likewise.
10037 (logb_test_downward): Likewise.
10038 (lround_test): Likewise.
10039 (llround_test): Likewise.
10040 (modf_test): Likewise.
10041 (nearbyint_test): Likewise.
10042 (nextafter_test): Likewise.
10043 (nexttoward_test): Likewise.
10044 (pow_test): Likewise.
10045 (pow_test_tonearest): Likewise.
10046 (pow_test_towardzero): Likewise.
10047 (pow_test_downward): Likewise.
10048 (pow_test_upward): Likewise.
10049 (remainder_test): Likewise.
10050 (drem_test): Likewise.
10051 (remainder_test_tonearest): Likewise.
10052 (drem_test_tonearest): Likewise.
10053 (remainder_test_towardzero): Likewise.
10054 (drem_test_towardzero): Likewise.
10055 (remainder_test_downward): Likewise.
10056 (drem_test_downward): Likewise.
10057 (remainder_test_upward): Likewise.
10058 (drem_test_upward): Likewise.
10059 (remquo_test): Likewise.
10060 (rint_test): Likewise.
10061 (rint_test_tonearest): Likewise.
10062 (rint_test_towardzero): Likewise.
10063 (rint_test_downward): Likewise.
10064 (rint_test_upward): Likewise.
10065 (round_test): Likewise.
10066 (scalb_test): Likewise.
10067 (scalbn_test): Likewise.
10068 (scalbln_test): Likewise.
10069 (signbit_test): Likewise.
10070 (sin_test): Likewise.
10071 (sin_test_tonearest): Likewise.
10072 (sin_test_towardzero): Likewise.
10073 (sin_test_downward): Likewise.
10074 (sin_test_upward): Likewise.
10075 (sincos_test): Likewise.
10076 (sinh_test): Likewise.
10077 (sinh_test_tonearest): Likewise.
10078 (sinh_test_towardzero): Likewise.
10079 (sinh_test_downward): Likewise.
10080 (sinh_test_upward): Likewise.
10081 (sqrt_test): Likewise.
10082 (sqrt_test_tonearest): Likewise.
10083 (sqrt_test_towardzero): Likewise.
10084 (sqrt_test_downward): Likewise.
10085 (sqrt_test_upward): Likewise.
10086 (tan_test): Likewise.
10087 (tan_test_tonearest): Likewise.
10088 (tan_test_towardzero): Likewise.
10089 (tan_test_downward): Likewise.
10090 (tan_test_upward): Likewise.
10091 (tanh_test): Likewise.
10092 (tgamma_test): Likewise.
10093 (trunc_test): Likewise.
10094 (y0_test): Likewise.
10095 (y1_test): Likewise.
10096 (yn_test): Likewise.
10097 (significand_test): Likewise.
10098
e6b6a857
JM
10099 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10100 individual tests in comment.
10101 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10102 (prev_max_error): New variable.
10103 (prev_real_max_error): Likewise.
10104 (prev_imag_max_error): Likewise.
10105 (compare_ulp_data): Don't refer to test names in comment.
10106 (find_test_ulps): Remove function.
10107 (find_function_ulps): Likewise.
10108 (find_complex_function_ulps): Likewise.
10109 (init_max_error): Take function name as argument. Look up ulps
10110 for that function.
10111 (print_ulps): Remove function.
10112 (print_max_error): Use prev_max_error instead of calling
10113 find_function_ulps.
10114 (print_complex_max_error): Use prev_real_max_error and
10115 prev_imag_max_error instead of calling find_complex_function_ulps.
10116 (check_float_internal): Take max_ulp parameter instead of calling
10117 find_test_ulps. Don't call print_ulps.
10118 (check_float): Update call to check_float_internal.
10119 (check_complex): Update calls to check_float_internal.
10120 (START): Pass argument to init_max_error.
10121 * math/gen-libm-test.pl (%results): Don't include "kind"
10122 information.
10123 (parse_ulps): Don't handle ulps of individual tests.
10124 (print_ulps_file): Likewise.
10125 (output_ulps): Likewise.
10126 * math/README.libm-test: Update.
10127 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10128 individual tests.
10129 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10130 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10131 * sysdeps/arm/libm-test-ulps: Likewise.
10132 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10133 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10134 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10135 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10136 * sysdeps/microblaze/libm-test-ulps: Likewise.
10137 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10138 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10140 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10141 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10142 * sysdeps/sh/libm-test-ulps: Likewise.
10143 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10144 * sysdeps/tile/libm-test-ulps: Likewise.
10145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10146
45adef3c
JM
101472014-03-04 Joseph Myers <joseph@codesourcery.com>
10148
10149 * math/libm-test.inc (print_complex_max_error): Check separately
10150 whether real and imaginary errors are within allowed range and
10151 pass 0 to print_complex_function_ulps instead of value within
10152 allowed range.
10153
000232b9
SP
101542014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10155
d4b17258
SP
10156 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10157 formatting.
10158 (get_handles_fopen): Likewise.
10159 (do_write_test): Likewise.
10160
091eff71
SP
10161 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10162
fa3cd248
SP
10163 * libio/fileops.c (do_ftell): Use cached offset when
10164 available.
10165 * libio/iofwide.c (do_ftell_wide): Likewise.
10166 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10167 _IO_file_attach.
10168 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10169
000232b9
SP
10170 [BZ #16532]
10171 * libio/libioP.h (get_file_offset): New function.
10172 * libio/fileops.c (get_file_offset): Likewise.
10173 (do_ftell): Likewise.
10174 (_IO_new_file_seekoff): Split out ftell logic.
10175 * libio/wfileops.c (do_ftell_wide): Likewise.
10176 (_IO_wfile_seekoff): Split out ftell logic.
10177 * libio/tst-ftell-active-handler.c: New test case.
10178 * libio/Makefile (tests): Add it.
10179
116f4d1a
RM
101802014-03-03 Roland McGrath <roland@hack.frob.com>
10181
10182 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10183 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10184
532a6035
SP
101852014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10186
10187 [BZ #16639]
10188 * nscd/connections.c (nscd_init): Call do_exit.
10189 (start_threads): Call do_exit and notify_parent.
10190 (begin_drop_privileges): Call do_exit.
10191 (finish_drop_privileges): Likewise.
10192 * nscd/selinux.c (preserve_capabilities): Likewise.
10193 (install_real_capabilities): Likewise.
10194 (nscd_selinux_enabled): Likewise.
10195 (avc_create_thread): Likewise.
10196 (avc_alloc_lock): Likewise.
10197 (nscd_avc_init): Likewise.
10198 * nscd/nscd.c (parent_fd): New static variable.
10199 (main): Create a pipe between parent and child processes.
10200 Skip closing parent_fd.
10201 (monitor_child): New function.
10202 (do_exit): Likewise.
10203 (notify_parent): Likewise.
10204 * nscd/nscd.h (notify_parent): Likewise.
10205 (do_exit): Likewise.
10206
d6285c9f
CD
102072014-03-03 Carlos O'Donell <carlos@redhat.com>
10208
10209 * malloc/malloc.c (__libc_calloc): Revert last change.
10210
2b85d2a0
AZ
102112014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10212
10213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10214
c7debbdf
RS
102152014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10216
10217 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10219 implementation.
10220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10221 (__libc_ifunc_impl_list): Likewise.
10222 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10223 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10224 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10225 * string/strrchr.c: Define STRRCHR.
10226
235eed86
OB
102272014-02-28 Ondřej Bílka <neleai@seznam.cz>
10228
10229 * benchtest/bench-strtok.c (simple_strtok): Delete.
10230 (strtok_string): Use as benchmark.
10231 * string/strtok (STRTOK): New macro.
10232
8e25d1e7
CD
102332014-02-28 Carlos O'Donell <carlos@redhat.com>
10234
ef563f92
CD
10235 * manual/threads.texi: Add header and standard comments to all
10236 functions.
10237
8e25d1e7
CD
10238 * elf/dl-lookup.c (check_match): New function.
10239 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10240 (do_lookup_x): Remove nested function check_match. Use non-nested
10241 function check_match.
10242
ff71cc37
RM
102432014-02-28 Roland McGrath <roland@hack.frob.com>
10244
f08e9a26
RM
10245 * csu/Makefile (generated, before-compile): Use += rather than =.
10246 * catgets/Makefile (generated, generated-dirs): Likewise.
10247 * debug/Makefile (generated): Likewise.
10248 * dlfcn/Makefile (generated): Likewise.
10249 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10250 * iconvdata/Makefile (before-compile, generated): Likewise.
10251 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10252 * libio/Makefile (generated): Likewise.
10253 * malloc/Makefile (generated): Likewise.
10254 * manual/Makefile (generated, generated-dirs): Likewise.
10255 * misc/Makefile (generated): Likewise.
10256 * posix/Makefile (generated): Likewise.
10257 * resolv/Makefile (generated): Likewise.
10258 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10259 * timezone/Makefile (generated, generated-dirs): Likewise.
10260
ff71cc37
RM
10261 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10262
fe13a20c
AZ
102632014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10264
57f41c40
AS
10265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10266 power8 implementation.
10267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10268 file: POWER8 llround ifunc implementation.
10269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10270 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10271 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10272 POWER8 llround implementation.
10273
57f41c40
AS
10274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10275 power8 implementation.
10276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10277 file: POWER8 llrint ifunc implementation.
10278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10279 Add POWER8 implementation.
1ad8950a
AZ
10280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10281 POWER8 llrint implementation.
10282
57f41c40
AS
10283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10284 power8 implementation.
10285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10286 file: POWER8 finite ifunc implementation.
10287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10288 Add POWER8 implementation.
cac626d6
AZ
10289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10290 Likewise.
10291 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10292 POWER8 finite implementation.
10293 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10294
57f41c40
AS
10295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10296 power8 implementation.
10297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10298 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10300 POWER8 implementation.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10302 Likewise.
57f41c40
AS
10303 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10304 isinf implementation.
4393fc11
AZ
10305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10306
57f41c40
AS
10307 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10308 (INIT_ARCH): Add hwcap2 initialization.
10309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10310 power8 implementation.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10312 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10314 POWER8 implementation.
10315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10316 Likewise.
57f41c40
AS
10317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10318 isnan implementation.
487972ae
AZ
10319 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10320
7d92b787
JY
103212014-02-27 Joey Ye <joey.ye@arm.com>
10322
10323 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10324 (_FP_NANFRAC_Q): Set to zero.
10325
1cadc858
SP
103262014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10327
10328 [BZ #16623]
10329 * math/auto-libm-test-in: New test inputs.
10330 * math/auto-libm-test-out: Regenerate.
10331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10332 and DA.
10333 (__cos): Likewise.
10334 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10335
f8c17e79
JM
103362014-02-27 Joseph Myers <joseph@codesourcery.com>
10337
10338 * scripts/evaluate-test.sh: Take new argument indicating whether
10339 failure is expected.
10340 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10341 indicating whether failure is expected.
10342 * conform/Makefile (test-xfail-run-conformtest): New variable.
10343 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10344 level.
10345 * posix/Makefile (test-xfail-annexc): New variable.
10346 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10347
a5f891ac
JM
103482014-02-26 Joseph Myers <joseph@codesourcery.com>
10349
10350 * argp/Makefile: Include Makeconfig immediately after defining
10351 subdir.
10352 * assert/Makefile: Likewise.
10353 * benchtests/Makefile: Likewise.
10354 * catgets/Makefile: Likewise.
10355 * conform/Makefile: Likewise.
10356 * crypt/Makefile: Likewise.
10357 * csu/Makefile: Likewise.
10358 (all): Remove target.
10359 * ctype/Makefile: Include Makeconfig immediately after defining
10360 subdir.
10361 * debug/Makefile: Likewise.
10362 * dirent/Makefile: Likewise.
10363 * dlfcn/Makefile: Likewise.
10364 * gmon/Makefile: Likewise.
10365 * gnulib/Makefile: Likewise.
10366 * grp/Makefile: Likewise.
10367 * gshadow/Makefile: Likewise.
10368 * hesiod/Makefile: Likewise.
10369 * hurd/Makefile: Likewise.
10370 (all): Remove target.
10371 * iconvdata/Makefile: Include Makeconfig immediately after
10372 defining subdir.
10373 * inet/Makefile: Likewise.
10374 * intl/Makefile: Likewise.
10375 * io/Makefile: Likewise.
10376 * libio/Makefile: Likewise.
10377 (all): Remove target.
10378 * locale/Makefile: Include Makeconfig immediately after defining
10379 subdir.
10380 * login/Makefile: Likewise.
10381 * mach/Makefile: Likewise.
10382 (all): Remove target.
10383 * malloc/Makefile: Include Makeconfig immediately after defining
10384 subdir.
10385 (all): Remove target.
10386 * manual/Makefile: Include Makeconfig immediately after defining
10387 subdir.
10388 * math/Makefile: Likewise.
10389 * misc/Makefile: Likewise.
10390 * nis/Makefile: Likewise.
10391 * nss/Makefile: Likewise.
10392 * po/Makefile: Likewise.
10393 (all): Remove target.
10394 * posix/Makefile: Include Makeconfig immediately after defining
10395 subdir.
10396 * pwd/Makefile: Likewise.
10397 * resolv/Makefile: Likewise.
10398 * resource/Makefile: Likewise.
10399 * rt/Makefile: Likewise.
10400 * setjmp/Makefile: Likewise.
10401 * shadow/Makefile: Likewise.
10402 * signal/Makefile: Likewise.
10403 * socket/Makefile: Likewise.
10404 * soft-fp/Makefile: Likewise.
10405 * stdio-common/Makefile: Likewise.
10406 * stdlib/Makefile: Likewise.
10407 * streams/Makefile: Likewise.
10408 * string/Makefile: Likewise.
10409 * sunrpc/Makefile: Likewise.
10410 (all): Remove target.
10411 * sysvipc/Makefile: Include Makeconfig immediately after defining
10412 subdir.
10413 * termios/Makefile: Likewise.
10414 * time/Makefile: Likewise.
10415 * timezone/Makefile: Likewise.
10416 (all): Remove target.
10417 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10418 subdir.
10419 * wctype/Makefile: Likewise.
10420
5b456e9d
SE
104212014-02-26 Steve Ellcey <sellcey@mips.com>
10422
10423 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10424 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10425 (libc_feholdexcept_setround_mips): Ditto.
10426 (libc_feholdsetround): New.
10427 (libc_feholdsetroundf): New.
10428 (libc_feholdsetroundl): New.
10429 (libc_feupdateenv_test_mips): New.
10430 (libc_feupdateenv_test): New.
10431 (libc_feupdateenv_testf): New.
10432 (libc_feupdateenv_testl): New.
10433 (libc_feresetround): New.
10434 (libc_feresetroundf): New.
10435 (libc_feresetroundl): New.
10436 (libc_fetestexcept_mips): New.
10437 (libc_fetestexcept): New.
10438 (libc_fetestexceptf): New.
10439 (libc_fetestexceptl): New.
10440 (HAVE_RM_CTX): New.
10441 (libc_feholdexcept_setround_mips_ctx): New.
10442 (libc_feholdexcept_setround_ctx): New.
10443 (libc_feholdexcept_setroundf_ctx): New.
10444 (libc_feholdexcept_setroundl_ctx): New.
10445 (libc_fesetenv_mips_ctx): New.
10446 (libc_fesetenv_ctx): New.
10447 (libc_fesetenv_ctxf): New.
10448 (libc_fesetenv_ctxl): New.
10449 (libc_feupdateenv_mips_ctx): New.
10450 (libc_feupdateenv_ctx): New.
10451 (libc_feupdateenvf_ctx): New.
10452 (libc_feupdateenvl_ctx): New.
10453 (libc_feholdsetround_mips_ctx): New.
10454 (libc_feholdsetround_ctx): New.
10455 (libc_feholdsetroundf_ctx): New.
10456 (libc_feholdsetroundl_ctx): New.
10457 (libc_feresetround_mips_ctx): New.
10458 (libc_feresetround_ctx): New.
10459 (libc_feresetroundf_ctx): New.
10460 (libc_feresetroundl_ctx): New.
10461
085d0e35
CD
104622014-02-26 Carlos O'Donell <carlos@redhat.com>
10463
f067bf1f
CD
10464 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10465
085d0e35
CD
10466 * manual/ipc.texi: New file.
10467 * manual/Makefile (chapters): Add ipc.
10468 * manual/job.texi: Add "Inter-Process Communication" to next.
10469 * manual/process.texi: Add "Inter-Process Communication" to prev.
10470
86e58c08
AZ
104712014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10472
10473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10474
4248f0da
OB
104752014-02-26 Ondřej Bílka <neleai@seznam.cz>
10476
10477 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10478
cf822e3c
OB
10479 * manual/arith.texi: Fix spaces after sentences.
10480 * manual/charset.texi: Likewise.
10481 * manual/errno.texi: Likewise.
10482 * manual/install.texi: Likewise.
10483 * manual/llio.texi: Likewise.
10484 * manual/locale.texi: Likewise.
10485 * manual/maint.texi: Likewise.
10486 * manual/math.texi: Likewise.
10487 * manual/memory.texi: Likewise.
10488 * manual/message.texi: Likewise.
10489 * manual/probes.texi: Likewise.
10490 * manual/resource.texi: Likewise.
10491 * manual/signal.texi: Likewise.
10492 * manual/socket.texi: Likewise.
10493 * manual/stdio.texi: Likewise.
10494 * manual/string.texi: Likewise.
10495 * manual/time.texi: Likewise.
10496 * manual/users.texi: Likewise.
10497
ade40b10
CD
104982014-02-25 Carlos O'Donell <carlos@redhat.com>
10499
10500 [BZ #16632]
10501 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10502 _DEFAULT_SOURCE is defined.
10503
d0503676
CD
105042014-02-25 Ulrich Drepper <drepper@gmail.com>
10505 Carlos O'Donell <carlos@redhat.com>
10506
10507 [BZ #16613]
10508 * elf/dl-tls.c (_dl_count_modids): New function.
10509 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10510 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10511 audit library and increment generation counter.
10512 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10513 * elf/tst-audit9.c: New file.
10514 * elf/tst-auditmod9a.c: New file.
10515 * elf/tst-auditmod9b.c: New file.
10516 * elf/Makefile: Add rules to build and run tst-audit9.
10517
4cbf380c
FW
105182014-02-25 Florian Weimer <fweimer@redhat.com>
10519
10520 [BZ #15347]
10521 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10522
80a56cc3
WN
105232014-02-25 Will Newton <will.newton@linaro.org>
10524
10525 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10526 (__longjmp): Restore sp and lr before restoring callee
10527 saved registers. Add longjmp and longjmp_target
10528 SystemTap probe point.
10529 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10530 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10531 Define to zero to match jmpbuf layout.
10532 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10533 (__sigsetjmp): Save sp and lr before saving callee
10534 saved registers. Add setjmp SystemTap probe point.
10535
3ea0f74e
SL
105362014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10537
10538 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10539
b04acb26
AS
105402014-02-24 Andreas Schwab <schwab@suse.de>
10541
10542 [BZ #15804]
10543 * elf/pldd.c (wait_for_ptrace_stop): New function.
10544 (main): Call it after attaching.
10545
098ad55c
RM
105462014-02-22 Roland McGrath <roland@hack.frob.com>
10547
d4ec6ae1
RM
10548 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10549 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10550 Versions files is now verboten.
10551 * hurd/Versions (libc: GLIBC_2.0):
10552 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10553 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10554 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10555 * mach/Versions: Likewise.
10556
098ad55c
RM
10557 * csu/Versions: Remove unused %include.
10558 * resolv/Versions: Likewise.
10559
acd7f096
JM
105602014-02-21 Joseph Myers <joseph@codesourcery.com>
10561
f0881698
JM
10562 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10563 ($(objpfx)check-local-headers.out): Likewise.
10564 ($(objpfx)begin-end-check.out): Likewise.
10565 * Makerules (check-abi-%.out): Likewise.
10566 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10567 ($(objpfx)test2.cat): Likewise.
10568 ($(objpfx)de/libc.cat): Likewise.
10569 ($(objpfx)test-gencat.out): Likewise.
10570 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10571 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10572 ($(objpfx)noload-mem): Likewise.
10573 ($(objpfx)tst-pathopt.out): Likewise.
10574 ($(objpfx)tst-rtld-load-self.out): Likewise.
10575 ($(objpfx)tst-array1-cmp.out): Likewise.
10576 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10577 ($(objpfx)tst-array2-cmp.out): Likewise.
10578 ($(objpfx)tst-array3-cmp.out): Likewise.
10579 ($(objpfx)tst-array4-cmp.out): Likewise.
10580 ($(objpfx)tst-array5-cmp.out): Likewise.
10581 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10582 ($(objpfx)check-textrel.out): Likewise.
10583 ($(objpfx)check-execstack.out): Likewise.
10584 ($(objpfx)check-localplt.out): Likewise.
10585 ($(objpfx)order2-cmp.out): Likewise.
10586 ($(objpfx)tst-leaks1-mem): Likewise.
10587 ($(objpfx)tst-leaks1-static-mem): Likewise.
10588 ($(objpfx)tst-initorder-cmp.out): Likewise.
10589 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10590 ($(objpfx)tst-unused-dep.out): Likewise.
10591 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10592 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10593 * iconv/Makefile (test-iconvconfig): Likewise.
10594 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10595 ($(objpfx)iconv-test.out): Likewise.
10596 ($(objpfx)tst-tables.out): Likewise.
10597 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10598 ($(objpfx)tst-gettext.out): Likewise.
10599 ($(objpfx)tst-translit.out): Likewise.
10600 ($(objpfx)tst-gettext2.out): Likewise.
10601 ($(objpfx)tst-gettext4.out): Likewise.
10602 ($(objpfx)tst-gettext6.out): Likewise.
10603 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10604 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10605 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10606 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10607 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10608 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10609 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10610 ($(objpfx)wordexp-tst.out): Likewise.
10611 ($(objpfx)annexc.out): Likewise.
10612 ($(objpfx)tst-fnmatch-mem): Likewise.
10613 ($(objpfx)bug-regex2-mem): Likewise.
10614 ($(objpfx)bug-regex14-mem): Likewise.
10615 ($(objpfx)bug-regex21-mem): Likewise.
10616 ($(objpfx)bug-regex31-mem): Likewise.
10617 ($(objpfx)tst-vfork3-mem): Likewise.
10618 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10619 ($(objpfx)tst-pcre-mem): Likewise.
10620 ($(objpfx)tst-boost-mem): Likewise.
10621 ($(objpfx)tst-getconf.out): Likewise.
10622 ($(objpfx)bug-ga2-mem): Likewise.
10623 ($(objpfx)bug-glob2-mem): Likewise.
10624 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10625 ($(objpfx)mtrace-tst-leaks2): Likewise.
10626 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10627 ($(objpfx)tst-printf.out): Likewise.
10628 ($(objpfx)tst-setvbuf1.out): Likewise.
10629 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10630 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10631 ($(objpfx)tst-fmtmsg.out): Likewise.
10632 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10633 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10634
acd7f096
JM
10635 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10636 * bits/sigaction.h [__USE_MISC]: Likewise.
10637 * bits/waitstatus.h: Update #endif comments.
10638 * ctype/ctype.h: Likewise.
10639 * dirent/dirent.h: Likewise.
10640 [__USE_MISC]: Remove redundant conditionals.
10641 * grp/grp.h: Update #endif comments.
10642 [__USE_GNU]: Remove redundant conditionals.
10643 [__USE_MISC]: Likewise.
10644 * inet/netinet/in.h [__USE_GNU]: Likewise.
10645 * io/sys/stat.h [__USE_MISC]: Likewise.
10646 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10647 * libio/bits/stdio.h: Update #endif comments.
10648 [__USE_MISC]: Remove redundant conditionals.
10649 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10650 * libio/stdio.h: Update #endif comments.
10651 [__USE_MISC]: Remove redundant conditionals.
10652 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10653 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10654 * math/math.h: Update #else and #endif comments.
10655 [__USE_MISC]: Remove redundant conditionals.
10656 * misc/sys/uio.h: Update #endif comments.
10657 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10658 * posix/glob.h [__USE_MISC]: Likewise.
10659 * posix/sys/types.h: Update #endif comments.
10660 [__USE_MISC]: Remove redundant conditionals.
10661 * posix/sys/wait.h: Update #endif comments.
10662 [__USE_MISC]: Remove redundant conditionals.
10663 * posix/unistd.h: Update #endif comments.
10664 [__USE_MISC]: Remove redundant conditionals.
10665 * pwd/pwd.h [__USE_GNU]: Likewise.
10666 [__USE_MISC]: Likewise.
10667 * resolv/netdb.h [__USE_GNU]: Likewise.
10668 * signal/signal.h: Update #endif comments.
10669 [__USE_MISC]: Remove redundant conditionals.
10670 * stdlib/stdlib.h: Update #else and #endif comments.
10671 [__USE_MISC]: Remove redundant conditionals.
10672 [__USE_GNU]: Likewise.
10673 * string/bits/string2.h [__USE_MISC]: Likewise.
10674 * string/string.h: Update #endif comments.
10675 [__USE_MISC]: Remove redundant conditionals.
10676 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10677 Likewise.
10678 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10679 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10680 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10681 Likewise.
10682 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10683 Likewise.
10684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10685 comments.
10686 [__USE_MISC]: Remove redundant conditionals.
10687 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10688 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10689 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10690 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10691 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10692 Likewise.
10693 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10694 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10695 Likewise.
10696 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10697 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10698 Likewise.
10699 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10700 Likewise.
10701 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10702 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10703 Likewise.
10704 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10705 Likewise.
10706 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10707 * sysdeps/x86/bits/string.h: Update #endif comments.
10708 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10709 conditionals.
10710 * time/sys/time.h: Update #endif comments.
10711 * time/time.h: Likewise.
10712 [__USE_MISC]: Remove redundant conditionals.
10713
a5d82e4e
YG
107142014-02-21 Yury Gribov <y.gribov@samsung.com>
10715
10716 [BZ #16600]
10717 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10718
9a80491d
AS
107192014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10720
10721 * Versions.def (librt): Add GLIBC_2.17.
10722
105fa381
AC
107232014-02-21 Adam Conrad <adconrad@0c3.net>
10724
10725 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10726 synonym for _SYS_AUXV_H to allow direct inclusion.
10727 * sysdeps/sparc/bits/hwcap.h: Likewise.
10728 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10729 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10730 * sysdeps/sparc/sysdep.h: Likewise.
10731
b8cd1c4e
SP
107322014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10733
10734 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10735
bd939d23
RS
107362014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10737
10738 * benchtests/bench-strrchr.c: Print length instead of position.
10739
5d7b57ca
JM
107402014-02-20 Joseph Myers <joseph@codesourcery.com>
10741
bc688c10
JM
10742 [BZ #16611]
10743 * sysdeps/unix/sysv/linux/kernel-features.h
10744 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10745 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10746 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10747 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10748 Likewise.
10749 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10750 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10751 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10752 (__ASSUME_SENDMMSG): Define instead of using previous
10753 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10754 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10755 (__ASSUME_SENDMMSG_SYSCALL): Define.
10756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10757 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10758 Likewise.
10759 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10760 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10761 Likewise.
10762 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10763 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10764 Likewise.
10765 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10766 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10767 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10768 [__ASSUME_SENDMMSG]: Change conditionals to
10769 [__ASSUME_SENDMMSG_SOCKETCALL].
10770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10771 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10772 Define.
10773 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10774 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10775 Likewise.
10776 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10777 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10778 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10779 [!__ASSUME_SENDMMSG]: Change conditional to
10780 [!__ASSUME_SENDMMSG_SOCKETCALL].
10781 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10782 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10783 Define.
10784
0e31b18c
JM
10785 [BZ #16610]
10786 * sysdeps/unix/sysv/linux/kernel-features.h
10787 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10788 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10789 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10790 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10791 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10792 [__i386__ || __sparc__]
10793 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10794 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10795 (__ASSUME_RECVMMSG): Define instead of using previous
10796 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10798 (__ASSUME_RECVMMSG_SYSCALL): Define.
10799 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10801 Likewise.
10802 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10803 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10804 Likewise.
10805 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10806 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10807 Likewise.
10808 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10809 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10810 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10811 [__ASSUME_RECVMMSG]: Change condition to
10812 [__ASSUME_RECVMMSG_SOCKETCALL].
10813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10815 Define.
10816 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10817 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10818 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10819 Likewise.
10820 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10821 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10822 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10823 [!__ASSUME_RECVMMSG]: Change condition to
10824 [!__ASSUME_RECVMMSG_SOCKETCALL].
10825 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10826 (__ASSUME_RECVMMSG_SYSCALL): Define.
10827
dd481ccf
JM
10828 [BZ #16609]
10829 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10830 __powerpc__ || __s390__ || __sh__ || __sparc__]
10831 (__ASSUME_SOCKETCALL): Define.
10832 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10833 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10834 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10835 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10836 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10837 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10838 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10839 (__ASSUME_ACCEPT4): Define instead of using previous
10840 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10841 __powerpc__ || __sparc__ || __s390__)] condition.
10842 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10843 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10844 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10845 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10846 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10847 [!__ASSUME_ACCEPT4]: Change condition to
10848 [!__ASSUME_ACCEPT4_SOCKETCALL].
10849 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10850 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10851 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10852 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10853 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10854 __ASSUME_ACCEPT4_SYSCALL.
10855 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10856 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10857 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10858 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10859 __ASSUME_ACCEPT4_SYSCALL.
10860 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10861 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10862 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10863 [__ASSUME_ACCEPT4]: Change condition to
10864 [__ASSUME_ACCEPT4_SOCKETCALL].
10865 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10866 (__ASSUME_SOCKETCALL): Define.
10867 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10868 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10869 (__ASSUME_SOCKETCALL): Define.
10870 (__ASSUME_ACCEPT4): Remove.
10871 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10872 Define.
10873 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10874 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10875 Likewise.
10876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10877 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10878
5d7b57ca
JM
10879 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10880 macro.
10881 (HWCAP_ARM_LPAE): Likewise.
10882 (HWCAP_ARM_EVTSTRM): Likewise.
10883 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10884 Add vpfd32, lpae and evtstrm.
10885 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10886 Increase to 22.
10887
63689d61
JM
108882014-02-19 Joseph Myers <joseph@codesourcery.com>
10889
10890 * math/auto-libm-test-in: Add tests of clog10.
10891 * math/auto-libm-test-out: Regenerated.
10892 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10893 * sysdeps/i386/fpu/libm-test-ulps: Update.
10894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10895
ab09bf61
AS
108962014-02-18 Andreas Schwab <schwab@suse.de>
10897
10898 [BZ #16574]
10899 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10900 Store non-zero if the second buffer was newly allocated.
10901 (send_dg): Likewise.
10902 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10903 to send_vc and send_dg.
10904 (res_nsend): Pass NULL for ansp2_malloced.
10905 * resolv/res_query.c (__libc_res_nquery): Add parameter
10906 answerp2_malloced and pass it down to __libc_res_nsend.
10907 (res_nquery): Pass additional NULL to __libc_res_nquery.
10908 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10909 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10910 second answer buffer if answerp2_malloced was set.
10911 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10912 (__libc_res_nquerydomain): Add parameter
10913 answerp2_malloced and pass it down to __libc_res_nquery.
10914 (res_nquerydomain): Pass additional NULL to
10915 __libc_res_nquerydomain.
10916 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10917 additional NULL to __libc_res_nsend and __libc_res_nquery.
10918 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10919 additional NULL to __libc_res_nsearch.
10920 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10921 parameter of __libc_res_nsearch to check for separately allocated
10922 second buffer.
10923 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10924 __libc_res_nquery.
10925 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10926 additional NULL to __libc_res_nquery.
10927 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10928 __libc_res_nsearch.
10929 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10930 * include/resolv.h: Update prototypes of __libc_res_nquery,
10931 __libc_res_nsearch, __libc_res_nsend.
10932
a4fb7861
JM
109332014-02-18 Joseph Myers <joseph@codesourcery.com>
10934
c6af2d89
JM
10935 * math/auto-libm-test-in: Add tests of fma.
10936 * math/auto-libm-test-out: Regenerated.
10937 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10938 (fma_towardzero_test_data): Likewise.
10939 (fma_downward_test_data): Likewise.
10940 (fma_upward_test_data): Likewise.
10941 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10942 mpc_mode.
10943 (rounding_modes): Add values for new field.
10944 (func_calc_method): Add value mpfr_fff_f.
10945 (func_calc_desc): Add mpfr_fff_f union field.
10946 (test_function): Add field exact_args.
10947 (FUNC): Add macro argument EXACT_ARGS.
10948 (FUNC_mpfr_f_f): Update call to FUNC.
10949 (FUNC_mpfr_f_f): Likewise.
10950 (FUNC_mpfr_ff_f): Likewise.
10951 (FUNC_mpfr_if_f): Likewise.
10952 (FUNC_mpc_c_f): Likewise.
10953 (FUNC_mpc_c_c): Likewise.
10954 (test_functions): Add fma. Update calls to FUNC.
10955 (handle_input_arg): Add argument exact_args.
10956 (add_test): Update call to handle_input_arg.
10957 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10958 (output_for_one_input_case): Update call to calc_generic_results.
10959 Recalculate exact zero results in each rounding mode.
10960
a4fb7861
JM
10961 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10962 non-negative before setting low bit.
10963 * math/auto-libm-test-in: Mark one asin test possibly having
10964 spurious underflow.
10965 * math/auto-libm-test-out: Regenerated.
10966 * sysdeps/i386/fpu/libm-test-ulps: Update.
10967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968
ef114eaf
DH
109692014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10970
2b7f4f2c
SP
10971 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10972 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10973 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10974 * README: Add missing listing for microblaze*-*-linux-gnu.
10975
8125aedc
AM
109762014-02-16 Ondřej Bílka <neleai@seznam.cz>
10977
10978 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10979 duplicate code
10980
c70a4b1d
MF
109812014-02-16 Mike Frysinger <vapier@gentoo.org>
10982
10983 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10984 * sysdeps/unix/sysv/linux/ia64: Move directory from
10985 ports/sysdeps/unix/sysv/linux/ia64.
10986 * README: Update listing for ia64-*-linux-gnu.
10987
591aeaf7
TD
109882014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10989 Joseph Myers <joseph@codesourcery.com>
10990
10991 * Makeconfig (test-name): New variable.
10992 (evaluate-test): Likewise.
10993 * Makerules (do-test-clean): Remove .test-result files.
10994 (common-mostlyclean): Likewise.
10995 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10996 * scripts/evaluate-test.sh: New file.
10997
6e89caf1
JM
109982014-02-14 Joseph Myers <joseph@codesourcery.com>
10999
7f98f180
JM
11000 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11001 separate $(objpfx)tst-fopenloc-cmp.out and
11002 $(objpfx)tst-fopenloc-mem.out targets.
11003 (tests): Update dependencies.
11004 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11005 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11006 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11007 (tst-rxspencer-no-utf8-ARGS): New variable.
11008 (tst-rxspencer-no-utf8-ENV): Likewise.
11009 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11010 instead of $(objpfx)tst-rxspencer-mem.
11011 ($(objpfx)tst-rxspencer-mem): Change target to
11012 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11013 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11014 * posix/tst-rxspencer-no-utf8.c: New file.
11015
6e89caf1
JM
11016 * elf/Makefile ($(objpfx)order.out): Remove rule.
11017 [$(run-built-tests) = yes] (tests): Depend on
11018 $(objpfx)order-cmp.out.
11019 ($(objpfx)order-cmp.out): New rule.
11020 [$(run-built-tests) = yes] (tests): Depend on
11021 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11022 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11023 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11024 $(objpfx)tst-array5-static-cmp.out.
11025 ($(objpfx)tst-array1.out): Remove rule.
11026 ($(objpfx)tst-array1-cmp.out): New rule.
11027 ($(objpfx)tst-array1-static.out): Remove rule.
11028 ($(objpfx)tst-array1-static-cmp.out): New rule.
11029 ($(objpfx)tst-array2.out): Remove rule.
11030 ($(objpfx)tst-array2-cmp.out): New rule.
11031 ($(objpfx)tst-array3.out): Remove rule.
11032 ($(objpfx)tst-array3-cmp.out): New rule.
11033 ($(objpfx)tst-array4.out): Remove rule.
11034 ($(objpfx)tst-array4-cmp.out): New rule.
11035 ($(objpfx)tst-array5.out): Remove rule.
11036 ($(objpfx)tst-array5-cmp.out): New rule.
11037 ($(objpfx)tst-array5-static.out): Remove rule.
11038 ($(objpfx)tst-array5-static-cmp.out): New rule.
11039 [$(run-built-tests) = yes] (tests): Depend on
11040 $(objpfx)order2-cmp.out.
11041 ($(objpfx)order2.out): Remove rule.
11042 ($(objpfx)order2-cmp.out): New rule.
11043 ($(objpfx)tst-initorder.out): Remove rule.
11044 [$(run-built-tests) = yes] (tests): Depend on
11045 $(objpfx)tst-initorder-cmp.out.
11046 ($(objpfx)tst-initorder-cmp.out): New rule.
11047 ($(objpfx)tst-initorder2.out): Remove rule.
11048 [$(run-built-tests) = yes] (tests): Depend on
11049 $(objpfx)tst-initorder2-cmp.out.
11050 ($(objpfx)tst-initorder2-cmp.out): New rule.
11051 [$(run-built-tests) = yes] (tests): Depend on
11052 $(objpfx)tst-unused-dep-cmp.out.
11053 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11054 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11055 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11056 on $(objpfx)tst-setvbuf1-cmp.out.
11057 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11058 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11059 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11060 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11061 ($(objpfx)tst-svc.out): Remove rule.
11062 ($(objpfx)tst-svc-cmp.out): New rule.
11063
ed9a38e2
JM
110642014-02-13 Joseph Myers <joseph@codesourcery.com>
11065
11066 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11067 * ctype/ctype.h [__USE_MISC]: Likewise.
11068 * dirent/dirent.h [__USE_MISC]: Likewise.
11069 * grp/grp.h [__USE_MISC]: Likewise.
11070 * io/fcntl.h [__USE_MISC]: Likewise.
11071 * io/sys/stat.h [__USE_MISC]: Likewise.
11072 * libio/stdio.h [__USE_MISC]: Likewise.
11073 * posix/unistd.h [__USE_MISC]: Likewise.
11074 * pwd/pwd.h [__USE_MISC]: Likewise.
11075 * stdlib.h [__USE_MISC]: Likewise.
11076 * string/bits/string2.h [__USE_MISC]: Likewise.
11077 * string/string.h [__USE_MISC]: Likewise.
11078 * time/time.h [__USE_MISC]: Likewise.
11079
d6680619
AS
110802014-02-13 Andreas Schwab <schwab@suse.de>
11081
11082 [BZ #16574]
11083 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11084 second answer buffer if it was separately allocated.
11085
ace614b8
JM
110862014-02-12 Joseph Myers <joseph@codesourcery.com>
11087
743151ae
JM
11088 * sysdeps/mips/math-tests.h: Include <features.h>.
11089 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11090 (ROUNDING_TESTS_long_double): Do not define.
11091 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11092 (EXCEPTION_TESTS_long_double): Likewise.
11093 * sysdeps/mips/mips64/libm-test-ulps: Update.
11094
498afc54
JM
11095 * include/features.h (__USE_BSD): Remove macro definitions.
11096 (__USE_SVID): Likewise.
11097 (_BSD_SOURCE): Likewise.
11098 (_SVID_SOURCE): Likewise.
11099 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11100 from definition of _DEFAULT_SOURCE.
11101 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11102 [_DEFAULT_SOURCE].
11103 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11104 * bits/mman.h [__USE_BSD]: Likewise.
11105 * bits/termios.h [__USE_BSD]: Likewise.
11106 * bits/waitstatus.h [__USE_BSD]: Likewise.
11107 * ctype/ctype.h [__USE_SVID]: Likewise.
11108 * dirent/dirent.h [__USE_BSD]: Likewise.
11109 * grp/grp.h [__USE_SVID]: Likewise.
11110 [__USE_BSD]: Likewise.
11111 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11112 * io/fcntl.h [__USE_BSD]: Likewise.
11113 * io/ftw.h [__USE_BSD]: Likewise.
11114 * io/sys/stat.h [__USE_BSD]: Likewise.
11115 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11116 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11117 * libio/stdio.h [__USE_SVID]: Likewise.
11118 [__USE_BSD]: Likewise.
11119 * math/math.h [__USE_SVID]: Likewise.
11120 [__USE_BSD]: Likewise.
11121 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11122 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11123 * misc/search.h [__USE_SVID]: Likewise.
11124 * misc/sys/mman.h [__USE_BSD]: Likewise.
11125 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11126 * misc/sys/uio.h [__USE_BSD]: Likewise.
11127 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11128 * posix/glob.h [__USE_BSD]: Likewise.
11129 * posix/regex.h [__USE_BSD]: Likewise.
11130 * posix/sys/types.h [__USE_BSD]: Likewise.
11131 [__USE_SVID]: Likewise.
11132 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11133 * posix/sys/wait.h [__USE_BSD]: Likewise.
11134 [__USE_SVID]: Likewise.
11135 * posix/unistd.h [__USE_BSD]: Likewise.
11136 [__USE_SVID]: Likewise.
11137 * pwd/pwd.h [__USE_SVID]: Likewise.
11138 * resolv/netdb.h [__USE_BSD]: Likewise.
11139 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11140 * signal/signal.h [__USE_BSD]: Likewise.
11141 [__USE_SVID]: Likewise.
11142 * socket/sys/socket.h [__USE_BSD]: Likewise.
11143 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11144 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11145 [__USE_SVID]: Likewise.
11146 * string/bits/string2.h [__USE_BSD]: Likewise.
11147 [__USE_SVID]: Likewise.
11148 * string/bits/string3.h [__USE_BSD]: Likewise.
11149 * string/endian.h [__USE_BSD]: Likewise.
11150 * string/string.h [__USE_SVID]: Likewise.
11151 [__USE_BSD]: Likewise.
11152 * string/strings.h [__USE_BSD]: Likewise.
11153 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11154 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11155 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11156 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11157 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11158 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11159 Likewise.
11160 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11161 Likewise.
11162 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11163 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11164 Likewise.
11165 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11166 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11167 Likewise.
11168 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11169 Likewise.
11170 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11171 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11172 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11173 Likewise.
11174 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11175 Likewise.
11176 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11177 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11178 * termios/termios.h [__USE_BSD]: Likewise.
11179 * time/sys/time.h [__USE_BSD]: Likewise.
11180 * time/time.h [__USE_BSD]: Likewise.
11181 [__USE_SVID]: Likewise.
11182
dd7b064c
JM
11183 * Makefile (subdir_targets): Remove subdir_lint.out.
11184
a2c4c199
JM
11185 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11186 (do-tst-printf): Likewise.
11187 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11188 $(objpfx)tst-printf.out.
11189
8756f740
JM
11190 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11191
1b6dd3f1
JM
11192 * Makerules (check-abi-%): Change target to
11193 $(objpfx)check-abi-%.out.
11194 (check-abi target): Update dependencies.
11195 (check-abi-pattern variable): Redirect output of diff to $@.
11196 (check-abi variable): Likewise.
11197 * elf/Makefile (check-abi): Update dependencies.
11198
ace614b8
JM
11199 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11200 unused.
11201 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11202 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11203 subnormal range.
11204 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11205 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11206 value has largest subnormal exponent.
11207 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11208 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11209 * sysdeps/aarch64/soft-fp/sfp-machine.h
11210 (_FP_TININESS_AFTER_ROUNDING): New macro.
11211 * sysdeps/alpha/soft-fp/sfp-machine.h
11212 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11213 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11214 Likewise.
11215 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11216 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11217 * sysdeps/mips/soft-fp/sfp-machine.h
11218 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11219 * sysdeps/powerpc/soft-fp/sfp-machine.h
11220 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11221 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11222 Likewise.
11223 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11224 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11225 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11226 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11227 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11228 Likewise.
11229
fbfdf9cb
DAS
112302014-02-12 Dylan Alex Simon <dylan@dylex.net>
11231
11232 [BZ #16545]
11233 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11234 model 1.
11235
68b7efaa
RH
112362014-02-12 Richard Henderson <rth@redhat.com>
11237
c70a4b1d 11238 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11239 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11240 * sysdeps/unix/sysv/linux/alpha: Move directory from
11241 ports/sysdeps/unix/sysv/linux/alpha.
11242 * README: Update listing for alpha-*-linux-gnu.
11243
cb4a2928
JM
112442014-02-11 Joseph Myers <joseph@codesourcery.com>
11245
c941736c
JM
11246 * include/features.h: Update comment documenting feature test
11247 macros.
11248 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11249 _DEFAULT_SOURCE.
11250 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11251 (_SVID_SOURCE): Likewise.
11252 (_DEFAULT_SOURCE): Update description of default features.
11253 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11254 with _GNU_SOURCE.
11255 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11256 (S_ISVTX): Likewise.
11257 * manual/math.texi (Mathematical Constants): Likewise.
11258 * manual/signal.texi (Interrupted Primitives): Likewise.
11259 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11260 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11261 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11262 Don't refer to _SVID_SOURCE in warning text.
11263
e8d8d7ec
JM
11264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11265
cb4a2928
JM
11266 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11267 already defined.
11268 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11269 * sysdeps/mips/dl-lookup.c: Remove.
11270 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11271
7e6424e3
AK
112722014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11273
11274 [BZ #16447]
11275 * math/auto-libm-test-in: Add testcase for expl.
11276 * math/auto-libm-test-out: Regenerate.
11277 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11278 calculation of unsafe.
11279 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11280
75eff3fe
MS
112812014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11282
11283 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11284 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11285 ports/sysdeps/unix/sysv/linux/aarch64.
11286 * README: Update listing for aarch64*-*-linux-gnu.
11287
d35f1e80
WN
112882014-02-11 Will Newton <will.newton@linaro.org>
11289
11290 * manual/probes.texi (Mathematical Function Probes): Use
11291 "triggered" instead of "hit".
11292
7b3436d4
WN
11293 * manual/probes.texi (Internal Probes): Add documentation
11294 of setjmp, longjmp and longjmp_target probes.
11295
b4f12ca3
WN
11296 * include/stap-probe.h: Add comment about probe argument
11297 format.
11298
c13a72b7
WN
11299 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11300 definition. (tr_where, tr_freehook, tr_mallochook,
11301 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11302
195b8165
DM
113032014-02-11 David S. Miller <davem@davemloft.net>
11304
11305 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11306 processing int_tests.
11307
2ad7600b
JM
113082014-02-10 Joseph Myers <joseph@codesourcery.com>
11309
11310 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11311 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11312 * sysdeps/unix/sysv/linux/mips: Move directory from
11313 ports/sysdeps/unix/sysv/linux/mips.
11314 * README: Update listing for mips-*-linux-gnu and
11315 mips64-*-linux-gnu.
11316
73588a72
AS
113172014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11318
11319 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11320 * sysdeps/unix/sysv/linux/m68k: Move directory from
11321 ports/sysdeps/unix/sysv/linux/m68k.
11322 * README: Update listing for m68k-*-linux-gnu.
11323
4372980f
CM
113242014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11325
11326 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11327 * sysdeps/unix/sysv/linux/generic: Move directory from
11328 ports/sysdeps/unix/sysv/linux/generic.
11329 * sysdeps/unix/sysv/linux/tile: Move directory from
11330 ports/sysdeps/unix/sysv/linux/tile.
11331 * README: Update listing for tile*-*-linux-gnu.
11332
a1ffb40e
OB
113332014-02-10 Ondřej Bílka <neleai@seznam.cz>
11334
57f41c40
AS
11335 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11336 __builtin_expect.
a1ffb40e
OB
11337 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11338 * catgets/open_catalog.c (__open_catalog): Likewise.
11339 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11340 * debug/confstr_chk.c: Likewise.
11341 * debug/fread_chk.c (__fread_chk): Likewise.
11342 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11343 * debug/getgroups_chk.c: Likewise.
11344 * debug/mbsnrtowcs_chk.c: Likewise.
11345 * debug/mbsrtowcs_chk.c: Likewise.
11346 * debug/mbstowcs_chk.c: Likewise.
11347 * debug/memcpy_chk.c: Likewise.
11348 * debug/memmove_chk.c: Likewise.
11349 * debug/mempcpy_chk.c: Likewise.
11350 * debug/memset_chk.c: Likewise.
11351 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11352 * debug/strcat_chk.c (__strcat_chk): Likewise.
11353 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11354 * debug/strncat_chk.c (__strncat_chk): Likewise.
11355 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11356 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11357 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11358 * debug/wcpncpy_chk.c: Likewise.
11359 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11360 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11361 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11362 * debug/wcsncpy_chk.c: Likewise.
11363 * debug/wcsnrtombs_chk.c: Likewise.
11364 * debug/wcsrtombs_chk.c: Likewise.
11365 * debug/wcstombs_chk.c: Likewise.
11366 * debug/wmemcpy_chk.c: Likewise.
11367 * debug/wmemmove_chk.c: Likewise.
11368 * debug/wmempcpy_chk.c: Likewise.
11369 * debug/wmemset_chk.c: Likewise.
11370 * dirent/scandirat.c (SCANDIRAT): Likewise.
11371 * dlfcn/dladdr1.c (dladdr1): Likewise.
11372 * dlfcn/dladdr.c (dladdr): Likewise.
11373 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11374 * dlfcn/dlerror.c (__dlerror): Likewise.
11375 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11376 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11377 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11378 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11379 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11380 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11381 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11382 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11383 Likewise.
11384 * elf/dl-conflict.c: Likewise.
11385 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11386 * elf/dl-dst.h: Likewise.
11387 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11388 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11389 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11390 * elf/dl-init.c (call_init, _dl_init): Likewise.
11391 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11392 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11393 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11394 Likewise.
a1ffb40e
OB
11395 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11396 Likewise.
11397 * elf/dl-minimal.c (__libc_memalign): Likewise.
11398 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11399 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11400 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11401 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11402 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11403 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11404 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11405 * elf/dl-writev.h (_dl_writev): Likewise.
11406 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11407 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11408 (dl_main): Likewise.
a1ffb40e
OB
11409 * elf/setup-vdso.h (setup_vdso): Likewise.
11410 * grp/compat-initgroups.c (compat_call): Likewise.
11411 * grp/fgetgrent.c (fgetgrent): Likewise.
11412 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11413 * grp/putgrent.c (putgrent): Likewise.
11414 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11415 Likewise.
11416 * hurd/hurdinit.c: Likewise.
11417 * iconvdata/8bit-gap.c (struct): Likewise.
11418 * iconvdata/ansi_x3.110.c : Likewise.
11419 * iconvdata/big5.c : Likewise.
11420 * iconvdata/big5hkscs.c : Likewise.
11421 * iconvdata/cp1255.c: Likewise.
11422 * iconvdata/cp1258.c : Likewise.
11423 * iconvdata/cp932.c : Likewise.
11424 * iconvdata/euc-cn.c: Likewise.
11425 * iconvdata/euc-jisx0213.c : Likewise.
11426 * iconvdata/euc-jp.c: Likewise.
11427 * iconvdata/euc-jp-ms.c : Likewise.
11428 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11429 * iconvdata/gb18030.c : Likewise.
11430 * iconvdata/gbbig5.c (const): Likewise.
11431 * iconvdata/gbgbk.c: Likewise.
11432 * iconvdata/gbk.c : Likewise.
11433 * iconvdata/ibm1364.c : Likewise.
11434 * iconvdata/ibm930.c : Likewise.
11435 * iconvdata/ibm932.c: Likewise.
11436 * iconvdata/ibm933.c : Likewise.
11437 * iconvdata/ibm935.c : Likewise.
11438 * iconvdata/ibm937.c : Likewise.
11439 * iconvdata/ibm939.c : Likewise.
11440 * iconvdata/ibm943.c: Likewise.
11441 * iconvdata/iso_11548-1.c: Likewise.
11442 * iconvdata/iso-2022-cn.c : Likewise.
11443 * iconvdata/iso-2022-cn-ext.c : Likewise.
11444 * iconvdata/iso-2022-jp-3.c: Likewise.
11445 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11446 * iconvdata/iso-2022-kr.c : Likewise.
11447 * iconvdata/iso646.c (gconv_end): Likewise.
11448 * iconvdata/iso_6937-2.c : Likewise.
11449 * iconvdata/iso_6937.c : Likewise.
11450 * iconvdata/iso8859-1.c: Likewise.
11451 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11452 * iconvdata/shift_jisx0213.c : Likewise.
11453 * iconvdata/sjis.c : Likewise.
11454 * iconvdata/t.61.c : Likewise.
11455 * iconvdata/tcvn5712-1.c : Likewise.
11456 * iconvdata/tscii.c: Likewise.
11457 * iconvdata/uhc.c : Likewise.
11458 * iconvdata/unicode.c (gconv_end): Likewise.
11459 * iconvdata/utf-16.c (gconv_end): Likewise.
11460 * iconvdata/utf-32.c (gconv_end): Likewise.
11461 * iconvdata/utf-7.c (base64): Likewise.
11462 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11463 * iconv/gconv_close.c (__gconv_close): Likewise.
11464 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
11465 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11466 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11467 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11468 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11469 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
11470 * iconv/iconv.c (iconv): Likewise.
11471 * iconv/iconv_close.c: Likewise.
11472 * iconv/loop.c (SINGLE): Likewise.
11473 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11474 * include/atomic.h: Likewise.
11475 * inet/inet6_option.c (option_alloc): Likewise.
11476 * intl/bindtextdom.c (set_binding_values): Likewise.
11477 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11478 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11479 * intl/localealias.c (read_alias_file): Likewise.
11480 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
11481 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11482 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
11483 * libio/fmemopen.c (fmemopen): Likewise.
11484 * libio/iofgets.c (_IO_fgets): Likewise.
11485 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11486 * libio/iofgetws.c (fgetws): Likewise.
11487 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11488 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
11489 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11490 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
11491 * locale/findlocale.c (_nl_find_locale): Likewise.
11492 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11493 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11494 Likewise.
11495 * locale/setlocale.c (setlocale): Likewise.
11496 * login/programs/pt_chown.c (main): Likewise.
11497 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11498 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
11499 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11500 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
11501 * math/e_exp2l.c: Likewise.
11502 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11503 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11504 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11505 * math/s_catan.c (__catan): Likewise.
11506 * math/s_catanf.c (__catanf): Likewise.
11507 * math/s_catanh.c (__catanh): Likewise.
11508 * math/s_catanhf.c (__catanhf): Likewise.
11509 * math/s_catanhl.c (__catanhl): Likewise.
11510 * math/s_catanl.c (__catanl): Likewise.
11511 * math/s_ccosh.c (__ccosh): Likewise.
11512 * math/s_ccoshf.c (__ccoshf): Likewise.
11513 * math/s_ccoshl.c (__ccoshl): Likewise.
11514 * math/s_cexp.c (__cexp): Likewise.
11515 * math/s_cexpf.c (__cexpf): Likewise.
11516 * math/s_cexpl.c (__cexpl): Likewise.
11517 * math/s_clog10.c (__clog10): Likewise.
11518 * math/s_clog10f.c (__clog10f): Likewise.
11519 * math/s_clog10l.c (__clog10l): Likewise.
11520 * math/s_clog.c (__clog): Likewise.
11521 * math/s_clogf.c (__clogf): Likewise.
11522 * math/s_clogl.c (__clogl): Likewise.
11523 * math/s_csin.c (__csin): Likewise.
11524 * math/s_csinf.c (__csinf): Likewise.
11525 * math/s_csinh.c (__csinh): Likewise.
11526 * math/s_csinhf.c (__csinhf): Likewise.
11527 * math/s_csinhl.c (__csinhl): Likewise.
11528 * math/s_csinl.c (__csinl): Likewise.
11529 * math/s_csqrt.c (__csqrt): Likewise.
11530 * math/s_csqrtf.c (__csqrtf): Likewise.
11531 * math/s_csqrtl.c (__csqrtl): Likewise.
11532 * math/s_ctan.c (__ctan): Likewise.
11533 * math/s_ctanf.c (__ctanf): Likewise.
11534 * math/s_ctanh.c (__ctanh): Likewise.
11535 * math/s_ctanhf.c (__ctanhf): Likewise.
11536 * math/s_ctanhl.c (__ctanhl): Likewise.
11537 * math/s_ctanl.c (__ctanl): Likewise.
11538 * math/w_pow.c: Likewise.
11539 * math/w_powf.c: Likewise.
11540 * math/w_powl.c: Likewise.
11541 * math/w_scalb.c (sysv_scalb): Likewise.
11542 * math/w_scalbf.c (sysv_scalbf): Likewise.
11543 * math/w_scalbl.c (sysv_scalbl): Likewise.
11544 * misc/error.c (error_tail): Likewise.
11545 * misc/pselect.c (__pselect): Likewise.
11546 * nis/nis_callback.c (__nis_create_callback): Likewise.
11547 * nis/nis_call.c (__nisfind_server): Likewise.
11548 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11549 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11550 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11551 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11552 * nis/nis_lookup.c (nis_lookup): Likewise.
11553 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
11554 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11555 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 11556 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
11557 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11558 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11559 * nis/nss_compat/compat-initgroups.c (add_group)
11560 (internal_getgrent_r): Likewise.
11561 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11562 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11563 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11564 (internal_getspnam_r): Likewise.
11565 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11566 (_nss_nis_getaliasbyname_r): Likewise.
11567 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11568 (_nss_nis_getntohost_r): Likewise.
11569 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11570 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11571 (_nss_nis_getgrgid_r): Likewise.
11572 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11573 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11574 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11575 (_nss_nis_gethostbyname4_r): Likewise.
11576 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11577 (initgroups_netid): Likewise.
a1ffb40e 11578 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
11579 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11580 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11581 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11582 (_nss_nis_getprotobynumber_r): Likewise.
11583 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11584 (_nss_nis_getsecretkey): Likewise.
11585 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11586 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11587 (_nss_nis_getpwuid_r): Likewise.
11588 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11589 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11590 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11591 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11592 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11593 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
11594 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11595 Likewise.
57f41c40
AS
11596 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11597 (_nss_nisplus_getntohost_r): Likewise.
11598 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11599 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11600 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11601 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 11602 Likewise.
57f41c40
AS
11603 * nis/nss_nisplus/nisplus-initgroups.c
11604 (_nss_nisplus_initgroups_dyn): Likewise.
11605 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11606 (_nss_nisplus_getnetbyaddr_r): Likewise.
11607 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11608 (_nss_nisplus_getprotobynumber_r): Likewise.
11609 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11610 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
11611 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11612 Likewise.
57f41c40
AS
11613 * nis/nss_nisplus/nisplus-service.c
11614 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11615 (_nss_nisplus_getservbyport_r): Likewise.
11616 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11617 (_nss_nisplus_getspnam_r): Likewise.
11618 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11619 Likewise.
a1ffb40e
OB
11620 * nscd/aicache.c (addhstaiX): Likewise.
11621 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
11622 * nscd/connections.c (register_traced_file, send_ro_fd)
11623 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11624 (main_loop_epoll): Likewise.
a1ffb40e
OB
11625 * nscd/grpcache.c (addgrbyX): Likewise.
11626 * nscd/hstcache.c (addhstbyX): Likewise.
11627 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11628 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
11629 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11630 (addinnetgrX): Likewise.
11631 * nscd/nscd-client.h (__nscd_acquire_maplock)
11632 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
11633 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11634 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11635 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11636 Likewise.
11637 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11638 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
11639 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11640 (__nscd_get_map_ref): Likewise.
a1ffb40e 11641 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
11642 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11643 Likewise.
a1ffb40e
OB
11644 * nscd/pwdcache.c (addpwbyX): Likewise.
11645 * nscd/selinux.c (preserve_capabilities): Likewise.
11646 * nscd/servicescache.c (addservbyX): Likewise.
11647 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11648 * posix/fnmatch.c (fnmatch): Likewise.
11649 * posix/getopt.c (_getopt_internal_r): Likewise.
11650 * posix/glob.c (glob, glob_in_dir): Likewise.
11651 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
11652 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11653 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
11654 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11655 * resolv/res_init.c: Likewise.
11656 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11657 * resolv/res_query.c (__libc_res_nquery): Likewise.
11658 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11659 Likewise.
11660 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11661 * stdio-common/perror.c (perror): Likewise.
11662 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11663 * stdio-common/tmpnam.c (tmpnam): Likewise.
11664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11665 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
11666 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11667 Likewise.
a1ffb40e
OB
11668 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11669 * stdlib/putenv.c (putenv): Likewise.
11670 * stdlib/setenv.c (__add_to_environ): Likewise.
11671 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11672 * stdlib/strtol_l.c (INTERNAL): Likewise.
11673 * string/memmem.c (memmem): Likewise.
11674 * string/strerror.c (strerror): Likewise.
11675 * string/strnlen.c (__strnlen): Likewise.
11676 * string/test-memmem.c (simple_memmem): Likewise.
11677 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11678 * sunrpc/pm_getport.c (__get_socket): Likewise.
11679 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11680 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
11681 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11682 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
11683 Likewise.
11684 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11685 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11686 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11687 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11688 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
11689 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11690 Likewise.
11691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11692 Likewise.
a1ffb40e
OB
11693 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11694 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11696 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11697 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11699 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11700 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11701 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11702 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11703 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11704 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11705 Likewise.
11706 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11707 Likewise.
11708 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11709 Likewise.
11710 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11712 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11713 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11714 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11715 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11716 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11717 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11719 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
11725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11726 Likewise.
a1ffb40e
OB
11727 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11728 Likewise.
11729 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11730 Likewise.
11731 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11732 Likewise.
11733 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11734 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11735 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11736 Likewise.
11737 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11738 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11739 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11740 * sysdeps/posix/sleep.c: Likewise.
11741 * sysdeps/posix/tempname.c: Likewise.
11742 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11743 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11744 Likewise.
57f41c40
AS
11745 * sysdeps/powerpc/powerpc32/dl-machine.h
11746 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
11747 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11749 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11750 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11751 Likewise.
11752 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11753 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11754 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11755 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11756 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11757 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11758 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11759 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11760 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11761 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11763 (elf_machine_lazy_rel): Likewise.
a1ffb40e 11764 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11766 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11767 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11768 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11769 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11770 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11771 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11772 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11773 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11775 Likewise.
11776 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11777 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11778 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11779 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11780 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11781 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11782 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11783 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11784 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11785 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11786 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11787 Likewise.
11788 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11789 (__posix_fallocate64_l64): Likewise.
11790 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11791 (posix_fallocate): Likewise.
57f41c40
AS
11792 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11793 Likewise.
a1ffb40e 11794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11795 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11796 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11797 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11798 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11799 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11800 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11801 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11802 (__posix_fallocate64_l64): Likewise.
11803 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11804 Likewise.
11805 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11807 (__get_clockfreq): Likewise.
a1ffb40e
OB
11808 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11809 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11810 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11813 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11814 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11815 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11816 Likewise.
11817 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11818 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11819 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11820 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11821 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11822 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11823 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11824 Likewise.
11825 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11826 (posix_fallocate): Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11828 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11829 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11830 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11831 (elf_machine_rela, elf_machine_rela_relative)
11832 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11833 * time/asctime.c (asctime_internal): Likewise.
11834 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11835 * time/tzset.c (__tzset_parse_tz): Likewise.
11836 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11837 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11838 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11839 * wcsmbs/wcsmbsload.h: Likewise.
11840
f3d338c9
OB
11841 [BZ #15894]
11842 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11843
57f41c40
AS
11844 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11845 (arena_get2): Remove THREAD_STATS conditionals.
11846 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11847 (__malloc_stats, int): Likewise.
bdfe308a 11848
d674667c
MF
118492014-02-08 Mike Frysinger <vapier@gentoo.org>
11850
11851 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11852 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11853
6349768c
MF
11854 * manual/setjmp.texi: Fix typos/grammar errors.
11855
0b7c7473
MF
11856 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11857 Only return early when n is <= 0. Delete unused return statement.
11858
ac8cc9e3
MF
11859 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11860 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11861 * debug/tst-longjmp_chk3.c: New file.
11862
c5bb8e23
MF
11863 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11864 (test_main): Replace code with set_fortify_handler call.
11865 * debug/test-strcpy_chk.c: Likewise.
11866 * debug/tst-chk1.c: Likewise.
11867 * debug/tst-longjmp_chk.c: Likewise.
11868 * test-skeleton.c: Include fcntl.h & paths.h
11869 (set_fortify_handler): Define.
11870
10444e42
MF
11871 * debug/tst-longjmp_chk.c: Add header comment and include
11872 ../test-skeleton.c.
11873 (do_test): Mark static.
11874 (TEST_FUNCTION): Define.
11875
1e805e8d
MF
11876 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11877 (IP_PMTUDISC_INTERFACE): Likewise.
11878 (IP_MULTICAST_IF): Likewise.
11879 (IP_MULTICAST_TTL): Likewise.
11880 (IP_MULTICAST_LOOP): Likewise.
11881 (IP_ADD_MEMBERSHIP): Likewise.
11882 (IP_DROP_MEMBERSHIP): Likewise.
11883 (IP_UNBLOCK_SOURCE): Likewise.
11884 (IP_BLOCK_SOURCE): Likewise.
11885 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11886 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11887 (IP_MSFILTER): Likewise.
11888 (MCAST_JOIN_GROUP): Likewise.
11889 (MCAST_BLOCK_SOURCE): Likewise.
11890 (MCAST_UNBLOCK_SOURCE): Likewise.
11891 (MCAST_LEAVE_GROUP): Likewise.
11892 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11893 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11894 (MCAST_MSFILTER): Likewise.
11895 (IP_MULTICAST_ALL): Likewise.
11896 (IP_UNICAST_IF): Likewise.
11897
73f79bb7
MF
11898 * timezone/Makefile: Delete $(have-ksh) check.
11899 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11900 * timezone/tzselect.ksh: Add +x mode bits.
11901
8da79b60
MF
11902 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11903 (ANON_INODE_FS_MAGIC): Likewise.
11904 (BDEVFS_MAGIC): Likewise.
11905 (BINFMTFS_MAGIC): Likewise.
11906 (BTRFS_TEST_MAGIC): Likewise.
11907 (CRAMFS_MAGIC_WEND): Likewise.
11908 (DEBUGFS_MAGIC): Likewise.
11909 (ECRYPTFS_SUPER_MAGIC): Likewise.
11910 (EXT3_SUPER_MAGIC): Likewise.
11911 (EXT4_SUPER_MAGIC): Likewise.
11912 (FUTEXFS_SUPER_MAGIC): Likewise.
11913 (HOSTFS_SUPER_MAGIC): Likewise.
11914 (HUGETLBFS_MAGIC): Likewise.
11915 (MINIX3_SUPER_MAGIC): Likewise.
11916 (MTD_INODE_FS_MAGIC): Likewise.
11917 (NILFS_SUPER_MAGIC): Likewise.
11918 (OPENPROM_SUPER_MAGIC): Likewise.
11919 (PIPEFS_MAGIC): Likewise.
11920 (PSTOREFS_MAGIC): Likewise.
11921 (QNX6_SUPER_MAGIC): Likewise.
11922 (RAMFS_MAGIC): Likewise.
11923 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11924 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11925 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11926 (SECURITYFS_MAGIC): Likewise.
11927 (SELINUX_MAGIC): Likewise.
11928 (SMACK_MAGIC): Likewise.
11929 (SOCKFS_MAGIC): Likewise.
11930 (SQUASHFS_MAGIC): Likewise.
11931 (STACK_END_MAGIC): Likewise.
11932 (TMPFS_MAGIC): Likewise.
11933 (USBDEVICE_SUPER_MAGIC): Likewise.
11934 (V9FS_MAGIC): Likewise.
11935 (XENFS_SUPER_MAGIC): Likewise.
11936 (CRAMFS_MAGIC): Fix typo in comment.
11937 (EXT2_SUPER_MAGIC): Update comment.
11938 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11939
464263cc
JM
119402014-02-08 Joseph Myers <joseph@codesourcery.com>
11941
c6bfe5c4
JM
11942 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11943 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11944 * sysdeps/unix/sysv/linux/arm: Move directory from
11945 ports/sysdeps/unix/sysv/linux/arm.
11946 * README: Update listing for arm-*-linux-gnueabi.
11947
464263cc
JM
11948 * README: Remove mention of am33.
11949
32749f6c
RM
119502014-02-07 Roland McGrath <roland@hack.frob.com>
11951
11952 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11953 than the comma operator, to avoid "rhs of comma has no effect"
11954 compiler warnings.
11955 (__sigfillset, __sigandset, __sigorset): Likewise.
11956 * include/signal.h (__sigemptyset): Likewise.
11957 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11958
d5b396c1
AM
119592014-02-07 Allan McRae <allan@archlinux.org>
11960
11961 * version.h (RELEASE): Set to "development".
11962 (VERSION): Set to "2.19.90"
11963 * NEWS: Add 2.20 section.
11964
3bfff2ed
CD
119652014-02-06 Carlos O'Donell <carlos@redhat.com>
11966
11967 [BZ #16529]
11968 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11969
ee7cc385
SP
119702014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11971
11972 * manual/contrib.texi: Update entry for Carlos O'Donell,
11973 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11974
f877c4f2
CD
119752014-02-05 Carlos O'Donell <carlos@rehdat.com>
11976
27e839f6
CD
11977 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11978
f877c4f2
CD
11979 * sysdeps/unix/sysv/linux/kernel-features.h
11980 [__LINUX_KERNEL_VERSION >= 0x020621]
11981 (__ASSUME_PROC_PID_TASK_COMM): Define.
11982
68159946
SP
119832014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11984
ba17cdbd
SP
11985 [BZ #16398]
11986 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11987 conversion when destination buffer does not have enough space.
11988 * libio/tst-ftell-partial-wide.c: New test case.
11989 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11990
68159946
SP
11991 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11992 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11993 Leonard and Allan McRae.
11994
2b528732
DM
119952014-02-04 David S. Miller <davem@davemloft.net>
11996
11997 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11998 32-bit.
11999
0ff82463
AZ
120002014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12001
57f41c40
AS
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12003 New file
c01603f7
AZ
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12005 New file
57f41c40
AS
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12007 New file.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12009 New file.
c01603f7
AZ
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12011 New file.
57f41c40
AS
12012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12013 New file.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12015 New file.
c01603f7
AZ
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12017 New file.
12018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12019 New file.
12020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12021 New file.
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12023 New file.
12024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12025 New file.
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12027 New file.
12028
120292014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12030
0ff82463
AZ
12031 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12032 * shlib-versions: Likewise.
12033
1695c773
AZ
120342014-02-04 Roland McGrath <roland@hack.frob.com>
12035 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12036
12037 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12038 (abilist-pattern): New variable, set to %-le.abilist.
12039
12040 * Makerules (abilist-pattern): New variable.
12041 (vpath): Use $(abilist-pattern) in place of %.abilist.
12042 (check-abi-% pattern rule): Likewise.
12043 (check-abi, update-abi): Likewise.
12044
6c0ce4b4
EW
120452014-02-04 Eric Wong <normalperson@yhbt.net>
12046
12047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12048
481e3524
CD
120492014-02-03 Carlos O'Donell <carlos@redhat.com>
12050
12051 * manual/startup.texi: Add next, previous, and top entries for
12052 the `Program Arguments' and `Environment Variables' nodes.
12053
375592d3
AO
120542014-02-03 Alexandre Oliva <aoliva@redhat.com>
12055
12056 * manual/macros.texi: Add comments before MTASC-safety macros.
12057
f54838ba
AO
12058 * manual/users.texi: Document MTASC-safety properties.
12059
57f41c40
AS
12060 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12061 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
12062 @deftypefun, and add @safety note.
12063 * manual/signal.texi: Move comments that analyze the above
12064 functions to their home place.
12065
fd3daba4
AM
120662014-02-03 Allan McRae <allan@archlinux.org>
12067
12068 * po/sl.po: Update Slovenian translation from translation project.
12069
597636d7
AO
120702014-02-02 Alexandre Oliva <aoliva@redhat.com>
12071
12072 * manual/time.texi (timegm): Add missing blank after @c.
12073 Reported by Joseph Myers <joseph@codesourcery.com>.
12074
ee196e3c
AO
120752014-02-01 Alexandre Oliva <aoliva@redhat.com>
12076
12077 * manual/check-safety.sh: New.
12078 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12079
f8d529d5
AO
12080 * manual/terminal.texi: Document MTASC-safety properties.
12081
de55fdf4
AO
12082 * manual/filesys.texi: Document MTASC-safety properties.
12083
c3299c08
AO
12084 * manual/errno.texi: Document MTASC-safety properties.
12085
06e90b14
AO
12086 * manual/intro.texi: Document safety identifiers and
12087 conditionals.
12088
1acd4371
AO
12089 * manual/string.texi (wcstok): Fix prototype.
12090 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12091
23e5b8cb
AO
12092 * manual/time.texi: Document MTASC-safety properties.
12093
11087373
AO
12094 * manual/string.texi: Document MTASC-safety properties.
12095
5da2c93d
AO
12096 * manual/threads.texi: Document MTASC-safety properties.
12097
171e9210
AO
12098 * manual/stdio.texi: Document MTASC-safety properties.
12099
d9e02532
AO
12100 * manual/syslog.texi: Document MTASC-safety properties.
12101
6af8bab7
AO
12102 * manual/sysinfo.texi: Document MTASC-safety properties.
12103
663b02d7
AO
12104 * manual/startup.texi: Document MTASC-safety properties.
12105
973f180b
AO
12106 * manual/socket.texi: Document MTASC-safety properties.
12107
8f3c25c8
AO
12108 * manual/signal.texi: Document MTASC-safety properties.
12109
542210fb
AO
121102014-01-31 Alexandre Oliva <aoliva@redhat.com>
12111
12112 * manual/setjmp.texi: Document MTASC-safety properties.
12113
433c45a2
AO
12114 * manual/search.texi: Document MTASC-safety properties.
12115
c8ce789c
AO
12116 * manual/resource.texi: Document MTASC-safety properties.
12117
19f5d29c
AO
12118 * manual/process.texi: Document MTASC-safety properties.
12119
e2dfb7f4
AO
12120 * manual/platform.texi: Document MTASC-safety properties.
12121
8c1413f5
AO
12122 * manual/pipe.texi: Document MTASC-safety properties.
12123
03483ada
AO
12124 * manual/pattern.texi: Document MTASC-safety properties.
12125
29e7e2df
AO
12126 * manual/message.texi: Document MTASC-safety properties.
12127
9f529d7c
AO
12128 [BZ #12751]
12129 * manual/memory.texi: Document MTASC-safety properties.
12130
27aaa791
AO
12131 * manual/math.texi: Document MTASC-safety properties.
12132
f2d58726
AO
12133 * manual/locale.texi: Document MTASC-safety properties.
12134
2cc3615c
AO
12135 * manual/llio.texi: Document MTASC-safety properties.
12136
d9f0ec97
AO
12137 * manual/libdl.texi: New.
12138
e7c4409a
AO
12139 * manual/lang.texi: Document MTASC-safety properties.
12140
27bdc63c
AO
12141 * manual/job.texi: Document MTASC-safety properties.
12142
a7b90ea9
AO
12143 * manual/getopt.texi: Document MTASC-safety properties.
12144
c49130e3
AO
12145 * manual/ctype.texi: Document MTASC-safety properties.
12146
0d23a5c1
MR
121472014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12148
12149 [BZ #16046]
12150 * csu/libc-tls.c (static_map): Remove variable.
12151 (__libc_setup_tls): Use main executable's link map for TLS data.
12152 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12153 casing for LM_ID_BASE and GL(dl_nns).
12154 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12155 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12156 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12157 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12158 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12159 member.
12160 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12161 l_phnum members.
12162
0037bb60
AO
121632014-01-30 Alexandre Oliva <aoliva@redhat.com>
12164
12165 * manual/debug.texi: Document MTASC-safety properties.
12166
409e00bd
L
121672014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12168
12169 [BZ #16510]
12170 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12171 of __x86_64__ when disabling x87 inline functions.
12172
86e60666
AO
121732014-01-29 Alexandre Oliva <aoliva@redhat.com>
12174
12175 * manual/charset.texi: Document MTASC-safety properties.
12176
76167637
AO
12177 * manual/crypt.texi: Document MTASC-safety properties.
12178
e567f2a0
AO
12179 * manual/conf.texi: Document MTASC-safety properties.
12180
b719dafd
AO
12181 * manual/arith.texi: Document MTASC-safety properties.
12182
4a16c662
AO
12183 * manual/argp.texi: Document MTASC-safety properties.
12184
0a57b83e
AO
12185 * manual/macros.texi: Introduce macros to document multi
12186 thread, asynchronous signal and asynchronous cancellation
12187 safety properties.
12188 * manual/intro.texi: Introduce the properties themselves.
12189
feab2397
KK
121902014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12191
12192 * sysdeps/sh/sh4/Makefile: New file.
12193
1c0d11bc
AS
121942014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12195
12196 * math/gen-libm-test.pl ($srcdir): New variable.
12197 ($auto_input): Use it.
12198
af37a8a3
SP
121992014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12200
d7b00f98
SP
12201 [BZ #16506]
12202 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12203 access beyond array bounds when parsing netgroups file.
12204
af37a8a3
SP
12205 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12206 the old buffer before realloc.
12207
0c00f062
AM
122082014-01-27 Allan McRae <allan@archlinux.org>
12209
12210 * po/fr.po: Update French translation from translation project.
12211
7d69a1b0
KK
122122014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12213
12214 * sysdeps/sh/libm-test-ulps: Regenerate.
12215
6e697ff7
DM
122162014-01-24 David S. Miller <davem@davemloft.net>
12217
12218 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12219
9cadb35c
KK
122202014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12221
12222 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12223 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12224
5d41dadf
SP
122252013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12226
12227 [BZ #16474]
12228 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12229 string pointers after reallocation.
12230
0bad441c
KK
122312014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12232
12233 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12234 __SH4A__ instead of __SH_FPU_ANY__.
12235
7007c661
KK
122362014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12237
12238 * sysdeps/sh/fpu_control.h: New file.
12239 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12240 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12241 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12242 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12243 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12244 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12245 * sysdeps/sh/sys/ucontext.h: Remove.
12246 * sysdeps/sh/sys: Remove directory.
12247
0f0c35e4
AK
122482014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12249
12250 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12251 s390/sys/ucontext.h.
12252 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12253 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12254
4959e284
L
122552014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12256
12257 [BZ #15605]
12258 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12259
d98720e0
AZ
122602014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12261
12262 [BZ#16431]
12263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12264 Adjust the vDSO correctly for internal calls.
12265 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12266
91cbd0bc
AM
122672014-01-20 Allan McRae <allan@archlinux.org>
12268
12269 * po/ca.po: Update Catalan translation from translation project.
12270
7a02cfad
MF
122712014-01-16 Mike Frysinger <vapier@gentoo.org>
12272
12273 * sysdeps/s390/sotruss-lib.c: New file.
12274
736c304a
AZ
122752014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12276
12277 [BZ#16430]
6e077ee5 12278 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12279 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12280 local calls issues by not having a PLT stub required for IFUNC calls.
12281 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12282
94d0cea0
JM
122832014-01-16 Joseph Myers <joseph@codesourcery.com>
12284
12285 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12286 * math/test-fpucw-static.c: Likewise.
12287
980cb518
SP
122882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12289
12290 [BZ #16453]
12291 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12292
2393fc01
AZ
122932014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12294
12295 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12296 implementation for powerpc.
12297
d359bcc2
OB
122982014-01-15 Ondřej Bílka <neleai@seznam.cz>
12299
12300 [BZ #14782]
12301 * sysdeps/posix/system.c (__libc_system): Do not enable
12302 asynchronous cancellation.
12303
7beb48cb
AK
123042014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12305
12306 [BZ #16427]
12307 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12308 handling only for numbers special also in the IEEE case.
12309
c20d5bf5
AK
123102014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12311
12312 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12313
e83bd4ee
AM
123142014-01-11 Allan McRae <allan@archlinux.org>
12315
76d0ea69
AM
12316 * po/bg.po: Update Bulgarian translation from translation project.
12317
e83bd4ee
AM
12318 * po/de.po: Update German translation from translation project.
12319
bc2ba20a
RM
123202014-01-10 Roland McGrath <roland@hack.frob.com>
12321
12322 * sysdeps/generic/gcc-compat.h: New file.
12323
649ecea2
SP
123242014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12325
12326 * benchtests/asin-inputs: Correct slow inputs.
12327 * benchtests/acos-inputs: Likewise.
12328
1b19c006
AM
123292014-01-10 Allan McRae <allan@archlinux.org>
12330
a46dab08
AM
12331 * po:sv.po: Update Swedish translation from translation project.
12332
421df74a
AM
12333 * po/vi.po: Update Vietnamese translation from translation project.
12334
d61c51a7
AM
12335 * po/eo.po: Update Esperanto translation from translation project.
12336
0339a319
AM
12337 * po/cs.po: Update Czech translation from translation project.
12338
94ad3e99
AM
12339 * po/nl.po: Update Dutch translation from translation project.
12340
e349ca71
AM
12341 * po/pl.po: Update Polish translation from translation project.
12342
ddf930c1
AM
12343 * po/ru.po: Update Russian translation from translation project.
12344
1b19c006
AM
12345 * po/uk.po: Update Ukrainian translation from translation project.
12346
9f236c49
BM
123472014-01-08 Brooks Moses <bmoses@google.com>
12348
12349 * elf/dl-load.c: Fix comment typo.
12350
cd6701cf
CD
123512014-01-08 Carlos O'Donell <carlos@redhat.com>
12352
12353 * po/header.pot: Rename to...
12354 * po/pot.header: ... this.
12355 * po/Makefile: Use pot.header.
12356
66671c84
YK
123572014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12358 Maxim Kuvyrkov <maxim@kugelworks.com>
12359
12360 [BZ #16394]
cd6701cf
CD
12361 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12362 SRC and DEST against LEN.
66671c84 12363
38f34581
AZ
123642014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12365
12366 [BZ #16414]
12367 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12368 implementation.
12369 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12370
123712014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12372
12373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12374
4c327f2a
JM
123752014-01-08 Joseph Myers <joseph@codesourcery.com>
12376
12377 [BZ #16408]
12378 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12379 for large positive arguments.
12380
b821f414
JM
123812014-01-07 Joseph Myers <joseph@codesourcery.com>
12382
1f0f2067
JM
12383 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12384
a5a326f6
JM
12385 * math/auto-libm-test-in: Mark various tests with
12386 xfail-rounding:ldbl-128ibm.
12387 * math/auto-libm-test-out: Regenerated.
12388
b821f414
JM
12389 [BZ #16407]
12390 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12391 Increase overflow threshold.
12392
94c8a4bc
OB
123932014-01-07 Ondřej Bílka <neleai@seznam.cz>
12394
12395 [BZ #14286]
12396 * stdio-common/vfprintf.c: Check for integer overflow.
12397
87ded0c3
AK
123982014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12399
12400 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12401 the first argument and return value of __tls_get_addr_internal.
12402
c5eebdd0
AK
124032014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12404
12405 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12406 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12407
05d138ef
AK
124082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12409
12410 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12411 * sysdeps/s390/rtld-global-offsets.sym: New file.
12412 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12413 GLIBC_2.19 symbol.
12414 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12415 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12416 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12417 ... this.
12418 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12419 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12420 ... this.
12421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12422 Regenerate.
12423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12424 Regenerate.
12425 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12426 halfs of GPRs for high_gprs contexts.
12427 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12428 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12429 field.
12430 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12431 uc_flags field.
12432 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12433 64 bit versions:
12434 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12435 for high GPRs (uc_high_gprs) and for future extensions
12436 (__reserved).
12437 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12438 for future extensions (__reserved).
12439 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12440 64 bit versions:
12441 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12442 SC_HIGHGPRS offset definition.
12443 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12444 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12445
93a45ff1
AK
12446 * Versions.def: Add GLIBC_2.19 for libpthread.
12447 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12448 siglongjmp for libpthread with GLIBC_2.19 symver.
12449 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12450 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12451 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12452 * sysdeps/s390/__longjmp.c: New file.
12453 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12454 * sysdeps/s390/longjmp.c: New file.
12455 * sysdeps/s390/setjmp.S: New file.
12456 * sysdeps/s390/sigjmp.S: New file.
12457 * sysdeps/s390/v1-longjmp.c: New file.
12458 * sysdeps/s390/v1-setjmp.h: New file.
12459 * sysdeps/s390/v1-sigjmp.c: New file.
12460 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12461 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12462 GLIBC_2.19 version.
12463 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12464 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12465 versioned symbols for ____longjmp_chk.
12466 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12467 Likewise.
12468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12469 Regenerate.
12470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12471 Regenerate.
12472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12473 Regenerate.
12474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12475 Regenerate.
12476 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12477 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12478 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12479 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12480 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12481 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12482 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12483 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12484 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12485 * sysdeps/s390/rtld-__longjmp.c: New file.
12486 * sysdeps/s390/rtld-setjmp.S: New file.
12487
eb3fc44b
JM
124882014-01-06 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #16400]
12491 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12492 Return -__logl (x) for small positive arguments without evaluating
12493 a polynomial.
12494
9341dde4
MF
124952014-01-06 Mike Frysinger <vapier@gentoo.org>
12496
12497 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12498 Rename to ...
12499 (__ptrace_peeksiginfo_args): ... this.
12500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12503
4cff0293
AM
125042014-01-06 Allan McRae <allan@archlinux.org>
12505
12506 * inet/netinet/in.h: Fix typo in comment.
12507
75595dcf
AJ
125082014-01-05 Andreas Jaeger <aj@suse.de>
12509
12510 * sysdeps/i386/fpu/libm-test-ulps: Update.
12511
79c1e109
AM
125122014-01-05 Allan McRae <allan@archlinux.org>
12513
dd804818
AM
12514 * po/libc.pot: Regenerated.
12515
79c1e109
AM
12516 * malloc/memusagestat.c: Fix gettext call formatting.
12517
0c813d1f
SK
125182014-01-04 Sami Kerola <kerolasa@iki.fi>
12519
12520 * nscd/nscd.c: Improve usage() output.
12521
20f4a8d9
MF
125222014-01-04 Mike Frysinger <vapier@gentoo.org>
12523
12524 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12525 * sysdeps/unix/sysv/linux/configure: Regenerated.
12526 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12527 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12528
22562bb2
JM
125292014-01-03 Joseph Myers <joseph@codesourcery.com>
12530
12531 [BZ #16390]
12532 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12533 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12534
d7ad2d9b
AZ
125352014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12536
12537 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12538 extra tokens at end of #undef directive.
12539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12540 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12541 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12542
7dd009d8
JM
125432014-01-03 Joseph Myers <joseph@codesourcery.com>
12544
24db925a
JM
12545 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12546
7dd009d8
JM
12547 * math/auto-libm-test-in: Mark various tests with
12548 xfail-rounding:ldbl-128ibm.
12549 * math/auto-libm-test-out: Regenerated.
12550
396e3ecf
JM
125512014-01-02 Joseph Myers <joseph@codesourcery.com>
12552
819e5d50
JM
12553 [BZ #16386]
12554 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12555 numbers with subnormal high part when calculating exponent.
12556
90b6a1e5
JM
12557 [BZ #16385]
12558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12559 fabs.
12560
396e3ecf
JM
12561 [BZ #16384]
12562 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12563 M_LN2l.
12564 (__ieee754_acoshl): Use __log1pl not __log1p.
12565
6c8dbf00
OB
125662013-01-02 Ondřej Bílka <neleai@seznam.cz>
12567
57f41c40
AS
12568 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12569 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12570 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12571 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12572 (reused_arena, arena_get2): Convert to GNU style.
12573 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12574 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12575 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 12576 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
12577 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12578 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12579 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12580 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12581 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12582 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 12583 * malloc/malloc.h: Likewise.
57f41c40
AS
12584 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12585 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 12586 * malloc/mcheck.h: Likewise.
57f41c40
AS
12587 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12588 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
12589 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12590 * malloc/morecore.c (__default_morecore): Likewise.
12591 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
12592 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12593 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12594 (print_and_abort): Likewise.
6c8dbf00
OB
12595 * malloc/obstack.h: Likewise.
12596 * malloc/set-freeres.c (__libc_freeres): Likewise.
12597 * malloc/tst-mallocstate.c (main): Likewise.
12598 * malloc/tst-mtrace.c (main): Likewise.
12599 * malloc/tst-realloc.c (do_test): Likewise.
12600
d4124212
SP
126012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12602
9a3c6a6f
SP
12603 [BZ #16366]
12604 * nscd/netgroupcache.c (do_notfound): New function.
12605 (addgetnetgrentX): Use it.
12606
d4124212
SP
12607 [BZ # 16365]
12608 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12609 NSS_STATUS_NOTFOUND.
12610
97b9a009
JM
126112014-01-01 Joseph Myers <joseph@codesourcery.com>
12612
12613 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12615
d4697bc9
AM
126162014-01-01 Allan McRae <allan@archlinux.org>
12617
ddb3687f
AM
12618 * scripts/update-copyrights: Update configure input file suffix.
12619
88726d48
AM
12620 * NEWS: Update copyright year.
12621 * catgets/gencat.c: Likewise.
12622 * csu/version.c: Likewise.
12623 * debug/catchsegv.sh: Likewise.
12624 * debug/pcprofiledump.c: Likewise.
12625 * debug/xtrace.sh: Likewise.
12626 * elf/ldconfig.c: Likewise.
12627 * elf/ldd.bash.in: Likewise.
12628 * elf/pldd.c: Likewise.
12629 * elf/sotruss.ksh: Likewise.
12630 * elf/sprof.c: Likewise.
12631 * iconv/iconv_prog.c: Likewise.
12632 * iconv/iconvconfig.c: Likewise.
12633 * locale/programs/locale.c: Likewise.
12634 * locale/programs/localedef.c: Likewise.
12635 * login/programs/pt_chown.c: Likewise.
12636 * malloc/memusage.sh: Likewise.
12637 * malloc/memusagestat.c: Likewise.
12638 * malloc/mtrace.pl: Likewise.
12639 * manual/libc.texinfo: Likewise.
12640 * nscd/nscd.c: Likewise.
12641 * nss/getent.c: Likewise.
12642 * nss/makedb.c: Likewise.
12643 * posix/getconf.c: Likewise.
12644 * scripts/test-installation.pl: Likewise.
12645
d4697bc9
AM
12646 * All files with FSF copyright notices: Update copyright dates
12647 using scripts/update-copyrights.
12648 * intl/plural.c: Regenerated.
12649 * locale/programs/charmap-kw.h: Likewise.
12650 * locale/programs/locfile-kw.h: Likewise.
12651
c8590f9d
MF
126522013-12-31 Mike Frysinger <vapier@gentoo.org>
12653
12654 * sysdeps/unix/sysv/linux/configure: Regenerated.
12655 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12656 the linux/fanotify.h header.
12657 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12658 HAVE_LINUX_FANOTIFY_H is defined.
12659
b19221b9
SP
126602013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12661
dd1d85e5
SP
12662 * benchtests/cos-inputs: New inputs.
12663 * benchtests/sin-inputs: Likewise.
12664
1acbb90f
SP
12665 * benchtests/atan-inputs: New inputs. Fix name of multiple
12666 precision fallback inputs.
12667
4c012ed3
SP
12668 * benchtests/atanh-inputs: New inputs.
12669 * benchtests/tanh-inputs: Likewise.
12670
eff98324
SP
12671 * benchtests/acosh-inputs: New inputs.
12672 * benchtests/asinh-inputs: Likewise.
12673
ce641152
SP
12674 * benchtests/cosh-inputs: New inputs.
12675 * benchtests/sinh-inputs: Likewise.
12676
b19221b9
SP
12677 * benchtests/acos-inputs: Add more inputs.
12678 * benchtests/asin-inputs: Likewise.
12679
030a4976 126802013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 12681
030a4976 12682 [BZ #16375]
9dcc8f11
VS
12683 * manual/arith.texi: Fix spelling.
12684 * manual/charset.texi: Likewise.
12685 * manual/errno.texi: Likewise.
12686 * manual/filesys.texi: Likewise.
12687 * manual/lang.texi: Likewise.
12688 * manual/llio.texi: Likewise.
12689 * manual/locale.texi: Likewise.
12690 * manual/message.texi: Likewise.
12691 * manual/resource.texi: Likewise.
12692 * manual/search.texi: Likewise.
12693 * manual/setjmp.texi: Likewise.
12694 * manual/stdio.texi: Likewise.
12695 * manual/string.texi: Likewise.
12696 * manual/sysinfo.texi: Likewise.
12697 * manual/time.texi: Likewise.
12698
11520a57
CD
126992013-12-27 Carlos O'Donell <carlos@redhat.com>
12700
12701 * po/sl.po: New file.
12702
471103ae
MF
127032013-12-27 Mike Frysinger <vapier@gentoo.org>
12704
12705 * .gitignore: Add core/.gdbinit/.gdb_history.
12706
6c9642ed
AM
127072013-12-27 Allan McRae <allan@archlinux.org>
12708
12709 [BZ #16369]
12710 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12711 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12712
3f637079
BM
127132013-12-24 Brooks Moses <bmoses@google.com>
12714
12715 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12716 all compilers that claim C++98 compliance, not just GCC.
12717 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12718 Likewise.
12719
abc26e99
MK
127202013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12721
12722 * NEWS: Restore accidentally deleted bug-fix entries.
12723
362b47fe
MK
127242013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12725 Ondřej Bílka <neleai@seznam.cz>
12726
12727 [BZ #15073]
12728 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 12729 have_lock.
362b47fe 12730
b9bcbbcb
OB
127312013-12-23 Ondřej Bílka <neleai@seznam.cz>
12732
12733 [BZ #12986]
12734 * manual/stdio.texi (String Input Conversions): Clarify that character
12735 classes are not supported.
12736
fb55fcd2
AZ
127372013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12738
12739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12740
ef7344f0
JM
127412013-12-22 Joseph Myers <joseph@codesourcery.com>
12742
4f40e4b3
JM
12743 [BZ #16337]
12744 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12745 Calculate results for small negative arguments directly rather
12746 than using reflection formula with special underflow handling.
12747
ef7344f0
JM
12748 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12749 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12750 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12751 (fchflags): Likewise.
12752 (revoke): Likewise.
12753 (setlogin): Likewise.
12754 (sigaltstack): Likewise.
12755 (wait4): Likewise.
12756 (sigblock): Remove.
12757 (sigsetmask): Likewise.
12758 (wait3): Likewise.
12759 (waitpid): Likewise.
12760 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12761 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12762 file.
12763 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12764 * sysdeps/unix/bsd/Makefile: ... here.
12765 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12766 * sysdeps/unix/bsd/Versions: ... here.
12767 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12768 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12769 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12770 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12771 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12772 * sysdeps/unix/bsd/sigblock.c: ... here.
12773 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12774 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12775 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12776 * sysdeps/unix/bsd/sigvec.c: ... here.
12777 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12778 * sysdeps/unix/bsd/tcdrain.c: ... here.
12779 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12780 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12781 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12782 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12783 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12784 * sysdeps/unix/bsd/wait.c: ... here.
12785 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12786 * sysdeps/unix/bsd/wait3.c: ... here.
12787 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12788 * sysdeps/unix/bsd/waitpid.c: ... here.
12789
5b0626b9
JM
127902013-12-21 Joseph Myers <joseph@codesourcery.com>
12791
12792 [BZ #16356]
12793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12794 round-to-nearest for [!USE_AS_EXPM1L].
12795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12796 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12797 more tests of exp and exp10. Expect some exp10 tests to miss
12798 exceptions or fail in directed rounding modes.
12799 * math/auto-libm-test-out: Regenerated.
12800 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12801 (exp10_test_tonearest): New function.
12802 (exp10_towardzero_test_data): New array.
12803 (exp10_test_towardzero): New function.
12804 (exp10_downward_test_data): New array.
12805 (exp10_test_downward): New function.
12806 (exp10_upward_test_data): New array.
12807 (exp10_test_upward): New function.
12808 (main): Call the new functions.
12809 * sysdeps/i386/fpu/libm-test-ulps: Update.
12810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12811
7fda5682
JM
128122013-12-20 Joseph Myers <joseph@codesourcery.com>
12813
31e3a405
JM
12814 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12815 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12816 * math/auto-libm-test-out: Regenerated.
12817 * math/libm-test.inc (acosh_test_data): Add more tests.
12818 (atanh_test_data): Likewise.
12819 (ceil_test_data): Likewise.
12820 (copysign_test_data): Likewise.
12821 * sysdeps/i386/fpu/libm-test-ulps: Update.
12822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12823
85bff96a
JM
12824 * timezone/checktab.awk: Update from tzcode 2013i.
12825 * timezone/private.h: Likewise.
12826 * timezone/scheck.c: Likewise.
12827 * timezone/tzfile.h: Likewise.
12828 * timezone/tzselect.ksh: Likewise.
12829 * timezone/zdump.c: Likewise.
12830 * timezone/zic.c: Likewise.
12831
b7867a3b
JM
12832 * math/auto-libm-test-in: Add tests of cpow.
12833 * math/auto-libm-test-out: Regenerated.
12834 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12836 mpc_cc_c.
12837 (func_calc_desc): Add mpc_cc_c union field.
12838 (test_functions): Add cpow.
12839 (special_fill_2pi): New function.
12840 (special_real_inputs): Add 2pi.
12841 (calc_generic_results): Handle mpc_cc_c.
12842 * sysdeps/i386/fpu/libm-test-ulps: Update.
12843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12844
7fda5682
JM
12845 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12846 csqrt, ctan and ctanh.
12847 * math/auto-libm-test-out: Regenerated.
12848 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12849 (TEST_COND_x86): Likewise.
12850 (ccos_test_data): Use AUTO_TESTS_c_c.
12851 (ccosh_test_data): Likewise.
12852 (cexp_test_data): Likewise.
12853 (clog_test_data): Likewise.
12854 (csqrt_test_data): Likewise.
12855 (ctan_test_data): Likewise.
12856 (ctan_tonearest_test_data): Likewise.
12857 (ctan_towardzero_test_data): Likewise.
12858 (ctan_downward_test_data): Likewise.
12859 (ctan_upward_test_data): Likewise.
12860 (ctanh_test_data): Likewise.
12861 (ctanh_tonearest_test_data): Likewise.
12862 (ctanh_towardzero_test_data): Likewise.
12863 (ctanh_downward_test_data): Likewise.
12864 (ctanh_upward_test_data): Likewise.
12865 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12866 mpc_c_c.
12867 (func_calc_desc): Add mpc_c_c union field.
12868 (FUNC_mpc_c_c): New macro.
12869 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12870 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12871 ctanh.
12872 (special_fill_min_subnorm_p120): New function.
12873 (special_real_inputs): Add min_subnorm_p120.
12874 (calc_generic_results): Handle mpc_c_c.
12875 * sysdeps/i386/fpu/libm-test-ulps: Update.
12876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12877
5ff8d60e
SP
128782013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12879
57f41c40
AS
12880 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12881 (do_sin_slow): New functions.
12882 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12883 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12884
84ba214c
SP
12885 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12886 Use M to change sign of result instead of X. Assume X is
12887 positive.
12888 (csloww1): Likewise.
12889 (__sin): Adjust.
12890 (__cos): Adjust.
12891
975195e4
SP
12892 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12893 arguments A and DA.
12894 (__sin): Adjust.
12895 (__cos): Likewise.
12896
5ff8d60e
SP
12897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12898 (__cos): Likewise.
12899 (sloww1): Don't adjust sign of DX.
12900 (csloww1): Likewise.
12901 (sloww2): Use X directly and don't adjust sign of DX.
12902 (csloww2): Likewise.
12903
eb983568
JM
129042013-12-19 Joseph Myers <joseph@codesourcery.com>
12905
64a17f1a
JM
12906 * math/auto-libm-test-in: Add tests of cabs and carg.
12907 * math/auto-libm-test-out: Regenerated.
12908 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12909 (carg_test_data): Likewise.
12910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12911 mpc_c_f.
12912 (func_calc_desc): Add mpc_c_f union field.
12913 (test_functions): Add cabs and carg.
12914 (calc_generic_results): Handle mpc_c_f.
12915
eb983568
JM
12916 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12917 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12918 as a macro and a compat symbol.
12919 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12920 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12921 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12922 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12923 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12924 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12925 not use .hidden.
12926 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12927 Likewise.
12928 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12929 Likewise.
12930 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12931 Likewise.
12932 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12933 Likewise.
12934 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12935 Likewise.
12936 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12937 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12938 from GLIBC_2.3.2.
12939
6eeb678a
AZ
129402013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12941
12942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12943
6f6fc482
JM
129442013-12-19 Joseph Myers <joseph@codesourcery.com>
12945
21fea2e2
JM
12946 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12947 trailing whitespace removed.
12948 * scripts/config.guess: Update to version 2013-11-29.
12949 * scripts/config.sub: Update to version 2013-10-01.
12950
6f6fc482
JM
12951 * math/auto-libm-test-in: Add tests of sincos.
12952 * math/auto-libm-test-out: Regenerated.
12953 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12955 mpfr_f_11.
12956 (func_calc_desc): Add mpfr_f_11 union field.
12957 (test_functions): Add sincos.
12958 (calc_generic_results): Handle mpfr_f_11.
12959 * sysdeps/i386/fpu/libm-test-ulps: Update.
12960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12961
83f5c32d
AS
129622013-12-19 Andreas Schwab <schwab@suse.de>
12963
12964 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12965 CALL_MCOUNT.
12966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12967 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12968 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12969
c688b419
JM
129702013-12-19 Joseph Myers <joseph@codesourcery.com>
12971
335ee092
JM
12972 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12973 * sysdeps/i386/fpu/libm-test-ulps: Update.
12974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12975
f88acd39
JM
12976 [BZ #16293]
12977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12978 round-to-nearest mode when using frndint.
12979 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12980 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12982 Likewise.
12983 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12984 sinh test to fail.
12985 * math/auto-libm-test-out: Regenerated.
12986 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12987 (TEST_COND_x86): Likewise.
12988 (expm1_tonearest_test_data): New array.
12989 (expm1_test_tonearest): New function.
12990 (expm1_towardzero_test_data): New array.
12991 (expm1_test_towardzero): New function.
12992 (expm1_downward_test_data): New array.
12993 (expm1_test_downward): New function.
12994 (expm1_upward_test_data): New array.
12995 (expm1_test_upward): New function.
12996 (main): Run the new test functions.
12997 * sysdeps/i386/fpu/libm-test-ulps: Update.
12998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12999
c688b419
JM
13000 * include/features.h: Update comment documenting feature test
13001 macros. Mention _DEFAULT_SOURCE in comment.
13002 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13003 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13004 _BSD_SOURCE and _SVID_SOURCE.
13005 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13006 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13007 !_SVID_SOURCE]: Likewise.
13008 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13009 (__USE_POSIX_IMPLICITLY): Define.
13010 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13011 (_POSIX_SOURCE): Undefine and redefine.
13012 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13013 (_POSIX_C_SOURCE): Likewise.
13014 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13015 (Feature Test Macros): Update documentation of default features.
13016
9f6e964c
RS
130172013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13018
13019 * benchtests/Makefile: Add bench-strtok.
13020 * benchtests/bench-strtok.c: New file: strtok benchtest.
13021
ee0a148a
AM
130222013-12-19 Allan McRae <allan@archlinux.org>
13023
13024 * manual/install.texi: Suppress menu for plain text output.
13025 * INSTALL: Regenerated.
13026
b9ab448f
BM
130272013-12-18 Brooks Moses <bmoses@google.com>
13028
13029 [BZ #15846]
13030 * misc/getauxval.c: Include errno.h.
13031 (__getauxval): Set errno to ENOENT if the requested type is not
13032 found.
13033 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13034 don't declare with __attribute_const__.
13035 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13036 * manual/startup.texi: Document that getauxval sets errno.
13037
23776487
JM
130382013-12-18 Joseph Myers <joseph@codesourcery.com>
13039
f889953b
JM
13040 * math/auto-libm-test-in: Add tests of jn and yn.
13041 * math/auto-libm-test-out: Regenerated.
13042 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13043 (yn_test_data): Likewise.
13044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13045 mpfr_if_f.
13046 (func_calc_desc): Add mpfr_if_f union field.
13047 (FUNC_mpfr_if_f): New macro.
13048 (test_functions): Add jn and yn.
13049 (calc_generic_results): Assert type of second input for
13050 mpfr_ff_f. Handle mpfr_if_f.
13051 (output_for_one_input_case): Disable all checking for arguments
13052 fitting floating-point types in case of an integer argument.
13053 * sysdeps/i386/fpu/libm-test-ulps: Update.
13054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13055
23776487
JM
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13057 Don't expect fegetround reference in libm.so.
13058
cb756c6d
MS
130592013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13060
13061 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13062 $(config-cflags-nofma).
13063
2dec468f
JM
130642013-12-18 Joseph Myers <joseph@codesourcery.com>
13065
5953eb3a
JM
13066 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13067 * math/auto-libm-test-out: Regenerated.
13068
2dec468f
JM
13069 [BZ #16338]
13070 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13071 to determine exponent and adjust argument to have exponent of -1.
13072 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13073 log2.
13074 * math/auto-libm-test-out: Regenerated.
13075 * sysdeps/i386/fpu/libm-test-ulps: Update.
13076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13077
4d84e6ad
OB
130782013-12-18 Ondřej Bílka <neleai@seznam.cz>
13079
13080 * manual/probes.texi: Remove cases when per-thread arenas are
13081 disabled.
13082
1818483b
AS
130832013-12-18 Andreas Schwab <schwab@suse.de>
13084
13085 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13086 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13087 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13088 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13089 * sysdeps/i386/i686/multiarch/Makefile: Update.
13090 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13091
25de95bf
JM
130922013-12-17 Joseph Myers <joseph@codesourcery.com>
13093
13094 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13095 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13096
674762d9
PE
130972013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13098
ed27ed83 13099 [BZ #15968]
0748546f
PE
13100 Support TZ transition times < 00:00:00.
13101 This is needed for version-3 tz-format files; it supports time
13102 stamps past 2037 for America/Godthab (the only entry in the tz
13103 database for which this change is relevant).
13104 * manual/time.texi (TZ Variable): Document transition times
13105 from -167:59:59 through -00:00:01.
13106 * time/tzset.c (tz_rule): Time of day is now signed.
13107 (__tzset_parse_tz): Parse negative time of day.
13108
4480e934
PE
13109 Document TZ transition times >= 25:00:00.
13110 * manual/time.texi (TZ Variable): Document transition times from
13111 25:00:00 through 167:59:59. These are already supported, and this
13112 support will help with version-3 tz-format files.
13113
69947401
PE
13114 * manual/time.texi (TZ Variable): Modernize North America example
13115 to reflect current (i.e., 2007-and-later) daylight saving rules.
13116
674762d9
PE
13117 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13118
7011c262
JM
131192013-12-17 Joseph Myers <joseph@codesourcery.com>
13120
2fc6557e
JM
13121 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13122 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13125 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13126 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13127 * sysdeps/unix/bsd/clock.c: Likewise.
13128 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13129 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13130 * sysdeps/unix/bsd/init-posix.c: Likewise.
13131 * sysdeps/unix/bsd/poll.c: Likewise.
13132 * sysdeps/unix/bsd/ptsname.c: Likewise.
13133 * sysdeps/unix/bsd/seekdir.c: Likewise.
13134 * sysdeps/unix/bsd/setegid.c: Likewise.
13135 * sysdeps/unix/bsd/seteuid.c: Likewise.
13136 * sysdeps/unix/bsd/setgid.c: Likewise.
13137 * sysdeps/unix/bsd/setrgid.c: Likewise.
13138 * sysdeps/unix/bsd/setruid.c: Likewise.
13139 * sysdeps/unix/bsd/setsid.c: Likewise.
13140 * sysdeps/unix/bsd/setuid.c: Likewise.
13141 * sysdeps/unix/bsd/sigaction.c: Likewise.
13142 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13143 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13144 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13145 * sysdeps/unix/bsd/telldir.c: Likewise.
13146 * sysdeps/unix/bsd/times.c: Likewise.
13147 * sysdeps/unix/bsd/usleep.c: Likewise.
13148
029c7b25
JM
13149 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13150 ($(objpfx)libbsd-compat.a): Remove rule.
13151
7011c262
JM
13152 * include/features.h (__FAVOR_BSD): Do not define.
13153 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13154 features conflicting with POSIX.
13155 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13156 (_BSD_SOURCE): Remove description of not being a subset of other
13157 feature test macros.
13158 * manual/job.texi (getpgrp): Do not document BSD version.
13159 (getpgid): Do not document by reference to BSD getpgrp.
13160 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13161 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13162 * signal/signal.h [__FAVOR_BSD]: Likewise.
13163 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13164 instead of making contents conditional on [__FAVOR_BSD].
13165 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13166
affb6f78
AZ
131672013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13168
13169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13170
c88769dd
JM
131712013-12-17 Joseph Myers <joseph@codesourcery.com>
13172
6432a540
JM
13173 [BZ #16314]
13174 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13175 values below 2**-450, not 2**-500.
13176 * math/auto-libm-test-in: Don't allow spurious underflow from
13177 hypot.
13178 * math/auto-libm-test-out: Regenerated.
13179
c88769dd
JM
13180 [BZ #16316]
13181 [BZ #16330]
13182 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13183 values of ha and hb and sort them after adjusting subnormal
13184 arguments.
13185 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13186 Likewise.
13187 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13188 values of ea and eb and sort them after adjusting subnormal
13189 arguments.
13190 * math/auto-libm-test-in: Do not expect some hypot tests of
13191 subnormals to fail. Add more hypot tests.
13192 * math/auto-libm-test-out: Regenerated.
13193
29618f6b
KK
131942013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13195
13196 [BZ #13304]
13197 * sysdeps/sh/s_fma.c: New file.
13198 * sysdeps/sh/s_fmaf.c: New file.
13199 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13200 version.
13201 * sysdeps/sh/Implies: Add sh/soft-fp.
13202
eacfdfbf
RM
132032013-12-16 Roland McGrath <roland@hack.frob.com>
13204
13205 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13206 level of indirection to members `objname', `errstring', `malloced'.
13207 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13208 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13209 it as the __longjmp argument (just pass 1 instead).
13210 (_dl_catch_error): Initialize C with argument pointers and address of
13211 volatile local ERRCODE rather than copying values out of C at return.
13212
ff362e5b
JM
132132013-12-16 Joseph Myers <joseph@codesourcery.com>
13214
13215 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13216 * math/auto-libm-test-out: Regenerated.
13217 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13218 (hypot_test_data): Likewise.
13219 (pow_test_data): Likewise.
13220 (pow_tonearest_test_data): Likewise.
13221 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13222 mpfr_ff_f.
13223 (func_calc_desc): Add mpfr_ff_f union field.
13224 (FUNC_mpfr_ff_f): New macro.
13225 (test_functions): Add atan2, hypot and pow.
13226 (special_fill_min): New function.
13227 (special_fill_minus_min): Likewise.
13228 (special_fill_min_subnorm): Likewise.
13229 (special_fill_minus_min_subnorm): Likewise.
13230 (special_real_inputs): Add min, -min, min_subnorm and
13231 -min_subnorm.
13232 (calc_generic_results): Handle mpfr_ff_f.
13233 * sysdeps/i386/fpu/libm-test-ulps: Update.
13234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13235
5764c27f
WN
132362013-12-16 Will Newton <will.newton@linaro.org>
13237
13238 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13239 (Aligned Memory Blocks): Add documentation for aligned_alloc
13240 and suggest it as an alternative to posix_memalign.
13241 (Hooks for Malloc): Document __memalign_hook is also called
13242 for aligned_alloc. (Summary of Malloc): Add summary for
13243 aligned alloc. Document __memalign_hook is also called
13244 for aligned_alloc.
13245
0a096e44
WN
132462013-12-16 Will Newton <will.newton@linaro.org>
13247
13248 * manual/memory.texi (Malloc Examples): Clarify default
13249 alignment documentation. Suggest posix_memalign rather
13250 than memalign or valloc.
13251 (Aligned Memory Blocks): Remove suggestion to use memalign
13252 or valloc. Remove obsolete comment about BSD.
13253 Document memalign errno values and mark the function obsolete.
13254 Document posix_memalign returned error codes. Mark valloc
13255 as obsolete. (Hooks for Malloc): __memalign_hook is also
13256 called for posix_memalign and valloc.
13257 (Summary of Malloc): Add posix_memalign to function summary.
13258 __memalign_hook is also called for posix_memalign and valloc.
13259
8d561986
SP
132602013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13261
13262 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13263 TAYLOR_SIN.
13264 (__sin): Adjust.
13265 (__cos): Likewise.
13266 (sloww): Use mynumber union. Expand ternary operator into
13267 if-else statements.
13268 (cslow): use mynumber union.
13269
73616a74
AM
132702013-12-16 Allan McRae <allan@archlinux.org>
13271
9e8ac24b
AM
13272 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13273 * configure: Regenerated.
13274
6f8e37eb
AM
13275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13276
8894bad3
AM
13277 [BZ #14120]
13278 * configure.ac: Added --enable-maintainer-mode. Check for
13279 autoconf when enabled.
13280 * configure: Regenerated.
13281
73616a74
AM
13282 * nscd/nscd.service: New file.
13283 * nscd/nscd.tmpfiles: New file.
13284
584b18eb
OB
132852013-12-14 Ondřej Bílka <neleai@seznam.cz>
13286
13287 [BZ #12100]
13288 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13289 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13290 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13291 (strstr): Add __strstr_sse2_unaligned ifunc.
13292 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13293 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13294 (strcasestr): Remove __strcasestr_sse42 ifunc.
13295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13298
8a5c7897
KK
132992013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13300
13301 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13302 * sysdeps/sh/bits/fenv.h: ... here.
13303 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13304
fd712ef3
AZ
133052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13306
13307 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13308
42fcb46c
AZ
13309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13310 hypotf multiarch implementations.
13311 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13312 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13314 multiarch hypot for PPC64.
13315 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13318 multiarch hypotf for PPC64.
13319
83efded4
AZ
13320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13321 modff multiarch implementations.
13322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13325 multiarch modf for PPC64.
13326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13329 multiarch modff for PPC64.
13330
43e246d2
AZ
13331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13332 and logl multiarch implementations.
13333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13336 multiarch logb for PPC64.
13337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13340 multiarch logb for PPC64.
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13344 multiarch logb for PPC64.
13345
8fdad123
AZ
13346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13347 isinff multiarch implementation.
13348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13349 file.
13350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13352 multiarch isinf for PPC64.
13353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13354 file.
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13356 multiarch isinff for PPC64.
13357
1481d706
AZ
13358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13359 finitef multiarch implementation.
13360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13361 file.
13362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13364 multiarch finite for PPC64.
13365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13366 file.
13367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13368 multiarch finitef for PPC64.
13369
5ccd5fc8
AZ
13370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13371 lrint multiarch implementation.
13372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13373 file.
13374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13376 multiarch llrint for PPC64.
13377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13378 multiarch lrint for PPC64.
13379
2568f3fa
AZ
13380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13381 copysignf multiarch implementation.
13382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13383 file.
13384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13385 file.
13386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13387 multiarch copysign for PPC64.
13388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13389 multiarch copysignf for PPC64.
13390
1cb341fd
AZ
13391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13392 multiarch implementation.
13393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13394 file.
13395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13396 file.
13397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13398 file.
13399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13400 file.
13401 multiarch llround for PPC64.
13402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13403 multiarch trunc for PPC64.
13404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13405 multiarch truncf for PPC64.
13406
59a3e194
AZ
13407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13408 multiarch implementation.
13409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13410 file.
13411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13412 file.
13413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13414 file.
13415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13416 file.
13417 multiarch llround for PPC64.
13418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13419 multiarch round for PPC64.
13420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13421 multiarch roundf for PPC64.
13422
357fd3b4
AZ
13423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13424 multiarch implementation.
13425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13426 file.
13427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13428 file.
13429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13430 file.
13431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13432 file.
13433 multiarch llround for PPC64.
13434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13435 multiarch floor for PPC64.
13436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13437 multiarch floorf for PPC64.
13438
96770f12
AZ
13439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13440 multiarch implementation.
13441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13442 file.
13443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13444 file.
13445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13446 file.
13447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13448 file.
13449 multiarch llround for PPC64.
13450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13451 multiarch ceil for PPC64.
13452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13453 multiarch ceilf for PPC64.
13454
c3627f6e
AZ
13455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13456 multiarch implementation.
13457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13458 file.
13459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13460 file.
13461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13462 file.
13463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13464 multiarch llround for PPC64.
13465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13466 multiarch lround for PPC64.
13467
b2284ad7
AZ
13468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13469 multiarch implementation.
13470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13473 file.
13474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13477 multiarch isnan for PPC64.
13478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13479 multiarch isnanf for PPC64.
13480
69bbc63d
AZ
13481 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13482 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13483 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13484 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13485 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13487
c24517c9
AZ
13488 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13489 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13492
a52374e8
AZ
13493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13494 multiarch implementations.
13495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13496 (__libc_ifunc_impl_list): Likewise.
13497 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13498 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13499 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13500 multiarch stpcpy for PPC64.
13501
7f5ec113
AZ
13502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13503 multiarch implementations.
13504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13505 (__libc_ifunc_impl_list): Likewise.
13506 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13507 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13508 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13509 multiarch strcpy for PPC64.
13510
e28bcd42
AZ
13511 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13512 redefine function name.
13513 (_wordcopy_fwd_dest_aligned): Likewise.
13514 (_wordcopy_bwd_aligned): Likewise.
13515 (_wordcopy_bwd_dest_aligned): Likewise.
13516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13517 multiarch implementations.
13518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13519 (__libc_ifunc_impl_list): Likewise.
13520 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13521 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13523 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13524 multiarch wcscpy for PPC64.
13525
92cacfce
AZ
13526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13527 multiarch implementations.
13528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13529 (__libc_ifunc_impl_list): Likewise.
13530 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13531 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13532 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13533 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13534 multiarch wcscpy for PPC64.
13535
7b714620
AZ
13536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13537 multiarch implementations.
13538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13539 (__libc_ifunc_impl_list): Likewise.
13540 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13541 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13542 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13543 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13544 multiarch wcsrchr for PPC64.
13545
16fd2ae3
AZ
13546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13547 multiarch implementations.
13548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13549 (__libc_ifunc_impl_list): Likewise.
13550 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13551 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13552 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13553 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13554 multiarch wcschr for PPC64.
13555
9ee2969b
AZ
13556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13557 multiarch implementations.
13558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13559 (__libc_ifunc_impl_list): Likewise.
13560 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13561 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13562 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13563 multiarch strchrnul for PPC64.
13564
372dc060
AZ
13565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13566 implementations.
13567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13568 (__libc_ifunc_impl_list): Likewise.
13569 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13570 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13571 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13572 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13573 strchr for PPC64.
13574
24c2c3b9
AZ
13575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13576 implementations.
13577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13578 (__libc_ifunc_impl_list): Likewise.
13579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13581 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13582 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13583 strncmp for PPC64.
13584
1c92d9a0
AZ
13585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13586 multiarch implementations.
13587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13588 (__libc_ifunc_impl_list): Likewise.
13589 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13590 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13591 strncasecmp for PPC64.
13592 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13593 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13594 multiarch strncasecmp_l for PPC64.
13595
17de3ee3
AZ
13596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13597 multiarch implementations.
13598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13599 (__libc_ifunc_impl_list): Likewise.
13600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13602 multiarch strcasecmp for PPC64.
13603 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13604 file.
13605 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13606 multiarch strcasecmp_l for PPC64.
13607
62982bf9
AZ
13608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13609 implementations.
13610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13611 (__libc_ifunc_impl_list): Likewise.
13612 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13613 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13614 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13615 strnlen for PPC64.
13616
a65f4904
AZ
13617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13618 implementations.
13619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13620 (__libc_ifunc_impl_list): Likewise.
13621 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13622 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13623 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13624 strlen for PPC64.
13625
1fd005ad
AZ
13626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13627 implementations.
13628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13629 (__libc_ifunc_impl_list): Likewise.
13630 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13631 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13632 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13633 rawmemrchr for PPC64.
13634
cd05ba91
AZ
13635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13636 implementation.
13637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13638 (__libc_ifunc_impl_list): Likewise.
13639 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13640 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13641 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13642 memrchr for PPC64.
13643
870f8676
AZ
13644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13645 implementation.
13646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13647 (__libc_ifunc_impl_list): Likewise.
13648 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13649 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13650 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13651 memchr for PPC64.
13652
f00be62b
AZ
13653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13654 implementation.
13655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13656 (__libc_ifunc_impl_list): Likewise.
13657 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13658 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13659 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13660 mempcpy for PPC64.
13661
8a29a3d0
AZ
13662 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13663 avoid cretion of __bzero symbol.
13664 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13665 Likewise.
13666 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13667 Likewise.
13668 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13669 Likewise.
13670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13671 multiarch implementations.
13672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13673 (__libc_ifunc_impl_list): Likewise.
13674 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13675 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13676 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13677 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13678 bzero for PPC32.
13679 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13680 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13681 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13682 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13683 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13684 memset for PPC64.
13685 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13686
07253fcf
AZ
13687 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13689 implementations.
13690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13691 (__libc_ifunc_impl_list): Likewise.
13692 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13693 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13694 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13695 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13696 memcmp for PPC64.
13697
b5beafbc
AZ
13698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13699 multiarch for POWER/PPC64.
13700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13701 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13708 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13709 memcpy for PPC64.
13710
5e6a4d4b
AZ
13711 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13712 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13713 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13714 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13715 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13716 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13717 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13718 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13719 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13720 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13721 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13722 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13723 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13724 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13725 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13733
ddfab6dc
KK
137342013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13735
13736 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13737
19b5525e
SP
137382013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13739
13740 * benchtests/Makefile (bench): Add exp2 and log2.
13741 (LDLIBS-bench-exp2): Add -lm.
13742 (LDLIBS-bench-log2): Likewise.
13743 * benchtests/exp2-inputs: New inputs file.
13744 * benchtests/log2-inputs: New inputs file.
13745 * benchtests/log-inputs: Add new inputs.
13746 * benchtests/tan-inputs: Likewise.
13747
196f7f5d
SP
137482013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13749
7a74607f
SP
13750 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13751 definition...
57f41c40
AS
13752 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13753 (csloww2): ... from here.
7a74607f 13754
196f7f5d
SP
13755 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13756 instead of structures.
13757 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13758 (POLYNOMIAL): Likewise.
13759 (TAYLOR_SLOW): Likewise.
13760 (__sin): Likewise.
13761 (__cos): Likewise.
13762 (slow1): Likewise.
13763 (slow2): Likewise.
13764 (sloww): Likewise.
13765 (sloww1); Likewise.
13766 (sloww2): Likewise.
13767 (bsloww1): Likewise.
13768 (bsloww2): Likewise.
13769 (cslow2): Likewise.
13770 (csloww): Likewise.
13771 (csloww1): Likewise.
13772 (csloww2): Likewise.
13773
0dfa665c
OB
137742013-12-10 Ondřej Bílka <neleai@seznam.cz>
13775
13776 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13777 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13778 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13779 * malloc/hooks.c (realloc_check): Likewise.
13780
5782a80f
OB
13781 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13782 * malloc/arena.c: Remove PER_THREAD conditional.
13783 [!PER_THREAD]: Remove code.
13784 (ptmalloc_unlock_all2): Likewise.
13785 (ptmalloc_init): Likewise.
13786 (_int_new_arena): Likewise.
13787 (arena_get2): Likewise.
13788 * malloc/hooks.c (__malloc_get_state): Likewise.
13789 (__malloc_set_state): Likewise.
13790 * malloc/malloc.c: Likewise.
13791 (struct malloc_state): Likewise.
13792 (struct malloc_par): Likewise.
13793 (__libc_realloc): Likewise.
13794 (__libc_mallopt): Likewise.
13795
aeb95445
AZ
137962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13797
13798 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13799
e8349efd
OB
138002013-12-09 Ondřej Bílka <neleai@seznam.cz>
13801
13802 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13803 macro to a function. Check for zero perturb_byte.
13804 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13805
f3eeb3fc 13806 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13807 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13808 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13809 force_reg by atomic_forced_read.
13810 * malloc/arena.c (ptmalloc_init): Likewise.
13811 * malloc/hooks.c (top_check): Likewise.
13812
be2f9009
AZ
138132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13814
13815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13816
e7b914bd
MT
138172013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13818
13819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13820
9f0be4f8
JM
138212013-12-08 Joseph Myers <joseph@codesourcery.com>
13822
13823 * math/auto-libm-test-in: Add tests of lgamma.
13824 * math/auto-libm-test-out: Regenerated.
13825 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13826 (M_LOG_2_SQRT_PIl): Likewise.
13827 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13828 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13829 mpfr_f_f1.
13830 (func_calc_desc): Add mpfr_f_f1 union field.
13831 (ARGS1): New macro.
13832 (ARGS2): Likewise.
13833 (ARGS3): Likewise.
13834 (ARGS4): Likewise.
13835 (RET1): Likewise.
13836 (RET2): Likewise.
13837 (CALC): Likewise.
13838 (FUNC): Likewise.
13839 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13840 (test_functions): Add lgamma.
13841 (calc_generic_results): Handle mpfr_f_f1.
13842 * sysdeps/i386/fpu/libm-test-ulps: Update.
13843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13844
24eeafdb
AZ
138452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13846
13847 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13848 __mpn_add_n for PowerPC64/POWER7.
13849 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13850 __mpn_sub_n for PowerPC64/POWER7.
13851
4a2c0fd4
AZ
13852 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13853 __mpn_addmul_1 for PowerPC64.
13854 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13855 __mpn_submul_1 for PowerPC64.
13856 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13857 for PowerPC64.
13858 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13859 for PowerPC64.
13860
4b5b548c
FS
138612013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13862
13863 [BZ #15089]
13864 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13865
0a3ac0aa
AZ
138662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13867
13868 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13869
ccdc8438
AZ
13870 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13871 add multiarch folders.
13872 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13873 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13874 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13875 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13876 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13877 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13878 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13879 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13880 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13881 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13882 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13889
2e973d99
AZ
13890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13891 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13893 New file.
13894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13895 New file.
13896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13897 multiarch __ieee754_hypot for PowerPC32.
13898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13899 New file.
13900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13901 New file.
13902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13903 multiarch __ieee754_hypotf for PowerPC32.
13904
2d9470b2
AZ
13905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13906 long_double_symbol only if __logbl is defined.
13907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13908 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13910 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13912 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13914 path for implementation.
13915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13918 logb, and logbl multiarch implementations for PowerPC32.
13919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13920 file.
13921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13922 file.
13923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13924 multiarch logb for PowerPC32.
13925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13926 file.
13927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13928 file.
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13930 multiarch logbf for PowerPC32.
13931 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13933 file.
13934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13935 multiarch logbl implementation for PowerPC32.
13936
5212ffce
AZ
13937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13938 and modff multiarch implementations.
13939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13940 New file.
13941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13942 New file.
13943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13944 multiarch modf for PowerPC32.
13945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13946 New file.
13947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13948 New file.
13949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13950 multiarch modff for PowerPC32.
13951
79dccf31
AZ
13952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13953 and lrintf multiarch implementations.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13955 New file.
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13957 New file.
13958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13959 multiarch lrint for PowerPC32.
13960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13961 file: multiarch lrintf for PowerPC32.
13962
deb66480
AZ
13963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13964 and lroundf multiarch implementations.
13965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13966 New file.
13967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13968 New file.
13969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13970 New file.
13971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13972 multiarch lround for PowerPC32.
13973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13974 file: multiarch lroundf for PowerPC32.
13975
264b036b
AZ
13976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13977 copysign and copysignf multiarch implementations.
13978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13979 New file.
13980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13981 New file.
13982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13983 file: multiarch copysign for PowerPC32.
13984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13985 file: multiarch copysignf for PowerPC32.
13986
d47db6c9
AZ
13987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13988 and truncf multiarch implementations.
13989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13990 New file.
13991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13992 file.
13993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13994 multiarch trunc for PowerPC32.
13995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13996 New file.
13997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13998 New file.
13999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14000 multiarch truncf for PowerPC32.
14001
ddb60b5a
AZ
14002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14003 and roundf multiarch implementations.
14004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14005 New file.
14006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14007 file.
14008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14009 multiarch round for PowerPC32.
14010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14011 New file.
14012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14013 New file.
14014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14015 multiarch roundf for PowerPC32.
14016
bedcf49b
AZ
14017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14018 and floorf multiarch implementations.
14019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14020 New file.
14021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14022 file.
14023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14024 multiarch floor for PowerPC32.
14025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14026 New file.
14027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14028 New file.
14029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14030 multiarch floorf for PowerPC32.
14031
35ae5b40
AZ
14032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14033 and ceilf multiarch implementations.
14034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14035 New file.
14036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14037 file.
14038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14039 multiarch ceil for PowerPC32.
14040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14041 New file.
14042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14043 file.
14044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14045 multiarch ceilf for PowerPC32.
14046
ae1a4cd9
AZ
14047 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14048 is defined.
14049 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14050 FINITEF is defined.
14051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14052 and finitef multiarch implementations.
14053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14054 New file.
14055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14056 file.
14057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14058 multiarch finite for PowerPC32.
14059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14060 New file.
14061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14062 file: multiarch finitef for PowerPC32.
14063
64fffd65
AZ
14064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14065 and isinff multiarch implementations.
14066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14067 file.
14068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14069 file.
14070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14071 multiarch isinf for PowerPC32.
14072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14073 New file.
14074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14075 multiarch isinff for PowerPC32.
14076
8e4e7ba2
AZ
14077 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14078 alias when __isnan is defined.
14079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14080 and isnanf multiarch implementations.
14081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14082 file.
14083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14084 file.
14085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14086 file.
14087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14088 file.
14089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14090 multiarch isnan for PowerPC32.
14091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14092 New file.
14093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14094 New file.
14095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14096 multiarch isnanf for PowerPC32.
14097
ddba588e
AZ
14098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14099 and sqrtf multiarch implementations.
14100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14101 file.
14102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14103 file.
14104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14105 multiarch sqrt for PowerPC32.
14106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14107 file.
14108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14109 file.
14110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14111 multiarch sqrtf for PowerPC32.
14112
0f96a2f0
AZ
14113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14114 and llroundf multiarch implementations.
14115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14116 New file.
14117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14118 New file.
14119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14120 New file.
14121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14122 file: multiarch llround for PowerPC32.
14123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14124 file: multiarch llroundf for PowerPC32.
14125
c9b5d79e
AZ
14126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14127 multiarch PowerPC32 fpu implementations.
14128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14129 New file.
14130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14131 New file.
14132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14133 multiarch llrint for PowerPC32.
14134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14135 New file.
14136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14137 New file.
14138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14139 file.
14140
9cbb3aab
AZ
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14142
ea5a72f8
AZ
14143 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14144 file.
14145 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14146 file.
14147 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14148 file.
14149 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14150 multiarch wordcopy for PPC32.
14151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14152 wordcopy objects.
14153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14154 (__libc_ifunc_impl_list): Likewise.
14155 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14156 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14158 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14159 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14160 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14161
93be09e7
AZ
14162 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14164 file.
14165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14166 file.
14167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14168 file.
14169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14170 multiarch wcscpy for PPC32.
14171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14172 multiarch objects.
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14174 (__libc_ifunc_impl_list): Likewise.
14175 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14176 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14177 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14178 sysdeps/powerpc/power6/wcscpy.c.
14179
bb04e529
AZ
14180 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14182 file.
14183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14184 file.
14185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14186 file.
14187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14188 multiarch wcsrchr for PPC32.
14189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14190 multiarch objects.
14191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14192 (__libc_ifunc_impl_list): Likewise.
14193 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14194 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14195 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14196 sysdeps/powerpc/power6/wcsrchr.c.
14197
05b5cd1c
AZ
14198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14199 file.
14200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14201 file.
14202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14204 multiarch wcschr for PPc32.
14205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14206 multiarch objects.
14207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14208 (__libc_ifunc_impl_list): Likewise.
14209 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14210 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14211 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14212 sysdeps/powerpc/power6/wcschr.c.
14213
ba964147
AZ
14214 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14215 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14216 file.
14217 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14218 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14219 file: multiarch strchr for PPC32.
14220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14221 multiarch objects.
14222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14223 (__libc_ifunc_impl_list): Likewise.
14224
31c81aaa
AZ
14225 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14226 name.
14227 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14228 file.
14229 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14230 file.
14231 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14232 multiarch strchrnul for PPC32.
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14234 multiarch objects.
14235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14236 (__libc_ifunc_impl_list): Likewise.
14237
0d0607d9
AZ
14238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14239 file.
14240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14241 multiarch strncasecmp for PPC32.
14242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14243 file.
14244 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14245 multiarch strncasecmp_l for PPC32.
14246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14247 strncasecmp multiarch objects.
14248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14249 (__libc_ifunc_impl_list): Likewise.
14250
4dfd5c86
AZ
14251 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14252 file.
14253 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14254 multiarch strncasecmp for PPC32.
14255 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14256 New file.
14257 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14258 multiarch strcasecmp_l for PPC32.
14259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14260 multiarch objects.
14261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14262 (__libc_ifunc_impl_list): Likewise.
14263
a19e01a3
AZ
14264 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14265 file.
14266 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14267 file.
14268 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14269 multiarch strncmp for PPC32.
14270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14271 multiarch objects.
14272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14273 (__libc_ifunc_impl_list): Likewise.
14274
ae9cf7a2
AZ
14275 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14276 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14277 file.
14278 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14279 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14281 multiarch objects.
14282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14283 (__libc_ifunc_impl_list): Likewise.
14284
3148bb7d
AZ
14285 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14286 file.
14287 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14288 file.
14289 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14291 multiarch objects.
14292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14293 (__libc_ifunc_impl_list): Likewise.
14294
7af8b946
AZ
14295 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14296 file.
14297 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14298 file.
14299 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14300 multiarch rawmemchr for PPC32.
14301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14302 multiarch objects.
14303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14304 (__libc_ifunc_impl_list): Likewise.
14305
03a6aa6a
AZ
14306 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14307 file.
14308 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14309 file.
14310 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14311 file: memrchr multiarch for PPC32.
14312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14313 multiarch objects.
14314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14315 (__libc_ifunc_impl_list): Likewise.
14316
1c62e6d9
AZ
14317 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14318 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14319 file.
14320 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14321 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14322 multiarch memchr for PPC32.
14323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14324 multiarch objects.
14325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14326 (__libc_ifunc_impl_list): Likewise.
14327
87da8bdb
AZ
14328 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14329 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14330 file.
14331 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14332 file.
14333 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14334 file: multiarch mempcpy for PPC32.
14335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14336 multiarch objects.
14337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14338 (__libc_ifunc_impl_list): Likewise.
14339
20ed4714
AZ
14340 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14341 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14342 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14343 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14344 multiarch bzero for PPC32.
14345 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14346 file.
14347 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14348 file.
14349 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14350 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14351 file: multiarch memset for PPC32.
14352 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14354 memset multiarch objects.
14355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14356 (__libc_ifunc_impl_list): Likewise.
14357
ab3e3a46
AZ
14358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14359 file.
14360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14362 memcmp for PPC32.
14363 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14365 multiarch objects.
14366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14367 (__libc_ifunc_impl_list): Likewise.
14368
930de6f0
AZ
14369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14370 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14372 file.
14373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14374 file.
14375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14376 file.
14377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14378 multiarch memcpy for PPC32.
14379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14380 multiarch objects.
14381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14382 (__libc_ifunc_impl_list): Likewise.
14383
4c628e00
AZ
14384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14385 support multiarch for POWER/PPC32.
14386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14387 Likewise.
14388 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14390 Implies file to make multiarch folder appers before the fpu and
14391 default folder for power4 configuration.
14392
f4479220
SP
143932013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14394
14395 * scripts/bench.pl: Append volatile keyword to type.
14396
8517800f
KK
143972013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14398
14399 * sysdeps/sh/sotruss-lib.c: New file.
14400 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14401
180138f1
AZ
144022013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14403
14404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14405
bbf37bdc
JM
144062013-12-05 Joseph Myers <joseph@codesourcery.com>
14407
e47cc4e0
JM
14408 [BZ #6810]
14409 * math/w_tgamma.c: Include <errno.h>.
14410 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14411 * math/w_tgammaf.c: Include <errno.h>.
14412 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14413 * math/w_tgammal.c: Include <errno.h>.
14414 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14415 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14416 underflow. Add more tgamma tests.
14417 * math/auto-libm-test-out: Regenerated.
14418 * sysdeps/i386/fpu/libm-test-ulps: Update.
14419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14420
bbf37bdc
JM
14421 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14422 sin, sinh, tan, tanh, tgamma, y0 and y1.
14423 * math/auto-libm-test-out: Regenerated.
14424 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14425 (TEST_COND_x86): Likewise.
14426 (M_E2l): Remove macro.
14427 (M_E3l): Likewise.
14428 (M_2_SQRT_PIl): Likewise.
14429 (M_SQRT_PIl): Likewise.
14430 (M_1_DIV_El): Likewise.
14431 (log_test_data): Use AUTO_TESTS_f_f.
14432 (log10_test_data): Likewise.
14433 (log1p_test_data): Likewise.
14434 (log2_test_data): Likewise.
14435 (sin_test_data): Likewise.
14436 (sin_tonearest_test_data): Likewise.
14437 (sin_towardzero_test_data): Likewise.
14438 (sin_downward_test_data): Likewise.
14439 (sin_upward_test_data): Likewise.
14440 (sinh_test_data): Likewise.
14441 (sinh_tonearest_test_data): Likewise.
14442 (sinh_towardzero_test_data): Likewise.
14443 (sinh_downward_test_data): Likewise.
14444 (sinh_upward_test_data): Likewise.
14445 (tan_test_data): Likewise.
14446 (tan_tonearest_test_data): Likewise.
14447 (tan_towardzero_test_data): Likewise.
14448 (tan_downward_test_data): Likewise.
14449 (tan_upward_test_data): Likewise.
14450 (tanh_test_data): Likewise.
14451 (tgamma_test_data): Likewise.
14452 (y0_test_data): Likewise.
14453 (y1_test_data): Likewise.
14454 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14455 (special_real_inputs): Add pi/4.
14456 * sysdeps/i386/fpu/libm-test-ulps: Update.
14457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14458
eb5ad6b9
AZ
144592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14460
14461 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14462 "longjmp_target" static probes.
14463 (__longjmp): Rename to __longjmp_symbol.
14464 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14465 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14466 on which longjmp to generate.
14467 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14468 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14469 probe.
14470 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14471 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14472 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14473 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14474 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14475 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14477 __longjmp_symbol based on which __longjmp to generate.
14478 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14479 probe.
14480 (setjmp): Rename to setjmp_symbol.
14481 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14482 (_setjmp): Rename to _setjmp_symbol.
14483 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14484 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14485 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14486 which setjmp to generate.
14487 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14488 "longjmp_target" static probes.
14489
d136c6dc
SP
144902013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14491
9298ecba
SP
14492 * benchtests/README: Add note about output arguments.
14493 * benchtests/bench-sincos.c: Remove file.
14494 * benchtests/sincos-inputs: New file.
14495 * scripts/bench.pl: Identify output arguments and define
14496 static variables for them.
14497
232983e9
SP
14498 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14499
d136c6dc
SP
14500 [BZ #15941]
14501 * Makefile (INSTALL): Add install-plain.texi as the primary
14502 dependency.
14503 * manual/install-plain.texi: New file.
14504 * manual/install.texi: Include node directive only for
14505 non-plaintext output.
14506
699ff837
JM
145072013-12-04 Joseph Myers <joseph@codesourcery.com>
14508
ab07cea8
JM
14509 * stdlib/longlong.h: Update from GCC.
14510
699ff837
JM
14511 [BZ #6807]
14512 [BZ #15901]
14513 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14514 * math/w_j0f.c (y0f): Likewise.
14515 * math/w_j0l.c (__y0l): Likewise.
14516 * math/w_j1.c (y1): Likewise.
14517 * math/w_j1f.c (y1f): Likewise.
14518 * math/w_j1l.c (__y1l): Likewise
14519 * math/w_jn.c (yn): Likewise.
14520 * math/w_jnf.c (ynf): Likewise.
14521 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14522 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14523 value for Bessel function domain errors outside _SVID_ mode.
14524 Adjust sign of return value for yn (negative integer, 0).
14525 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14526 by zero in return for negative x and set sign appropriately for
14527 negative n.
14528 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14529 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14530 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14531 expectations in error cases.
14532 (y1_test_data): Likewise.
14533 (yn_test_data): Likewise.
14534 * sysdeps/i386/fpu/libm-test-ulps: Update.
14535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14536
5b118558
UW
145372013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14538
14539 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14540 "64" to "64-v1". Add "64-v2".
14541 (abi-64-options): Rename to ...
14542 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14543 (abi-64-condition): Rename to ...
14544 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14545 (abi-64-ld-soname): Rename to ...
14546 (abi-64-v1-ld-soname): ... this.
14547 (abi-64-v2-options): Define.
14548 (abi-64-v2-condition): Likewise.
14549 (abi-64-v2-ld-soname): Likewise.
14550 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14551 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14555
61cd8fe4
UW
145562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14557 Alan Modra <amodra@gmail.com>
14558
14559 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14560 New versions for use with the ELFv2 ABI.
14561 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14562 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14563 declaration.
14564 (struct La_ppc64v2_retval): Likewise.
14565 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14566 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14567 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14568 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14569 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14571 Do not save or restore CR.
14572 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14573 (_dl_profile_resolve): Do no save or restore CR. Support extended
14574 return values for ELFv2 ABI. Fix location of FPR return registers.
14575 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14576 updated values for _CALL_ELF == 2.
14577 (La_regs, La_retval, int_retval): Likewise.
14578
8b8a692c
UW
145792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14580
14581 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14582 (FRAME_MIN_SIZE_PARM): Likewise.
14583 (FRAME_BACKCHAIN): Likewise.
14584 (FRAME_CR_SAVE): Likewise.
14585 (FRAME_LR_SAVE): Likewise.
14586 (FRAME_TOC_SAVE): Likewise.
14587 (FRAME_PARM_SAVE): Likewise.
14588 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14589 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14590 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14591 (call_mcount_parm_offset): New macro.
14592 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14593 (PROF): Use symbolic stack frame offsets.
14594 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14595 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14596 Redefine in terms of FRAME_MIN_SIZE.
14597 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14598 (_dl_profile_resolve): Likewise. Update comment.
14599 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14600 symbols stack frame offsets.
14601 (__sigsetjmp): Likewise.
14602 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14603 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14604 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14605 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14606
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14608 (FRAME_BACKCHAIN): Remove.
14609 (FRAME_CR_SAVE): Likewise.
14610 (FRAME_LR_SAVE): Likewise.
14611 (FRAME_COMPILER_DW): Likewise.
14612 (FRAME_LINKER_DW): Likewise.
14613 (FRAME_TOC_SAVE): Likewise.
14614 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
14615 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14616 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14617 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14619 (CHECK_SP): Use symbolic stack frame offsets.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14621 zone" instead of caller's parameter save area for temp storage.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14623 Likewise. Also, use symbolic stack frame offsets.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14625 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14626 our own stack frame instead of the caller's.
14627 (__socket): Use symbolic stack frame offsets.
14628
122b66de
UW
146292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14630 Alan Modra <amodra@gmail.com>
14631
14632 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14633 Define.
57f41c40
AS
14634 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14635 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
14636 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14637 New function.
14638 (elf_machine_fixup_plt): Call it.
14639 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14640 reloc arguments.
14641 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
14642 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14643 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
14644 r2 before calling target.
14645
696caf1d
UW
146462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14647 Alan Modra <amodra@gmail.com>
14648
14649 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14650 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14651 versions of macros to support ELFv2 ABI.
14652 (LOCALENTRY): New macro.
14653 (ENTRY, EALIGN): Use it.
14654 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14655 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14656 fall through into ENTRY entry point.
14657 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14658 Only define if _CALL_ELF != 2.
14659
14660 (elf_machine_matches_host): Verify ABI version matches.
14661 (RTLD_START): Use LOCALENTRY.
14662 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14663 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14664 (PLT_ENTRY_WORDS): New macro.
14665 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14666 (elf_machine_runtime_setup): Support ELFv2 ABI.
14667 (elf_machine_fixup_plt): Likewise.
14668 (elf_machine_plt_conflict): Likewise.
14669 (resolve_ifunc): Likewise.
14670 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14671 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14672 Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14674 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14676 (makecontext): Support ELFv2 ABI.
14677 * elf/elf.h (EF_PPC64_ABI): Define.
14678
d31beafa
UW
146792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14680
57f41c40
AS
14681 * sysdeps/powerpc/powerpc64/sysdep.h
14682 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14683 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14684 (ENTRY) [ASSEMBLER]: ... but instead here ...
14685 (EALIGN) [ASSEMBLER]: ... and here.
14686 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14687 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14688 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
14689 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14690 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
14691 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14692 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
14693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14695 Use PPC64_LOAD_FUNCPTR.
14696
b525166b
UW
14697 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14698
7ec07d9a
AM
146992013-12-04 Alan Modra <amodra@gmail.com>
14700
14701 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14702 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14703 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14704 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14705
14706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14707 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14708 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14709 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14710 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14711 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14712
5162e7dd
UW
147132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14714
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14716 (__makecontext): Fix incorrect CFI when backtracing out of
14717 context created via makecontext.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14719 (__setcontext): Fix incorrect CFI during switch to new context.
14720 (__novec_setcontext): Likewise.
14721
19e3372b
OB
147222013-12-04 Ondřej Bílka <neleai@seznam.cz>
14723
14724 [BZ #4772]
14725 * time/strptime_l.c (__strptime_internal): Allow modifiers
14726 in strptime.
14727 * time/tst-strptime.c (day_tests): Add testcase.
14728
ecaf142d
SP
147292013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14730
14731 * scripts/bench.pl: Skip over blank lines.
14732
fbf964ae
PE
147332013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14734
14735 [BZ #926]
14736 * manual/time.texi (Calendar Time): Clarify what timezone functions
14737 use.
14738
fa60a674
AZ
147392013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14740
14741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14742
d674f0ef
OB
147432013-12-04 Ondřej Bílka <neleai@seznam.cz>
14744
14745 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14746 implementation.
14747 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14748 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14749 * debug/memset_chk.c (__memset_chk): Likewise.
14750 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14751 * debug/strncpy_chk.c: Likewise.
14752
17dea188
JM
147532013-12-03 Joseph Myers <joseph@codesourcery.com>
14754
749008ff
JM
14755 [BZ #15268]
14756 [BZ #15425]
14757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14758 (__ieee754_exp): For possibly underflowing results, check size of
14759 result and force underflow exception if required.
14760 * math/auto-libm-test-in: Add more tests of exp.
14761 * math/auto-libm-test-out: Regenerated.
14762 * sysdeps/i386/fpu/libm-test-ulps: Update.
14763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764
17dea188
JM
14765 [BZ #16283]
14766 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14767 * math/w_exp2f.c (__exp2f): Likewise.
14768 * math/w_exp2l.c (__exp2l): Likewise.
14769 * math/auto-libm-test-in: Do not allow missing errno on exp2
14770 underflow.
14771 * math/auto-libm-test-out: Regenerated.
14772
b20de2c3
OB
147732013-12-03 Ondřej Bílka <neleai@seznam.cz>
14774
14775 [BZ #16274]
14776 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14777 handle filename validation.
14778 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14779 (do_open): Delete.
14780
d8e2dbe3
JM
147812013-12-03 Joseph Myers <joseph@codesourcery.com>
14782
34e16df5
JM
14783 [BZ #6786]
14784 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14785 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14786 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14787 <float.h>.
14788 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14790 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14791 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14792 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14793 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14794 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14795 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14796 Add more erfc tests.
14797 * math/auto-libm-test-out: Regenerated.
14798 * sysdeps/i386/fpu/libm-test-ulps: Update.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14800
d8e2dbe3
JM
14801 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14802 exp2, expm1, j0 and j1.
14803 * math/auto-libm-test-out: Regenerated.
14804 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14805 (erfc_test_data): Likewise.
14806 (exp_test_data): Likewise.
14807 (exp_tonearest_test_data): Likewise.
14808 (exp_towardzero_test_data): Likewise.
14809 (exp_downward_test_data): Likewise.
14810 (exp_upward_test_data): Likewise.
14811 (exp10_test_data): Likewise.
14812 (exp2_test_data): Likewise.
14813 (expm1_test_data): Likewise.
14814 (j0_test_data): Likewise.
14815 (j1_test_data): Likewise.
14816 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14817 (input_flag_type): Add flag_xfail_rounding.
14818 (input_flags): Add xfail-rounding.
14819 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14820 (output_for_one_input_case): Handle flag_xfail_rounding.
14821 * sysdeps/i386/fpu/libm-test-ulps: Update.
14822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14823
18d14251
AJ
148242013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14825
3d2e6075 14826 [BZ #16289]
18d14251
AJ
14827 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14828 division by 0.
14829
520d437b
SP
148302013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14831
14832 [BZ #16195]
14833 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14834 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14835 (STAP_PROBE0): New macro.
14836 (STAP_PROBE1): Likewise.
14837 (STAP_PROBE2): Likewise.
14838 (STAP_PROBE3): Likewise.
14839 (STAP_PROBE4): Likewise.
14840
416e0145
OB
148412013-12-02 Ondřej Bílka <neleai@seznam.cz>
14842
14843 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14844
9d17796a
SE
148452013-12-02 Steve Ellcey <sellcey@mips.com>
14846
14847 * benchtests/Makefile (bench): Add sqrt.
14848 (LDLIBS-bench-sqrt): New.
14849 * benchtests/sqrt-input: New.
14850
f524d6a8
PS
148512013-12-02 Pavel Simerda <psimerda@redhat.com>
14852
639a0ef8
PS
14853 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14854 (GAIH_EAI): Likewise.
14855 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14856 (gaih_inet): Likewise.
14857 (getaddrinfo): Don't use GAIH_EAI.
14858
f524d6a8
PS
14859 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14860 (struct gaih): Remove definition.
14861
df3aedaf
SP
148622013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14863
14864 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14865 Use HERRNOP directly.
14866
1ab19dec
AZ
148672013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14868
b42ad38d 14869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14870
176b0c79
JM
148712013-11-30 Joseph Myers <joseph@codesourcery.com>
14872
14873 * math/gen-auto-libm-tests.c (test_functions): Add more
14874 single-argument functions.
14875 (special_fill_pi_2): New function.
14876 (special_fill_minus_pi_2): Likewise.
14877 (special_fill_pi_6): Likewise.
14878 (special_fill_minus_pi_6): Likewise.
14879 (special_fill_pi_3): Likewise.
14880 (special_fill_2pi_3): Likewise.
14881 (special_fill_e): Likewise.
14882 (special_fill_1_e): Likewise.
14883 (special_fill_e_minus_1): Likewise.
14884 (special_real_inputs): Add more special inputs.
14885 (output_for_one_input_case): Do not require ERANGE on underflow to
14886 zero if round-to-nearest result does not underflow to zero, unless
14887 exact results required.
14888 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14889 atan, atanh, cbrt, cos and cosh.
14890 * math/auto-libm-test-out: Regenerated.
14891 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14892 (acos_tonearest_test_data): Likewise.
14893 (acos_towardzero_test_data): Likewise.
14894 (acos_downward_test_data): Likewise.
14895 (acos_upward_test_data): Likewise.
14896 (acosh_test_data): Likewise.
14897 (asin_test_data): Likewise.
14898 (asin_tonearest_test_data): Likewise.
14899 (asin_towardzero_test_data): Likewise.
14900 (asin_upward_test_data): Likewise.
14901 (asinh_test_data): Likewise.
14902 (atan_test_data): Likewise.
14903 (atanh_test_data): Likewise.
14904 (cbrt_test_data): Likewise.
14905 (cos_test_data): Likewise.
14906 (cos_tonearest_test_data): Likewise.
14907 (cos_towardzero_test_data): Likewise.
14908 (cos_downward_test_data): Likewise.
14909 (cos_upward_test_data): Likewise.
14910 (cosh_test_data): Likewise.
14911 (cosh_tonearest_test_data): Likewise.
14912 (cosh_towardzero_test_data): Likewise.
14913 (cosh_downward_test_data): Likewise.
14914 (cosh_upward_test_data): Likewise.
14915 * sysdeps/i386/fpu/libm-test-ulps: Update.
14916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14917
ffb536d0
JM
149182013-11-29 Joseph Myers <joseph@codesourcery.com>
14919
2a77a467
JM
14920 [BZ #6787]
14921 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14922 * math/w_exp10f.c (__exp10f): Likewise.
14923 * math/w_exp10l.c (__exp10l): Likewise.
14924 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14925 errno settings in existing tests.
14926
ea3bc4e8
JM
14927 [BZ #14032]
14928 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14929 precision control set to double precision.
14930 * sysdeps/i386/fpu/w_sqrt.c: New file.
14931 * math/auto-libm-test-in: Add more tests.
14932 * math/auto-libm-test-out: Update.
14933
0712c9d8
JM
14934 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14935 (sqrt_test_tonearest): New function.
14936 (sqrt_towardzero_test_data): New variable.
14937 (sqrt_test_towardzero): New function.
14938 (sqrt_downward_test_data): New variable.
14939 (sqrt_test_downward): New function.
14940 (sqrt_upward_test_data): New variable.
14941 (sqrt_test_upward): New function.
14942 (main): Call the new functions.
14943
ffb536d0
JM
14944 * math/gen-auto-libm-tests.c: New file.
14945 * math/auto-libm-test-in: Likewise.
14946 * math/auto-libm-test-out: New generated file.
14947 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14948 variables.
14949 (%beautify): Add generated representations of zero.
14950 (top level): Set $auto_input and call parse_auto_input.
14951 (beautify): Remove trailing "f" from hex float constants.
14952 (parse_args): Handle XFAIL_TEST.
14953 (convert_condition): New function.
14954 (or_value): Likewise.
14955 (or_cond_value): Likewise.
14956 (generate_testfile): Handle AUTO_TESTS_* lines.
14957 (parse_auto_input): New function.
14958 * math/libm-test.inc (XFAIL_TEST): New macro.
14959 (ERRNO_UNCHANGED): Update value.
14960 (ERRNO_EDOM): Likewise.
14961 (ERRNO_ERANGE): Likewise.
14962 (IGNORE_RESULT): Likewise.
14963 (TEST_COND_flt_32): New macro.
14964 (TEST_COND_dbl_64): Likewise.
14965 (TEST_COND_ldbl_96_intel): Likewise.
14966 (TEST_COND_ldbl_96_m68k): Likewise.
14967 (TEST_COND_ldbl_128): Likewise.
14968 (TEST_COND_ldbl_128ibm): Likewise.
14969 (TEST_COND_long32): Likewise.
14970 (TEST_COND_long64): Likewise.
14971 (TEST_COND_before_rounding): Likewise.
14972 (TEST_COND_after_rounding): Likewise.
14973 (enable_test): Handle XFAIL_TEST flag.
14974 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14975 with finite results.
14976 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14977 auto-libm-test-out.
14978
acd98a8e
AK
149792013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14980 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14981
14982 [BZ #16214]
14983 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14984 __tls_get_addr_internal instead of __tls_get_offset in order to
14985 avoid GOT pointer dependency. Make rtld export
14986 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14987 __tls_get_addr since we are a __tls_get_offset platform.
14988 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14989 GOT pointer being set up before.
14990 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14991
3c1c46a6
JM
149922013-11-28 Joseph Myers <joseph@codesourcery.com>
14993
7475aef5
JM
14994 * manual/math.texi (Errors in Math Functions): Document accuracy
14995 goals.
14996
8bca7cd8
JM
14997 [BZ #15004]
14998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14999 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15002 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15004 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15014
91a1f3fe
JM
15015 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15016 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15017 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15018 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15019 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15020 Likewise.
15021 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15022 Likewise.
15023 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15024 Likewise.
15025 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15026 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15027 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15028 atomic-feupdateenv and flt-rounds.
15029 * sysdeps/powerpc/nofpu/Versions (libc): Add
15030 __atomic_feholdexcept, __atomic_feclearexcept,
15031 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15032 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15033 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15034 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15035 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15036 here.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15038 Update.
15039
c5df7609
JM
15040 * manual/arith.texi (FP Exceptions): Document that exceptions may
15041 not be raised when matherr is used.
15042 (Math Error Reporting): Document overflow in directed rounding
15043 modes. Document that errno may not be set when finite values are
15044 returned on overflow. Document intent to set errno on underflow
15045 only for underflow to zero.
15046
3c1c46a6
JM
15047 [BZ #16271]
15048 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15049 round-to-nearest then adjust result for other rounding modes.
15050 * include/fenv.h (fegetround): Use libm_hidden_proto.
15051 * math/fegetround.c (fegetround): Use libm_hidden_def.
15052 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15053 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15054 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15056 Likewise.
15057 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15058 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15059 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15060 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15061
5a4c6d53
SP
150622013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15063
15064 [BZ #16077]
15065 * nss/Versions (libnss_files): Add
15066 _nss_files_gethostbyname3_r.
15067 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15068 New function.
15069 (HOST_DB_LOOKUP): Remove macro.
15070 (_nss_files_gethostbyname_r): Implement function without the
15071 HOST_DB_LOOKUP macro.
15072 (_nss_files_gethostbyname2_r): Likewise.
15073
897b98ba
OB
150742013-11-28 Ondřej Bílka <neleai@seznam.cz>
15075
15076 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15077
6f476861
UB
150782013-11-26 Uros Bizjak <ubizjak@gmail.com>
15079
15080 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15081 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15082 warning.
15083
bd12ab55
AZ
150842013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15085
15086 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15087 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15088 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15089 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15090 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15091 __fe_nomask_env_priv and attribute_hidden.
15092 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15093 (libc_feupdateenv_test_ppc): Likewise.
15094 (libc_feresetround_ppc): Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15096 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15097 compat_symbol macro.
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15099 (__fe_nomask_env): Likewise.
15100 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15101
52bb6543
OB
151022013-11-26 Ondřej Bílka <neleai@seznam.cz>
15103
15104 * string/Makefile: Remove ifunc tests.
15105 * string/test-string.h: Define TEST_IFUNC.
15106 * string/test-bcopy-ifunc.c: Remove.
15107 * string/test-bzero-ifunc.c: Likewise.
15108 * string/test-memccpy-ifunc.c: Likewise.
15109 * string/test-memchr-ifunc.c: Likewise.
15110 * string/test-memcmp-ifunc.c: Likewise.
15111 * string/test-memcpy-ifunc.c: Likewise.
15112 * string/test-memmem-ifunc.c: Likewise.
15113 * string/test-memmove-ifunc.c: Likewise.
15114 * string/test-mempcpy-ifunc.c: Likewise.
15115 * string/test-memrchr-ifunc.c: Likewise.
15116 * string/test-memset-ifunc.c: Likewise.
15117 * string/test-rawmemchr-ifunc.c: Likewise.
15118 * string/test-stpcpy-ifunc.c: Likewise.
15119 * string/test-stpncpy-ifunc.c: Likewise.
15120 * string/test-strcasecmp-ifunc.c: Likewise.
15121 * string/test-strcasestr-ifunc.c: Likewise.
15122 * string/test-strcat-ifunc.c: Likewise.
15123 * string/test-strchr-ifunc.c: Likewise.
15124 * string/test-strchrnul-ifunc.c: Likewise.
15125 * string/test-strcmp-ifunc.c: Likewise.
15126 * string/test-strcpy-ifunc.c: Likewise.
15127 * string/test-strcspn-ifunc.c: Likewise.
15128 * string/test-strlen-ifunc.c: Likewise.
15129 * string/test-strncasecmp-ifunc.c: Likewise.
15130 * string/test-strncat-ifunc.c: Likewise.
15131 * string/test-strncmp-ifunc.c: Likewise.
15132 * string/test-strncpy-ifunc.c: Likewise.
15133 * string/test-strnlen-ifunc.c: Likewise.
15134 * string/test-strpbrk-ifunc.c: Likewise.
15135 * string/test-strrchr-ifunc.c: Likewise.
15136 * string/test-strspn-ifunc.c: Likewise.
15137 * string/test-strstr-ifunc.c: Likewise.
15138
ab260039 151392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15140
15141 * benchtests/Makefile: Remove ifunc tests.
15142 * benchtests/bench-string.h: Define TEST_IFUNC.
15143 * benchtests/bench-bcopy-ifunc.c: Remove.
15144 * benchtests/bench-bzero-ifunc.c: Likewise.
15145 * benchtests/bench-memccpy-ifunc.c: Likewise.
15146 * benchtests/bench-memchr-ifunc.c: Likewise.
15147 * benchtests/bench-memcmp-ifunc.c: Likewise.
15148 * benchtests/bench-memcpy-ifunc.c: Likewise.
15149 * benchtests/bench-memmem-ifunc.c: Likewise.
15150 * benchtests/bench-memmove-ifunc.c: Likewise.
15151 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15152 * benchtests/bench-memrchr-ifunc.c: Likewise.
15153 * benchtests/bench-memset-ifunc.c: Likewise.
15154 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15155 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15156 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15157 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15158 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15159 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15160 * benchtests/bench-strcat-ifunc.c: Likewise.
15161 * benchtests/bench-strchr-ifunc.c: Likewise.
15162 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15163 * benchtests/bench-strcmp-ifunc.c: Likewise.
15164 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15165 * benchtests/bench-strcpy-ifunc.c: Likewise.
15166 * benchtests/bench-strcspn-ifunc.c: Likewise.
15167 * benchtests/bench-strlen-ifunc.c: Likewise.
15168 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15169 * benchtests/bench-strncat-ifunc.c: Likewise.
15170 * benchtests/bench-strncmp-ifunc.c: Likewise.
15171 * benchtests/bench-strncpy-ifunc.c: Likewise.
15172 * benchtests/bench-strnlen-ifunc.c: Likewise.
15173 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15174 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15175 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15176 * benchtests/bench-strspn-ifunc.c: Likewise.
15177 * benchtests/bench-strstr-ifunc.c: Likewise.
15178
151792013-11-26 Ondřej Bílka <neleai@seznam.cz>
15180
ab260039
OB
15181 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15182
d1d9eaf4 151832013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15184
d1d9eaf4
OB
15185 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15186 * rt/aio.h: Likewise.
15187 * sysdeps/gnu/bits/utmp.h: Likewise.
15188 * sysdeps/gnu/bits/utmpx.h: Likewise.
15189 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15190 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15191 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15192 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15193 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15194 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15195 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15196 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15197 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15198 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15199 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15200 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15201 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15203 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15204 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15205 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15206 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15207 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15208 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15209 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15210 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15211 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15212 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15213 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15216 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15218 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15219 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15220 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15221 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15222 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15223 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15224 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15225 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15226 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15227 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15228 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15229 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15230 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15231
a7624ed9
CD
152322013-11-25 Carlos O'Donell <carlos@redhat.com>
15233
15234 [BZ #16245]
15235 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15236 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15237
63cfe52b
JM
152382013-11-25 Joseph Myers <joseph@codesourcery.com>
15239
15240 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15241 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15242 Likewise.
15243
41e8926a
AZ
152442013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15245
15246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15247 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15248 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15249 (__fesetround): Remove define.
15250 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15251 rounding and exceptions handling.
15252 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15253 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15254 (__fe_nomask_env): Likewise.
15255 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15256 __fegetround instead of fegetround.
15257 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15258 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15259
6851bd4d
RM
152602013-11-21 Roland McGrath <roland@hack.frob.com>
15261
070906ff
RM
15262 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15263 it's there.
15264
6851bd4d
RM
15265 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15266
84ae135d
MI
152672013-11-21 Meador Inge <meadori@codesourcery.com>
15268
15269 [BZ #11157]
15270 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15271 (encrypt_r): Likewise.
15272 * malloc/obstack.h (obstack_free): Likewise.
15273 * posix/unistd.h (encrypt): Likewise.
15274
daf75146
GM
152752013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15276
15277 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15278 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15279 DL_CALL_DT_FINI() that call the functions directly.
15280 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15281 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15282 * elf/dl-fini.c: Likewise.
15283
10ad46bc
OB
152842013-11-20 Ondřej Bílka <neleai@seznam.cz>
15285
15286 * malloc/hooks.c (memalign_check): Add alignment rounding.
15287 * malloc/malloc.c (_mid_memalign): New function.
15288 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15289 Implement by calling _mid_memalign.
15290 * manual/probes.texi (Memory Allocation Probes): Remove
15291 memory_valloc_retry and memory_pvalloc_retry.
15292
f3fd2628
SP
152932013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15294
4712799f
SP
15295 * locale/programs/locarchive.c (open_archive): Add const
15296 qualifier to ARCHIVEFNAME and copy default fname to
15297 DEFAULT_FNAME.
15298
0417b20f
SP
15299 [BZ #15601]
15300 * libio/tst-widetext.input: Rename Oriya to Odia.
15301 * locale/iso-639.def: Likewise.
15302
f3fd2628
SP
15303 * manual/probes.texi (Mathematical Function Probes): Add
15304 documentation for sin, cos, asin and acos probes.
15305 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15306 (__sin32): Add slowasin probe.
15307 (__cos32): Add slowacos probe.
15308 (__mpsin): Add slowsin probe.
15309 (__mpcos): Add slowcos probe.
15310
73c1ce4f
JM
153112013-11-19 Joseph Myers <joseph@codesourcery.com>
15312
15313 [BZ #15483]
15314 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15315 thread-local __sim_exceptions_thread and global
15316 __sim_exceptions_global.
15317 (__sim_disabled_exceptions): Change to thread-local
15318 __sim_disabled_exceptions_thread and global
15319 __sim_disabled_exceptions_global.
15320 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15321 and global __sim_round_mode_global.
15322 (__simulate_exceptions): Use thread-local floating-point state and
15323 set global state from it as needed.
15324 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15325 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15326 __sim_round_mode_thread.
15327 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15328 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15329 and global __sim_exceptions_global.
15330 (__sim_disabled_exceptions): Change to thread-local
15331 __sim_disabled_exceptions_thread and global
15332 __sim_disabled_exceptions_global.
15333 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15334 and global __sim_round_mode_global.
15335 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15336 (SIM_SET_GLOBAL): Likewise.
15337 * sysdeps/powerpc/soft-fp/sfp-machine.h
15338 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15339 __sim_round_mode_thread.
15340 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15341 __sim_disabled_exceptions_thread.
15342 (__sim_exceptions): Change to __sim_exceptions_thread.
15343 (__sim_disabled_exceptions): Change to
15344 __sim_disabled_exceptions_thread.
15345 (__sim_round_mode): Change to __sim_round_mode_thread.
15346 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15347 thread-local floating-point state and set global state from it as
15348 needed.
15349 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15350 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15351 (__sim_disabled_exceptions): Remove extern declaration.
15352 (feenableexcept): Use thread-local floating-point state and set
15353 global state from it as needed.
15354 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15355 extern declaration.
15356 (__sim_disabled_exceptions): Likewise.
15357 (__sim_round_mode): Likewise.
15358 (__fegetenv): Use thread-local floating-point state.
15359 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15360 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15361 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15362 floating-point state and set global state from it as needed.
15363 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15364 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15365 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15366 Likewise.
15367 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15368 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15369 Likewise.
15370 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15371 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15372 Use __sim_round_mode_thread.
15373 * math/test-fenv-tls.c: New file.
15374 * math/Makefile (tests): Add test-fenv-tls.
15375 ($(objpfx)test-fenv-tls): Depend on
15376 $(common-objpfx)nptl/libpthread.so.
15377
b5449b12
AS
153782013-11-19 Andreas Schwab <schwab@suse.de>
15379
15380 * locale/programs/locale.c (show_info): Decode wordarray elements.
15381 * locale/categories.def (LC_MONETARY): Add element for
15382 _NL_MONETARY_CRNCYSTR.
15383 * locale/C-monetary.c (conversion_rate): New variable.
15384 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15385 element.
15386
e186536b
CM
153872013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15388
15389 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15390 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15391
5c349950
PP
153922013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15393
15394 * elf/Makefile (tst-auxv): New test.
15395 * elf/tst-auxv.c: New
15396 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15397
699df45b
JM
153982013-11-18 Joseph Myers <joseph@codesourcery.com>
15399
15400 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15401 (hidden_proto): Caller changed.
15402 (hidden_tls_proto): New macro.
15403 (libc_hidden_tls_proto): Likewise.
15404 (rtld_hidden_tls_proto): Likewise.
15405 (libm_hidden_tls_proto): Likewise.
15406 (libresolv_hidden_tls_proto): Likewise.
15407 (librt_hidden_tls_proto): Likewise.
15408 (libdl_hidden_tls_proto): Likewise.
15409 (libnss_files_hidden_tls_proto): Likewise.
15410 (libnsl_hidden_tls_proto): Likewise.
15411 (libnss_nisplus_hidden_tls_proto): Likewise.
15412 (libutil_hidden_tls_proto): Likewise.
15413
b7589107
OB
154142013-11-18 Ondřej Bílka <neleai@seznam.cz>
15415
15416 [BZ #10253]
15417 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15418 (decompose_rpath): Defer expansion to fillin_rpath.
15419 (_dl_init_paths): Pass linkmap to fillin_rpath.
15420
250c23bd
RS
154212013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15422
15423 * benchtests/Makefile: Add strsep.
15424 * benchtests/bench-strsep.c: New file: strsep benchtest.
15425 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15426
a7931fcf
AS
154272013-11-18 Andreas Schwab <schwab@suse.de>
15428
15429 * locale/programs/locale.c (show_info) [case byte]: Check for
15430 '\377' instead of '\177'.
15431 * locale/C-monetary.c (not_available): Always use "\377".
15432 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15433 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15434 detect unavailable sign_posn locale elements.
15435 * locale/localeconv.c (__localeconv): For grouping and
15436 mon_grouping handle "\177" and "\377" like no grouping.
15437 (INT_ELEM): New macro. Use it to set all numeric members.
15438 * locale/programs/ld-monetary.c (monetary_read)
15439 <tok_mon_grouping>: Normalize single -1 to the empty string.
15440 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15441 Likewise.
15442
728dab0e
OB
154432013-11-07 Ondřej Bílka <neleai@seznam.cz>
15444
15445 [BZ #16055]
15446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15447 when we match (nil).
15448 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15449
66294491
JM
154502013-11-16 Joseph Myers <joseph@codesourcery.com>
15451
ce665817
JM
15452 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15453 (NO_TEST_INLINE): Update value.
15454 (ERRNO_UNCHANGED): Likewise.
15455 (ERRNO_EDOM): Likewise.
15456 (ERRNO_ERANGE): Likewise.
15457 (IGNORE_RESULT): Likewise.
15458 (check_float_internal): Check signs of NaN results if
15459 TEST_NAN_SIGN used.
15460 (check_complex): Pass TEST_NAN_SIGN flag through to second
15461 check_float_internal call.
15462 (copysign_test_data): Add tests with quiet NaNs as second
15463 argument. Use TEST_NAN_SIGN.
15464 (fabs_test_data): Add test of negative quiet NaN argument. Use
15465 TEST_NAN_SIGN.
15466 (signbit_test_data): Add tests of quiet NaN argument.
15467 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15468
ee1466a9
JM
15469 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15470 $ignore_result.
15471 (parse_args): Handle function results specified as IGNORE.
15472 * math/libm-test.inc (IGNORE_RESULT): New macro.
15473 (check_float_internal): Do not check numerical result if flag
15474 IGNORE_RESULT set.
15475 (check_complex): Pass through IGNORE_RESULT to second
15476 check_float_internal call.
15477 (check_int): Do not check numerical result if flag IGNORE_RESULT
15478 set.
15479 (check_long): Likewise.
15480 (check_bool): Likewise.
15481 (check_longlong): Likewise.
15482 (lrint_test_data): Add tests of infinite and NaN arguments.
15483 (lrint_tonearest_test_data): Likewise.
15484 (lrint_towardzero_test_data): Likewise.
15485 (lrint_downward_test_data): Likewise.
15486 (lrint_upward_test_data): Likewise.
15487 (llrint_test_data): Likewise.
15488 (llrint_tonearest_test_data): Likewise.
15489 (llrint_towardzero_test_data): Likewise.
15490 (llrint_downward_test_data): Likewise.
15491 (llrint_upward_test_data): Likewise.
15492 (lround_test_data): Likewise.
15493 (llround_test_data): Likewise.
15494
14407b7e
JM
15495 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15496 (ERRNO_UNCHANGED): Update value.
15497 (ERRNO_EDOM): Likewise.
15498 (ERRNO_ERANGE): Likewise.
15499 (NO_TEST_INLINE_FLOAT): New macro.
15500 (NO_TEST_INLINE_DOUBLE): Likewise.
15501 (enable_test): New function.
15502 (RUN_TEST_f_f): Check enable_test before running test.
15503 (RUN_TEST_2_f): Likewise.
15504 (RUN_TEST_fff_f): Likewise.
15505 (RUN_TEST_c_f): Likewise.
15506 (RUN_TEST_f_f1): Likewise.
15507 (RUN_TEST_fF_f1): Likewise.
15508 (RUN_TEST_fI_f1): Likewise.
15509 (RUN_TEST_ffI_f1): Likewise.
15510 (RUN_TEST_c_c): Likewise.
15511 (RUN_TEST_cc_c): Likewise.
15512 (RUN_TEST_f_i): Likewise.
15513 (RUN_TEST_f_i_tg): Likewise.
15514 (RUN_TEST_ff_i_tg): Likewise.
15515 (RUN_TEST_f_b): Likewise.
15516 (RUN_TEST_f_b_tg): Likewise.
15517 (RUN_TEST_f_l): Likewise.
15518 (RUN_TEST_f_L): Likewise.
15519 (RUN_TEST_fFF_11): Likewise.
15520 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15521 conditionals.
15522 (cosh_test_data): Likewise.
15523 (exp_test_data): Likewise.
15524 (expm1_test_data): Likewise.
15525 (hypot_test_data): Likewise.
15526 (pow_test_data): Likewise.
15527 (sinh_test_data): Likewise.
15528 (tanh_test_data): Likewise.
15529 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15530 flags argument.
15531
ca07f197
JM
15532 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15533 tests with quiet NaN input and output.
15534 (acosh_test_data): Likewise.
15535 (asin_test_data): Likewise.
15536 (asinh_test_data): Likewise.
15537 (atan_test_data): Likewise.
15538 (atanh_test_data): Likewise.
15539 (atan2_test_data): Likewise.
15540 (cbrt_test_data): Likewise.
15541 (cos_test_data): Likewise.
15542 (cosh_test_data): Likewise.
15543 (erf_test_data): Likewise.
15544 (erfc_test_data): Likewise.
15545 (exp_test_data): Likewise.
15546 (exp10_test_data): Likewise.
15547 (exp2_test_data): Likewise.
15548 (expm1_test_data): Likewise.
15549 (hypot_test_data): Likewise.
15550 (j0_test_data): Likewise.
15551 (j1_test_data): Likewise.
15552 (jn_test_data): Likewise.
15553 (lgamma_test_data): Likewise.
15554 (log_test_data): Likewise.
15555 (log10_test_data): Likewise.
15556 (log1p_test_data): Likewise.
15557 (log2_test_data): Likewise.
15558 (pow_test_data): Likewise.
15559 (scalb_test_data): Likewise.
15560 (sin_test_data): Likewise.
15561 (sincos_test_data): Likewise.
15562 (sinh_test_data): Likewise.
15563 (tan_test_data): Likewise.
15564 (tanh_test_data): Likewise.
15565 (tgamma_test_data): Likewise.
15566 (y0_test_data): Likewise.
15567 (y1_test_data): Likewise.
15568 (yn_test_data): Likewise.
15569
66294491
JM
15570 [BZ #16167]
15571 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15572 argument being NaN and avoid computations with second argument in
15573 that case.
15574 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15575 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15576 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15577
1820b143
CL
155782013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15579
15580 * locale/iso-639.def: Add Chitwani Tharu (the).
15581
714bd261
AS
155822013-11-14 Andreas Schwab <schwab@suse.de>
15583
15584 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15585 word instead of empty string.
15586
7ab44563
AZ
155872013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15588
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15590 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15592 (__fe_nomask_env): Likewise.
15593
e8470ea2
SE
155942013-11-13 Steve Ellcey <sellcey@mips.com>
15595
15596 * benchtests/bench-timing.h: Include time.h.
15597
17c1d9f0
L
155982013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15599
15600 [BZ #15997]
15601 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15602 to 3.4.0 for x32.
15603 * sysdeps/unix/sysv/linux/configure: Regenerated.
15604
9310c284
JM
156052013-11-13 Joseph Myers <joseph@codesourcery.com>
15606
15607 [BZ #16151]
15608 * stdlib/strtod_l.c (round_and_return): Do not consider
15609 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15610 exponent one less than half the least subnormal exponent.
15611 * stdlib/test-strtod-round-data: Add more tests.
15612 * stdlib/tst-strtod-round.c (tests): Regenerated.
15613
7a2ad8cf
AZ
156142013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15615
15616 [BZ #14143]
15617 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15618 (__fe_mask_env): Likewise.
15619 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15620 libm_hidden_proto and add function prototype.
15621 (__fe_mask_env): Add function prototype.
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15623 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15625 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15627 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15628
50727aa7
MS
156292013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15630
b2f386c1 15631 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
15632 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15633
a615be46
MS
156342013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15635
15636 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15637 of htab_find_slot().
15638
7ddace62
DM
156392013-11-11 David S. Miller <davem@davemloft.net>
15640
15641 [BZ #16150]
15642 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15643 symbol in the non-vis3 case in static builds.
15644 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15645 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15646 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15647 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15648
9182aa67
JK
156492013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15650
15651 [BZ #387]
15652 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15653 it is empty.
15654
450a2e2d
AZ
156552013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15656
b2f386c1
SP
15657 * benchtests/Makefile: Add bench-strtod.
15658 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 15659
8ec3f656
AS
156602013-11-11 Andreas Schwab <schwab@suse.de>
15661
15662 [BZ #16153]
15663 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15664 terminating NUL in key length.
15665
76a9b998
AZ
156662013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15667
15668 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15669 Add artificial ODP entry for vDSO symbol for PPC64.
15670 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15671 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15672
e4368156
OB
156732013-11-07 Ondřej Bílka <neleai@seznam.cz>
15674
15675 [BZ #15374]
15676 * nss/getent.c (services_keys): Recognize services starting with digit.
15677
8d6bb57c
DM
156782013-11-06 David S. Miller <davem@davemloft.net>
15679
15680 [BZ #15985]
15681 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15682 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15683
e256c421
WN
156842013-11-06 Will Newton <will.newton@linaro.org>
15685
15686 * manual/memory.texi (Malloc Examples): Remove register
15687 keyword from examples.
15688
f6e12daa 156892013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 15690
f6e12daa 15691 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 15692
9d880655
AS
156932013-11-04 Joseph Myers <joseph@codesourcery.com>
15694
fd2f9486 15695 [BZ #6981]
9d880655
AS
15696 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15697 depending on [__GCC_IEC_559 > 0].
15698 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15699 depending on [__GCC_IEC_559_COMPLEX > 0].
15700
ae129d3c
CL
157012013-11-03 Chris Leonard <cjl@sugarlabs.org>
15702
15703 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15704 to iso-639.def.
15705
4a15c2a4 157062013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
15707
15708 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15709
8b35e35d
OB
157102013-11-01 Ondřej Bílka <neleai@seznam.cz>
15711
15712 [BZ #16112]
15713 * malloc/malloc (malloc_info): Do not handle first bin as
15714 special case.
15715
1d70fd6c
CL
157162013-11-01 Chris Leonard <cjl@sugarlabs.org>
15717
15718 * locale/iso-639.def: Add Central Nahuatl (nhn).
15719
8c5c2600
BH
157202013-11-01 Bruno Haible <bruno@clisp.org>
15721
15722 [BZ #7003]
15723 * manual/math.texi (BSD Random): Specify range upper bound as
15724 in POSIX.
15725
da5579c2
CL
157262013-10-31 Chris Leonard <cjl@sugarlabs.org>
15727
15728 * locale/iso-639.def: Add Meadow Mari (mhr).
15729
5d30d853
OB
157302013-10-31 Ondřej Bílka <neleai@seznam.cz>
15731
15732 [BZ #14752], [BZ #15763]
15733 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15734 Validate name.
15735 * rt/tst_shm.c: Add test for escaping directory.
15736
a4966c61
AS
157372013-10-31 Andreas Schwab <schwab@suse.de>
15738
8a43e768 15739 [BZ #15917]
a4966c61
AS
15740 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15741 followed by 'x' as part of digit sequence.
15742 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15743
28d708c4
MAP
157442013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15745
15746 [BZ #16037]
15747 * configure.ac: allow GNU Make 4.0 and greater.
15748 * configure: Regenerated.
15749
a56ee40b
WN
157502013-10-30 Will Newton <will.newton@linaro.org>
15751
15752 [BZ #16038]
15753 * malloc/hooks.c (memalign_check): Limit alignment to the
15754 maximum representable power of two.
15755 * malloc/malloc.c (__libc_memalign): Likewise.
15756 * malloc/tst-memalign.c (do_test): Add test for very
15757 large alignment values.
15758 * malloc/tst-posix_memalign.c (do_test): Likewise.
15759
c6e4925d
OB
157602013-10-30 Ondřej Bílka <neleai@seznam.cz>
15761
15762 [BZ #11087]
15763 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15764 (munmap_chunk): Likewise.
15765 (mremap_chunk): Likewise.
15766
157672013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 15768
8a43e768 15769 [BZ #15799]
bbea82f7
OB
15770 * stdlib/div.c (div): Remove obsolete code.
15771 * stdlib/ldiv.c (ldiv): Likewise.
15772 * stdlib/lldiv.c (lldiv): Likewise.
15773
977f4b31
SP
157742013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15775
15776 [BZ #16071]
15777 * nss/nss_files/files-XXX.c (get_contents_ret): New
15778 enumerator.
15779 (get_contents): New function.
15780 (internal_getent): Use it. Expand size of LINEBUFLEN.
15781
cb8a6dbd
MF
157822013-10-30 Mike Frysinger <vapier@gentoo.org>
15783
15784 * configure.in: Moved to ...
15785 * configure.ac: ... here. Change reference to configure.in
15786 to configure.ac.
15787 * sysdeps/arm/preconfigure.ac: ... here.
15788 configure.in to configure.ac.
15789 * sysdeps/gnu/configure.in: Moved to ...
15790 * sysdeps/gnu/configure.ac: ... here.
15791 * sysdeps/i386/configure.in: Moved to ...
15792 * sysdeps/i386/configure.ac: ... here.
15793 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15794 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15795 * sysdeps/mach/configure.in: Moved to ...
15796 * sysdeps/mach/configure.ac: ... here.
15797 * sysdeps/mach/hurd/configure.in: Moved to ...
15798 * sysdeps/mach/hurd/configure.ac: ... here.
15799 * sysdeps/powerpc/configure.in: Moved to ...
15800 * sysdeps/powerpc/configure.ac: ... here.
15801 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15802 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15803 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15804 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15805 * sysdeps/s390/s390-32/configure.in: Moved to ...
15806 * sysdeps/s390/s390-32/configure.ac: ... here.
15807 * sysdeps/s390/s390-64/configure.in: Moved to ...
15808 * sysdeps/s390/s390-64/configure.ac: ... here.
15809 * sysdeps/sh/configure.in: Moved to ...
15810 * sysdeps/sh/configure.ac: ... here.
15811 * sysdeps/sparc/configure.in: Moved to ...
15812 * sysdeps/sparc/configure.ac: ... here.
15813 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15814 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15815 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15816 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15817 * sysdeps/x86_64/configure.in: Moved to ...
15818 * sysdeps/x86_64/configure.ac: ... here.
15819 * sysdeps/x86_64/preconfigure.in: Moved to ...
15820 * sysdeps/x86_64/preconfigure.ac: ... here.
15821 * aclocal.m4: Change reference to configure.in to configure.ac.
15822 * config.h.in: Likewise.
15823 * manual/install.texi: Likewise.
15824 * manual/maint.texi: Likewise.
15825 * Makefile: Likewise.
15826 * malloc/Makefile: Likewise.
15827 * nscd/Makefile: Likewise.
15828 * Makeconfig: Change reference to configure.in and
15829 preconfigure.in to configure.ac and preconfigure.ac
15830 respectively.
15831 * INSTALL: Regenerated.
15832 * configure: Likewise.
15833 * sysdeps/gnu/configure: Likewise.
15834 * sysdeps/i386/configure: Likewise.
15835 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15836 * sysdeps/mach/configure: Likewise.
15837 * sysdeps/mach/hurd/configure: Likewise.
15838 * sysdeps/powerpc/configure: Likewise.
15839 * sysdeps/powerpc/powerpc32/configure: Likewise.
15840 * sysdeps/powerpc/powerpc64/configure: Likewise.
15841 * sysdeps/s390/s390-32/configure: Likewise.
15842 * sysdeps/s390/s390-64/configure: Likewise.
15843 * sysdeps/sh/configure: Likewise.
15844 * sysdeps/sparc/configure: Likewise.
15845 * sysdeps/unix/sysv/linux/configure: Likewise.
15846 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15847 * sysdeps/x86_64/configure: Likewise.
15848 * sysdeps/x86_64/preconfigure: Likewise.
15849
36a4953a
AS
158502013-10-29 Andreas Schwab <schwab@suse.de>
15851
15852 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15853
c79a1204
SP
158542013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15855
dfa1b402
SP
15856 * benchtests/pow-inputs: Add new inputs.
15857
54f73d9c
SP
15858 * benchtests/exp-inputs: Add new inputs.
15859
c79a1204
SP
15860 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15861 conditional check for return value.
15862 (__cos32): Likewise.
15863
67beb545 158642013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15865
15866 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15867 to provide a boost for large inputs with word alignment.
15868 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15869 implementation based on optimized PPC64 strcpy.
15870 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15871 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15872 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15873 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15874
151659f6
OB
158752013-10-25 Ondřej Bílka <neleai@seznam.cz>
15876
482a077e 15877 [BZ #2801]
151659f6
OB
15878 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15879
10b0f26b
OB
158802013-10-25 Ondřej Bílka <neleai@seznam.cz>
15881
15882 [BZ #14876]
15883 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15884 * time/tst-strptime.c (day_tests): Add testcase.
15885
ca42d35e
OB
158862013-10-25 Ondřej Bílka <neleai@seznam.cz>
15887
482a077e 15888 [BZ #14029]
ca42d35e
OB
15889 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15890
52e6d801
FB
158912013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15892
15893 [BZ #16074]
15894 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15895 MAP_FAILED on error.
15896
7cbcdb36
SP
158972013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15898
15899 [BZ #16072]
15900 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15901 heap for large requests.
15902
894f3f10
AM
159032013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15904
15905 [BZ #9954]
15906 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15907 result if the result has no associated interface.
15908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15909 interface for all 127.X.Y.Z addresses.
15910
b85545a6
CL
159112013-10-24 Chris Leonard <cjl@sugarlabs.org>
15912
15913 * locale/iso-639.def: Add Ligurian (lij)
15914
d1f23d46
OB
159152013-10-21 Ondřej Bílka <neleai@seznam.cz>
15916
15917 [BZ #15825]
15918 * sunrpc/rpc_main.c: Document rpcgen -5.
15919
4db5b08f
MS
159202013-10-19 Michael Stahl <mstahl@redhat.com>
15921
15922 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15923
a471e96a
OB
159242013-10-19 Ondřej Bílka <neleai@seznam.cz>
15925
d1f23d46 15926 [BZ #10278]
a471e96a
OB
15927 * posix/glob.c: Match only directories when trailing slash is present.
15928 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15929 (main): Add testcase.
15930
45c30c61
OB
159312013-10-19 Ondřej Bílka <neleai@seznam.cz>
15932
15933 [BZ #15670]
15934 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15935
484c12fb
CD
159362013-10-18 Carlos O'Donell <carlos@redhat.com>
15937
3d7dc513
CD
15938 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15939 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15940 AUTH_DES and cindex for FIPS 140-2.
15941 (DES Encryption): Add cindex FIPS 46-3.
15942
484c12fb
CD
15943 * locale/locarchive.h (struct locarhandle): Add fname.
15944 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15945 if an optional argument was specified to --list-archive,
15946 otherwise NULL.
15947 * locale/programs/locarchive.c (show_archive_content): Take new
15948 argument fname and pass it via ah.fname to open_archive.
15949 * locale/programs/localedef.h: Update decl.
15950 (open_archive): If AH->fname is non-null, open that file
15951 rather than the default file name, and don't ignore ENOENT.
15952 (create_archive): Set AH.fname to NULL.
15953 (delete_locales_from_archive): Likewise.
15954 (add_locales_to_archive): Likewise.
15955 * locale/programs/locfile.c (write_all_categories): Likewise.
15956
3c8325fb
JM
159572013-10-18 Joseph Myers <joseph@codesourcery.com>
15958 Aldy Hernandez <aldyh@redhat.com>
15959
15960 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15961 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15962 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15963 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15964 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15965 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15966 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15967 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15968 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15969 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15971 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15972 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15973 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15974 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15975 Likewise.
15976 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15977 Likewise.
15978 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15979 Likewise.
15980 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15981 Likewise.
15982 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15983 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15984 Likewise.
15985 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15986 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15987 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15988 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15989 Likewise.
15990 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15991 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15992 * sysdeps/powerpc/preconfigure: Likewise.
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15994 Likewise.
15995 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15996 Replace contents of file by #include of <fenv_libc.h>.
15997 * sysdeps/powerpc/soft-fp/sfp-machine.h
15998 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15999 and <sys/prctl.h>.
16000 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16001 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16002 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16003 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16004 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16013 Allow copysignl PLT reference to be missing.
16014
5abe0682
RS
160152013-10-18 Richard Sandiford <richard@codesourcery.com>
16016 Joseph Myers <joseph@codesourcery.com
16017
16018 [BZ #15948]
16019 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16020 single character.
16021 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16022
c7738d08
SP
160232013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16024
16025 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16026 * elf/tst-tls1.c: Likewise.
16027 * elf/tst-tls10.h: Likewise.
16028 * elf/tst-tls14.c: Likewise.
16029 * elf/tst-tls2.c: Likewise.
16030 * elf/tst-tls3.c: Likewise.
16031 * elf/tst-tls4.c: Likewise.
16032 * elf/tst-tls5.c: Likewise.
16033 * elf/tst-tls6.c: Likewise.
16034 * elf/tst-tls7.c: Likewise.
16035 * elf/tst-tls8.c: Likewise.
16036 * elf/tst-tls9.c: Likewise.
16037 * elf/tst-tlsmod1.c: Likewise.
16038 * elf/tst-tlsmod13.c: Likewise.
16039 * elf/tst-tlsmod13a.c: Likewise.
16040 * elf/tst-tlsmod14a.c: Likewise.
16041 * elf/tst-tlsmod16a.c: Likewise.
16042 * elf/tst-tlsmod16b.c: Likewise.
16043 * elf/tst-tlsmod2.c: Likewise.
16044 * elf/tst-tlsmod3.c: Likewise.
16045 * elf/tst-tlsmod4.c: Likewise.
16046 * elf/tst-tlsmod5.c: Likewise.
16047 * elf/tst-tlsmod6.c: Likewise.
16048
0bfcf2c7
OB
160492013-10-18 Ondřej Bílka <neleai@seznam.cz>
16050
16051 [BZ #12486]
16052 * malloc/malloc.c: remove checks for statistics.
16053
264aad1e
OB
160542013-10-17 Ondřej Bílka <neleai@seznam.cz>
16055
16056 [BZ #15277]
16057 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16058 * inet/tst-network.c: Add testcase.
16059
b957ced8
AS
160602013-10-17 Andreas Schwab <schwab@suse.de>
16061
16062 [BZ #15218]
16063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16064 to determine canonical name.
16065
c5d5d574
OB
160662013-10-17 Ondřej Bílka <neleai@seznam.cz>
16067
16068 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16069 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16071 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16073 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16074 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16075 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16076 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16077 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16078 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16079 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16080 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16081 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16082 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16083 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16085 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16086 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16087 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16091 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16092 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16093 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16094 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16095 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16097 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16098 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16126
e5c2c2d0
JM
161272013-10-17 Joseph Myers <joseph@codesourcery.com>
16128
16129 [BZ #16041]
16130 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16131 make result into a quiet NaN.
16132
51ca9e29
JM
161332013-10-16 Joseph Myers <joseph@codesourcery.com>
16134
16135 * soft-fp/adddf3.c: Fix horizontal whitespace.
16136 * soft-fp/addsf3.c: Likewise.
16137 * soft-fp/addtf3.c: Likewise.
16138 * soft-fp/divdf3.c: Likewise.
16139 * soft-fp/divsf3.c: Likewise.
16140 * soft-fp/divtf3.c: Likewise.
16141 * soft-fp/double.h: Likewise.
16142 * soft-fp/eqdf2.c: Likewise.
16143 * soft-fp/eqsf2.c: Likewise.
16144 * soft-fp/eqtf2.c: Likewise.
16145 * soft-fp/extenddftf2.c: Likewise.
16146 * soft-fp/extended.h: Likewise.
16147 * soft-fp/extendsfdf2.c: Likewise.
16148 * soft-fp/extendsftf2.c: Likewise.
16149 * soft-fp/extendxftf2.c: Likewise.
16150 * soft-fp/fixdfdi.c: Likewise.
16151 * soft-fp/fixdfsi.c: Likewise.
16152 * soft-fp/fixdfti.c: Likewise.
16153 * soft-fp/fixsfdi.c: Likewise.
16154 * soft-fp/fixsfsi.c: Likewise.
16155 * soft-fp/fixsfti.c: Likewise.
16156 * soft-fp/fixtfdi.c: Likewise.
16157 * soft-fp/fixtfsi.c: Likewise.
16158 * soft-fp/fixtfti.c: Likewise.
16159 * soft-fp/fixunsdfdi.c: Likewise.
16160 * soft-fp/fixunsdfsi.c: Likewise.
16161 * soft-fp/fixunsdfti.c: Likewise.
16162 * soft-fp/fixunssfdi.c: Likewise.
16163 * soft-fp/fixunssfsi.c: Likewise.
16164 * soft-fp/fixunssfti.c: Likewise.
16165 * soft-fp/fixunstfdi.c: Likewise.
16166 * soft-fp/fixunstfsi.c: Likewise.
16167 * soft-fp/fixunstfti.c: Likewise.
16168 * soft-fp/floatdidf.c: Likewise.
16169 * soft-fp/floatdisf.c: Likewise.
16170 * soft-fp/floatditf.c: Likewise.
16171 * soft-fp/floatsidf.c: Likewise.
16172 * soft-fp/floatsisf.c: Likewise.
16173 * soft-fp/floatsitf.c: Likewise.
16174 * soft-fp/floattidf.c: Likewise.
16175 * soft-fp/floattisf.c: Likewise.
16176 * soft-fp/floattitf.c: Likewise.
16177 * soft-fp/floatundidf.c: Likewise.
16178 * soft-fp/floatundisf.c: Likewise.
16179 * soft-fp/floatunditf.c: Likewise.
16180 * soft-fp/floatunsidf.c: Likewise.
16181 * soft-fp/floatunsisf.c: Likewise.
16182 * soft-fp/floatunsitf.c: Likewise.
16183 * soft-fp/floatuntidf.c: Likewise.
16184 * soft-fp/floatuntisf.c: Likewise.
16185 * soft-fp/floatuntitf.c: Likewise.
16186 * soft-fp/fmadf4.c: Likewise.
16187 * soft-fp/fmasf4.c: Likewise.
16188 * soft-fp/fmatf4.c: Likewise.
16189 * soft-fp/gedf2.c: Likewise.
16190 * soft-fp/gesf2.c: Likewise.
16191 * soft-fp/getf2.c: Likewise.
16192 * soft-fp/ledf2.c: Likewise.
16193 * soft-fp/lesf2.c: Likewise.
16194 * soft-fp/letf2.c: Likewise.
16195 * soft-fp/muldf3.c: Likewise.
16196 * soft-fp/mulsf3.c: Likewise.
16197 * soft-fp/multf3.c: Likewise.
16198 * soft-fp/negdf2.c: Likewise.
16199 * soft-fp/negsf2.c: Likewise.
16200 * soft-fp/negtf2.c: Likewise.
16201 * soft-fp/op-1.h: Likewise.
16202 * soft-fp/op-2.h: Likewise.
16203 * soft-fp/op-4.h: Likewise.
16204 * soft-fp/op-8.h: Likewise.
16205 * soft-fp/op-common.h: Likewise.
16206 * soft-fp/quad.h: Likewise.
16207 * soft-fp/single.h: Likewise.
16208 * soft-fp/soft-fp.h: Likewise.
16209 * soft-fp/sqrtdf2.c: Likewise.
16210 * soft-fp/sqrtsf2.c: Likewise.
16211 * soft-fp/sqrttf2.c: Likewise.
16212 * soft-fp/subdf3.c: Likewise.
16213 * soft-fp/subsf3.c: Likewise.
16214 * soft-fp/subtf3.c: Likewise.
16215 * soft-fp/truncdfsf2.c: Likewise.
16216 * soft-fp/trunctfdf2.c: Likewise.
16217 * soft-fp/trunctfsf2.c: Likewise.
16218 * soft-fp/trunctfxf2.c: Likewise.
16219 * soft-fp/unorddf2.c: Likewise.
16220 * soft-fp/unordsf2.c: Likewise.
16221 * soft-fp/unordtf2.c: Likewise.
16222
9ebb0332
JM
162232013-10-15 Joseph Myers <joseph@codesourcery.com>
16224
16225 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16226 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16227
4b1a6d8b
OB
162282013-10-15 Ondřej Bílka <neleai@seznam.cz>
16229
16230 * elf/dl-libc.c: Clear initfini list after freeing.
16231
1e145589
JM
162322013-10-14 Joseph Myers <joseph@codesourcery.com>
16233
16234 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16235 * soft-fp/addsf3.c: Likewise.
16236 * soft-fp/addtf3.c: Likewise.
16237 * soft-fp/divdf3.c: Likewise.
16238 * soft-fp/divsf3.c: Likewise.
16239 * soft-fp/divtf3.c: Likewise.
16240 * soft-fp/double.h: Likewise.
16241 * soft-fp/eqdf2.c: Likewise.
16242 * soft-fp/eqsf2.c: Likewise.
16243 * soft-fp/eqtf2.c: Likewise.
16244 * soft-fp/extenddftf2.c: Likewise.
16245 * soft-fp/extended.h: Likewise.
16246 * soft-fp/extendsfdf2.c: Likewise.
16247 * soft-fp/extendsftf2.c: Likewise.
16248 * soft-fp/extendxftf2.c: Likewise.
16249 * soft-fp/fixdfdi.c: Likewise.
16250 * soft-fp/fixdfsi.c: Likewise.
16251 * soft-fp/fixdfti.c: Likewise.
16252 * soft-fp/fixsfdi.c: Likewise.
16253 * soft-fp/fixsfsi.c: Likewise.
16254 * soft-fp/fixsfti.c: Likewise.
16255 * soft-fp/fixtfdi.c: Likewise.
16256 * soft-fp/fixtfsi.c: Likewise.
16257 * soft-fp/fixtfti.c: Likewise.
16258 * soft-fp/fixunsdfdi.c: Likewise.
16259 * soft-fp/fixunsdfsi.c: Likewise.
16260 * soft-fp/fixunsdfti.c: Likewise.
16261 * soft-fp/fixunssfdi.c: Likewise.
16262 * soft-fp/fixunssfsi.c: Likewise.
16263 * soft-fp/fixunssfti.c: Likewise.
16264 * soft-fp/fixunstfdi.c: Likewise.
16265 * soft-fp/fixunstfsi.c: Likewise.
16266 * soft-fp/fixunstfti.c: Likewise.
16267 * soft-fp/floatdidf.c: Likewise.
16268 * soft-fp/floatdisf.c: Likewise.
16269 * soft-fp/floatditf.c: Likewise.
16270 * soft-fp/floatsidf.c: Likewise.
16271 * soft-fp/floatsisf.c: Likewise.
16272 * soft-fp/floatsitf.c: Likewise.
16273 * soft-fp/floattidf.c: Likewise.
16274 * soft-fp/floattisf.c: Likewise.
16275 * soft-fp/floattitf.c: Likewise.
16276 * soft-fp/floatundidf.c: Likewise.
16277 * soft-fp/floatundisf.c: Likewise.
16278 * soft-fp/floatunsidf.c: Likewise.
16279 * soft-fp/floatunsisf.c: Likewise.
16280 * soft-fp/floatuntidf.c: Likewise.
16281 * soft-fp/floatuntisf.c: Likewise.
16282 * soft-fp/floatuntitf.c: Likewise.
16283 * soft-fp/fmadf4.c: Likewise.
16284 * soft-fp/fmasf4.c: Likewise.
16285 * soft-fp/fmatf4.c: Likewise.
16286 * soft-fp/gedf2.c: Likewise.
16287 * soft-fp/gesf2.c: Likewise.
16288 * soft-fp/getf2.c: Likewise.
16289 * soft-fp/ledf2.c: Likewise.
16290 * soft-fp/lesf2.c: Likewise.
16291 * soft-fp/letf2.c: Likewise.
16292 * soft-fp/muldf3.c: Likewise.
16293 * soft-fp/mulsf3.c: Likewise.
16294 * soft-fp/multf3.c: Likewise.
16295 * soft-fp/negdf2.c: Likewise.
16296 * soft-fp/negsf2.c: Likewise.
16297 * soft-fp/negtf2.c: Likewise.
16298 * soft-fp/op-1.h: Likewise.
16299 * soft-fp/op-2.h: Likewise.
16300 * soft-fp/op-4.h: Likewise.
16301 * soft-fp/op-8.h: Likewise.
16302 * soft-fp/op-common.h: Likewise.
16303 * soft-fp/quad.h: Likewise.
16304 * soft-fp/single.h: Likewise.
16305 * soft-fp/soft-fp.h: Likewise.
16306 * soft-fp/sqrtdf2.c: Likewise.
16307 * soft-fp/sqrtsf2.c: Likewise.
16308 * soft-fp/sqrttf2.c: Likewise.
16309 * soft-fp/subdf3.c: Likewise.
16310 * soft-fp/subsf3.c: Likewise.
16311 * soft-fp/subtf3.c: Likewise.
16312 * soft-fp/truncdfsf2.c: Likewise.
16313 * soft-fp/trunctfdf2.c: Likewise.
16314 * soft-fp/trunctfsf2.c: Likewise.
16315 * soft-fp/trunctfxf2.c: Likewise.
16316 * soft-fp/unorddf2.c: Likewise.
16317 * soft-fp/unordsf2.c: Likewise.
16318 * soft-fp/unordtf2.c: Likewise.
16319
17c48a60
OB
163202013-10-14 Ondřej Bílka <neleai@seznam.cz>
16321
16322 [BZ #15672]
16323 * misc/error.c (error_tail): Fix possible buffer overflow.
16324
cabba934
OB
163252013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16326
16327 [BZ #13028]
16328 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16329 address.
16330
94bf958a
PM
163312013-10-14 P. J. McDermott <pj@pehjota.net>
16332
16333 [BZ #832]
16334 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16335 testing pipefail option.
16336
71b4dea7
JM
163372013-10-12 Joseph Myers <joseph@codesourcery.com>
16338
16339 * soft-fp/double.h: Indent preprocessor directives inside #if.
16340 * soft-fp/extended.h: Likewise.
16341 * soft-fp/op-2.h: Likewise.
16342 * soft-fp/op-4.h: Likewise.
16343 * soft-fp/op-common.h: Likewise.
16344 * soft-fp/quad.h: Likewise.
16345 * soft-fp/single.h: Likewise.
16346 * soft-fp/soft-fp.h: Likewise.
16347
55602758
YC
163482013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16349
16350 * iconv/iconv_prog.c: Fix typos.
16351 * stdio-common/psiginfo-data.h: Likewise.
16352
9cd83302
RT
163532013-10-12 Reuben Thomas <rrt@sc3d.org>
16354
16355 [BZ #15764]
16356 * locale/setlocale.c: Fix typo.
16357
99fd9f47
JM
163582013-10-12 Joseph Myers <joseph@codesourcery.com>
16359
b7ea74f0
JM
16360 [BZ #16036]
16361 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16362 signaling NaN arguments.
16363 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16364 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16365
8a509447
JM
16366 [BZ #14910]
16367 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16368 unordered operands.
16369 * soft-fp/gesf2.c (__gesf2): Likewise.
16370 * soft-fp/getf2.c (__getf2): Likewise.
16371 * soft-fp/ledf2.c (__ledf2): Likewise.
16372 * soft-fp/lesf2.c (__lesf2): Likewise.
16373 * soft-fp/letf2.c (__letf2): Likewise.
16374
98998e9f
JM
16375 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16376 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16377 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16378 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16379 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16380 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16381 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16382 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16383 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16384 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16385 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16386 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16387 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16388 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16389 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16390 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16391 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16392 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16393 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16394 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16395 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16396 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16397 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16398 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16399 * soft-fp/floattidf.c (__floattidf): Likewise.
16400 * soft-fp/floattisf.c (__floattisf): Likewise.
16401 * soft-fp/floattitf.c (__floattitf): Likewise.
16402 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16403 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16404 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16405 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16406 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16407 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16408 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16409 * soft-fp/gesf2.c (__gesf2): Likewise.
16410 * soft-fp/getf2.c (__getf2): Likewise.
16411 * soft-fp/ledf2.c (__ledf2): Likewise.
16412 * soft-fp/lesf2.c (__lesf2): Likewise.
16413 * soft-fp/letf2.c (__letf2): Likewise.
16414
8edc4a11
JM
16415 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16416 Undefine and redefine.
16417 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16418 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16419 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16420 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16421 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16422 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16423 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16424 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16425 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16426 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16427 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16428 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16429 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16430 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16431 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16432
8399acaf
JM
16433 [BZ #16032]
16434 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16435 without decrementing exponent if mantissa >= that for the
16436 denominator, not >.
16437 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16438 denominator, not >. Decrement exponent in < case instead of
16439 incrementing in >= case.
16440 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16441 without decrementing exponent if mantissa >= that for the
16442 denominator, not >.
16443
99fd9f47
JM
16444 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16445 computing saturated result for unsigned overflow.
16446
10e1cf6b
SP
164472013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16448 Jeff Law <law@redhat.com>
16449
16450 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16451 (atan2Mp): Add systemtap probe marker.
16452 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16453 (__ieee754_log): Add systemtap probe marker.
16454 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16455 (atanMp): Add systemtap probe marker.
16456 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16457 (tanMp): Add systemtap probe marker.
16458 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16459 (__slowexp): Add systemtap probe marker.
16460 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16461 (__slowpow): Add systemtap probe marker.
16462 * manual/probes.texi: Document probes.
16463
3d110c7c
EB
164642013-10-11 Eric Biggers <ebiggers3@gmail.com>
16465
16466 [BZ #15362]
16467 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16468 written.
16469 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16470 written.
16471 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16472 written to buffer but not flushed.
16473 * libio/iofwrite_u.c: Likewise.
16474 * libio/iopadn.c: Return bytes returned even if EOF was
16475 encountered.
16476 * libio/iowpadn.c: Likewise.
16477 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16478 if _IO_padn does not write the whole buffer.
16479 [!COMPILE_WPRINTF] (PAD): Likewise.
16480
75b4202a
DM
164812013-10-10 David S. Miller <davem@davemloft.net>
16482
16483 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16484 directory block.
16485
6c6352e6
JM
164862013-10-10 Joseph Myers <joseph@codesourcery.com>
16487
33b853c3
JM
16488 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16489 instead of FSF address.
16490 * soft-fp/fixdfti.c: Likewise.
16491 * soft-fp/fixsfti.c: Likewise.
16492 * soft-fp/fixtfti.c: Likewise.
16493 * soft-fp/fixunsdfti.c: Likewise.
16494 * soft-fp/fixunssfti.c: Likewise.
16495 * soft-fp/fixunstfti.c: Likewise.
16496 * soft-fp/floattidf.c: Likewise.
16497 * soft-fp/floattisf.c: Likewise.
16498 * soft-fp/floattitf.c: Likewise.
16499 * soft-fp/floatuntidf.c: Likewise.
16500 * soft-fp/floatuntisf.c: Likewise.
16501 * soft-fp/floatuntitf.c: Likewise.
16502 * soft-fp/trunctfxf2.c: Likewise.
16503
6c6352e6
JM
16504 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16505 * soft-fp/fixdfti.c: Likewise.
16506 * soft-fp/fixsfti.c: Likewise.
16507 * soft-fp/fixtfti.c: Likewise.
16508 * soft-fp/fixunsdfti.c: Likewise.
16509 * soft-fp/fixunssfti.c: Likewise.
16510 * soft-fp/fixunstfti.c: Likewise.
16511 * soft-fp/floattidf.c: Likewise.
16512 * soft-fp/floattisf.c: Likewise.
16513 * soft-fp/floattitf.c: Likewise.
16514 * soft-fp/floatuntidf.c: Likewise.
16515 * soft-fp/floatuntisf.c: Likewise.
16516 * soft-fp/floatuntitf.c: Likewise.
16517 * soft-fp/trunctfxf2.c: Likewise.
16518
3bf78b71
DM
165192013-10-10 David S. Miller <davem@davemloft.net>
16520
16521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16522
6f10289e
JM
165232013-10-10 Joseph Myers <joseph@codsourcery.com>
16524
bd878fc0
JM
16525 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16526 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16527 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16528 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16529 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16530 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16531 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16532
6f10289e
JM
16533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16534 for NaNs before doing comparisons on argument.
16535 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16536 Likewise.
16537
321e2684
WN
165382013-10-10 Will Newton <will.newton@linaro.org>
16539
16540 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16541 passed to _int_memalign does not overflow.
16542
40fefba1
TR
165432013-10-10 Torvald Riegel <triegel@redhat.com>
16544
16545 * scripts/bench.pl: Add include-sources directive.
16546 * benchtests/README: Update documentation.
16547
2ae21ed2
JM
165482013-10-10 Joseph Myers <joseph@codesourcery.com>
16549
dcc2dd3f
JM
16550 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16551 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16552 instead of FP_INIT_ROUNDMODE.
16553 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16554 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16555
2ae21ed2
JM
16556 [BZ #16034]
16557 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16558 copy class of input value.
16559 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16560 not handle exceptions.
16561 * soft-fp/negsf2.c (__negsf2): Likewise.
16562 * soft-fp/negtf2.c (__negtf2): Likewise.
16563 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16564
cb8f9562
JM
165652013-10-09 Joseph Myers <joseph@codesourcery.com>
16566
16567 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16568 semicolon. From Linux kernel.
16569
5b60c59d
AB
165702013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16571
16572 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16573
b86835ca
YC
165742013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16575
16576 [BZ #156]
16577 * manual/socket.texi: Added statement about buffer
16578 for gethostbyname2_r.
16579
e7044ea7
OB
165802013-10-08 Ondřej Bílka <neleai@seznam.cz>
16581
16582 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16583 Use .p2align directive instead, throughout.
16584 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16585 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16586 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16587 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16589 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16590 * sysdeps/x86_64/strchr.S: Likewise.
16591 * sysdeps/x86_64/strrchr.S: Likewise.
16592
09544cbc
SP
165932013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16594
88576635
SP
16595 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16596
e7b2d1dd
SP
16597 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16598
09544cbc
SP
16599 * sysdeps/generic/math_private.h (__mpsin1): Remove
16600 declaration.
16601 (__mpcos1): Likewise.
16602 (__mpsin): New argument __range_reduce.
16603 (__mpcos): Likewise.
16604 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16605 (slow): Use __mpsin and __mpcos.
16606 (slow1): Likewise.
16607 (slow2): Likewise.
16608 (sloww): Likewise.
16609 (sloww1): Likewise.
16610 (sloww2): Likewise.
16611 (bsloww): Likewise.
16612 (bsloww1): Likewise.
16613 (bsloww2): Likewise.
16614 (cslow2): Likewise.
16615 (csloww): Likewise.
16616 (csloww1): Likewise.
16617 (csloww2): Likewise.
16618 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16619 range_reduce. Merge in __mpsin1.
16620 (__mpcos): Likewise.
16621 (__mpsin1): Remove.
16622 (__mpcos1): Likewise.
16623
7602d070
JM
166242013-10-07 Joseph Myers <joseph@codesourcery.com>
16625
16626 * locale/loadlocale.c (_nl_intern_locale_data): Use
16627 LOCFILE_ALIGNED_P.
16628 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16629 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16630 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16631 obstack data is appropriately aligned.
16632 (obstack_int32_grow_fast): Likewise.
16633 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16634 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16635 (add_locale_uint32_array): Likewise.
16636
a357259b
SP
166372013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16638
16639 * benchtests/Makefile: Remove ARGLIST and RET variables.
16640 ($(objpfx)bench-%.c): Pass only function name to the script.
16641 * benchtests/README: Update documentation.
16642 * benchtests/acos-inputs: Add new directives.
16643 * benchtests/acosh-inputs: Likewise.
16644 * benchtests/asin-inputs: Likewise.
16645 * benchtests/asinh-inputs: Likewise.
16646 * benchtests/atan-inputs: Likewise.
16647 * benchtests/atanh-inputs: Likewise.
16648 * benchtests/cos-inputs: Likewise.
16649 * benchtests/cosh-inputs: Likewise.
16650 * benchtests/exp-inputs: Likewise.
16651 * benchtests/log-inputs: Likewise.
16652 * benchtests/pow-inputs: Likewise.
16653 * benchtests/rint-inputs: Likewise.
16654 * benchtests/sin-inputs: Likewise.
16655 * benchtests/sinh-inputs: Likewise.
16656 * benchtests/tan-inputs: Likewise.
16657 * benchtests/tanh-inputs: Likewise.
16658 * scripts/bench.pl: Add support for new directives.
16659
9ec1b13d
AM
166602013-10-07 Alan Modra <amodra@gmail.com>
16661
16662 * README: Fix careless merge.
16663
8b7d57cd
AM
166642013-10-05 Alan Modra <amodra@gmail.com>
16665
16666 * NEWS: Mention powerpc64le support and bugs fixed.
16667 * README: Both big-endian and little-endian powerpc64 supported.
16668
7b7bab13
ST
166692013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16670
57f41c40
AS
16671 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16672 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
16673 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16674 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16675
d39baad1
RA
166762013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16677
16678 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16679 match prototype.
16680
cd78f7e7
JM
166812013-10-04 Joseph Myers <joseph@codesourcery.com>
16682
29d73d86
JM
16683 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16684 Move -mhard-float appending from
16685 ports/sysdeps/powerpc/powerpc32/Makefile.
16686 [$(with-fp) = yes] (ASFLAGS): Likewise.
16687 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16688 * sysdeps/powerpc/nofpu: Move directory from
16689 ports/sysdeps/powerpc/nofpu.
16690 * sysdeps/powerpc/soft-fp: Move directory from
16691 ports/sysdeps/powerpc/soft-fp.
16692 * sysdeps/powerpc/powerpc32/405: Move directory from
16693 ports/sysdeps/powerpc/powerpc32/405.
16694 * sysdeps/powerpc/powerpc32/440: Move directory from
16695 ports/sysdeps/powerpc/powerpc32/440.
16696 * sysdeps/powerpc/powerpc32/464: Move directory from
16697 ports/sysdeps/powerpc/powerpc32/464.
16698 * sysdeps/powerpc/powerpc32/476: Move directory from
16699 ports/sysdeps/powerpc/powerpc32/476.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16701 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16703 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16705 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16707 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16709 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16710 * README: Update for powerpc-*-linux-gnu software floating point
16711 support in libc.
16712
e246b347
JM
16713 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16714 case to powerpc/powerpc32*.
16715 * sysdeps/unix/sysv/linux/configure: Regenerated.
16716
89c2003e
JM
16717 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16718 (_FPU_MASK_OM): Define as 0x04.
16719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16721 0x00c10080.
16722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16723 0x0000003c.
16724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16725
cd78f7e7
JM
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16727 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16728 getcontext_e500.
16729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16730 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16731 setcontext_e500.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16733 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16734 and setcontext_e500.
16735
c755294d
CL
167362013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16737
16738 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16739
e16d221c
SP
167402013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16741
16742 * manual/threads.texi (Default Thread Attributes): Fix typo.
16743
215c7d43
WN
167442013-10-04 Will Newton <will.newton@linaro.org>
16745
16746 * malloc/Makefile: Add tst-memalign.
16747 * malloc/tst-memalign.c: New file.
16748
27d0461b
WN
16749 * malloc/tst-posix_memalign.c: Add comments.
16750 (do_test): Add comments and call free on all potentially
16751 allocated pointers. Add space after cast.
16752
1bc92709
WN
16753 * malloc/tst-pvalloc.c: Add comments.
16754 (do_test): Add comments and call free on all potentially
16755 allocated pointers. Remove duplicate check for NULL pointer.
16756 Add space after cast.
16757
66a9be9d
WN
16758 * malloc/tst-valloc.c: Add comments.
16759 (do_test): Add comments and call free on all potentially
16760 allocated pointers. Remove duplicate check for NULL pointer.
16761 Add space after cast.
16762
4cb81307
AM
167632013-10-04 Alan Modra <amodra@gmail.com>
16764
16765 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16766 Use stdint types in rather than __attribute__((mode())).
16767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16768
f8e3e9f3
AM
167692013-10-04 Alan Modra <amodra@gmail.com>
16770
16771 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16772 Correct handling of unaligned relocs for little-endian.
16773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16774
8f9ebb08
AM
167752013-10-04 Alan Modra <amodra@gmail.com>
16776
16777 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16778 * configure: Regenerate.
16779 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16780 * shlib-versions: Likewise.
16781
0edf96c2
AM
167822013-10-04 Alan Modra <amodra@gmail.com>
16783
16784 * string/tester.c (test_memrchr): Increment reported test cycle.
16785
e0f7a380
AM
167862013-10-04 Alan Modra <amodra@gmail.com>
16787
16788 * string/test-memcpy.c (do_one_test): When reporting errors, print
16789 string address and don't overrun end of string.
16790
466b0393
AM
167912013-10-04 Alan Modra <amodra@gmail.com>
16792
16793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16794 insrdi. Make better use of reg selection to speed exit slightly.
16795 Schedule entry path a little better. Remove useless "are we done"
16796 checks on entry to main loop. Handle wrapping around zero address.
16797 Correct main loop count. Handle single left-over word from main
16798 loop inline rather than by using loop_small. Remove extra word
16799 case in loop_small caused by wrong loop count. Add little-endian
16800 support.
16801 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16802 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16803 cache hint.
16804 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16805 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16806 support. Avoid rlwimi.
16807 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16808
3be87c77
AM
168092013-10-04 Alan Modra <amodra@gmail.com>
16810
16811 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16812 insrdi. Formatting.
3be87c77
AM
16813 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16814 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16815 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16816 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16817 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16818 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16819
759cfef3
AM
168202013-10-04 Alan Modra <amodra@gmail.com>
16821
16822 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16823 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16824 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16826 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16827 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16829 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16830 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16831 use of regs. Use power7 mtocrf. Tidy function tails.
16832
fe6e95d7
AM
168332013-10-04 Alan Modra <amodra@gmail.com>
16834
16835 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16836 Formatting. Consistently use rXXX register defines or rN defines.
16837 Use early exit labels that avoid restoring unused non-volatile regs.
16838 Make cr field use more consistent with rWORDn compares. Rename
16839 regs used as shift registers for unaligned loop, using rN defines
16840 for short lifetime/multiple use regs.
16841 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16843 addi 1,1,64 to pop stack frame. Simplify return value code.
16844 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16845
664318c3
AM
168462013-10-04 Alan Modra <amodra@gmail.com>
16847
16848 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16849 support. Correct typos, formatting. Optimize tail. Use insrdi
16850 rather than rlwimi.
16851 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16853 little-endian support. Correct typos.
16854 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16855 rather than rlwimi.
16856 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16857 in loop and entry code to keep "and." results.
16858 (strchr): Add little-endian support. Comment. Move cntlzd
16859 earlier in tail.
16860 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16861
43b84013
AM
168622013-10-04 Alan Modra <amodra@gmail.com>
16863
16864 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16865 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16866 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16867 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16868
8a7413f9
AM
168692013-10-04 Alan Modra <amodra@gmail.com>
16870
16871 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16872 (rTMP): Define as r11.
16873 (strcmp): Add little-endian support. Optimise tail.
16874 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16875 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16876 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16877 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16880 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16881
33ee81de
AM
168822013-10-04 Alan Modra <amodra@gmail.com>
16883
16884 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16885 little-endian support. Remove unnecessary "are we done" tests.
16886 Handle "s" wrapping around zero and extremely large "size".
16887 Correct main loop count. Handle single left-over word from main
16888 loop inline rather than by using small_loop. Correct comments.
16889 Delete "zero" tail, use "end_max" instead.
16890 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16891
db9b4570
AM
168922013-10-04 Alan Modra <amodra@gmail.com>
16893
16894 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16895 support. Don't branch over align.
16896 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16897 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16898 support. Rearrange tmp reg use to suit. Comment.
16899 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16900
f7c399cf
AM
169012013-10-04 Alan Modra <amodra@gmail.com>
16902
16903 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16904
0b2c2ace
AM
169052013-10-04 Alan Modra <amodra@gmail.com>
16906
16907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16908 conditional form of branch and link when obtaining pc.
16909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16910
02f04a6c
AM
169112013-10-04 Alan Modra <amodra@gmail.com>
16912
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16914 HIWORD/LOWORD.
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16917
9b874b2f
AM
169182013-10-04 Alan Modra <amodra@gmail.com>
16919
16920 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16921 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16922 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16923 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16924 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16925 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16926 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16927 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16928 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16929 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16930
be1e5d31
AB
169312013-10-04 Anton Blanchard <anton@au1.ibm.com>
16932 Alistair Popple <alistair@ozlabs.au.ibm.com>
16933 Alan Modra <amodra@gmail.com>
16934
16935 [BZ #15723]
16936 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16937 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16938 _dl_hwcap access for little-endian.
16939 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16940 destroy vmx regs when saving unaligned.
16941 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16942 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16943 destroy vmx regs when saving unaligned.
16944
fef13a78
AM
169452013-10-04 Alan Modra <amodra@gmail.com>
16946
16947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16948 Don't use a union to pack hi/low value.
16949
76a66d51
AB
169502013-10-04 Anton Blanchard <anton@au1.ibm.com>
16951
16952 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16953 for little-endian.
16954 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16956 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16957 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16959
6a31fe7f
AM
169602013-10-04 Alan Modra <amodra@gmail.com>
16961
16962 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16963 constants to usual value for .cst8 section, and remove redundant
16964 high address load.
16965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16966 constant for 0x1p52. Load little-endian words of double from
16967 correct stack offsets.
16968
7b88401f
AM
169692013-10-04 Alan Modra <amodra@gmail.com>
16970
16971 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16972 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16973 words of double from correct stack offsets.
16974 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16975 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16976 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16977 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16978 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16980 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16981 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16982 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16984 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16985 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16986 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16987 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16988 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16989 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16990 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16991
9c008155
AM
169922013-10-04 Alan Modra <amodra@gmail.com>
16993
16994 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16995 64-bit int/double union.
16996 (_FPU_SETCW): Likewise.
16997 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16998 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16999
da13146d
AM
170002013-10-04 Alan Modra <amodra@gmail.com>
17001
17002 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17003 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17004
603e8410
AM
170052013-10-04 Alan Modra <amodra@gmail.com>
17006
17007 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17008 use vector int constants.
17009 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17010
4a28b3ca
AB
170112013-10-04 Anton Blanchard <anton@au1.ibm.com>
17012
17013 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17014 array with long long.
17015 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17016 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17017 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17018 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17019 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17020 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17021 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17022 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17023 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17024 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17025 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17026 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17027 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17028
2ca85d2b
AB
170292013-10-04 Anton Blanchard <anton@au1.ibm.com>
17030
17031 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17032 (__signbit): Likewise. Correct for little-endian.
17033 (__signbitl): Call __signbit.
17034 (lrint): Correct for little-endian.
17035 (lrintf): Call lrint.
17036
62a728ae
AM
170372013-10-04 Alan Modra <amodra@gmail.com>
17038
17039 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17040 union 32-bit int array member with 64-bit int array.
17041 (t515, tm256): Double rather than long double.
17042 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17043
32c301df
AM
170442013-10-04 Alan Modra <amodra@gmail.com>
17045
17046 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17047 Delete.
17048 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17050 version of math_ldbl.h.
17051
650ef4bd
AM
170522013-10-04 Alan Modra <amodra@gmail.com>
17053
17054 [BZ #15734], [BZ #15735]
17055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17056 all uses of ieee875 long double macros and unions. Simplify test
17057 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17058 ldbl_extract_mantissa value for ix,iy exponents. Properly
17059 normalize after ldbl_extract_mantissa, and don't add hidden bit
17060 already handled. Don't treat low word of ieee854 mantissa like
17061 low word of IBM long double and mask off bit when testing for
17062 zero.
17063 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17064 all uses of ieee875 long double macros and unions. Simplify tests
17065 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17066 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17067 two1022, instead use their values. Recognise that tests for large
17068 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17069 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17070 Rewrite all uses of ieee875 long double macros and unions. Simplify
17071 test for 0.0L and nan. Correct negation.
17072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17073 ieee875 long double macros and unions. Correct output for large
17074 magnitude x. Correct absolute value calculation.
17075 (__erfcl): Likewise.
17076 * math/libm-test.inc: Add tests for errors discovered in IBM long
17077 double versions of fmodl, remainderl, erfl and erfcl.
17078
765714ca
AM
170792013-10-04 Alan Modra <amodra@gmail.com>
17080
17081 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17082 all uses of ieee854 long double macros and unions. Simplify tests
17083 for long doubles that are fully specified by the high double.
17084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17085 Likewise.
17086 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17087 Remove dead code too.
17088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17089 (__ieee754_ynl): Likewise.
17090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17091 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17093 Remove dead code too.
17094 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17097 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17098 Simplify.
17099 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17100 Simplify.
17101 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17103 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17104 Comment on variable precision.
17105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17107 Likewise.
17108 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17109 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17111 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17112 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17113
4ebd120c
AM
171142013-10-04 Alan Modra <amodra@gmail.com>
17115
17116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17117 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17118 all uses of ieee854 long double macros and unions.
17119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17121 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17122 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17123 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17124 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17125 Likewise.
17126 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17127 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17128 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17129 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17131 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17132 Simplify sign and nan test too.
17133 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17134 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17135 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17136 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17137 Likewise.
17138 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17139 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17140 Likewise.
17141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17142 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17143 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17144 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17145 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17147
1b6adf88
AM
171482013-10-04 Alan Modra <amodra@gmail.com>
17149
17150 * stdio-common/printf_size.c (__printf_size): Don't use
17151 union ieee854_long_double in fpnum union.
17152 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17153 signbit macro to retrieve sign from long double.
17154 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17155 retrieve sign from long double.
17156 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17157 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17158 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17159 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17160 * math/test-misc.c (main): Don't use union ieee854_long_double.
17161
4cf69995
AM
171622013-10-04 Alan Modra <amodra@gmail.com>
17163
17164 [BZ #15680]
17165 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17166 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17167 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17168 calculation. Remove unnecessary test for denormal exponent.
17169 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17170 Correct handling of denormals. Avoid undefined shift behaviour.
17171 Correct normalisation of low mantissa when low double is denormal.
17172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17173 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17174 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17175 Correct normalisation of low mantissa. Test for overflow of high
17176 mantissa and normalise.
17177 (ldbl_nearbyint): Use more readable constant for two52.
17178 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17179 (__mpn_construct_long_double): Fix test for overflow of high
17180 mantissa and correct normalisation. Avoid undefined shift.
17181
9605ca6c
AM
171822013-10-04 Alan Modra <amodra@gmail.com>
17183
17184 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17185 (union ibm_extended_long_double): Define as an array of ieee754_double.
17186 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17187 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17188 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17189 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17193 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17197
975569d0
JM
171982013-10-03 Joseph Myers <joseph@codesourcery.com>
17199
d3d23756
JM
17200 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17201 page size instead of calling getpagesize.
17202
975569d0
JM
17203 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17204 (LOCFILE_ALIGN_MASK): Likewise.
17205 (LOCFILE_ALIGN_UP): Likewise.
17206 (LOCFILE_ALIGNED_P): Likewise.
17207 * locale/programs/ld-collate.c (collate_output): Use the new
17208 macros instead of __alignof__ (int32_t).
17209 * locale/weight.h (findidx): Likewise.
17210
b1fe1f2b
OB
172112013-10-03 Ondřej Bílka <neleai@seznam.cz>
17212
17213 [BZ #431]
17214 * manual/string.texi: Fix strncat and wcsncat.
17215
5f855e35
BM
172162013-10-03 Brooks Moses <bmoses@google.com>
17217
17218 [BZ #15915]
17219 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17220 * Makerules: ...here, and adjust associated comments.
17221
3cef6009
WN
172222013-10-02 Will Newton <will.newton@linaro.org>
17223
17224 * malloc/Makefile: Add tst-pvalloc.
17225 * malloc/tst-pvalloc.c: New file.
17226
7815420b
WN
172272013-10-02 Will Newton <will.newton@linaro.org>
17228
17229 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17230 improve test coverage.
17231
4868b204
WN
172322013-10-02 Will Newton <will.newton@linaro.org>
17233
17234 * malloc/Makefile: Add tst-posix_memalign.
17235 * malloc/tst-posix_memalign.c: New file.
17236
29c793b3
EB
172372013-10-01 Eric Blake <eblake@redhat.com>
17238
17239 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17240 Use __THROWNL rather than __THROW on static functions.
17241
fd967522
PM
172422013-09-30 Petr Machata <pmachata@redhat.com>
17243
17244 * elf/elf.h (R_AARCH64_ABS16): New macro.
17245 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17246 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17247 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17248 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17249 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17250 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17251 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17252 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17253 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17254 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17255 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17256 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17257 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17258 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17259 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17260 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17261 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17262 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17263 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17264 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17265 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17266 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17267 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17268 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17269 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17270 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17271 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17272 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17273 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17274 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17275 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17276 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17277 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17278 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17279 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17280 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17281 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17282 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17283 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17284 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17285 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17286 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17287 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17288 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17289 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17290 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17291 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17292 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17293 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17294 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17295 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17296 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17297 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17298 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17299 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17300 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17301 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17302 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17303 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17304 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17305 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17306 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17307 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17308 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17309 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17310 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17311 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17312 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17313 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17314 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17315 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17316 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17317 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17318 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17319 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17320 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17321 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17322 (R_AARCH64_TLSDESC_LDR): Likewise.
17323 (R_AARCH64_TLSDESC_ADD): Likewise.
17324 (R_AARCH64_TLSDESC_CALL): Likewise.
17325
b2179107
AS
173262013-09-30 Andreas Schwab <schwab@suse.de>
17327
17328 [BZ #15048]
17329 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17330 the nss database lookup.
17331 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17333
47f28d0a
MF
173342013-09-28 Mike Frysinger <vapier@gentoo.org>
17335
17336 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17337
173382013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17339
17340 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17341 ${Bash-specific parameter/pattern/string} parameter expansion.
17342 * sysdeps/unix/make-syscalls.sh: Likewise.
17343
f4518a17
KK
173442013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17345
17346 * sysdeps/sh/stackguard-macros.h: New file.
17347
dc1a95c7
OB
173482013-09-26 Ondřej Bílka <neleai@seznam.cz>
17349
17350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17352 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17353 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17354 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17355 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17356
5ebbff8f
AZ
173572013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17358
17359 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17360 Fix thread ID register.
17361
4fd2cf9f
JM
173622013-09-25 Joseph Myers <joseph@codesourcery.com>
17363
17364 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17365 [POSIX || UNIX98]: Require rather than permitting all symbols from
17366 <time.h>.
17367 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17368 element of struct sched_param.
17369 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17370 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17371 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17372 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17373 constant.
17374
12c22bc4
OL
173752013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17376
17377 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17378 argument calculation.
17379
a03d8ea7
JM
173802013-09-24 Joseph Myers <joseph@codesourcery.com>
17381
17382 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17383 Expect macro.
17384 [POSIX] (pthread_attr_t): Do not require type.
17385 [POSIX] (pthread_cond_t): Likewise.
17386 [POSIX] (pthread_condattr_t): Likewise.
17387 [POSIX] (pthread_key_t): Likewise.
17388 [POSIX] (pthread_mutex_t): Likewise.
17389 [POSIX] (pthread_mutexattr_t): Likewise.
17390 [POSIX] (pthread_once_t): Likewise.
17391 [POSIX] (pthread_t): Likewise.
17392 [POSIX-based standards] (pthread_atfork): Expect function.
17393
6055173a
JM
173942013-09-24 Joseph Myers <joseph@codesourcery.com>
17395 Richard Sandiford <richard@codesourcery.com>
17396
17397 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17398 (swap_endianness_p): New extern variable.
17399 (set_big_endian): New inline function.
17400 (maybe_swap_uint32): Likewise.
17401 (maybe_swap_uint32_array): Likewise.
17402 (maybe_swap_uint32_obstack): Likewise.
17403 * locale/programs/locfile.c: Include <stdbool.h>.
17404 (swap_endianness_p): New variable.
17405 (add_locale_uint32): Call maybe_swap_uint32.
17406 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17407 (write_locale_data): Call maybe_swap_uint32_array.
17408 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17409 maybe_swap_uint32.
17410 (obstack_int32_grow_fast): Likewise.
17411 (output_weightwc): Call maybe_swap_uint32_obstack.
17412 (collate_output): Likewise.
17413 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17414 (OPT_LITTLE_ENDIAN): Likewise.
17415 (options): Add --little-endian and --big-endian options.
17416 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17417 * locale/programs/locarchive.c: Include "locfile.h".
17418 (GET): New macro.
17419 (SET): Likewise.
17420 (INC): Likewise.
17421 (create_archive): Use the new macros to access fields of
17422 structures directly mapped from or written to locale archives.
17423 (oldlocrecentcmp): Likewise.
17424 (enlarge_archive): Likewise.
17425 (insert_name): Likewise.
17426 (add_alias): Likewise.
17427 (add_locale): Likewise.
17428 (delete_locales_from_archive): Likewise.
17429 (show_archive_content): Likewise.
17430 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17431 locale data.
17432
39bf0bb4
RM
174332013-09-24 Roland McGrath <roland@hack.frob.com>
17434
17435 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17436 http://www.gnu.org/doc/freemanuals.texi.
17437 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17438
f02eed10
WN
174392013-09-24 Will Newton <will.newton@linaro.org>
17440
17441 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17442 macro.
17443
a3a6c312
JM
174442013-09-23 Joseph Myers <joseph@codesourcery.com>
17445
17446 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17447 unsigned char.
17448
107375ac
MR
174492013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17450
17451 * manual/threads.texi (POSIX Threads): Fix a typo.
17452
141f3a77
SP
174532013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17454
303e567a
SP
17455 [BZ #14547]
17456 * string/tst-strcoll-overflow.c: New test case.
17457 * string/Makefile (xtests): Add tst-strcoll-overflow.
17458 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17459 cache if string sizes may cause integer overflow.
17460
141f3a77
SP
17461 [BZ #14547]
17462 * string/strcoll_l.c (coll_seq): New members rule, idx,
17463 save_idx and back_us.
17464 (get_next_seq_nocache): New function.
17465 (do_compare_nocache): New function.
17466 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17467 when malloc fails.
17468
c61b4d41
CD
174692013-09-23 Carlos O'Donell <carlos@redhat.com>
17470
0b1f8e35
CD
17471 [BZ #15754]
17472 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17473 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17474 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17475
c61b4d41
CD
17476 [BZ #15754]
17477 * elf/Makefile (tests): Add tst-ptrguard1.
17478 (tests-static): Add tst-ptrguard1-static.
17479 (tst-ptrguard1-ARGS): Define.
17480 (tst-ptrguard1-static-ARGS): Define.
17481 * elf/tst-ptrguard1.c: New file.
17482 * elf/tst-ptrguard1-static.c: New file.
17483 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17484 * sysdeps/i386/stackguard-macros.h: Likewise.
17485 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17486 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17487 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17488 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17489 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17490 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17491
174922013-09-23 Hector Marco <hecmargi@upv.es>
17493 Ismael Ripoll <iripoll@disca.upv.es>
17494 Carlos O'Donell <carlos@redhat.com>
17495
17496 [BZ #15754]
17497 * sysdeps/generic/stackguard-macros.h: Define
17498 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17499 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17500 Define __pointer_chk_guard_local.
17501 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17502 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17503
f5f4e7b4
VV
175042013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17505
17506 [BZ #15859]
17507 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17508
5bb43a43
AS
175092013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17510
17511 * include/string.h (__ffs): Declare as hidden.
17512 * string/ffs.c (__ffs): Define as hidden.
17513 * sysdeps/i386/ffs.c (__ffs): Likewise.
17514 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17515 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17516 * sysdeps/s390/ffs.c (__ffs): Likewise.
17517 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17518
3ea5be54
AO
175192013-09-20 Alexandre Oliva <aoliva@redhat.com>
17520
ffb89e53
AO
17521 * NEWS: Mention malloc probes.
17522
322dea08
AO
17523 * malloc/arena.c (new_heap): New memory_heap_new probe.
17524 (grow_heap): New memory_heap_more probe.
17525 (shrink_heap): New memory_heap_less probe.
17526 (heap_trim): New memory_heap_free probe.
17527 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17528 (systrim): New memory_sbrk_less probe.
17529 * manual/probes.texi: Document them.
17530
655673f3
AO
17531 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17532 * manual/probes.texi: Document it.
17533
35fed6f1
AO
17534 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17535 (__libc_realloc): Add memory_realloc_retry probe.
17536 (__libc_memalign): Add memory_memalign_retry probe.
17537 (__libc_valloc): Add memory_valloc_retry probe.
17538 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17539 (__libc_calloc): Add memory_calloc_retry probe.
17540 * manual/probes.texi: Document them.
17541
6999d38c
AO
17542 * malloc/arena.c (get_free_list): Add probe
17543 memory_arena_reuse_free_list.
17544 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17545 and memory_arena_reuse.
17546 (arena_get2) [!PER_THREAD]: Likewise.
17547 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17548 memory_arena_reuse_realloc.
17549 * manual/probes.texi: Document them.
17550
0653427f
AO
17551 * malloc/malloc.c (__libc_free): Add
17552 memory_mallopt_free_dyn_thresholds probe.
17553 (__libc_mallopt): Add multiple memory_mallopt probes.
17554 * manual/probes.texi: Document them.
17555
3ea5be54
AO
17556 * malloc/malloc.c: Include stap-probe.h.
17557 (__libc_mallopt): Add memory_mallopt probe.
17558 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17559 * manual/probes.texi: New.
17560 * manual/Makefile (chapters): Add probes.
17561 * manual/threads.texi: Set next node.
17562
e35696c3 175632013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 17564
e35696c3
CL
17565 [BZ #15963, #13985]
17566 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17567 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17568 Add `Chinese' to `nan' entry name.
17569
4aafb73c
SP
175702013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17571
17572 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17573 (POLYNOMIAL): Likewise.
17574 (TAYLOR_SINCOS): Likewise.
17575 (TAYLOR_SLOW): Likewise.
17576 (__sin): Use TAYLOR_SINCOS.
17577 (__cos): Likewise.
17578 (slow): Use TAYLOR_SLOW.
17579 (sloww): Likewise.
17580 (bsloww): Likewise.
17581 (csloww): Likewise.
17582
d84f25c7
LD
175832013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17584
17585 * stdlib/strtod_l.c: Fix buffer overrun.
17586
5eea0404
SP
175872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17588
7849ff93
SP
17589 * benchtests/Makefile (bench): Add sincos.
17590 * benchtests/bench-sincos.c: New file.
17591
cfa3c886
SP
17592 * math/libm-test.inc (cos_test_data): New test inputs.
17593 (sin_test_data): Likewise.
17594
b348e1e3
SP
17595 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17596 macro.
17597 (__sin): Use it.
17598 (__cos): Likewise.
17599 (slow1): Likewise.
17600 (slow2): Likewise.
17601 (sloww1): Likewise.
17602 (sloww2): Likewise.
17603 (bsloww1): Likewise.
17604 (bsloww2): Likewise.
17605 (cslow2): Likewise.
17606 (csloww1): Likewise.
17607 (csloww2): Likewise.
17608
6cce25f8
SP
17609 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17610 function.
17611 (__sin): Use it.
17612 (__cos): Likewise.
17613
5eea0404
SP
17614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17615 gotos.
17616 (__cos): Likewise.
17617
9c21573c
MR
176182013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17619
17620 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17621 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17622 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17623 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17624 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17625 * elf/cache.c (print_entry): Handle the new cache flags.
17626
24d22e65
JM
176272013-09-18 Joseph Myers <joseph@codesourcery.com>
17628 Aldy Hernandez <aldyh@redhat.com>
17629
17630 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17631 Change condition to [_SOFT_FLOAT].
17632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17644 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17647 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17648 declaration.
17649
d13ef066
JM
176502013-09-18 Joseph Myers <joseph@codesourcery.com>
17651
2e071de0
JM
17652 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17653 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17654 (__longjmp): Use LOAD_GP to load saved GPRs.
17655 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17656 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17657 (__sigsetjmp): Use SAVE_GP to save GPRs.
17658
d13ef066
JM
17659 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17660 Do not append -msoft-float.
17661 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17662
97a0650b
SP
176632013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17664
17665 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17666
11ca09e9
JM
176672013-09-17 Joseph Myers <joseph@codesourcery.com>
17668
17669 [BZ #15966]
17670 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17671 (_FPU_GETCW): Use initial "__" on variable and field names but not
17672 on macro parameter name.
17673 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17674 parentheses around reference to macro parameter.
17675
08ffcf34
RS
176762013-09-13 Richard Sandiford <richard@codesourcery.com>
17677
17678 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17679 prototype.
17680 (ctype_startup): Use uint32_t in cast and sizeof for
17681 ctype->charnames.
17682
ae7080d3
JL
176832013-09-11 Jia Liu <proljc@gmail.com>
17684
17685 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17686 __daddr_t_defined.
17687 [__FreeBSD__]: Likewise.
17688
5905e7b3
OB
176892013-09-11 Ondřej Bílka <neleai@seznam.cz>
17690
17691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17692 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17693 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17694 (strchr): Remove __strchr_sse42 ifunc selection.
17695 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17696 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17697
b987c776
WN
176982013-09-11 Will Newton <will.newton@linaro.org>
17699
17700 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17701 parameter to RES. Remove hardcoded 1000 value.
17702 * benchtests/bench-skeleton.c (main): Pass RES parameter
17703 to TIMING_INIT and multiply result by 1000.
17704
ddf985af
AZ
177052013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17706
17707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17708
ffdd3181
AS
177092013-09-11 Andreas Schwab <schwab@suse.de>
17710
17711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17712 if not defined.
17713 (O_TMPFILE) [__USE_GNU]: Define.
17714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17715 Define.
17716
b73ed247
WN
177172013-09-11 Will Newton <will.newton@linaro.org>
17718
17719 [BZ #15857]
17720 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17721 does not overflow.
17722
55e17aad
WN
177232013-09-11 Will Newton <will.newton@linaro.org>
17724
17725 [BZ #15856]
17726 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17727 does not overflow.
17728
1159a193
WN
177292013-09-11 Will Newton <will.newton@linaro.org>
17730
17731 [BZ #15855]
17732 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17733 does not overflow.
17734
5905e7b3 177352013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
17736
17737 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17738 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17742
cdfc721b
AM
177432013-09-10 Allan McRae <allan@archlinux.org>
17744
aa04af00
AM
17745 [BZ #15748]
17746 * manual/arith.texi (Parsing of Floats): Clarify
17747 cross-reference.
17748
cdfc721b
AM
17749 [BZ #15849]
17750 * manual/install.texi (Running make install): Mention
17751 --enable-pt-chown.
17752 * INSTALL: Regenerated.
17753
95e7cf29
MR
177542013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17755
17756 * csu/init-first.c (_init): Remove the !SHARED condition around
17757 FPU control word initialization.
17758 * elf/dl-support.c (_dl_fpu_control): New variable.
17759 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17760 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17761 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17762 * math/test-fpucw-static.c: New file.
17763 * math/test-fpucw-ieee.c: New file.
17764 * math/test-fpucw-ieee-static.c: New file.
17765 * math/Makefile (tests): Add `test-fpucw-ieee' and
17766 `$(tests-static)'.
17767 (tests-static): New variable.
17768 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17769 dependency to...
17770 [($(build-shared),yes)]
17771 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17772 ... this.
17773 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17774 New dependency.
17775
83e43bf0
AM
177762013-09-09 Allan McRae <allan@archlinux.org>
17777
a9f5ce09
AM
17778 [BZ #15939]
17779 * manual/string.texi (Collation Functions): Fix typo in
17780 strcoll example.
17781 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17782
34829bc2
AM
17783 [BZ #15893]
17784 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17785
3932737d
AM
17786 [BZ #15892]
17787 * libio/memstream.c (open_memstream): Fix memory leak.
17788 * libio/wmemstream.c (open_wmemstream): Likewise.
17789
83e43bf0
AM
17790 [BZ #15895]
17791 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17792
0c66b8e9
WN
177932013-09-09 Will Newton <will.newton@linaro.org>
17794
17795 * malloc/Makefile: Add tst-realloc to tests.
17796 * malloc/tst-realloc.c: New file.
17797
f6b00fd1
AM
177982013-09-09 Allan McRae <allan@archlinux.org>
17799
17800 [BZ #15844]
17801 * COPYING: Update from GNU website to fix FSF address.
17802 * COPYING.LIB: Likewise.
17803
eec55e16
DM
178042013-09-06 David S. Miller <davem@davemloft.net>
17805
17806 * po/zh_TW.po: Update Chinese (traditional) translation from
17807 translation project.
17808
1ecbb381
RS
178092013-09-06 Richard Sandiford <richard@codesourcery.com>
17810 Joseph Myers <joseph@codesourcery.com>
17811
17812 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17813 "localeinfo.h".
17814 (obstack_chunk_alloc): New macro.
17815 (obstack_chunk_free): Likewise.
17816 (record_offset): New function.
17817 (init_locale_data): Likewise.
17818 (align_locale_data): Likewise.
17819 (add_locale_empty): Likewise.
17820 (add_locale_raw_data): Likewise.
17821 (add_locale_raw_obstack): Likewise.
17822 (add_locale_string): Likewise.
17823 (add_locale_wstring): Likewise.
17824 (add_locale_uint32): Likewise.
17825 (add_locale_uint32_array): Likewise.
17826 (add_locale_char): Likewise.
17827 (start_locale_structure): Likewise.
17828 (end_locale_structure): Likewise.
17829 (start_locale_prelude): Likewise.
17830 (end_locale_prelude): Likewise.
17831 (write_locale_data): Take locale_file structure rather than an
17832 iovec.
17833 * locale/programs/locfile.h: Include "obstack.h".
17834 (struct locale_file): Change to store locale file contents instead
17835 of header.
17836 (init_locale_data): New prototype.
17837 (align_locale_data): Likewise.
17838 (add_locale_empty): Likewise.
17839 (add_locale_raw_data): Likewise.
17840 (add_locale_raw_obstack): Likewise.
17841 (add_locale_string): Likewise.
17842 (add_locale_wstring): Likewise.
17843 (add_locale_uint32): Likewise.
17844 (add_locale_uint32_array): Likewise.
17845 (add_locale_char): Likewise.
17846 (start_locale_structure): Likewise.
17847 (end_locale_structure): Likewise.
17848 (start_locale_prelude): Likewise.
17849 (end_locale_prelude): Likewise.
17850 (write_locale_data): Update prototype.
17851 * locale/programs/3level.h (struct TABLE): Remove result field.
17852 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17853 Use new locale_file interface.
17854 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17855 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17856 * locale/programs/ld-address.c (address_output): Use new
17857 locale_file interface.
17858 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17859 NO_ADD_LOCALE.
17860 (collate_finish): Don't call collseq_table_finalize.
17861 (collate_output): Use new locale_file interface.
17862 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17863 in file.
17864 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17865 (TABLE): Move defines earlier in file.
17866 (ELEMENT): Likewise.
17867 (DEFAULT): Likewise.
17868 (wctrans_table_add): Move macro and inline function earlier in
17869 file.
17870 (struct wctype_table): Move type earlier in file.
17871 (add_locale_wctype_table): New static prototype.
17872 (struct locale_ctype_t): Use logical types instead of struct iovec
17873 pointers for members.
17874 (ctype_output): Use new locale_file interface.
17875 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17876 new locale_file interface.
17877 (allocate_arrays): Update for use of new locale_file interface.
17878 * locale/programs/ld-identification.c (identification_output): Use
17879 new locale_file interface.
17880 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17881 * locale/programs/ld-messages.c (messages_output): Likewise.
17882 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17883 * locale/programs/ld-name.c (name_output): Likewise.
17884 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17885 * locale/programs/ld-paper.c (paper_output): Likewise.
17886 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17887 * locale/programs/ld-time.c (time_output): Likewise.
17888
e029e2e5
AZ
178892013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17890
17891 * benchtests/Makefile: Add memrchr benchmark.
17892 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17893 benchmark as memrchr.
17894 * benchtests/bench-memrchr-ifunc.c: New file.
17895 * benchtests/bench-memrchr.c: New file.
17896
bbf6e8e4
WN
178972013-09-06 Will Newton <will.newton@linaro.org>
17898
17899 * benchtests/Makefile (string-bench): Add memcpy.
17900
6c82a2f8
CD
179012013-09-05 Carlos O'Donell <carlos@redhat.com>
17902 Cong Wang <amwang@redhat.com>
17903
e732c5f0 17904 [BZ #15850]
6c82a2f8
CD
17905 * sysdeps/unix/sysv/linux/bits/in.h
17906 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17907 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17908 before __USE_KERNEL_IPV6_DEFS uses.
17909 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17910 IPPROTO_BEETPH.
17911 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17912 sockaddr_in6, or ipv6_mreq.
17913
5430fc65
AZ
179142013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17915
17916 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17917 memory access for final bytes in some large inputs.
17918 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17919
4660856c
AZ
179202013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17921
17922 * string/test-memrchr.c: New file.
17923 * string/test-memrchr-ifunc.c: New file.
17924 * string/Makefile: Add new memrchr testcase.
17925
bb8ea713
MF
179262013-09-05 Mike Frysinger <vapier@gentoo.org>
17927
17928 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17929 fanotify_init returns EPERM.
17930
b92a20b5
JM
179312013-09-04 Joseph Myers <joseph@codesourcery.com>
17932
17933 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17934 errors.
17935 (top level): Treat second token from macro or constant entries for
17936 allowed headers as allowed.
17937 * include/complex.h: Condition internal declarations on
17938 [!_ISOMAC].
17939 * include/fenv.h: Condition include of <stdbool.h> and internal
17940 declarations on [!_ISOMAC].
7447ccd9
CL
17941
179422013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17943
3e181dda 17944 [BZ #15923]
7447ccd9
CL
17945 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17946
3f2e46a4
JM
179472013-09-04 Joseph Myers <joseph@codesourcery.com>
17948
17949 * configure.in (--enable-versioning): Remove configure option.
17950 (libc_cv_asm_symver_directive): Remove configure test.
17951 (libc_cv_ld_version_script_option): Likewise.
17952 (VERSIONING): Remove variable and AC_SUBST.
17953 (DO_VERSIONING): Remove AC_DEFINE.
17954 * configure: Regenerated.
17955 * config.h.in (DO_VERSIONING): Remove macro.
17956 * Makerules [$(versioning) = yes]: Change conditionals to
17957 [$(build-shared) = yes].
17958 * config.make.in (versioning): Remove variable.
17959 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17960 [$(build-shared) = yes].
17961 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17962 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17963 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17964 [$(build-shared) = yes].
17965 * extra-lib.mk [$(versioning) = yes]: Likewise.
17966 * hurd/Makefile [$(versioning) = yes]: Likewise.
17967 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17968 [SHARED].
17969 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17970 [SHARED].
17971 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17972 [SHARED && !NO_HIDDEN].
17973 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17974 [SHARED].
17975 [SHARED && DO_VERSIONING]: Likewise..
17976 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17977 [$(build-shared) = yes].
17978 * manual/install.texi (--disable-versioning): Remove
17979 documentation.
17980 * INSTALL: Regenerated.
17981 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17982 to [SHARED].
17983 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17984 [$(build-shared) = yes].
17985 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17986 * sysdeps/i386/i686/multiarch/strstr-c.c
17987 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17988 [SHARED && !NO_HIDDEN].
17989 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17990 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17991 * sysdeps/powerpc/powerpc32/dl-machine.c
17992 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17993 * sysdeps/powerpc/powerpc32/sysdep.h
17994 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17995 to [SHARED && PIC && !NO_HIDDEN].
17996 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17997 conditional to [SHARED].
17998
44558701
WN
179992013-09-04 Will Newton <will.newton@linaro.org>
18000
18001 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18002 * benchtests/bench-string.h: Include bench-timing.h instead
18003 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18004 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18005 call to HP_TIMING_DIFF_INIT.
18006 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18007 instead of hp-timing.h macros.
18008 * benchtests/bench-memchr.c: Likewise.
18009 * benchtests/bench-memcmp.c: Likewise.
18010 * benchtests/bench-memcpy.c: Likewise.
18011 * benchtests/bench-memmem.c: Likewise.
18012 * benchtests/bench-memmove.c: Likewise.
18013 * benchtests/bench-memset.c: Likewise.
18014 * benchtests/bench-rawmemchr.c: Likewise.
18015 * benchtests/bench-strcasecmp.c: Likewise.
18016 * benchtests/bench-strcasestr.c: Likewise.
18017 * benchtests/bench-strcat.c: Likewise.
18018 * benchtests/bench-strchr.c: Likewise.
18019 * benchtests/bench-strcmp.c: Likewise.
18020 * benchtests/bench-strcpy.c: Likewise.
18021 * benchtests/bench-strcpy_chk.c: Likewise.
18022 * benchtests/bench-strlen.c: Likewise.
18023 * benchtests/bench-strncasecmp.c: Likewise.
18024 * benchtests/bench-strncat.c: Likewise.
18025 * benchtests/bench-strncmp.c: Likewise.
18026 * benchtests/bench-strncpy.c: Likewise.
18027 * benchtests/bench-strnlen.c: Likewise.
18028 * benchtests/bench-strpbrk.c: Likewise.
18029 * benchtests/bench-strrchr.c: Likewise.
18030 * benchtests/bench-strspn.c: Likewise.
18031 * benchtests/bench-strstr.c: Likewise.
18032
cae16d66
WN
180332013-09-04 Will Newton <will.newton@linaro.org>
18034
18035 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18036
ffa3cd7f
JM
180372013-09-03 Joseph Myers <joseph@codesourcery.com>
18038
18039 [BZ #15427]
18040 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18041 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18042 * math/libm-test.inc (lgamma_test_data): Add more tests.
18043 * sysdeps/i386/fpu/libm-test-ulps: Update.
18044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18045
8f02859f
OB
180462013-09-03 Ondřej Bílka <neleai@seznam.cz>
18047
18048 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18050 Add ifunc.
18051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18052 Add strcmp-sse2-unaligned
18053 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18054
18d43716
MF
180552013-09-02 Mike Frysinger <vapier@gentoo.org>
18056
18057 * Versions.def (libc): Add GLIBC_2.19.
18058
ac444012
MF
180592013-09-02 Mike Frysinger <vapier@gentoo.org>
18060
18061 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18062 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18063
b7835e32
JM
180642013-09-02 Joseph Myers <joseph@codesourcery.com>
18065
18066 [BZ #14155]
18067 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18068 intermediate calculations in recurrence.
18069 (__ieee754_ynf): Likewise.
18070 * math/libm-test.inc (jn_test_data): Do not allow spurious
18071 underflow exception. Add more tests.
18072 (yn_test_data): Add more tests.
18073 * sysdeps/i386/fpu/libm-test-ulps: Update.
18074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18075
8220f4f0
OB
180762013-09-02 Ondřej Bílka <neleai@seznam.cz>
18077
18078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18079
f24a6d08
OB
180802013-08-30 Ondřej Bílka <neleai@seznam.cz>
18081
18082 * csu/init-first.c: Fix then/than typos.
18083 * locale/programs/ld-collate.c: Likewise.
18084 * locale/programs/linereader.h: Likewise.
18085 * manual/charset.texi: Likewise.
18086 * manual/filesys.texi: Likewise.
18087 * manual/stdio.texi: Likewise.
18088 * manual/string.texi: Likewise.
18089 * stdlib/fmtmsg.c: Likewise.
18090 * sysdeps/i386/stpncpy.S: Likewise.
18091 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18092 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18094 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18095
382466e0
OB
180962013-08-30 Ondřej Bílka <neleai@seznam.cz>
18097
18098 * elf/dl-open.c: Fix typos.
18099 * iconvdata/gbbig5.c: Likewise.
18100 * iconvdata/iso-2022-jp.c: Likewise.
18101 * iconv/gconv_int.h: Likewise.
18102 * iconv/loop.c: Likewise.
18103 * nis/rpcsvc/nis.h: Likewise.
18104 * resolv/ns_name.c: Likewise.
18105 * stdio-common/vfscanf.c: Likewise.
18106 * streams/stropts.h: Likewise.
18107 * sunrpc/rpc_thread.c: Likewise.
18108 * sysdeps/i386/strpbrk.S: Likewise.
18109 * sysdeps/ieee754/k_standard.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18112 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18113 * sysdeps/mach/hurd/profil.c: Likewise.
18114 * sysdeps/s390/dl-procinfo.h: Likewise.
18115 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18116 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18117 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18118 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18120
0186c6e9
OB
181212013-08-30 Ondřej Bílka <neleai@seznam.cz>
18122
18123 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18125
d4e16af1
OB
181262013-08-29 Ondřej Bílka <neleai@seznam.cz>
18127
18128 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18129 aix specific files.
18130 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18131 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18132 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18133 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18134 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18136 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18137 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18138
88335980
TS
181392013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18140 Roland McGrath <roland@hack.frob.com>
18141
18142 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18143 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18144
ed479b02
ST
181452013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18146
18147 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18148 __executable_start symbol instead of _start.
18149
f1cc4c86
TS
181502013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18151
d821f07c
TS
18152 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18153 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18154 Move macros to...
18155 * sysdeps/gnu/ldsodefs.h: ... this new file.
18156
c54290cf
TS
18157 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18158 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18159 instead of ELFOSABI_LINUX.
18160
0007fc9b 18161 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18162 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18163 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18164 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18165 Likewise.
18166 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18167 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18169 Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18171 (ibm_extended_long_double): Add ieee_nan member.
18172 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18173 (do_test): New function.
18174
f1cc4c86
TS
18175 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18176 TEST_TRUNC.
18177 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18178 functions, renamed from truncdfsf_test, trunctfsf_test,
18179 trunctfdf_test.
18180 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18181 functions.
18182 (do_test): Run all these.
18183
6f65e668
OB
181842013-08-29 Ondřej Bílka <neleai@seznam.cz>
18185
18186 * argp/argp-help.c: Fix typos.
18187 * argp/argp-parse.c: Likewise.
18188 * debug/backtracesyms.c: Likewise.
18189 * elf/elf.h: Likewise.
18190 * malloc/malloc.c: Likewise.
18191 * nis/nis_print.c: Likewise.
18192 * resolv/res_comp.c: Likewise.
18193 * stdlib/stdlib.h: Likewise.
18194 * sunrpc/clnt_tcp.c: Likewise.
18195 * sunrpc/clnt_udp.c: Likewise.
18196 * sunrpc/clnt_unix.c: Likewise.
18197 * sysdeps/unix/bsd/ptsname.c: Likewise.
18198 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18199 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18201 Likewise.
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18203 Likewise.
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18205 Likewise.
6f65e668
OB
18206 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18207
3a309239
SP
182082013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18209
18210 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18212
3b813b29
MF
182132013-08-27 Mike Frysinger <vapier@gentoo.org>
18214
18215 [BZ #15897]
18216 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18217 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18218 ($(objpfx)bug-dl-leaf): New rule.
18219 ($(objpfx)bug-dl-leaf.so): Likewise.
18220 ($(objpfx)bug-dl-leaf.out): Likewise.
18221 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18222 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18223 * dlfcn/bug-dl-leaf.c: New test.
18224 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18225 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18226 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18227 (dlclose): Likewise.
18228 (dlmopen): Likewise.
18229
8cc3269f
RM
182302013-08-27 Roland McGrath <roland@hack.frob.com>
18231
7f9d0034
RM
18232 * include/netdb.h [!_ISOMAC]:
18233 Don't include <tls.h>.
18234 (h_errno, __libc_h_errno): Move declaration and macros out of
18235 [_LIBC_REENTRANT].
18236
fb431262
RM
18237 * include/resolv.h [_RESOLV_H_]:
18238 Don't include <tls.h>.
18239 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18240 * resolv/res_libc.c: Don't include <tls.h>.
18241 (_res): Use __attribute__ ((nocommon)) in place of
18242 __attribute__ ((section (".bss"))).
18243
bd81123a
RM
18244 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18245 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18246
c4e42566
RM
18247 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18248
f890a59b
RM
18249 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18250 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18251
18252 * resolv/res_mkquery.c: Include <sys/time.h>.
18253
5d1f0a09
RM
18254 * inet/ifreq.c: Moved to ...
18255 * sysdeps/unix/ifreq.c: ... here.
18256 * inet/ifreq.c: New file, true stub version.
18257
6fcf28b3
RM
18258 * socket/sa_len.c: New file.
18259 * socket/Makefile (aux): Add it.
18260 * sysdeps/unix/sysv/linux/Makefile
18261 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18262 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18263 and #include <socket/sa_len.c>.
18264 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18265 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18266
e041fb8b
RM
18267 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18268 * bits/socket.h: ... here.
18269
8cc3269f
RM
18270 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18271 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18272 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18273
5d228a43
AS
182742013-08-27 Andreas Schwab <schwab@suse.de>
18275
45b8accc
AS
18276 [BZ #15736]
18277 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18278 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18279 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18280 * string/test-strcasecmp.c (test_main): Run tests in several
18281 locales.
18282 * string/test-strncasecmp.c (test_main): Likewise.
18283
5d228a43
AS
18284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18285 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18286 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18288 (__strncasecmp_ssse3) [PIC]: Likewise.
18289
59d112a4
RM
182902013-08-26 Roland McGrath <roland@hack.frob.com>
18291
53234cc3
RM
18292 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18293
59d112a4
RM
18294 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18295 instead of explicitly declaring xdecrypt.
18296 * nis/nss_nis/nis-publickey.c: Likewise.
18297
595aba70
SP
182982013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18299
18300 [BZ #15890]
18301 * nscd/aicache.c: Include res_hconf.h.
18302 (addhstaiX): Initialize res_hconf.
18303
ffabd393
AS
183042013-08-26 Andreas Schwab <schwab@suse.de>
18305
18306 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18307 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18308
e0a69f5c
SP
183092013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18310
18311 * nscd/aicache.c (addhstaiX): Fix indentation.
18312
8c12f01d
MF
183132013-08-25 Mike Frysinger <vapier@gentoo.org>
18314
18315 * configure.ac: Quote $build_pt_chown test.
18316 * configure: Regenerated.
18317
8fe89494
JM
183182013-08-23 Joseph Myers <joseph@codesourcery.com>
18319
18320 [BZ #15532]
18321 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18322 * math/s_cexpf.c (__cexpf): Likewise.
18323 * math/s_cexpl.c (__cexpl): Likewise.
18324 * math/libm-test.inc (cexp_test_data): Correct expected return
18325 value for NaN + i0. Add another test.
18326
75b181d6
DM
183272013-08-22 David S. Miller <davem@davemloft.net>
18328
18329 * po/ca.po: Update Catalan translation from translation project.
936241e4 18330 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18331
acd06bb1
JM
183322013-08-21 Joseph Myers <joseph@codesourcery.com>
18333
18334 [BZ #15797]
18335 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18336 is infinite, not alongside NaN test.
18337 * math/s_fdimf.c (__fdimf): Likewise.
18338 * math/s_fdiml.c (__fdiml): Likewise.
18339 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18340 errno is unchanged.
18341
c0c3f78a
OB
183422013-08-21 Ondřej Bílka <neleai@seznam.cz>
18343
18344 * argp/argp-help.c: Fix typos.
18345 * crypt/speeds.c: Likewise.
18346 * csu/check_fds.c: Likewise.
18347 * elf/dl-load.c: Likewise.
18348 * elf/dl-open.c: Likewise.
18349 * elf/reldep3.c: Likewise.
18350 * elf/reldep.c: Likewise.
18351 * elf/sprof.c: Likewise.
18352 * iconv/iconv_charmap.c: Likewise.
18353 * iconv/skeleton.c: Likewise.
18354 * iconv/strtab.c: Likewise.
18355 * io/lockf64.c: Likewise.
18356 * libio/libioP.h: Likewise.
18357 * resolv/gai_notify.c: Likewise.
18358 * resolv/ns_name.c: Likewise.
18359 * resolv/ns_samedomain.c: Likewise.
18360 * resolv/res_send.c: Likewise.
18361 * stdlib/random.c: Likewise.
18362 * sunrpc/rpc/xdr.h: Likewise.
18363 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18364 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18365 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18366 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18368 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18370 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18371 * sysdeps/mach/hurd/check_fds.c: Likewise.
18372 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18373 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18374 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18376 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18377 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18378 * sysdeps/pthread/aio_notify.c: Likewise.
18379 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18380 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18381 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18382 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18383 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18384
46ed1038
LD
183852013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18386
18387 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18388 version if bit_Slow_SSE4_2 is set.
18389 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18390 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18391
d400dcac
AZ
183922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18393
18394 [BZ #15867]
18395 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18396 trampoline stack frame information.
18397 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18399 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18400 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18401 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18402 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18403 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18404 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18405 sa_flags value.
18406 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18407 interrupting a syscall and set with option SA_SIGINFO.
18408
42c8fdd8
JM
184092013-08-20 Joseph Myers <joseph@codesourcery.com>
18410
c980f2f4
JM
18411 [BZ #15531]
18412 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18413 argument is infinite.
18414 * math/s_cprojf.c (__cprojf): Likewise.
18415 * math/s_cprojl.c (__cprojl): Likewise.
18416 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18417 * math/libm-test.inc (cproj_test_data): Add more tests.
18418
0716c4fc
JM
18419 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18420
42c8fdd8
JM
18421 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18422 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18423 size. Use __ffs to determine corresponding shift.
18424
b31469d0
JM
184252013-08-20 Joseph Myers <joseph@codesourcery.com>
18426 Roland McGrath <roland@hack.frob.com>
18427
18428 * Makefile (INSTALL): Remove trailing blank lines from output of
18429 makeinfo.
18430
4e39af6e
AK
184312013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18432
18433 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18434 Align 32 bit compat elf_greg to 8 bytes.
18435
f315524e
AA
184362013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18437
18438 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18439
1326ba1a
SP
184402013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18441
18442 * string/strcoll_l.c (coll_seq): New structure.
18443 (get_next_seq_cached): New function.
18444 (get_next_seq): New function.
18445 (do_compare): New function.
18446 (STRCOLL): Use GNU style definition. Simplify implementation
18447 by using get_next_seq, get_next_seq_cached and do_compare.
18448
91ce4085
FW
184492013-08-16 Florian Weimer <fweimer@redhat.com>
18450
18451 [BZ #14699]
18452 CVE-2013-4237
18453 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18454 member.
18455 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18456 member.
18457 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18458 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18459 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18460 conditional.
18461 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18462 GETDENTS_64BIT_ALIGNED.
18463 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18464 * manual/filesys.texi (Reading/Closing Directory): Document
18465 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18466 strongly.
18467 * manual/conf.texi (Limits for Files): Add portability note to
18468 NAME_MAX, PATH_MAX.
18469 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18470
ca0a6bc4
AS
184712013-08-13 Andreas Schwab <schwab@suse.de>
18472
18473 [BZ #15749]
18474 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18475 of fabs.
18476 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18477 LDBL_MAX_EXP >= 16384]: Add tests for it.
18478
6c1fd795
DM
184792013-08-12 David S. Miller <davem@davemloft.net>
18480
18481 * version.h (RELEASE): Set to "development".
18482 (VERSION): Set to "2.18.90".
18483 * NEWS: Add 2.19 section.
18484
31ad488d
DM
184852013-08-03 David S. Miller <davem@davemloft.net>
18486
18487 * po/ko.po: Update Korean translation from translation project.
18488
db24e684
DM
184892013-08-01 David S. Miller <davem@davemloft.net>
18490
18491 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18492 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18493 Bilka.
18494
f723285b
DM
184952013-07-30 David S. Miller <davem@davemloft.net>
18496
18497 * po/fr.po: Update French translation from translation project.
18498
3cbc52db
DM
184992013-07-28 David S. Miller <davem@davemloft.net>
18500
30bbc0cc
DM
18501 * po/cs.po: Update Czech translation from translation project.
18502
3cbc52db
DM
18503 * po/sv.po: Update Swedish translation from translation project.
18504
d492e6d0
DM
185052013-07-27 David S. Miller <davem@davemloft.net>
18506
f1a7f492
DM
18507 * po/eo.po: Update Esperanto translation from translation project.
18508
90e62a4a
DM
18509 * po/vi.po: Update Vietnamese translation from translation project.
18510
d492e6d0
DM
18511 * po/de.po: Update German translation from translation project.
18512
d4baa62d
DM
185132013-07-26 David S. Miller <davem@davemloft.net>
18514
641aa7b4
DM
18515 * po/bg.po: Update Bulgarian translation from translation project.
18516
d4baa62d
DM
18517 * po/nl.po: Update Dutch translation from translation project.
18518 * po/pl.po: Update Polish translation from translation project.
18519 * po/ru.po: Update Russian translation from translation project.
18520
61a9dcb9
DM
185212013-07-24 David S. Miller <davem@davemloft.net>
18522
18523 * po/libc.pot: Update.
18524
7b1f8b58
AZ
185252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18526
18527 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18528 variable page size.
18529 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18530 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18531 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18532
a8fc7a03
AK
185332013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18534
18535 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18536
e4608715
CD
185372013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18538 Andreas Schwab <schwab@suse.de>
18539 Roland McGrath <roland@hack.frob.com>
18540 Joseph Myers <joseph@codesourcery.com>
18541 Carlos O'Donell <carlos@redhat.com>
18542
18543 [BZ #15755]
18544 * config.h.in: Define HAVE_PT_CHOWN.
18545 * config.make.in (build-pt-chown): New variable.
18546 * configure.in (--enable-pt_chown): New configure option.
18547 * configure: Regenerate.
18548 * login/Makefile: Include Makeconfig. Build pt_chown only if
18549 build-pt-chown is enabled.
18550 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18551 pt_chown to fix pty ownership.
18552 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18553 CLOSE_ALL_FDS.
18554 * manual/install.texi (Configuring and compiling): Mention
18555 --enable-pt_chown. Add @findex for grantpt.
18556 * INSTALL: Regenerate.
18557
da2d62df
DM
185582013-07-20 David S. Miller <davem@davemloft.net>
18559
18560 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18561 difference between 32-bit and 64-bit.
18562
d7e06450
CD
185632013-07-15 Carlos O'Donell <carlos@redhat.com>
18564
18565 [BZ #15711]
18566 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18567 Avoid system header dependency with -ffreestanding.
18568 ($(objpfx)bits/syscall%d): Likewise.
18569
f959cfd7
DM
185702013-07-13 David S. Miller <davem@davemloft.net>
18571
18572 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18573 underflows from atanl/atan2l due to bug 15319.
18574 (casinh_test_data): Likewise.
18575
c61f8513
DM
185762013-07-07 David S. Miller <davem@davemloft.net>
18577
18578 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18579
72c90ed0
JA
185802013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18581
18582 * sysdeps/i386/fpu/libm-test-ulps: Update.
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18584
52dfbe13
SP
185852013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18586
18587 * configure.in (--enable-lock-elision): Fix message text.
18588 * INSTALL: Regenerate.
18589 * configure: Regenerate.
18590
3f169543
AZ
185912013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18592
18593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18594
521c6785
AJ
185952013-07-03 Andreas Jaeger <aj@suse.de>
18596
18597 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18598 define.
18599 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18600 (ptrace_peeksiginfo_args): Add.
18601 (__ptrace_peeksiginfo_flags): Add.
18602 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18605
d2cc15cb
AM
186062013-07-03 Allan McRae <allan@archlinux.org>
18607
18608 * sysdeps/i386/fpu/libm-test-ulps: Update.
18609
3aaeeca7
DM
186102013-07-02 David S. Miller <davem@davemloft.net>
18611
18612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18613
5314ed1a
MT
186142013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18615
18616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18617
67338156
JM
186182013-07-02 Joseph Myers <joseph@codesourcery.com>
18619
18620 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18622
1717da59
AK
186232013-07-02 Andi Kleen <ak@linux.intel.com>
18624
18625 * config.h.in (ENABLE_LOCK_ELISION): Add.
18626 * configure.in (--enable-lock-elision): Add option.
18627 * manual/install.texi: Document --enable lock elision.
18628 * configure: Regenerate
18629 * INSTALL: Regenerate.
18630
1c81621c
L
186312013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18632
18633 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18634 SSE4.2 strcasecmp for libc.a.
18635 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18636
77f01ab5
JM
186372013-07-02 Joseph Myers <joseph@codesourcery.com>
18638
18639 [BZ #13304]
18640 * soft-fp/op-common.h (_FP_FMA): New macro.
18641 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18642 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18643 (_FP_MUL_MEAT_1_imm): ... here.
18644 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18645 (_FP_MUL_MEAT_1_wide): ... here.
18646 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18647 (_FP_MUL_MEAT_1_hard): ... here.
18648 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18649 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18650 (_FP_MUL_MEAT_2_wide): ... here.
18651 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18652 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18653 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18654 (_FP_MUL_MEAT_2_gmp): ... here.
18655 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18656 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18657 (_FP_MUL_MEAT_4_wide): ... here.
18658 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18659 (_FP_MUL_MEAT_4_gmp): ... here.
18660 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18661 (_FP_WFRACBITS_DW_S): Likewise.
18662 (_FP_WFRACXBITS_DW_S): Likewise.
18663 (_FP_HIGHBIT_DW_S): Likewise.
18664 (FP_FMA_S): Likewise.
18665 (_FP_FRAC_HIGH_DW_S): Likewise.
18666 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18667 (_FP_WFRACBITS_DW_D): Likewise.
18668 (_FP_WFRACXBITS_DW_D): Likewise.
18669 (_FP_HIGHBIT_DW_D): Likewise.
18670 (FP_FMA_D): Likewise.
18671 (_FP_FRAC_HIGH_DW_D): Likewise.
18672 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18673 (_FP_WFRACBITS_DW_E): Likewise.
18674 (_FP_WFRACXBITS_DW_E): Likewise.
18675 (_FP_HIGHBIT_DW_E): Likewise.
18676 (FP_FMA_E): Likewise.
18677 (_FP_FRAC_HIGH_DW_E): Likewise.
18678 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18679 (_FP_WFRACBITS_DW_Q): Likewise.
18680 (_FP_WFRACXBITS_DW_Q): Likewise.
18681 (_FP_HIGHBIT_DW_Q): Likewise.
18682 (FP_FMA_Q): Likewise.
18683 (_FP_FRAC_HIGH_DW_Q): Likewise.
18684 * soft-fp/fmasf4.c: New file.
18685 * soft-fp/fmadf4.c: Likewise.
18686 * soft-fp/fmatf4.c: Likewise.
18687
6308fd9a
LD
186882013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18689
18690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18691 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18692 Silvermont.
18693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18694 macro.
18695 (index_Slow_SSE4_2): Likewise.
18696 (index_Prefer_PMINUB_for_stringop): Likewise.
18697 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18698 bit_Slow_SSE4_2 is set.
18699 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18701
89cd9569
RA
187022013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18703
18704 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18705 rtld_global._dl_hwcap2.
18706 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18707 POWER8.
18708 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18709 POWER8 feature descriptions defined in _dl_hwcap2.
18710 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18711 string handling for POWER8 feature bits.
18712 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18713 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18714 _dl_powerpc_cap_flags.
18715 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18716 * sysdeps/powerpc/rtld-global-offsets.sym
18717 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18718 _dl_hwcap2 in the rtld_global_ro structure.
18719
1ae8bfe0
RA
187202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18721
18722 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18723 hardware capabilities in support of AT_HWCAP2.
18724 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18725 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18726 GLRO(dl_hwcap2).
18727 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18728 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18729 explicitly the unknown a_type display mechanism is used.
18730 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18731 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18732 struct member.
18733 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18734 to macro prototype for AT_HWCAP2 support.
18735 * sysdeps/i386/dl-procinfo.h: Likewise.
18736 * sysdeps/s390/dl-procinfo.h: Likewise.
18737 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18738 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18739 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18740 return -1 for unknown a_type display fallback.
18741 * sysdeps/sparc/dl-procinfo.h: Likewise.
18742 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18743 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18744
8fbec010
JM
187452013-06-28 Joseph Myers <joseph@codesourcery.com>
18746
18747 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18748 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18749
0432680e
PY
187502013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18751
18752 [BZ #12492]
18753 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18754 mprotect making __stack_prot writable.
18755
ce61a2ad
NF
187562013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18757 Joseph Myers <joseph@codesourcery.com>
18758
18759 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18760 as being properly aligned.
18761
f91f1c0f
MR
187622013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18763
3d0f5d0c
MR
18764 * dlfcn/modstatic5.c: New file.
18765 * dlfcn/tststatic5.c: New file.
18766 * dlfcn/Makefile (tests): Add tststatic5.
18767 (tests-static): Likewise.
18768 (modules-names): Add modstatic5.
18769 (tststatic5-ENV): New variable.
18770 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18771
f91f1c0f
MR
18772 [BZ #15022]
18773 * elf/dl-support.c (_dl_main_map): New variable.
18774 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18775 (_dl_nns, _dl_load_adds): Set to 1.
18776 (_dl_initial_searchlist): Refer to _dl_main_map.
18777 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18778 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18779 call to _dl_get_origin.
18780 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18781 around call_map.
18782 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18783 * dlfcn/modstatic3.c: New file.
18784 * dlfcn/tststatic3.c: New file.
18785 * dlfcn/tststatic4.c: New file.
18786 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18787 (tests-static): Likewise.
18788 (modules-names): Add modstatic3.
18789 (tststatic3-ENV, tststatic4-ENV): New variables.
18790 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18791 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18792
cbe7d24b
JM
187932013-06-26 Joseph Myers <joseph@codesourcery.com>
18794
18795 * configure.in (CC): Require GCC version 4.4 or later.
18796 * configure: Regenerated.
18797 * manual/install.texi (Tools for Compilation): Update GCC version
18798 requirement.
18799 * INSTALL: Regenerated.
18800
11b8a0e1
LD
188012013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18802
18803 [BZ #15674]
bb5bb87c
L
18804 * string/test-memcmp.c (check2): New.
18805 (main): Call check2.
18806
11b8a0e1
LD
18807 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18808
b0037103
MR
188092013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18810
18811 [BZ #15022]
18812 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18813 over to...
18814 (dl_open_worker) [!SHARED]: ... here.
18815
c18c701d
RA
188162013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18817
18818 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18819
1d17fa5f
RH
188202013-06-25 Richard Henderson <rth@redhat.com>
18821
18822 * locale/programs/locarchive.c: Include <libc-internal.h>
18823
8fcb833a
JM
188242013-06-25 Joseph Myers <joseph@codesourcery.com>
18825
18826 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18827 trailing whitespace removed.
18828
17db6e8d
MF
188292013-06-24 Mike Frysinger <vapier@gentoo.org>
18830
18831 [BZ #10283]
17db6e8d
MF
18832 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18833 * locale/programs/locarchive.c: Include libc-mmap.h.
18834 (prepare_address_space): Take two new outputs (the mmap base and len).
18835 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18836 values.
18837 (create_archive): Declare new mmap base and len values for
18838 prepare_address_space, and store the result in ah.
18839 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18840 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18841 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18842 Declare new mmap base and len values for
18843 prepare_address_space, and store the result in new_ah.
18844 (open_archive): Declare new mmap base and len values for
18845 prepare_address_space, and store the result in ah.
18846 (close_archive): If ah->mmap_base is not NULL, use that and
18847 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18848 * sysdeps/generic/libc-mmap.h: New file.
18849
d605071e
MF
188502013-06-24 Mike Frysinger <vapier@gentoo.org>
18851
18852 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18853 (ALIGN_UP): Likewise.
18854 (PTR_ALIGN_DOWN): Likewise.
18855 (PTR_ALIGN_UP): Likewise.
18856
2f063a6e
RA
188572013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18858
18859 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18860 entry mapped to PPC_PLATFORM_POWER8.
18861 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18862 POWER8.
18863 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18864 (_dl_string_platform): Add case for exporting platform position for
18865 POWER8.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18867 search path to sysdeps/powerpc/powerpc32/power8 directory.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18869 search path to sysdeps/powerpc/powerpc64/power8 directory.
18870 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18871 power7 directories.
18872 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18873 power7 directories.
18874
a31ee4b3
SP
188752013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18876
a74ca98f
SP
18877 * INSTALL: Regenerate.
18878
a31ee4b3
SP
18879 * nscd/connections.c (nscd_init): Fix comment.
18880
695c378f
JM
188812013-06-22 Joseph Myers <joseph@codesourcery.com>
18882
d8412221
JM
18883 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18884
695c378f
JM
18885 [BZ #15667]
18886 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18887 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18888
d1d54715
MR
188892013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18890
18891 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18892 DL_DST_REQ_STATIC.
18893 (DL_DST_REQ_STATIC): Remove macro.
18894
8fdda7af
JM
188952013-06-21 Joseph Myers <joseph@codesourcery.com>
18896
18897 [BZ #7006]
18898 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18899 with a shift of 0 bits.
18900
f3bc5e5a
MR
189012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18902
18903 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18904 $(tststatic-ENV).
18905
be09e8c9
KK
189062013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18907
18908 [BZ #15655]
18909 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18910
85c2e611
AZ
189112013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18912
18913 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18914 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18915 accepts -fno-tree-loop-distribute-patterns.
18916 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18917 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18918 recursive call.
18919 * string/memset.c (memset): Likewise.
18920 * string/test-memmove.c (simple_memmove): Disable loop transformation
18921 to library calls.
18922 * string/test-memset.c (simple_memset): Likewise.
18923 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18924 * benchtests/bench-memset.c (simple_memset): Likewise.
18925 * configure: Regenerated.
18926
c91e0825
JM
189272013-06-20 Joseph Myers <joseph@codesourcery.com>
18928
b8c792af
JM
18929 * math/test-misc.c (main): Ignore fesetround failure when failures
18930 of subsequent rounding tests would be ignored.
18931
c91e0825
JM
18932 [BZ #15654]
18933 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18934 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18935 * math/fegetenv.c (__fegetenv): Return 0.
18936 * math/fegetexcept.c (fegetexcept): Return 0.
18937 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18938 FE_TONEAREST.
18939 * math/feholdexcpt.c (feholdexcept): Return 0.
18940 * math/fesetenv.c (__fesetenv): Return 0.
18941 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18942 argument FE_TONEAREST.
18943 * math/feupdateenv.c (__feupdateenv): Return 0.
18944 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18945
bfcacbde
RM
189462013-06-18 Roland McGrath <roland@hack.frob.com>
18947
18948 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18949 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18950 ($(objpfx)rtld-%.os rules): Use them.
18951
e55a9b25
AZ
189522013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18953
18954 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18955 fields.
18956
346d65b3
RM
189572013-06-17 Roland McGrath <roland@hack.frob.com>
18958
12086fb4
RM
18959 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18960 length of target pattern, then descending length of dependency pattern.
18961 * configure.in (AWK): Require gawk 3.1.2 or newer.
18962 * manual/install.texi (Tools for Compilation): Say that we do.
18963 * configure: Regenerated.
18964
346d65b3
RM
18965 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18966 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18967 * scripts/sysd-rules.awk: ... this new script.
18968 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18969 than a glob-style pattern.
18970
1a846317
JM
189712013-06-17 Joseph Myers <joseph@codesourcery.com>
18972
18973 * math/test-misc.c (main): Do not treat incorrectly rounded
18974 conversions as failure unless ROUNDING_TESTS passes.
18975
8fc75e6f
JM
189762013-06-15 Joseph Myers <joseph@codesourcery.com>
18977
3711a167
JM
18978 [BZ #15631]
18979 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18980 restore exception state around main square root computation, then
18981 check for inexactness explicitly.
18982
8fc75e6f
JM
18983 * math/libm-test.inc (fma_test_data): Add another test.
18984
61dd6208
SP
189852013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18986
adf23d2c
SP
18987 * manual/threads.texi (Non-POSIX Extensions): New document
18988 node. Document pthread_getattr_default_np and
18989 pthread_setattr_default_np.
18990
61dd6208
SP
18991 * Versions.def (libpthread): Add GLIBC_2.18.
18992 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18994 Likewise.
18995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18996 Likewise.
18997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18998 Likewise.
18999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19000 Likewise.
19001 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19002 Likewise.
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19004 Likewise.
19005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19006 Likewise.
19007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19008 Likewise.
19009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19010 Likewise.
19011
d086fc7b
LD
190122013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19013
19014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19015 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19016
747ef469
SP
190172013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19018 H.J. Lu <hjl.tools@gmail.com>
19019
19020 [BZ #15627]
19021 * sysdeps/x86_64/rtld-memset.c: Remove file.
19022 * sysdeps/x86_64/rtld-memset.S: New file.
19023
1b2feed2
JM
190242013-06-14 Joseph Myers <joseph@codesourcery.com>
19025
19026 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19027 (test_in_one_mode): Take arguments for whether the rounding mode
19028 is supported for each floating-point type.
19029 (do_test): Pass new arguments to test_in_one_mode using
19030 ROUNDING_TESTS.
19031
a58ad3f8
RM
190322013-06-13 Roland McGrath <roland@hack.frob.com>
19033
19034 * posix/tst-waitid.c (do_test): Distinguish different instances of
19035 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19036 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19037 before entering the kernel for waitpid.
19038
c204ab28
SP
190392013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19040
19041 * NEWS: Fix note on clock function precision. Text by Roland
19042 McGrath.
19043
f4a29fba
RM
190442013-06-13 Roland McGrath <roland@hack.frob.com>
19045
19046 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19047 it into place only when and if the sanity check passes.
19048
1f24b9ad
JM
190492013-06-13 Joseph Myers <joseph@codesourcery.com>
19050
19051 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19052 output for whether conversion result is exact. Take argument
19053 indicating whether type is IBM long double.
19054 (round_for_all): Change need_exact field to ibm_ld.
19055 * stdlib/tst-strtod-round.c (struct exactness): New type.
19056 (struct test): Change bool ld_ok field to struct exactness exact.
19057 (TEST): Update all definitions for change to field.
19058 (tests): Regenerate array contents.
19059 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19060 field value. Check for IBM long double here.
19061 (do_test): Update calls to test_in_one_mode.
19062
58206c68
SP
190632013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19064
19065 [BZ #12515]
19066 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19067 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19068
2d6f4c5b 190692013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
19070
19071 [BZ #15605]
19072 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19073 generated by the compiler on loop optimizations.
19074 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19075 general definitions.
19076
94f2c076
JM
190772013-06-12 Joseph Myers <joseph@codesourcery.com>
19078
19079 * math/bug-nextafter.c: Include <math-tests.h>.
19080 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19081 the relevant type.
19082 * math/bug-nexttoward.c: Include <math-tests.h>.
19083 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19084 the relevant type.
19085 * math/test-misc.c: Include <math-tests.h>.
19086 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19087 the relevant type.
19088
e0e50a0a
AJ
190892013-06-12 Andreas Jaeger <aj@suse.de>
19090
19091 * po/ia.po: Update Interlingua translation from translation
19092 project.
19093
25061094
SP
190942013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19095
19096 * include/fenv.h: Include stdbool.h.
19097 (struct rm_ctx): New structure.
19098 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19099 Define macro.
19100 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19101 (SET_RESTORE_ROUNDF): Likewise.
19102 (SET_RESTORE_ROUNDL): Likewise.
19103 (SET_RESTORE_ROUND_NOEX): Likewise.
19104 (SET_RESTORE_ROUND_NOEXF): Likewise.
19105 (SET_RESTORE_ROUND_NOEXL): Likewise.
19106 (SET_RESTORE_ROUND_53BIT): Likewise.
19107 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19108 (libc_feresetround_noexf_ctx): Likewise.
19109 (libc_feresetround_noexl_ctx): Likewise.
19110 (libc_feholdsetround_53bit_ctx): Likewise.
19111 (libc_feresetround_53bit_ctx): Likewise.
19112 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19113 (libc_feholdexcept_setround_sse_ctx): New function.
19114 (libc_fesetenv_sse_ctx): Likewise.
19115 (libc_feupdateenv_sse_ctx): Likewise.
19116 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19117 (libc_feholdexcept_setround_387_ctx): Likewise.
19118 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19119 (libc_feholdsetround_387_prec_ctx): Likewise.
19120 (libc_feholdsetround_387_ctx): Likewise.
19121 (libc_feholdsetround_387_53bit_ctx): Likewise.
19122 (libc_feholdsetround_sse_ctx): Likewise.
19123 (libc_feresetround_sse_ctx): Likewise.
19124 (libc_feresetround_387_ctx): Likewise.
19125 (libc_feupdateenv_387_ctx): Likewise.
19126 (libc_feholdexcept_setroundf_ctx): Define macro.
19127 (libc_fesetenvf_ctx): Likewise.
19128 (libc_feupdateenvf_ctx): Likewise.
19129 (libc_feholdsetroundf_ctx): Likewise.
19130 (libc_feresetroundf_ctx): Likewise.
19131 (libc_feholdexcept_setround_ctx): Likewise.
19132 (libc_fesetenv_ctx): Likewise.
19133 (libc_feupdateenv_ctx): Likewise.
19134 (libc_feholdsetround_ctx): Likewise.
19135 (libc_feresetround_ctx): Likewise.
19136 (libc_feholdexcept_setroundl_ctx): Likewise.
19137 (libc_feupdateenvl_ctx): Likewise.
19138 (libc_feholdsetroundl_ctx): Likewise.
19139 (libc_feresetroundl_ctx): Likewise.
19140 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19141 (libc_feresetround_53bit_ctx): Likewise.
19142
59b30555
SP
191432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19144
19145 * locale/iso-639.def: Convert to UTF-8.
19146
f1d73d30
JM
191472013-06-11 Joseph Myers <joseph@codesourcery.com>
19148
19149 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19150 (EXCEPTION_TESTS_double): Likewise.
19151 (EXCEPTION_TESTS_long_double): Likewise.
19152 (EXCEPTION_TESTS): Likewise.
19153 * math/libm-test.inc (test_exceptions): Only test exceptions if
19154 EXCEPTION_TESTS (FLOAT).
19155
94aca5e7
SP
191562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19157
19158 * benchtests/Makefile (string-bench): Add strcpy_chk and
19159 stpcpy_chk.
19160 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19161 * benchtests/bench-stpcpy_chk.c: New file.
19162 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19163 * benchtests/bench-strcpy_chk.c: New file.
19164 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19165 code.
19166 (do_test): Likewise.
19167
fac0c5f2
RA
191682013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19169
19170 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19171 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19172 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19173 with tabs where appropriate.
19174 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19175 dl-procinfo.h.
19176 [PPC_PLATFORM_PPC440]: Likewise.
19177 [PPC_PLATFORM_PPC464]: Likewise.
19178 [PPC_PLATFORM_PPC476]: Likewise.
19179 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19180 ppc464, and ppc476 platform strings merging from ports/
19181 dl-procinfo.h.
19182
f22bc486
AS
191832013-06-11 Andreas Schwab <schwab@suse.de>
19184
19185 [BZ #14991]
19186 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19187 (from_ucs4_idx): Regenerate.
19188 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19189 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19190 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19191 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19192 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19193 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19194 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19195 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19196 from FROM_LOOP and TO_LOOP specific macros.
19197 (BODY): Handle combining characters.
19198 * iconvdata/BIG5HKSCS.irreversible: Update.
19199 * iconvdata/BIG5HKSCS.precomposed: New file.
19200 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19201 characters.
19202 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19203
c1f75dc3
SP
192042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19205
4eacded2
SP
19206 * include/sys/time.h: Fix indentation and add copyright header.
19207
fec799f8
SP
19208 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19209 (do_test): Likewise.
19210 * string/test-memchr.c (do_one_test): Likewise.
19211 (do_test): Likewise.
19212 * string/test-memcmp.c (do_one_test): Likewise.
19213 (do_test): Likewise.
19214 * string/test-memcpy.c (do_one_test): Likewise.
19215 (do_test): Likewise.
19216 * string/test-memmem.c (do_one_test): Likewise.
19217 (do_test): Likewise.
19218 (do_random_tests): Likewise.
19219 * string/test-memmove.c (do_one_test): Likewise.
19220 (do_test): Likewise.
19221 * string/test-memset.c (do_one_test): Likewise.
19222 (do_test): Likewise.
19223 * string/test-rawmemchr.c (do_one_test): Likewise.
19224 (do_test): Likewise.
19225 * string/test-strcasecmp.c (do_one_test): Likewise.
19226 (do_test): Likewise.
19227 * string/test-strcasestr.c (do_one_test): Likewise.
19228 (do_test): Likewise.
19229 * string/test-strcat.c (do_one_test): Likewise.
19230 (do_test): Likewise.
19231 * string/test-strchr.c (do_one_test): Likewise.
19232 (do_test): Likewise.
19233 * string/test-strcmp.c (do_one_test): Likewise.
19234 (do_test): Likewise.
19235 * string/test-strcpy.c (do_one_test): Likewise.
19236 (do_test): Likewise.
19237 * string/test-string.h: Likewise.
19238 (test_init): Likewise.
19239 * string/test-strlen.c (do_one_test): Likewise.
19240 (do_test): Likewise.
19241 * string/test-strncasecmp.c (do_one_test): Likewise.
19242 (do_test): Likewise.
19243 * string/test-strncat.c (do_one_test): Likewise.
19244 (do_test): Likewise.
19245 * string/test-strncmp.c (do_one_test): Likewise.
19246 (do_test_limit): Likewise.
19247 (do_test): Likewise.
19248 * string/test-strncpy.c (do_one_test): Likewise.
19249 (do_test): Likewise.
19250 * string/test-strnlen.c (do_one_test): Likewise.
19251 (do_test): Likewise.
19252 * string/test-strpbrk.c (do_one_test): Likewise.
19253 (do_test): Likewise.
19254 * string/test-strrchr.c (do_one_test): Likewise.
19255 (do_test): Likewise.
19256 * string/test-strspn.c (do_one_test): Likewise.
19257 (do_test): Likewise.
19258 * string/test-strstr.c (do_one_test): Likewise.
19259 (do_test): Likewise.
19260
97020474
SP
19261 * benchtests/Makefile (string-bench): Add string benchmarks.
19262 * benchtests/bench-bcopy-ifunc.c: New file.
19263 * benchtests/bench-bcopy.c: New file.
19264 * benchtests/bench-bzero-ifunc.c: New file.
19265 * benchtests/bench-bzero.c: New file.
19266 * benchtests/bench-memccpy-ifunc.c: New file.
19267 * benchtests/bench-memccpy.c: New file.
19268 * benchtests/bench-memchr-ifunc.c: New file.
19269 * benchtests/bench-memchr.c: New file.
19270 * benchtests/bench-memcmp-ifunc.c: New file.
19271 * benchtests/bench-memcmp.c: New file.
19272 * benchtests/bench-memmem-ifunc.c: New file.
19273 * benchtests/bench-memmem.c: New file.
19274 * benchtests/bench-memmove-ifunc.c: New file.
19275 * benchtests/bench-memmove.c: New file.
19276 * benchtests/bench-mempcpy-ifunc.c: New file.
19277 * benchtests/bench-mempcpy.c: New file.
19278 * benchtests/bench-memset-ifunc.c: New file.
19279 * benchtests/bench-memset.c: New file.
19280 * benchtests/bench-rawmemchr-ifunc.c: New file.
19281 * benchtests/bench-rawmemchr.c: New file.
19282 * benchtests/bench-stpcpy-ifunc.c: New file.
19283 * benchtests/bench-stpcpy.c: New file.
19284 * benchtests/bench-stpncpy-ifunc.c: New file.
19285 * benchtests/bench-stpncpy.c: New file.
19286 * benchtests/bench-strcasecmp-ifunc.c: New file.
19287 * benchtests/bench-strcasecmp.c: New file.
19288 * benchtests/bench-strcasestr-ifunc.c: New file.
19289 * benchtests/bench-strcasestr.c: New file.
19290 * benchtests/bench-strcat-ifunc.c: New file.
19291 * benchtests/bench-strcat.c: New file.
19292 * benchtests/bench-strchr-ifunc.c: New file.
19293 * benchtests/bench-strchr.c: New file.
19294 * benchtests/bench-strchrnul-ifunc.c: New file.
19295 * benchtests/bench-strchrnul.c: New file.
19296 * benchtests/bench-strcmp-ifunc.c: New file.
19297 * benchtests/bench-strcmp.c: New file.
19298 * benchtests/bench-strcpy-ifunc.c: New file.
19299 * benchtests/bench-strcpy.c: New file.
19300 * benchtests/bench-strcspn-ifunc.c: New file.
19301 * benchtests/bench-strcspn.c: New file.
19302 * benchtests/bench-strlen-ifunc.c: New file.
19303 * benchtests/bench-strlen.c: New file.
19304 * benchtests/bench-strncasecmp-ifunc.c: New file.
19305 * benchtests/bench-strncasecmp.c: New file.
19306 * benchtests/bench-strncat-ifunc.c: New file.
19307 * benchtests/bench-strncat.c: New file.
19308 * benchtests/bench-strncmp-ifunc.c: New file.
19309 * benchtests/bench-strncmp.c: New file.
19310 * benchtests/bench-strncpy-ifunc.c: New file.
19311 * benchtests/bench-strncpy.c: New file.
19312 * benchtests/bench-strnlen-ifunc.c: New file.
19313 * benchtests/bench-strnlen.c: New file.
19314 * benchtests/bench-strpbrk-ifunc.c: New file.
19315 * benchtests/bench-strpbrk.c: New file.
19316 * benchtests/bench-strrchr-ifunc.c: New file.
19317 * benchtests/bench-strrchr.c: New file.
19318 * benchtests/bench-strspn-ifunc.c: New file.
19319 * benchtests/bench-strspn.c: New file.
19320 * benchtests/bench-strstr-ifunc.c: New file.
19321 * benchtests/bench-strstr.c: New file.
19322
c1f75dc3
SP
19323 * benchtests/Makefile: Disable parallel execution of targets.
19324 (string-bench): Add memcpy.
19325 (benchset): New variable to store a list of benchmark sets.
19326 (bench-func): Renamed from bench.
19327 (bench-set): New target.
19328 (bench): Depend on bench-func and bench-set.
19329 * benchtests/README: Add section on benchmark sets.
19330 * benchtests/bench-memcpy-ifunc.c: New file.
19331 * benchtests/bench-memcpy.c: New file.
19332 * benchtests/bench-string.h: New file.
19333
50fd745b
AS
193342013-06-11 Andreas Schwab <schwab@suse.de>
19335
19336 [BZ #15577]
19337 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19338 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19339 values in the triple.
19340 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19341 terminator in the group key.
19342
3ee7e9fe
AJ
193432013-06-11 Andreas Jaeger <aj@suse.de>
19344
19345 * po/zh_TW.po: Update Chinese (traditional) translation from
19346 translation project.
19347
89fb6835
SP
193482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19349
19350 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19351 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19352 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19354 (clock_getcpuclockid): Likewise.
19355 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19356 Add weak_alias and libc_hidden_def.
19357 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19358 * rt/clock_gettime.c (clock_gettime): Rename to
19359 __clock_gettime. Add weak_alias and libc_hidden_def.
19360 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19361 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19362 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19363 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19364 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19365 Likewise.
19366 * rt/clock_settime.c (clock_settime): Rename to
19367 __clock_settime. Add weak_alias and libc_hidden_def.
19368 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19369
0efa6f8b
JM
193702013-06-10 Joseph Myers <joseph@codesourcery.com>
19371
b8c61b4b
JM
19372 * mach/err_boot.sub: Remove trailing whitespace.
19373 * mach/err_ipc.sub: Likewise.
19374 * mach/err_mach.sub: Likewise.
19375
0efa6f8b
JM
19376 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19377 (ROUNDING_TESTS_double): Likewise.
19378 (ROUNDING_TESTS_long_double): Likewise.
19379 (ROUNDING_TESTS): Likewise.
19380 * math/libm-test.inc: Include <math-tests.h>.
19381 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19382 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19383 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19384 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19385
50b818bf
SP
193862013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19387
19388 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19389 of assigning.
19390
60d2f8f3
JM
193912013-06-08 Joseph Myers <joseph@codesourcery.com>
19392
4902d2c3
JM
19393 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19394 otherwise empty TRANS lines.
19395 * sysdeps/gnu/errlist.c: Regenerated.
19396
60d2f8f3
JM
19397 * catgets/gencat.c (error_print): Use (void) in function
19398 definition.
19399 * crypt/crypt_util.c (__init_des): Likewise.
19400 * crypt/speeds.c (Stop): Likewise.
19401 (main): Likewise.
19402 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19403 * inet/ruserpass.c (token): Likewise.
19404 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19405 * intl/localealias.c (extend_alias_table): Likewise.
19406 * intl/plural-exp.c (init_germanic_plural): Likewise.
19407 * libio/fcloseall.c (__fcloseall): Likewise.
19408 * libio/genops.c (_IO_flush_all): Likewise.
19409 (_IO_flush_all_linebuffered): Likewise.
19410 (_IO_cleanup): Likewise.
19411 (_IO_iter_begin): Likewise.
19412 (_IO_iter_end): Likewise.
19413 (_IO_list_lock): Likewise.
19414 (_IO_list_unlock): Likewise.
19415 (_IO_list_resetlock): Likewise.
19416 * libio/getchar.c (getchar): Likewise.
19417 * libio/getchar_u.c (getchar_unlocked): Likewise.
19418 * libio/getwchar.c (getwchar): Likewise.
19419 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19420 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19421 * login/getpt.c (__getpt): Likewise.
19422 * login/tst-utmp.c (main): Likewise.
19423 * malloc/hooks.c (__malloc_check_init): Likewise.
19424 * malloc/malloc.c (__malloc_stats): Likewise.
19425 * malloc/mtrace.c (tr_break): Likewise.
19426 (mtrace): Likewise.
19427 (muntrace): Likewise.
19428 * misc/fstab.c (endfsent): Likewise.
19429 * misc/getclktck.c (__getclktck): Likewise.
19430 * misc/getdtsz.c (__getdtablesize): Likewise.
19431 * misc/gethostid.c (gethostid): Likewise.
19432 * misc/getpagesize.c (__getpagesize): Likewise.
19433 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19434 (__get_nprocs): Likewise.
19435 (__get_phys_pages): Likewise.
19436 (__get_avphys_pages): Likewise.
19437 * misc/getttyent.c (getttyent): Likewise.
19438 (setttyent): Likewise.
19439 (endttyent): Likewise.
19440 * misc/getusershell.c (getusershell): Likewise.
19441 (endusershell): Likewise.
19442 (setusershell): Likewise.
19443 (initshells): Likewise.
19444 * misc/hsearch.c (__hdestroy): Likewise.
19445 * misc/sync.c (sync): Likewise.
19446 * misc/syslog.c (closelog_internal): Likewise.
19447 (closelog): Likewise.
19448 * misc/ttyslot.c (ttyslot): Likewise.
19449 * misc/vhangup.c (vhangup): Likewise.
19450 * posix/fork.c (__fork): Likewise.
19451 * posix/getegid.c (__getegid): Likewise.
19452 * posix/geteuid.c (__geteuid): Likewise.
19453 * posix/getgid.c (__getgid): Likewise.
19454 * posix/getpid.c (__getpid): Likewise.
19455 * posix/getppid.c (__getppid): Likewise.
19456 * posix/getuid.c (__getuid): Likewise.
19457 * posix/pause.c (pause): Likewise.
19458 * posix/setpgrp.c (setpgrp): Likewise.
19459 * posix/setsid.c (__setsid): Likewise.
19460 * posix/test-vfork.c (noop): Likewise.
19461 * resolv/gethnamaddr.c (_endhtent): Likewise.
19462 (_gethtent): Likewise.
19463 (ht_endhostent): Likewise.
19464 (gethostent): Likewise.
19465 (dns_service): Likewise.
19466 * stdlib/drand48.c (drand48): Likewise.
19467 * stdlib/lrand48.c (lrand48): Likewise.
19468 * stdlib/mrand48.c (mrand48): Likewise.
19469 * stdlib/rand.c (rand): Likewise.
19470 * stdlib/random.c (__random): Likewise.
19471 * stdlib/setenv.c (clearenv): Likewise.
19472 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19473 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19474 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19475 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19476 (__get_nprocs): Likewise.
19477 (__get_phys_pages): Likewise.
19478 (__get_avphys_pages): Likewise.
19479 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19480 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19481 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19482 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19483 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19484 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19485 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19486 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19487 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19488 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19489 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19490 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19491 * sysdeps/posix/clock.c (clock): Likewise.
19492 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19493 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19494 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19495 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19496 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19498 (__get_nprocs_conf): Likewise.
19499 (__get_phys_pages): Likewise.
19500 (__get_avphys_pages): Likewise.
19501 * time/clock.c (clock): Likewise.
19502 * time/tzset.c (__tzname_max): Likewise.
19503
2e09a79a
JM
195042013-06-07 Joseph Myers <joseph@codesourcery.com>
19505
19506 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19507 (__bswap_32): Do not use "register".
19508 * crypt/crypt.c (_ufc_doit_r): Likewise.
19509 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19510 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19511 * gmon/gmon.c (__monstartup): Likewise.
19512 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19513 * hurd/hurdmalloc.c (more_memory): Likewise.
19514 (malloc): Likewise.
19515 (free): Likewise.
19516 (realloc): Likewise.
19517 (malloc_fork_prepare): Likewise.
19518 (malloc_fork_parent): Likewise.
19519 (malloc_fork_child): Likewise.
19520 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19521 (_svcauth_des): Likewise.
19522 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19523 * inet/inet_net.c (inet_network): Likewise.
19524 * inet/inet_netof.c (inet_netof): Likewise.
19525 * inet/rcmd.c (__validuser2_sa): Likewise.
19526 * io/fts.c (fts_open): Likewise.
19527 (fts_load): Likewise.
19528 (fts_close): Likewise.
19529 (fts_read): Likewise.
19530 (fts_children): Likewise.
19531 (fts_build): Likewise.
19532 (fts_stat): Likewise.
19533 (fts_sort): Likewise.
19534 (fts_alloc): Likewise.
19535 (fts_lfree): Likewise.
19536 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19537 (_IO_file_xsgetn): Likewise.
19538 (_IO_file_xsgetn_mmap): Likewise.
19539 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19540 (_IO_cookie_write): Likewise.
19541 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19542 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19543 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19544 * malloc/obstack.c (_obstack_begin): Likewise.
19545 (_obstack_begin_1): Likewise.
19546 (_obstack_newchunk): Likewise.
19547 (_obstack_allocated_p): Likewise.
19548 (obstack_free): Likewise.
19549 (_obstack_memory_used): Likewise.
19550 * misc/getttyent.c (getttynam): Likewise.
19551 (getttyent): Likewise.
19552 (skip): Likewise.
19553 (value): Likewise.
19554 * misc/getusershell.c (initshells): Likewise.
19555 * misc/syslog.c (__vsyslog_chk): Likewise.
19556 * misc/ttyslot.c (ttyslot): Likewise.
19557 * nis/nis_hash.c (__nis_hash): Likewise.
19558 * posix/fnmatch_loop.c (FCT): Likewise.
19559 * posix/getconf.c (print_all): Likewise.
19560 (main): Likewise.
19561 * posix/getopt.c (exchange): Likewise.
19562 * posix/glob.c (globfree): Likewise.
19563 (prefix_array): Likewise.
19564 (__glob_pattern_type): Likewise.
19565 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19566 (NS_GET32): Likewise.
19567 (NS_PUT16): Likewise.
19568 (NS_PUT32): Likewise.
19569 * resolv/gethnamaddr.c (getanswer): Likewise.
19570 (gethostbyname2): Likewise.
19571 (gethostbyaddr): Likewise.
19572 (_gethtent): Likewise.
19573 (_gethtbyname2): Likewise.
19574 (_gethtbyaddr): Likewise.
19575 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19576 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19577 * resolv/res_init.c (__res_vinit): Likewise.
19578 (net_mask): Likewise.
19579 * resolv/res_mkquery.c (outchar): Likewise.
19580 (PRINT): Likewise.
19581 * stdio-common/printf_fp.c (outchar): Likewise.
19582 (PRINT): Likewise.
19583 * stdio-common/printf_fphex.c (outchar): Likewise.
19584 (PRINT): Likewise.
19585 * stdio-common/printf_size.c (outchar): Likewise.
19586 (PRINT): Likewise.
19587 * stdio-common/test_rdwr.c (main): Likewise.
19588 * stdio-common/tfformat.c (matches): Likewise.
19589 * stdio-common/vfprintf.c (outchar): Likewise.
19590 (printf_unknown): Likewise.
19591 (buffered_vfprintf): Likewise.
19592 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19593 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19594 (ReadFile): Likewise.
19595 * stdlib/qsort.c (SWAP): Likewise.
19596 (_quicksort): Likewise.
19597 * stdlib/setenv.c (__add_to_environ): Likewise.
19598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19599 * stdlib/strtol_l.c (__strtol_l): Likewise.
19600 * stdlib/tst-strtod.c (main): Likewise.
19601 * stdlib/tst-strtol.c (main): Likewise.
19602 * stdlib/tst-strtoll.c (main): Likewise.
19603 * string/bits/string2.h (__strcmp_cc): Likewise.
19604 (__strcmp_cg): Likewise.
19605 (__strcspn_c1): Likewise.
19606 (__strcspn_c2): Likewise.
19607 (__strcspn_c3): Likewise.
19608 (__strspn_c1): Likewise.
19609 (__strspn_c2): Likewise.
19610 (__strspn_c3): Likewise.
19611 (__strsep_1c): Likewise.
19612 (__strsep_2c): Likewise.
19613 (__strsep_3c): Likewise.
19614 * string/memccpy.c (__memccpy): Likewise.
19615 * string/stpcpy.c (__stpcpy): Likewise.
19616 * string/strcmp.c (strcmp): Likewise.
19617 * string/strrchr.c (strrchr): Likewise.
19618 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19619 Likewise.
19620 * sysdeps/mach/hurd/getcwd.c
19621 (_hurd_canonicalize_directory_name_internal): Likewise.
19622 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19623 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19624 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19625 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19626 Likewise, in both definitions.
19627 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19628 definitions.
19629 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19630 64] (__bswap_64): Likewise.
19631 * time/test_time.c (main): Likewise.
19632 * time/tzfile.c (__tzfile_read): Likewise.
19633 (__tzfile_compute): Likewise.
19634 * time/tzset.c (__tzset_parse_tz): Likewise.
19635 (tzset_internal): Likewise.
19636 (compute_change): Likewise.
19637 * wcsmbs/wcscat.c (__wcscat): Likewise.
19638 * wcsmbs/wcschr.c (wcschr): Likewise.
19639 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19640 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19641 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19642 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19643 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19644 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19645 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19646 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19647 * wcsmbs/wmemset.c (wmemset): Likewise.
19648
9e54314b
JM
196492013-06-06 Joseph Myers <joseph@codesourcery.com>
19650
19651 * scripts/config.guess: Update to version 2013-05-16.
19652 * scripts/config.sub: Update to version 2013-04-24.
19653 * scripts/install-sh: Update to version 2011-11-20.07.
19654 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19655 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19656
350635a5
OB
196572013-06-06 Ondřej Bílka <neleai@seznam.cz>
19658
19659 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19660 * elf/sln.c: Likewise.
19661 * hurd/hurd/ioctl.h: Likewise.
19662 * hurd/hurdmalloc.c: Likewise.
19663 * hurd/xattr.c: Likewise.
19664 * include/shlib-compat.h: Likewise.
19665 * inet/ruserpass.c: Likewise.
19666 * libio/iofgets_u.c: Likewise.
19667 * libio/iofgetws_u.c: Likewise.
19668 * locale/programs/ld-identification.c: Likewise.
19669 * locale/programs/ld-time.c: Likewise.
19670 * mach/msg-destroy.c: Likewise.
19671 * nss/nss_files/files-netgrp.c: Likewise.
19672 * resolv/res_data.c: Likewise.
19673 * soft-fp/op-1.h: Likewise.
19674 * soft-fp/op-2.h: Likewise.
19675 * soft-fp/op-4.h: Likewise.
19676 * soft-fp/op-common.h: Likewise.
19677 * stdio-common/printf_fphex.c: Likewise.
19678 * stdlib/strtod_l.c: Likewise.
19679 * sunrpc/rpc/clnt.h: Likewise.
19680 * sysdeps/generic/framestate.c: Likewise.
19681 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19682 * sysdeps/i386/bsd-setjmp.S: Likewise.
19683 * sysdeps/i386/__longjmp.S: Likewise.
19684 * sysdeps/i386/setjmp.S: Likewise.
19685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19688 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19690 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19694 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19695 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19697 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19700 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19701 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19702 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19703 * sysdeps/ieee754/support.c: Likewise.
19704 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19705 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19706 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19707 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19708 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19709 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19710 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19711 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19712 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19713 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19714 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19715 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19716 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19717 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19718 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19719 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19720 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19722
44a988af
OB
197232013-06-05 Ondřej Bílka <neleai@seznam.cz>
19724
25506f09 19725 * posix/transbug.c: Remove executable mode.
44a988af 19726
9c84384c
JM
197272013-06-05 Joseph Myers <joseph@codesourcery.com>
19728
19729 * crypt/speeds.c: Remove trailing whitespace.
19730 * dlfcn/default.c: Likewise.
19731 * elf/ifuncdep2.c: Likewise.
19732 * elf/ifuncmain1.c: Likewise.
19733 * elf/ifuncmain1vis.c: Likewise.
19734 * elf/testobj.h: Likewise.
19735 * elf/tst-stackguard1.c: Likewise.
19736 * gmon/sys/gmon.h: Likewise.
19737 * hurd/hurdmsg.c: Likewise.
19738 * hurd/new-fd.c: Likewise.
19739 * hurd/ports-get.c: Likewise.
19740 * iconvdata/ibm1008_420.c: Likewise.
19741 * inet/tst-getni1.c: Likewise.
19742 * inet/tst-getni2.c: Likewise.
19743 * libio/ioungetc.c: Likewise.
19744 * libio/wfiledoalloc.c: Likewise.
19745 * manual/libm-err-tab.pl: Likewise.
19746 * math/w_dremf.c: Likewise.
19747 * misc/ftruncate.c: Likewise.
19748 * posix/bug-glob2.c: Likewise.
19749 * posix/tst-pcre.c: Likewise.
19750 * posix/wait4.c: Likewise.
19751 * resolv/README: Likewise.
19752 * resolv/res_debug.h: Likewise.
19753 * resolv/tst-inet_ntop.c: Likewise.
19754 * setjmp/bug269-setjmp.c: Likewise.
19755 * soft-fp/extended.h: Likewise.
19756 * soft-fp/op-1.h: Likewise.
19757 * soft-fp/op-2.h: Likewise.
19758 * soft-fp/op-4.h: Likewise.
19759 * soft-fp/op-8.h: Likewise.
19760 * soft-fp/testit.c: Likewise.
19761 * stdio-common/bug16.c: Likewise.
19762 * stdlib/random.c: Likewise.
19763 * sunrpc/rpcsvc/rquota.x: Likewise.
19764 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19765 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19767 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19768 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19769 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19770 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19771 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19773 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19774 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19775 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19777 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19780 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19782 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19783 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19786 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19789 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19793 * sysdeps/ieee754/s_lib_version.c: Likewise.
19794 * sysdeps/mach/hurd/check_fds.c: Likewise.
19795 * sysdeps/mach/hurd/getsockname.c: Likewise.
19796 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19797 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19798 * sysdeps/powerpc/bits/link.h: Likewise.
19799 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19800 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19801 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19802 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19803 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19804 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19805 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19806 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19807 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19808 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19809 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19810 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19811 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19812 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19813 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19814 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19820 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19822 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19823 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19825 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19826 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19827 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19828 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19829 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19831 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19833 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19834 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19835 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19836 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19837 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19838 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19839 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19840 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19841 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19842 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19843 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19844 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19845 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19846 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19847 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19848 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19851 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19852 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19853 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19854 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19855 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19856 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19857 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19858 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19859 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19860 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19861 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19863 * sysdeps/powerpc/sysdep.h: Likewise.
19864 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19865 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19866 * sysdeps/sh/dl-trampoline.S: Likewise.
19867 * sysdeps/sh/memset.S: Likewise.
19868 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19869 * sysdeps/sh/strlen.S: Likewise.
19870 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19871 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19872 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19873 * sysdeps/sparc/sparc32/rem.S: Likewise.
19874 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19875 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19876 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19877 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19878 * sysdeps/sparc/sparc32/urem.S: Likewise.
19879 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19880 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19881 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19882 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19884 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19885 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19886 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19887 * sysdeps/unix/bsd/times.c: Likewise.
19888 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19889 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19893 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19894 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19895 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19896 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19897 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19898 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19899 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19900 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19901 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19902 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19903 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19904 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19905 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19906 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19907 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19908 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19909 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19910 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19911 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19912 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19913 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19914 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19915 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19916 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19917 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19918 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19919 * sysdeps/x86_64/strcspn.S: Likewise.
19920
869378a5
RA
199212013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19922
19923 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19924 generated file. Regenerate properly from gen-translit.pl.
19925 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19926 locale/C-translit.h.
19927
840e2943
AS
199282013-06-05 Andreas Schwab <schwab@suse.de>
19929
19930 [BZ #15100]
19931 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19932 week as 6 instead of -1.
19933 * time/tst-strptime.c (day_tests): Add test case.
19934
4c60cb0c
SP
199352013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19936
19937 * sysdeps/generic/math_private.h
19938 (libc_feholdexcept_setround_53bit): Replace with
19939 libc_feholdsetround_53bit.
19940 (libc_feupdateenv_53bit): Replace with
19941 libc_feresetround_53bit.
19942 (SET_RESTORE_ROUND_53BIT): Adjust.
19943
d180203e
SP
199442013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19945
96df079a
SP
19946 * string/test-strchrnul.c: Add copyright header.
19947
d180203e
SP
19948 * posix/tst-getaddrinfo4.c: Increase test timeout.
19949
8b0ccb2d
CD
199502013-06-03 Carlos O'Donell <carlos@redhat.com>
19951
19952 [BZ #15536]
19953 * math/libm-test.inc (MAX_EXP): Remove
19954 (MIN_EXP): Define.
19955 (ulp): Use MIN_EXP - MANT_DIG.
19956 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19957
3b3c4d40
CD
199582013-05-31 Carlos O'Donell <carlos@redhat.com>
19959
19960 * po/be.po: Revert last change.
19961 * po/zh_CN.po: Likewise.
19962 * po/header.pot: Likewise.
19963
fab7ce3f
JM
199642013-05-31 Joseph Myers <joseph@codesourcery.com>
19965
19966 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19967 link-libc-deps to empty as target-specific variable.
19968 * Makerules (link-libc-args): New variable.
19969 (libc-for-link): Likewise.
19970 (link-libc-deps): Likewise.
19971 (lib%.so): Depend on $(link-libc-deps). Link with
19972 $(link-libc-args).
19973 (build-module): Link with $(link-libc-args).
19974 (build-module-asneeded): Likewise.
19975 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19976 list of objects.
19977 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19978 target-specific variable.
19979 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19980 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19981 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19982 libc.
19983 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19984 libc and ld.so.
19985 ($(objpfx)libpcprofile.so): Likewise.
19986 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19987 libc_nonshared.a.
19988 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19989 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19990 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19991 $(link-libc-deps).
19992 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19993 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19994 * login/Makefile ($(objpfx)libutil.so): Likewise.
19995 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19996 * math/Makefile ($(objpfx)libm.so): Likewise.
19997 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19998 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19999 variable instead of depending directly on libc.
20000 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20001 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20002 $(link-libc-deps).
20003 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20004 libc.
20005 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20006 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20007 ($(objpfx)libanl.so): Likewise.
20008 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20009 ld.so.
20010 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20011 $(link-libc-deps).
20012 * sysdeps/i386/fpu/Makefile: Remove file.
20013 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20014 ($(objpfx)libm.so): Remove dependency on ld.so.
20015
eca5920c
PF
200162013-05-30 Patsy Franklin <pfrankli@redhat.com>
20017
20018 [BZ # 15553]
20019 * nis/yp_xdr.c (XDRMAXNAME): Define.
20020 (XDRMAXRECORD): Define.
20021 (xdr_domainname): Use XDRMAXNAME.
20022 (xdr_mapname): Likewise.
20023 (xdr_peername): Likewise.
20024 (xdr_keydat): Use XDRMAXRECORD.
20025 (xdr_valdat): Likewise.
20026
200272013-05-30 Jeff Law <law@redhat.com>
96945714
JL
20028
20029 [BZ #14256]
20030 * manual/errno.texi (ESTALE): Update to account for more than
20031 just NFS file systems.
20032 * sysdeps/gnu/errlist.c: Regenerated.
20033
b9375348
SP
200342013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20035
20036 [BZ #15465]
20037 * elf/Makefile (tests): Add tst-null-argv.
20038 (modules-names): Add tst-null-argv-lib.
20039 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20040 (tst-null-argv-ENV): Set environment for tst-null-argv.
20041 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20042 (RTLD_PROGNAME): New macro.
20043 * elf/tst-null-argv.c: New test case.
20044 * elf/tst-null-argv-lib.c: Library for test case.
20045 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20046 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20047 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20048 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20049 * elf/dl-init.c (call_init): Likewise.
20050 (_dl_init): Likewise.
20051 * elf/dl-load.c (print_search_path): Likewise.
20052 (_dl_map_object): Likewise.
20053 * elf/dl-lookup.c (do_lookup_x): Likewise.
20054 (add_dependency): Likewise.
20055 (_dl_lookup_symbol_x): Likewise.
20056 (_dl_debug_bindings): Likewise.
20057 * elf/dl-open.c (_dl_show_scope): Likewise.
20058 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20059 * elf/dl-version.c (match_symbol): Likewise.
20060 (_dl_check_map_versions): Likewise.
20061 * elf/rtld.c (dl_main): Likewise.
20062 (print_unresolved): Use RTLD_PROGNAME.
20063 (print_missing_version): Likewise.
20064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20065 (elf_machine_rela): Likewise.
20066 * sysdeps/powerpc/powerpc32/dl-machine.c
20067 (__process_machine_rela): Likewise.
20068 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20069 Likewise.
20070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20071 Likewise.
20072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20073 Likewise.
20074 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20076 Likewise.
20077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20078 Likewise.
20079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20080
8a9f20c8
CD
200812013-05-28 Carlos O'Donell <carlos@redhat.com>
20082
20083 * po/be.po: Add descriptive title.
20084 * po/zh_CN.po: Likewise.
20085 * po/header.pot: Likewise.
20086
0e60d68e
MF
200872013-05-28 Mike Frysinger <vapier@gentoo.org>
20088
20089 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20090 error message.
20091 (enlarge_archive): Likewise.
20092
56b672e9
BN
200932013-05-28 Ben North <ben@redfrontdoor.org>
20094
20095 * manual/arith.texi (frexp): It is the magnitude of the return
20096 value which lies in [0.5, 1), not the return value itself.
20097
5e056687
AZ
200982013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20099
20100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20101
2b66ef5d
TS
201022013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20103
528c2405
TS
20104 * stdio-common/bug26.c (main): Correct fscanf template.
20105
07b4c13d
TS
20106 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20107 declare _dl_skip_args.
20108
ec9dd97c
TS
20109 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20110 Don't declare.
20111
2b66ef5d
TS
20112 * manual/platform.texi: Add missing @end deftypefun.
20113
4f8dfe27
JM
201142013-05-24 Joseph Myers <joseph@codesourcery.com>
20115
0323d086
JM
20116 [BZ #15529]
20117 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20118 bit of mantissa of 2^16382.
20119 * math/libm-test.inc (hypot_test_data): Add more tests.
20120
dd4259b9
JM
20121 * math/libm-test.inc: Add drem and pow10 to list of tested
20122 functions.
20123 (pow10_test): New function.
20124 (drem_test): Likewise.
20125 (drem_test_tonearest): Likewise.
20126 (drem_test_towardzero): Likewise.
20127 (drem_test_downward): Likewise.
20128 (drem_test_upward): Likewise.
20129 (main): Call the new functions.
20130
4f8dfe27
JM
20131 * math/libm-test.inc (finite_test_data): Remove.
20132 (finite_test): Run tests from isfinite_test_data.
20133 (gamma_test_data): Remove.
20134 (gamma_test): Run tests from lgamma_test_data.
20135 * sysdeps/i386/fpu/libm-test-ulps: Update.
20136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20137
d116b7c4
AZ
201382013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20139
20140 * manual/platform.texi: Add PowerPC PPR function set documentation.
20141 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20142 implementation.
20143
e96e3767
CD
201442013-05-24 Carlos O'Donell <carlos@redhat.com>
20145
20146 * math/libm-test.inc (MAX_EXP): Define.
20147 (ULPDIFF): Define.
20148 (ulp): New function.
20149 (check_float_internal): Use ULPDIFF.
20150 (cpow_test): Disable failing test.
20151 (check_ulp): Test ulp() implemetnation.
20152 (main): Call check_ulp before starting tests.
20153
b679a606
JM
201542013-05-24 Joseph Myers <joseph@codesourcery.com>
20155
e8bdba36
JM
20156 * math/gen-libm-test.pl (generate_testfile): Do not handle
20157 START_DATA and END_DATA.
20158 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20159 END_DATA.
20160 (acos_tonearest_test_data): Likewise.
20161 (acos_towardzero_test_data): Likewise.
20162 (acos_downward_test_data): Likewise.
20163 (acos_upward_test_data): Likewise.
20164 (acosh_test_data): Likewise.
20165 (asin_test_data): Likewise.
20166 (asin_tonearest_test_data): Likewise.
20167 (asin_towardzero_test_data): Likewise.
20168 (asin_downward_test_data): Likewise.
20169 (asin_upward_test_data): Likewise.
20170 (asinh_test_data): Likewise.
20171 (atan_test_data): Likewise.
20172 (atanh_test_data): Likewise.
20173 (atan2_test_data): Likewise.
20174 (cabs_test_data): Likewise.
20175 (cacos_test_data): Likewise.
20176 (cacosh_test_data): Likewise.
20177 (carg_test_data): Likewise.
20178 (casin_test_data): Likewise.
20179 (casinh_test_data): Likewise.
20180 (catan_test_data): Likewise.
20181 (catanh_test_data): Likewise.
20182 (cbrt_test_data): Likewise.
20183 (ccos_test_data): Likewise.
20184 (ccosh_test_data): Likewise.
20185 (ceil_test_data): Likewise.
20186 (cexp_test_data): Likewise.
20187 (cimag_test_data): Likewise.
20188 (clog_test_data): Likewise.
20189 (clog10_test_data): Likewise.
20190 (conj_test_data): Likewise.
20191 (copysign_test_data): Likewise.
20192 (cos_test_data): Likewise.
20193 (cos_tonearest_test_data): Likewise.
20194 (cos_towardzero_test_data): Likewise.
20195 (cos_downward_test_data): Likewise.
20196 (cos_upward_test_data): Likewise.
20197 (cosh_test_data): Likewise.
20198 (cosh_tonearest_test_data): Likewise.
20199 (cosh_towardzero_test_data): Likewise.
20200 (cosh_downward_test_data): Likewise.
20201 (cosh_upward_test_data): Likewise.
20202 (cpow_test_data): Likewise.
20203 (cproj_test_data): Likewise.
20204 (creal_test_data): Likewise.
20205 (csin_test_data): Likewise.
20206 (csinh_test_data): Likewise.
20207 (csqrt_test_data): Likewise.
20208 (ctan_test_data): Likewise.
20209 (ctan_tonearest_test_data): Likewise.
20210 (ctan_towardzero_test_data): Likewise.
20211 (ctan_downward_test_data): Likewise.
20212 (ctan_upward_test_data): Likewise.
20213 (ctanh_test_data): Likewise.
20214 (ctanh_tonearest_test_data): Likewise.
20215 (ctanh_towardzero_test_data): Likewise.
20216 (ctanh_downward_test_data): Likewise.
20217 (ctanh_upward_test_data): Likewise.
20218 (erf_test_data): Likewise.
20219 (erfc_test_data): Likewise.
20220 (exp_test_data): Likewise.
20221 (exp_tonearest_test_data): Likewise.
20222 (exp_towardzero_test_data): Likewise.
20223 (exp_downward_test_data): Likewise.
20224 (exp_upward_test_data): Likewise.
20225 (exp10_test_data): Likewise.
20226 (exp2_test_data): Likewise.
20227 (expm1_test_data): Likewise.
20228 (fabs_test_data): Likewise.
20229 (fdim_test_data): Likewise.
20230 (finite_test_data): Likewise.
20231 (floor_test_data): Likewise.
20232 (fma_test_data): Likewise.
20233 (fma_towardzero_test_data): Likewise.
20234 (fma_downward_test_data): Likewise.
20235 (fma_upward_test_data): Likewise.
20236 (fmax_test_data): Likewise.
20237 (fmin_test_data): Likewise.
20238 (fmod_test_data): Likewise.
20239 (fpclassify_test_data): Likewise.
20240 (frexp_test_data): Likewise.
20241 (gamma_test_data): Likewise.
20242 (hypot_test_data): Likewise.
20243 (ilogb_test_data): Likewise.
20244 (isfinite_test_data): Likewise.
20245 (isgreater_test_data): Likewise.
20246 (isgreaterequal_test_data): Likewise.
20247 (isinf_test_data): Likewise.
20248 (isless_test_data): Likewise.
20249 (islessequal_test_data): Likewise.
20250 (islessgreater_test_data): Likewise.
20251 (isnan_test_data): Likewise.
20252 (isnormal_test_data): Likewise.
20253 (issignaling_test_data): Likewise.
20254 (isunordered_test_data): Likewise.
20255 (j0_test_data): Likewise.
20256 (j1_test_data): Likewise.
20257 (jn_test_data): Likewise.
20258 (ldexp_test_data): Likewise.
20259 (lgamma_test_data): Likewise.
20260 (lrint_test_data): Likewise.
20261 (lrint_tonearest_test_data): Likewise.
20262 (lrint_towardzero_test_data): Likewise.
20263 (lrint_downward_test_data): Likewise.
20264 (lrint_upward_test_data): Likewise.
20265 (llrint_test_data): Likewise.
20266 (llrint_tonearest_test_data): Likewise.
20267 (llrint_towardzero_test_data): Likewise.
20268 (llrint_downward_test_data): Likewise.
20269 (llrint_upward_test_data): Likewise.
20270 (log_test_data): Likewise.
20271 (log10_test_data): Likewise.
20272 (log1p_test_data): Likewise.
20273 (log2_test_data): Likewise.
20274 (logb_test_data): Likewise.
20275 (logb_downward_test_data): Likewise.
20276 (lround_test_data): Likewise.
20277 (llround_test_data): Likewise.
20278 (modf_test_data): Likewise.
20279 (nearbyint_test_data): Likewise.
20280 (nextafter_test_data): Likewise.
20281 (nexttoward_test_data): Likewise.
20282 (pow_test_data): Likewise.
20283 (pow_tonearest_test_data): Likewise.
20284 (pow_towardzero_test_data): Likewise.
20285 (pow_downward_test_data): Likewise.
20286 (pow_upward_test_data): Likewise.
20287 (remainder_test_data): Likewise.
20288 (remainder_tonearest_test_data): Likewise.
20289 (remainder_towardzero_test_data): Likewise.
20290 (remainder_downward_test_data): Likewise.
20291 (remainder_upward_test_data): Likewise.
20292 (remquo_test_data): Likewise.
20293 (rint_test_data): Likewise.
20294 (rint_tonearest_test_data): Likewise.
20295 (rint_towardzero_test_data): Likewise.
20296 (rint_downward_test_data): Likewise.
20297 (rint_upward_test_data): Likewise.
20298 (round_test_data): Likewise.
20299 (scalb_test_data): Likewise.
20300 (scalbn_test_data): Likewise.
20301 (scalbln_test_data): Likewise.
20302 (signbit_test_data): Likewise.
20303 (sin_test_data): Likewise.
20304 (sin_tonearest_test_data): Likewise.
20305 (sin_towardzero_test_data): Likewise.
20306 (sin_downward_test_data): Likewise.
20307 (sin_upward_test_data): Likewise.
20308 (sincos_test_data): Likewise.
20309 (sinh_test_data): Likewise.
20310 (sinh_tonearest_test_data): Likewise.
20311 (sinh_towardzero_test_data): Likewise.
20312 (sinh_downward_test_data): Likewise.
20313 (sinh_upward_test_data): Likewise.
20314 (sqrt_test_data): Likewise.
20315 (tan_test_data): Likewise.
20316 (tan_tonearest_test_data): Likewise.
20317 (tan_towardzero_test_data): Likewise.
20318 (tan_downward_test_data): Likewise.
20319 (tan_upward_test_data): Likewise.
20320 (tanh_test_data): Likewise.
20321 (tgamma_test_data): Likewise.
20322 (trunc_test_data): Likewise.
20323 (y0_test_data): Likewise.
20324 (y1_test_data): Likewise.
20325 (yn_test_data): Likewise.
20326 (significand_test_data): Likewise.
20327
b679a606
JM
20328 * math/gen-libm-test.pl (@functions): Remove variable.
20329 (generate_testfile): Don't handle START and END lines.
20330 * math/libm-test.inc (START): New macro.
20331 (END): Likewise.
20332 (END_COMPLEX): Likewise.
20333 (acos_test): Use END macro without arguments.
20334 (acos_test_tonearest): Likewise.
20335 (acos_test_towardzero): Likewise.
20336 (acos_test_downward): Likewise.
20337 (acos_test_upward): Likewise.
20338 (acosh_test): Likewise.
20339 (asin_test): Likewise.
20340 (asin_test_tonearest): Likewise.
20341 (asin_test_towardzero): Likewise.
20342 (asin_test_downward): Likewise.
20343 (asin_test_upward): Likewise.
20344 (asinh_test): Likewise.
20345 (atan_test): Likewise.
20346 (atanh_test): Likewise.
20347 (atan2_test): Likewise.
20348 (cabs_test): Likewise.
20349 (cacos_test): Use END_COMPLEX macro without arguments.
20350 (cacosh_test): Likewise.
20351 (carg_test): Use END macro without arguments.
20352 (casin_test): Use END_COMPLEX macro without arguments.
20353 (casinh_test): Likewise.
20354 (catan_test): Likewise.
20355 (catanh_test): Likewise.
20356 (cbrt_test): Use END macro without arguments.
20357 (ccos_test): Use END_COMPLEX macro without arguments.
20358 (ccosh_test): Likewise.
20359 (ceil_test): Use END macro without arguments.
20360 (cexp_test): Use END_COMPLEX macro without arguments.
20361 (cimag_test): Use END macro without arguments.
20362 (clog_test): Use END_COMPLEX macro without arguments.
20363 (clog10_test): Likewise.
20364 (conj_test): Likewise.
20365 (copysign_test): Use END macro without arguments.
20366 (cos_test): Likewise.
20367 (cos_test_tonearest): Likewise.
20368 (cos_test_towardzero): Likewise.
20369 (cos_test_downward): Likewise.
20370 (cos_test_upward): Likewise.
20371 (cosh_test): Likewise.
20372 (cosh_test_tonearest): Likewise.
20373 (cosh_test_towardzero): Likewise.
20374 (cosh_test_downward): Likewise.
20375 (cosh_test_upward): Likewise.
20376 (cpow_test): Use END_COMPLEX macro without arguments.
20377 (cproj_test): Likewise.
20378 (creal_test): Use END macro without arguments.
20379 (csin_test): Use END_COMPLEX macro without arguments.
20380 (csinh_test): Likewise.
20381 (csqrt_test): Likewise.
20382 (ctan_test): Likewise.
20383 (ctan_test_tonearest): Likewise.
20384 (ctan_test_towardzero): Likewise.
20385 (ctan_test_downward): Likewise.
20386 (ctan_test_upward): Likewise.
20387 (ctanh_test): Likewise.
20388 (ctanh_test_tonearest): Likewise.
20389 (ctanh_test_towardzero): Likewise.
20390 (ctanh_test_downward): Likewise.
20391 (ctanh_test_upward): Likewise.
20392 (erf_test): Use END macro without arguments.
20393 (erfc_test): Likewise.
20394 (exp_test): Likewise.
20395 (exp_test_tonearest): Likewise.
20396 (exp_test_towardzero): Likewise.
20397 (exp_test_downward): Likewise.
20398 (exp_test_upward): Likewise.
20399 (exp10_test): Likewise.
20400 (exp2_test): Likewise.
20401 (expm1_test): Likewise.
20402 (fabs_test): Likewise.
20403 (fdim_test): Likewise.
20404 (finite_test): Likewise.
20405 (floor_test): Likewise.
20406 (fma_test): Likewise.
20407 (fma_test_towardzero): Likewise.
20408 (fma_test_downward): Likewise.
20409 (fma_test_upward): Likewise.
20410 (fmax_test): Likewise.
20411 (fmin_test): Likewise.
20412 (fmod_test): Likewise.
20413 (fpclassify_test): Likewise.
20414 (frexp_test): Likewise.
20415 (gamma_test): Likewise.
20416 (hypot_test): Likewise.
20417 (ilogb_test): Likewise.
20418 (isfinite_test): Likewise.
20419 (isgreater_test): Likewise.
20420 (isgreaterequal_test): Likewise.
20421 (isinf_test): Likewise.
20422 (isless_test): Likewise.
20423 (islessequal_test): Likewise.
20424 (islessgreater_test): Likewise.
20425 (isnan_test): Likewise.
20426 (isnormal_test): Likewise.
20427 (issignaling_test): Likewise.
20428 (isunordered_test): Likewise.
20429 (j0_test): Likewise.
20430 (j1_test): Likewise.
20431 (jn_test): Likewise.
20432 (ldexp_test): Likewise.
20433 (lgamma_test): Likewise.
20434 (lrint_test): Likewise.
20435 (lrint_test_tonearest): Likewise.
20436 (lrint_test_towardzero): Likewise.
20437 (lrint_test_downward): Likewise.
20438 (lrint_test_upward): Likewise.
20439 (llrint_test): Likewise.
20440 (llrint_test_tonearest): Likewise.
20441 (llrint_test_towardzero): Likewise.
20442 (llrint_test_downward): Likewise.
20443 (llrint_test_upward): Likewise.
20444 (log_test): Likewise.
20445 (log10_test): Likewise.
20446 (log1p_test): Likewise.
20447 (log2_test): Likewise.
20448 (logb_test): Likewise.
20449 (logb_test_downward): Likewise.
20450 (lround_test): Likewise.
20451 (llround_test): Likewise.
20452 (modf_test): Likewise.
20453 (nearbyint_test): Likewise.
20454 (nextafter_test): Likewise.
20455 (nexttoward_test): Likewise.
20456 (pow_test): Likewise.
20457 (pow_test_tonearest): Likewise.
20458 (pow_test_towardzero): Likewise.
20459 (pow_test_downward): Likewise.
20460 (pow_test_upward): Likewise.
20461 (remainder_test): Likewise.
20462 (remainder_test_tonearest): Likewise.
20463 (remainder_test_towardzero): Likewise.
20464 (remainder_test_downward): Likewise.
20465 (remainder_test_upward): Likewise.
20466 (remquo_test): Likewise.
20467 (rint_test): Likewise.
20468 (rint_test_tonearest): Likewise.
20469 (rint_test_towardzero): Likewise.
20470 (rint_test_downward): Likewise.
20471 (rint_test_upward): Likewise.
20472 (round_test): Likewise.
20473 (scalb_test): Likewise.
20474 (scalbn_test): Likewise.
20475 (scalbln_test): Likewise.
20476 (signbit_test): Likewise.
20477 (sin_test): Likewise.
20478 (sin_test_tonearest): Likewise.
20479 (sin_test_towardzero): Likewise.
20480 (sin_test_downward): Likewise.
20481 (sin_test_upward): Likewise.
20482 (sincos_test): Likewise.
20483 (sinh_test): Likewise.
20484 (sinh_test_tonearest): Likewise.
20485 (sinh_test_towardzero): Likewise.
20486 (sinh_test_downward): Likewise.
20487 (sinh_test_upward): Likewise.
20488 (sqrt_test): Likewise.
20489 (tan_test): Likewise.
20490 (tan_test_tonearest): Likewise.
20491 (tan_test_towardzero): Likewise.
20492 (tan_test_downward): Likewise.
20493 (tan_test_upward): Likewise.
20494 (tanh_test): Likewise.
20495 (tgamma_test): Likewise.
20496 (trunc_test): Likewise.
20497 (y0_test): Likewise.
20498 (y1_test): Likewise.
20499 (yn_test): Likewise.
20500 (significand_test): Likewise.
20501
bae143d2
OB
205022013-05-24 Ondřej Bílka <neleai@seznam.cz>
20503
20504 [BZ #15381]
20505 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20506
9323d39b
EM
205072013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20508
d4ea44a0 20509 [BZ #14894]
9323d39b
EM
20510 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20511 __ppc_mdoio and __ppc_mdoom.
20512 * manual/platform.texi: Document new functions __ppc_yield,
20513 __ppc_mdoio and __ppc_mdoom.
20514
13e23af7
CD
205152013-05-22 Carlos O'Donell <carlos@redhat.com>
20516
20517 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20518 (main): Mention "tls" pseudo-hwcap is legacy.
20519 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20520
351fe550
JM
205212013-05-22 Joseph Myers <joseph@codesourcery.com>
20522
20523 * math/gen-libm-test.pl (parse_args): Output only string of
20524 arguments as text for test name, not full call or descriptions of
20525 tests for extra outputs.
20526 (generate_testfile): Do not pass function name to parse_args.
20527 Generate this_func variable from START.
20528 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20529 field to arg_str.
20530 (struct test_ff_f_data): Likewise.
20531 (test_ff_f_data_nexttoward): Likewise.
20532 (struct test_fi_f_data): Likewise.
20533 (struct test_fl_f_data): Likewise.
20534 (struct test_if_f_data): Likewise.
20535 (struct test_fff_f_data): Likewise.
20536 (struct test_c_f_data): Likewise.
20537 (struct test_f_f1_data): Likewise. Remove field extra_name.
20538 (struct test_fF_f1_data): Likewise.
20539 (struct test_ffI_f1_data): Likewise.
20540 (struct test_c_c_data): Rename test_name field to arg_str.
20541 (struct test_cc_c_data): Likewise.
20542 (struct test_f_i_data): Likewise.
20543 (struct test_ff_i_data): Likewise.
20544 (struct test_f_l_data): Likewise.
20545 (struct test_f_L_data): Likewise.
20546 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20547 and extra2_name.
20548 (COMMON_TEST_SETUP): New macro.
20549 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20550 (COMMON_TEST_CLEANUP): Likewise.
20551 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20552 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20553 macros.
20554 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20555 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20556 macros.
20557 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20558 (RUN_TEST_fff_f): Take argument string. Call new setup and
20559 cleanup macros.
20560 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20561 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20562 macros.
20563 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20564 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20565 macros.
20566 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20567 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20568 cleanup macros.
20569 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20570 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20571 cleanup macros.
20572 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20573 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20574 cleanup macros.
20575 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20576 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20577 macros.
20578 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20579 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20580 macros.
20581 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20582 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20583 macros.
20584 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20585 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20586 cleanup macros.
20587 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20588 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20589 cleanup macros.
20590 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20591 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20592 macros.
20593 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20594 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20595 cleanup macros.
20596 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20597 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20598 macros.
20599 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20600 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20601 macros.
20602 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20603 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20604 cleanup macros.
20605 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20606
85118d4d
EBM
206072013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20608
20609 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20610 to _sifields.sigfault.
20611 (si_addr_lsb): Define new macro.
20612 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20614 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20615
7a44c18f
CD
206162013-05-03 Carlos O'Donell <carlos at redhat.com>
20617
20618 [BZ #15441]
20619 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20620 returns -1.
20621 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20622 null return -1.
20623 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20624 loading the domain.
20625
b50a7181
JM
206262013-05-22 Joseph Myers <joseph@codesourcery.com>
20627
20628 * math/gen-libm-test.pl (parse_args): Do not include expected
20629 result in test name.
20630 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20631 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20632 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20633 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20634 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20636
051063c8
SP
206372013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20638
3ce9e010
SP
20639 * benchtests/Makefile: Sort function entries.
20640
051063c8
SP
20641 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20642 tanh, asinh, acosh, atanh.
20643 * benchtests/acos-inputs: New file.
20644 * benchtests/acosh-inputs: New file.
20645 * benchtests/asin-inputs: New file.
20646 * benchtests/asinh-inputs: New file.
20647 * benchtests/atanh-inputs: New file.
20648 * benchtests/cosh-inputs: New file.
20649 * benchtests/log-inputs: New file.
20650 * benchtests/sinh-inputs: New file.
20651 * benchtests/tanh-inputs: New file.
20652
47c22455
DL
206532013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20654
20655 [BZ #15339]
20656 * posix/tst-getaddrinfo4.c: New test.
20657 * posix/Makefile (tests): Add it.
20658
3d04f5db
SP
206592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20660
20661 [BZ #15339]
20662 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20663 when no services were used.
20664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20665 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20666
d5dd6189
AS
206672013-05-21 Andreas Schwab <schwab@suse.de>
20668
20669 [BZ #15014]
20670 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20671 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20672 successful.
20673 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20674 redundant variable declarations and reallocation of buffer when
20675 parsing as IPv6 address. Always set NSS status when called from
20676 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20677 buffer too small. Correct computation of needed size.
20678 * nss/Makefile (tests): Add test-digits-dots.
20679 * nss/test-digits-dots.c: New test.
20680
fef94eab
SP
206812013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20682
20683 * benchtests/Makefile: Remove instructions for adding
20684 benchmark tests.
20685 * benchtests/README: New file to explain how to execute and
20686 enhance the benchmark tests.
20687
e39adf43
AS
206882013-05-21 Andreas Schwab <schwab@suse.de>
20689
20690 [BZ #15493]
20691 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20692 * setjmp/tst-sigsetjmp.c: New test.
20693
b2b671b6
OB
206942013-05-20 Ondřej Bílka <neleai@seznam.cz>
20695
20696 * sysdeps/x86_64/memset.S (memset): New implementation.
20697 (__bzero): Likewise.
20698 (__memset_tail): New function.
20699
2d48b41c
OB
207002013-05-20 Ondřej Bílka <neleai@seznam.cz>
20701
20702 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20703 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20704 __memcpy_sse2_unaligned ifunc selection.
20705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20706 Add memcpy-sse2-unaligned.S.
20707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20708 Add: __memcpy_sse2_unaligned.
20709
f16cc3eb
JM
207102013-05-19 Joseph Myers <joseph@codesourcery.com>
20711
3e694268
JM
20712 [BZ #15490]
20713 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20714 math_force_eval before restoring floating-point envrionment.
20715 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20717 Likewise.
20718 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20719 <math_private.h>.
20720 (__nearbyintl): Use math_force_eval before restoring
20721 floating-point environment.
20722 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20723
db62a907
JM
20724 * math/gen-libm-test.pl (special_functions): Remove.
20725 (parse_args): Don't handle TEST_extra. Handle functions with no
20726 return value.
20727 * math/libm-test.inc (struct test_sincos_data): Replace with
20728 struct test_fFF_11_data.
20729 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20730 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20731 (sincos_test_data): Change element type to struct
20732 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20733 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20734 RUN_TEST_LOOP_sincos.
20735 * math/README.libm-test: Don't mention special handling of
20736 individual functions.
20737 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20739 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20740 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20741 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20743
f16cc3eb
JM
20744 * math/gen-libm-test.pl (get_variable): Remove function.
20745 (parse_args): Don't show pointer parameters to call in test
20746 names. Use "extra output N" in test names for extra outputs
20747 rather than naming variables.
20748
3779b5b6
JM
207492013-05-18 Joseph Myers <joseph@codesourcery.com>
20750
2ee094ff
JM
20751 [BZ #15488]
20752 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20753 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20754 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20755 double tests.
20756 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20757 disable.
20758 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20759 check_long_double.
20760
3779b5b6
JM
20761 * math/gen-libm-test.pl (@tests): Remove variable.
20762 ($count): Likewise.
20763 (new_test): Remove function.
20764 (show_exceptions): New function.
20765 (special_functions): Use show_exceptions instead of new_test.
20766 (parse_args): Likewise.
20767 (generate_testfile): Pass only function name in generated call to
20768 print_max_error or print_complex_max_error.
20769 (get_ulps): Do not handle complex tests specially.
20770 (output_test): Rename to ...
20771 (get_all_ulps_for_test): ... this. Return a string rather than
20772 printing to a file. Require ulps to be present.
20773 (output_ulps): Generate arrays rather than #defines.
20774 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20775 (struct ulp_data): New type.
20776 (BUILD_COMPLEX_ULP): Remove macro.
20777 (compare_ulp_data): New function.
20778 (find_ulps): Likewise.
20779 (find_test_ulps): Likewise.
20780 (find_function_ulps): Likewise.
20781 (find_complex_function_ulps): Likewise.
20782 (print_max_error): Determine allowed ulps using
20783 find_function_ulps.
20784 (print_complex_max_error): Determine allowed ulps using
20785 find_complex_function_ulps.
20786 (check_float_internal): Determine max ulps using find_test_ulps.
20787 (check_float): Do not take max_ulp parameter. Update call to
20788 check_float_internal.
20789 (check_complex): Likewise.
20790 (check_int): Do not take max_ulp parameter.
20791 (check_long): Likewise.
20792 (check_bool): Likewise.
20793 (check_longlong): Likewise.
20794 (struct test_f_f_data): Remove max_ulp field.
20795 (struct test_ff_f_data): Likewise.
20796 (struct test_ff_f_data_nexttoward): Likewise.
20797 (struct test_fi_f_data): Likewise.
20798 (struct test_fl_f_data): Likewise.
20799 (struct test_if_f_data): Likewise.
20800 (struct test_fff_f_data): Likewise.
20801 (struct test_c_f_data): Likewise.
20802 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20803 (struct test_fF_f1_data): Likewise.
20804 (struct test_ffI_f1_data): Likewise.
20805 (struct test_c_c_data): Remove max_ulp field.
20806 (struct test_cc_c_data): Likewise.
20807 (struct test_f_i_data): Likewise.
20808 (struct test_ff_i_data): Likewise.
20809 (struct test_f_l_data): Likewise.
20810 (struct test_f_L_data): Likewise.
20811 (struct test_sincos_data): Likewise.
20812 (RUN_TEST_f_f): Do not handle ulps.
20813 (RUN_TEST_LOOP_f_f): Likewise.
20814 (RUN_TEST_2_f): Likewise.
20815 (RUN_TEST_LOOP_2_f): Likewise.
20816 (RUN_TEST_fff_f): Likewise.
20817 (RUN_TEST_LOOP_fff_f): Likewise.
20818 (RUN_TEST_c_f): Likewise.
20819 (RUN_TEST_LOOP_c_f): Likewise.
20820 (RUN_TEST_f_f1): Likewise.
20821 (RUN_TEST_LOOP_f_f1): Likewise.
20822 (RUN_TEST_fF_f1): Likewise.
20823 (RUN_TEST_LOOP_fF_f1): Likewise.
20824 (RUN_TEST_fI_f1): Likewise.
20825 (RUN_TEST_LOOP_fI_f1): Likewise.
20826 (RUN_TEST_ffI_f1): Likewise.
20827 (RUN_TEST_LOOP_ffI_f1): Likewise.
20828 (RUN_TEST_c_c): Likewise.
20829 (RUN_TEST_LOOP_c_c): Likewise.
20830 (RUN_TEST_cc_c): Likewise.
20831 (RUN_TEST_LOOP_cc_c): Likewise.
20832 (RUN_TEST_f_i): Likewise.
20833 (RUN_TEST_LOOP_f_i): Likewise.
20834 (RUN_TEST_f_i_tg): Likewise.
20835 (RUN_TEST_LOOP_f_i_tg): Likewise.
20836 (RUN_TEST_ff_i_tg): Likewise.
20837 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20838 (RUN_TEST_f_b): Likewise.
20839 (RUN_TEST_LOOP_f_b): Likewise.
20840 (RUN_TEST_f_b_tg): Likewise.
20841 (RUN_TEST_LOOP_f_b_tg): Likewise.
20842 (RUN_TEST_f_l): Likewise.
20843 (RUN_TEST_LOOP_f_l): Likewise.
20844 (RUN_TEST_f_L): Likewise.
20845 (RUN_TEST_LOOP_f_L): Likewise.
20846 (RUN_TEST_sincos): Likewise.
20847 (RUN_TEST_LOOP_sincos): Likewise.
20848
8269107f
JM
208492013-05-17 Joseph Myers <joseph@codesourcery.com>
20850
bb38759d
JM
20851 [BZ #15480]
20852 [BZ #15485]
20853 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20854 main case of finite arguments, set rounding mode to FE_TONEAREST
20855 and discard exceptions.
20856 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20857 exceptions.
20858 (remainder_tonearest_test_data): New variable.
20859 (remainder_test_tonearest): New function.
20860 (remainder_towardzero_test_data): New variable.
20861 (remainder_test_towardzero): New function.
20862 (remainder_downward_test_data): New variable.
20863 (remainder_test_downward): New function.
20864 (remainder_upward_test_data): New variable.
20865 (remainder_test_upward): New function.
20866 (main): Call the new test functions.
20867
a00bdcf0
JM
20868 * math/libm-test.inc (struct test_f_f1_data): Remove field
20869 extra_init.
20870 (struct test_fF_f1_data): Likewise.
20871 (struct test_ffI_f1_data): Likewise.
20872 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20873 based on value of EXTRA_EXPECTED.
20874 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20875 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20876 EXTRA_VAR based on value of EXTRA_EXPECTED.
20877 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20878 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20879 EXTRA_VAR based on value of EXTRA_EXPECTED.
20880 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20881 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20882 EXTRA_VAR based on value of EXTRA_EXPECTED.
20883 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20884 * math/gen-libm-test.pl (parse_args): Don't output initializers
20885 for extra output values.
20886
de407f79
JM
20887 * math/libm-test.inc (check_int): Expect result to be exactly
20888 equal to expected value and do not handle ulps.
20889 (check_long): Likewise.
20890 (check_longlong): Likewise.
20891
8269107f
JM
20892 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20893 exceptions.
20894 (cimag_test_data): Likewise.
20895 (conj_test_data): Likewise.
20896 (copysign_test_data): Likewise.
20897 (cproj_test_data): Likewise.
20898 (creal_test_data): Likewise.
20899 (fabs_test_data): Likewise.
20900 (fdim_test_data): Likewise.
20901 (finite_test_data): Likewise.
20902 (floor_test_data): Likewise.
20903 (fmax_test_data): Likewise.
20904 (fmin_test_data): Likewise.
20905 (fmod_test_data): Likewise.
20906 (fpclassify_test_data): Likewise.
20907 (frexp_test_data): Likewise.
20908 (ilogb_test_data): Likewise.
20909 (isfinite_test_data): Likewise.
20910 (isgreater_test_data): Likewise.
20911 (isgreaterequal_test_data): Likewise.
20912 (isinf_test_data): Likewise.
20913 (isless_test_data): Likewise.
20914 (islessequal_test_data): Likewise.
20915 (islessgreater_test_data): Likewise.
20916 (isnan_test_data): Likewise.
20917 (isnormal_test_data): Likewise.
20918 (issignaling_test_data): Likewise.
20919 (isunordered_test_data): Likewise.
20920 (ldexp_test_data): Likewise.
20921 (lrint_test_data): Likewise.
20922 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20923 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20924 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20925 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20926 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20927 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20928 test input.
20929 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20930 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20931 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20932 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20933 that test input.
20934 (lrint_downward_test_data): Test for "inexact" exceptions.
20935 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20936 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20937 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20938 test input.
20939 (lrint_upward_test_data): Test for "inexact" exceptions.
20940 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20941 test input.
20942 (llrint_test_data): Test for "inexact" exceptions.
20943 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20944 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20945 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20946 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20947 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20948 (llrint_downward_test_data): Test for "inexact" exceptions.
20949 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20950 (llrint_upward_test_data): Test for "inexact" exceptions.
20951 (logb_test_data): Likewise.
20952 (logb_downward_test_data): Likewise.
20953 (nextafter_test_data): Likewise.
20954 (nexttoward_test_data): Likewise.
20955 (remainder_test_data): Likewise.
20956 (remquo_test_data): Likewise.
20957 (scalbn_test_data): Likewise.
20958 (scalbln_test_data): Likewise.
20959 (signbit_test_data): Likewise.
20960 (sqrt_test_data): Likewise.
20961 (significand_test_data): Likewise.
20962
48a18de1
SP
209632013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20964
20965 [BZ #15424]
20966 * benchtests/bench-modf.c (struct args): Mark arg0 as
20967 volatile.
20968 * scripts/bench.pl: Mark members of struct args as volatile.
20969
13d3b41a
AZ
209702013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20971
68191c1d 20972 [BZ # 15497]
13d3b41a
AZ
20973 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20974 negative infinity on POWER6 or lower.
20975 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20976
2848b105
MR
209772013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20978
20979 [BZ #15442]
20980 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20981 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20982 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20983 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20984 (_FP_SETQNAN): New macro.
20985 (_FP_SETQNAN_SEMIRAW): Likewise.
20986 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20987 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20988 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20989 (FP_EXTEND): Use _FP_FRAC_SNANP.
20990 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20991 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20992 into account.
20993 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20994 New macro.
20995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20996 Likewise.
20997
323e5cb7
JM
209982013-05-16 Joseph Myers <joseph@codesourcery.com>
20999
c58b274f
JM
21000 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21001 with DIVIDE_BY_ZERO_EXCEPTION.
21002 (gamma_test_data): Likewise.
21003 (lgamma_test_data): Likewise.
21004 (log_test_data): Likewise.
21005 (log10_test_data): Likewise.
21006 (log2_test_data): Likewise.
21007 (tgamma_test_data): Likewise.
21008
0ab34904
JM
21009 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21010 (acos_test_tonearest): Likewise.
21011 (acos_test_towardzero): Likewise.
21012 (acos_test_downward): Likewise.
21013 (acos_test_upward): Likewise.
21014 (acosh_test): Likewise.
21015 (asin_test): Likewise.
21016 (asin_test_tonearest): Likewise.
21017 (asin_test_towardzero): Likewise.
21018 (asin_test_downward): Likewise.
21019 (asin_test_upward): Likewise.
21020 (asinh_test): Likewise.
21021 (atan_test): Likewise.
21022 (atanh_test): Likewise.
21023 (atan2_test): Likewise.
21024 (cabs_test): Likewise.
21025 (cacos_test): Likewise.
21026 (cacosh_test): Likewise.
21027 (casin_test): Likewise.
21028 (casinh_test): Likewise.
21029 (catan_test): Likewise.
21030 (catanh_test): Likewise.
21031 (cbrt_test): Likewise.
21032 (ccos_test): Likewise.
21033 (ccosh_test): Likewise.
21034 (cexp_test): Likewise.
21035 (clog_test): Likewise.
21036 (clog10_test): Likewise.
21037 (cos_test): Likewise.
21038 (cos_test_tonearest): Likewise.
21039 (cos_test_towardzero): Likewise.
21040 (cos_test_downward): Likewise.
21041 (cos_test_upward): Likewise.
21042 (cosh_test): Likewise.
21043 (cosh_test_tonearest): Likewise.
21044 (cosh_test_towardzero): Likewise.
21045 (cosh_test_downward): Likewise.
21046 (cosh_test_upward): Likewise.
21047 (cpow_test): Likewise.
21048 (csin_test): Likewise.
21049 (csinh_test): Likewise.
21050 (csqrt_test): Likewise.
21051 (ctan_test): Likewise.
21052 (ctan_test_tonearest): Likewise.
21053 (ctan_test_towardzero): Likewise.
21054 (ctan_test_downward): Likewise.
21055 (ctan_test_upward): Likewise.
21056 (ctanh_test): Likewise.
21057 (ctanh_test_tonearest): Likewise.
21058 (ctanh_test_towardzero): Likewise.
21059 (ctanh_test_downward): Likewise.
21060 (ctanh_test_upward): Likewise.
21061 (erf_test): Likewise.
21062 (erfc_test): Likewise.
21063 (exp_test): Likewise.
21064 (exp_test_tonearest): Likewise.
21065 (exp_test_towardzero): Likewise.
21066 (exp_test_downward): Likewise.
21067 (exp_test_upward): Likewise.
21068 (exp10_test): Likewise.
21069 (exp2_test): Likewise.
21070 (expm1_test): Likewise.
21071 (fmod_test): Likewise.
21072 (gamma_test): Likewise.
21073 (hypot_test): Likewise.
21074 (j0_test): Likewise.
21075 (j1_test): Likewise.
21076 (jn_test): Likewise.
21077 (lgamma_test): Likewise.
21078 (log_test): Likewise.
21079 (log10_test): Likewise.
21080 (log1p_test): Likewise.
21081 (log2_test): Likewise.
21082 (logb_test_downward): Likewise.
21083 (pow_test): Likewise.
21084 (pow_test_tonearest): Likewise.
21085 (pow_test_towardzero): Likewise.
21086 (pow_test_downward): Likewise.
21087 (pow_test_upward): Likewise.
21088 (remainder_test): Likewise.
21089 (remquo_test): Likewise.
21090 (sin_test): Likewise.
21091 (sin_test_tonearest): Likewise.
21092 (sin_test_towardzero): Likewise.
21093 (sin_test_downward): Likewise.
21094 (sin_test_upward): Likewise.
21095 (sincos_test): Likewise.
21096 (sinh_test): Likewise.
21097 (sinh_test_tonearest): Likewise.
21098 (sinh_test_towardzero): Likewise.
21099 (sinh_test_downward): Likewise.
21100 (sinh_test_upward): Likewise.
21101 (sqrt_test): Likewise.
21102 (tan_test): Likewise.
21103 (tan_test_tonearest): Likewise.
21104 (tan_test_towardzero): Likewise.
21105 (tan_test_downward): Likewise.
21106 (tan_test_upward): Likewise.
21107 (tanh_test): Likewise.
21108 (tgamma_test): Likewise.
21109 (y0_test): Likewise.
21110 (y1_test): Likewise.
21111 (yn_test): Likewise.
21112
323e5cb7
JM
21113 * math/gen-libm-test.pl (adjust_arg): Remove function.
21114 (special_function): Remove argument $in_func. Only handle
21115 generating output for tables of tests, not inside functions.
21116 (parse_args): Likewise.
21117 (generate_testfile): Remove variable $in_func. Update call to
21118 parse_args.
21119 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21120 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21121 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21122 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21123 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21124 (MAX_VALUE_INIT): Rename macro to max_value.
21125 (MIN_VALUE_INIT): Rename macro to min_value.
21126 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21127 (plus_zero): Remove variable.
21128 (minus_zero): Likewise.
21129 (plus_infty): Likewise.
21130 (minus_infty): Likewise.
21131 (qnan_value): Likewise.
21132 (max_value): Likewise.
21133 (min_value): Likewise.
21134 (min_subnorm_value): Likewise.
21135
e054f494
RA
211362013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21137
21138 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21139 uint64_t or uint32_t usage.
21140 * crypt/sha256-block.c: Likewise.
21141 * crypt/sha256-crypt.c: Likewise.
21142 * crypt/sha256.c: Likewise.
21143 * crypt/sha512-block.c: Likewise.
21144 * crypt/sha512-crypt.c: Likewise.
21145 * crypt/sha512.c: Likewise.
21146 * debug/backtrace-tst.c: Likewise.
21147 * debug/pcprofiledump.c: Likewise.
21148 * elf/cache.c: Likewise.
21149 * elf/dl-cache.c: Likewise.
21150 * elf/dl-misc.c: Likewise.
21151 * elf/dl-profile.c: Likewise.
21152 * elf/dl-support.c: Likewise.
21153 * elf/ldconfig.c: Likewise.
21154 * elf/sprof.c: Likewise.
21155 * iconv/dummy-repertoire.c: Likewise.
21156 * iconv/iconv_charmap.c: Likewise.
21157 * iconv/skeleton.c: Likewise.
21158 * iconvdata/8bit-generic.c: Likewise.
21159 * iconvdata/cp737.h: Likewise.
21160 * iconvdata/cp775.h: Likewise.
21161 * iconvdata/ibm1008.h: Likewise.
21162 * iconvdata/ibm1025.h: Likewise.
21163 * iconvdata/ibm1046.h: Likewise.
21164 * iconvdata/ibm1097.h: Likewise.
21165 * iconvdata/ibm1112.h: Likewise.
21166 * iconvdata/ibm1122.h: Likewise.
21167 * iconvdata/ibm1123.h: Likewise.
21168 * iconvdata/ibm1124.h: Likewise.
21169 * iconvdata/ibm1129.h: Likewise.
21170 * iconvdata/ibm1130.h: Likewise.
21171 * iconvdata/ibm1132.h: Likewise.
21172 * iconvdata/ibm1133.h: Likewise.
21173 * iconvdata/ibm1137.h: Likewise.
21174 * iconvdata/ibm1140.h: Likewise.
21175 * iconvdata/ibm1141.h: Likewise.
21176 * iconvdata/ibm1142.h: Likewise.
21177 * iconvdata/ibm1143.h: Likewise.
21178 * iconvdata/ibm1144.h: Likewise.
21179 * iconvdata/ibm1145.h: Likewise.
21180 * iconvdata/ibm1146.h: Likewise.
21181 * iconvdata/ibm1147.h: Likewise.
21182 * iconvdata/ibm1148.h: Likewise.
21183 * iconvdata/ibm1149.h: Likewise.
21184 * iconvdata/ibm1153.h: Likewise.
21185 * iconvdata/ibm1154.h: Likewise.
21186 * iconvdata/ibm1155.h: Likewise.
21187 * iconvdata/ibm1156.h: Likewise.
21188 * iconvdata/ibm1157.h: Likewise.
21189 * iconvdata/ibm1158.h: Likewise.
21190 * iconvdata/ibm1160.h: Likewise.
21191 * iconvdata/ibm1161.h: Likewise.
21192 * iconvdata/ibm1162.h: Likewise.
21193 * iconvdata/ibm1163.h: Likewise.
21194 * iconvdata/ibm1164.h: Likewise.
21195 * iconvdata/ibm1166.h: Likewise.
21196 * iconvdata/ibm1167.h: Likewise.
21197 * iconvdata/ibm12712.h: Likewise.
21198 * iconvdata/ibm1390.h: Likewise.
21199 * iconvdata/ibm1399.h: Likewise.
21200 * iconvdata/ibm16804.h: Likewise.
21201 * iconvdata/ibm4517.h: Likewise.
21202 * iconvdata/ibm4899.h: Likewise.
21203 * iconvdata/ibm4909.h: Likewise.
21204 * iconvdata/ibm4971.h: Likewise.
21205 * iconvdata/ibm5347.h: Likewise.
21206 * iconvdata/ibm803.h: Likewise.
21207 * iconvdata/ibm856.h: Likewise.
21208 * iconvdata/ibm901.h: Likewise.
21209 * iconvdata/ibm902.h: Likewise.
21210 * iconvdata/ibm9030.h: Likewise.
21211 * iconvdata/ibm9066.h: Likewise.
21212 * iconvdata/ibm921.h: Likewise.
21213 * iconvdata/ibm922.h: Likewise.
21214 * iconvdata/ibm9448.h: Likewise.
21215 * iconvdata/isiri-3342.h: Likewise.
21216 * iconvdata/jis0201.h: Likewise.
21217 * include/link.h: Likewise.
21218 * include/netdb.h: Likewise.
21219 * inet/check_native.c: Likewise.
21220 * inet/check_pf.c: Likewise.
21221 * inet/getipv4sourcefilter.c: Likewise.
21222 * inet/getnameinfo.c: Likewise.
21223 * inet/getsourcefilter.c: Likewise.
21224 * inet/htonl.c: Likewise.
21225 * inet/setipv4sourcefilter.c: Likewise.
21226 * inet/setsourcefilter.c: Likewise.
21227 * inet/test-inet6_opt.c: Likewise.
21228 * inet/tst-network.c: Likewise.
21229 * locale/C-collate.c: Likewise.
21230 * locale/C-ctype.c: Likewise.
21231 * locale/C-time.c: Likewise.
21232 * locale/C-translit.h: Likewise.
21233 * locale/loadarchive.c: Likewise.
21234 * locale/programs/3level.h: Likewise.
21235 * locale/programs/charmap.c: Likewise.
21236 * locale/programs/charmap.h: Likewise.
21237 * locale/programs/ld-address.c: Likewise.
21238 * locale/programs/ld-collate.c: Likewise.
21239 * locale/programs/ld-ctype.c: Likewise.
21240 * locale/programs/ld-identification.c: Likewise.
21241 * locale/programs/ld-measurement.c: Likewise.
21242 * locale/programs/ld-messages.c: Likewise.
21243 * locale/programs/ld-monetary.c: Likewise.
21244 * locale/programs/ld-name.c: Likewise.
21245 * locale/programs/ld-numeric.c: Likewise.
21246 * locale/programs/ld-paper.c: Likewise.
21247 * locale/programs/ld-telephone.c: Likewise.
21248 * locale/programs/ld-time.c: Likewise.
21249 * locale/programs/linereader.c: Likewise.
21250 * locale/programs/locale.c: Likewise.
21251 * locale/programs/locarchive.c: Likewise.
21252 * locale/programs/locfile.h: Likewise.
21253 * locale/programs/repertoire.c: Likewise.
21254 * locale/programs/simple-hash.c: Likewise.
21255 * locale/programs/simple-hash.h: Likewise.
21256 * malloc/memusage.c: Likewise.
21257 * malloc/memusagestat.c: Likewise.
21258 * nis/nis_defaults.c: Likewise.
21259 * nis/nis_hash.c: Likewise.
21260 * nis/nis_print.c: Likewise.
21261 * nis/nis_xdr.c: Likewise.
21262 * nscd/connections.c: Likewise.
21263 * nscd/hstcache.c: Likewise.
21264 * nscd/nscd_gethst_r.c: Likewise.
21265 * nscd/nscd_getserv_r.c: Likewise.
21266 * nscd/nscd_helper.c: Likewise.
21267 * nscd/servicescache.c: Likewise.
21268 * nss/makedb.c: Likewise.
21269 * nss/nss_db/db-XXX.c: Likewise.
21270 * nss/nss_db/db-initgroups.c: Likewise.
21271 * nss/nss_db/db-netgrp.c: Likewise.
21272 * nss/nss_files/files-network.c: Likewise.
21273 * nss/nss_files/files-parse.c: Likewise.
21274 * posix/bug-regex5.c: Likewise.
21275 * posix/fnmatch_loop.c: Likewise.
21276 * posix/regcomp.c: Likewise.
21277 * posix/regexec.c: Likewise.
21278 * posix/tst-rfc3484-2.c: Likewise.
21279 * posix/tst-rfc3484-3.c: Likewise.
21280 * posix/tst-rfc3484.c: Likewise.
21281 * resolv/nss_dns/dns-canon.c: Likewise.
21282 * resolv/nss_dns/dns-network.c: Likewise.
21283 * resolv/res_init.c: Likewise.
21284 * resolv/res_mkquery.c: Likewise.
21285 * resolv/tst-aton.c: Likewise.
21286 * stdlib/cxa_atexit.c: Likewise.
21287 * stdlib/cxa_finalize.c: Likewise.
21288 * stdlib/gen-fpioconst.c: Likewise.
21289 * stdlib/strtol_l.c: Likewise.
21290 * string/tst-endian.c: Likewise.
21291 * sunrpc/auth_des.c: Likewise.
21292 * sunrpc/clnt_udp.c: Likewise.
21293 * sunrpc/rtime.c: Likewise.
21294 * sunrpc/svcauth_des.c: Likewise.
21295 * sunrpc/xdr.c: Likewise.
21296 * sunrpc/xdr_intXX_t.c: Likewise.
21297 * sunrpc/xdr_rec.c: Likewise.
21298 * sysdeps/generic/ldconfig.h: Likewise.
21299 * sysdeps/generic/ldsodefs.h: Likewise.
21300 * sysdeps/generic/memusage.h: Likewise.
21301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21302 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21303 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21304 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21307 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21308 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21311 * sysdeps/posix/getaddrinfo.c: Likewise.
21312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21314 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21316 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21317 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21318 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21319 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21320 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21321 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21322 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21323 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21324 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21325 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21326 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21327 * sysdeps/x86_64/dl-tls.h: Likewise.
21328 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21329 * time/alt_digit.c: Likewise.
21330 * time/era.c: Likewise.
21331 * wcsmbs/tst-c16c32-1.c: Likewise.
21332
8c75f674
JM
213332013-05-16 Joseph Myers <joseph@codesourcery.com>
21334
21335 * math/libm-test.inc (struct test_sincos_data): New type.
21336 (RUN_TEST_LOOP_sincos): New macro.
21337 (sincos_test_data): New variable.
21338 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21339
e6e49e59
RH
213402013-05-16 Richard Henderson <rth@redhat.com>
21341
21342 * math/atest-exp2.c (LIMB64): New macro.
21343 (CONSTSZ): New macro.
21344 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21345 (hexdig): Move ...
21346 (print_mpn_fp): ... to function scope.
21347 (read_mpn_hex): Remove.
21348 (get_log2): Remove.
21349 (exp2_mpn): Use mp_log2.
21350 (main): Use mp_exp1.
21351
15c7c18d
JM
213522013-05-16 Joseph Myers <joseph@codesourcery.com>
21353
105a07df
JM
21354 * math/libm-test.inc: Remove comment about not testing "inexact"
21355 exceptions.
21356 (INEXACT_EXCEPTION): New macro.
21357 (NO_INEXACT_EXCEPTION): Likewise.
21358 (INVALID_EXCEPTION_OK): Update value.
21359 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21360 (OVERFLOW_EXCEPTION_OK): Likewise.
21361 (UNDERFLOW_EXCEPTION_OK): Likewise.
21362 (IGNORE_ZERO_INF_SIGN): Likewise.
21363 (ERRNO_UNCHANGED): Likewise.
21364 (ERRNO_EDOM): Likewise.
21365 (ERRNO_ERANGE): Likewise.
21366 (test_exceptions): Handle testing "inexact" exceptions.
21367 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21368 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21369 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21370 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21371 INEXACT_EXCEPTION.
21372 (rint_towardzero_test_data): Likewise.
21373 (rint_downward_test_data): Likewise.
21374 (rint_upward_test_data): Likewise.
21375
e9eee333
JM
21376 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21377 with OVERFLOW_EXCEPTION.
21378 (exp10_test_data): Likewise.
21379 (exp2_test_data): Likewise.
21380 (expm1_test_data): Likewise.
21381 (lgamma_test_data): Likewise.
21382 (pow_test_data): Likewise.
21383 (tgamma_test_data): Likewise.
21384 (yn_test_data): Remove duplicate test of overflow.
21385
1c38ff73
JM
21386 * math/libm-test.inc (struct test_cc_c_data): New type.
21387 (RUN_TEST_LOOP_cc_c): New macro.
21388 (cpow_test_data): New variable.
21389 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21390
15c7c18d
JM
21391 * math/libm-test.inc (struct test_f_L_data): New type.
21392 (RUN_TEST_LOOP_f_L): New macro.
21393 (llrint_test_data): New variable.
21394 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21395 (llrint_tonearest_test_data): New variable.
21396 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21397 (llrint_towardzero_test_data): New variable.
21398 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21399 (llrint_downward_test_data): New variable.
21400 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21401 (llrint_upward_test_data): New variable.
21402 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21403 (llround_test_data): New variable.
21404 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21405
f137ff13
PC
214062013-05-13 Peter Collingbourne <pcc@google.com>
21407
21408 * math/atest-exp2.c (get_log2): Remove const attribute.
21409
3608cb24
JM
214102013-05-15 Joseph Myers <joseph@codesourcery.com>
21411
21412 * math/libm-test.inc (struct test_f_l_data): New type.
21413 (RUN_TEST_LOOP_f_l): New macro.
21414 (lrint_test_data): New variable.
21415 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21416 (lrint_tonearest_test_data): New variable.
21417 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21418 (lrint_towardzero_test_data): New variable.
21419 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21420 (lrint_downward_test_data): New variable.
21421 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21422 (lrint_upward_test_data): New variable.
21423 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21424 (lround_test_data): New variable.
21425 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21426
39b1f617
PC
214272013-05-15 Peter Collingbourne <pcc@google.com>
21428
1deff3dc
PC
21429 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21430 (EXTRACT_WORDS64) Use where appropriate.
21431 (INSERT_WORDS64) Likewise.
21432
791f3ba0
PC
21433 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21434 constraints with x constraints.
21435 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21436
39b1f617
PC
21437 * malloc/obstack.c (_obstack_compat): Add initializer.
21438
12fba011
EM
214392013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21440
21441 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21442 si_trapno and add si_addr_lsb to _sifields.sigfault.
21443 (si_trapno): Remove macro.
21444 (si_addr_lsb): Define new macro.
21445 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21446
d369f531
JM
214472013-05-15 Joseph Myers <joseph@codesourcery.com>
21448
b861c6c4
JM
21449 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21450 instead of TEST_f_l.
21451 (llrint_test_tonearest): Likewise.
21452 (llrint_test_towardzero): Likewise.
21453 (llrint_test_downward): Likewise.
21454 (llrint_test_upward): Likewise.
21455 (llround_test): Likewise.
21456
7abeee12
JM
21457 * math/libm-test.inc (struct test_f_i_data): Add comment.
21458 (RUN_TEST_LOOP_f_b): New macro.
21459 (RUN_TEST_LOOP_f_b_tg): Likewise.
21460 (finite_test_data): New variable.
21461 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21462 (isfinite_test_data): New variable.
21463 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21464 (isinf_test_data): New variable.
21465 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21466 (isnan_test_data): New variable.
21467 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21468 (isnormal_test_data): New variable.
21469 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21470 (issignaling_test_data): New variable.
21471 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21472 (signbit_test_data): New variable.
21473 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21474
cbe8c4d3
JM
21475 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21476 with INVALID_EXCEPTION.
21477 (acosh_test_data): Likewise.
21478 (asin_test_data): Likewise.
21479 (atanh_test_data): Likewise.
21480 (fmod_test_data): Likewise.
21481 (log_test_data): Likewise.
21482 (log10_test_data): Likewise.
21483 (log2_test_data): Likewise.
21484 (pow_test_data): Likewise.
21485 (sqrt_test_data): Likewise.
21486 (y0_test_data): Likewise.
21487 (y1_test_data): Likewise.
21488 (yn_test_data): Likewise.
21489
5575c0e5
JM
21490 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21491 function contents.
21492
d369f531
JM
21493 * math/libm-test.inc (struct test_ff_i_data): New type.
21494 (RUN_TEST_LOOP_ff_i_tg): New macro.
21495 (isgreater_test_data): New variable.
21496 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21497 (isgreaterequal_test_data): New variable.
21498 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21499 (isless_test_data): New variable.
21500 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21501 (islessequal_test_data): New variable.
21502 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21503 (islessgreater_test_data): New variable.
21504 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21505 (isunordered_test_data): New variable.
21506 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21507
781fd748
DM
215082013-05-14 David S. Miller <davem@davemloft.net>
21509
21510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21511
87aa21df
JM
215122013-05-14 Joseph Myers <joseph@codesourcery.com>
21513
5e908270
JM
21514 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21515
f71172e5
JM
21516 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21517 extra_test to int.
21518 (struct test_f_i_data): Change type of max_ulp to int.
21519
8cfa635a
JM
21520 * math/libm-test.inc (test_ffI_f1_data): New type.
21521 (RUN_TEST_LOOP_ffI_f1): New macro.
21522 (remquo_test_data): New variable.
21523 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21524
2bcb36b2
JM
21525 * setjmp/tst-setjmp-fp.c: New file.
21526 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21527 (link-libm): New variable.
21528 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21529
acbd839a
JM
21530 * math/libm-test.inc (struct test_f_i_data): New type.
21531 (RUN_TEST_LOOP_f_i): New macro.
21532 (RUN_TEST_LOOP_f_i_tg): Likewise.
21533 (fpclassify_test_data): New variable.
21534 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21535 (ilogb_test_data): New variable.
21536 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21537
e414d745
JM
21538 * math/libm-test.inc (scalbln_test): Correct function name in END
21539 call.
21540
d9c2a0fd
JM
21541 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21542 (RUN_TEST_LOOP_fI_f1): New macro.
21543 (frexp_test_data): New variable.
21544 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21545
9dc9095d
JM
21546 * math/libm-test.inc (struct test_fF_f1_data): New type.
21547 (RUN_TEST_LOOP_fF_f1): New macro.
21548 (modf_test_data): New variable.
21549 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21550
87aa21df
JM
21551 * math/libm-test.inc (struct test_f_f1_data): New type.
21552 (RUN_TEST_LOOP_f_f1): New macro.
21553 (gamma_test_data): New variable.
21554 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21555 (lgamma_test_data): New variable.
21556 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21557
141af660
CD
215582013-05-13 Carlos O'Donell <carlos@redhat.com>
21559
21560 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21561 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21562 (main): Comment "tls" pseudo-hwcap.
21563
6d33265c
JM
215642013-05-13 Joseph Myers <joseph@codesourcery.com>
21565
68fc074c
JM
21566 * math/libm-test.inc (struct test_fl_f_data): New type.
21567 (RUN_TEST_LOOP_fl_f): New variable.
21568 (scalbln_test_data): New variable.
21569 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21570
243216e1
JM
21571 * math/libm-test.inc (struct test_fi_f_data): New type.
21572 (RUN_TEST_LOOP_fi_f): New macro.
21573 (ldexp_test_data): New variable.
21574 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21575 (scalbn_test_data): New variable.
21576 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21577
6a1992e2
JM
21578 * math/libm-test.inc (struct test_c_f_data): New type.
21579 (RUN_TEST_LOOP_c_f): New macro.
21580 (cabs_test_data): New variable.
21581 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21582 (carg_test_data): New variable.
21583 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21584 (cimag_test_data): New variable.
21585 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21586 (creal_test_data): New variable.
21587 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21588
0e400df5
JM
21589 * math/libm-test.inc (struct test_if_f_data): New type.
21590 (RUN_TEST_LOOP_if_f): New macro.
21591 (jn_test_data): New variable.
21592 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21593 (yn_test_data): New variable.
21594 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21595
6d33265c
JM
21596 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21597
f98ece5f
AZ
215982013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21599
21600 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21601 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21602
0f7d347b
SP
216032013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21604
43fe811b
SP
21605 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21606 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21607 (bench-deps): Add bench-timing.h.
21608 * benchtests-bench-skeleton.c: Include bench-timing.h.
21609 (main): Use TIMING_* macros instead of clock_gettime.
21610 * benchtests/bench-timing.h: New file.
21611
0f7d347b
SP
21612 [BZ #14582]
21613 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21614 Renamed from _LIB_VERSION.
21615 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21616
601a3a5f
JM
216172013-05-12 Joseph Myers <joseph@codesourcery.com>
21618
4f184d30
JM
21619 * math/libm-test.inc (struct test_fff_f_data): New type.
21620 (RUN_TEST_LOOP_fff_f): New macro.
21621 (fma_test_data): New variable.
21622 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21623 (fma_towardzero_test_data): New variable.
21624 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21625 (fma_downward_test_data): New variable.
21626 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21627 (fma_upward_test_data): New variable.
21628 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21629
08198877
JM
21630 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21631 (struct test_c_c_data): New type.
21632 (RUN_TEST_LOOP_c_c): New macro.
21633 (cacos_test_data): New variable.
21634 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21635 (cacosh_test_data): New variable.
21636 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21637 (casin_test_data): New variable.
21638 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21639 (casinh_test_data): New variable.
21640 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21641 (catan_test_data): New variable.
21642 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21643 (catanh_test_data): New variable.
21644 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21645 (ccos_test_data): New variable.
21646 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21647 (ccosh_test_data): New variable.
21648 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21649 (cexp_test_data): New variable.
21650 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21651 (clog_test_data): New variable.
21652 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21653 (clog10_test_data): New variable.
21654 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21655 (conj_test_data): New variable.
21656 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21657 (cproj_test_data): New variable.
21658 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21659 (csin_test_data): New variable.
21660 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21661 (csinh_test_data): New variable.
21662 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21663 (csqrt_test_data): New variable.
21664 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21665 (ctan_test_data): New variable.
21666 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21667 (ctan_tonearest_test_data): New variable.
21668 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21669 (ctan_towardzero_test_data): New variable.
21670 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21671 (ctan_downward_test_data): New variable.
21672 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21673 (ctan_upward_test_data): New variable.
21674 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21675 (ctanh_test_data): New variable.
21676 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21677 (ctanh_tonearest_test_data): New variable.
21678 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21679 (ctanh_towardzero_test_data): New variable.
21680 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21681 (ctanh_downward_test_data): New variable.
21682 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21683 (ctanh_upward_test_data): New variable.
21684 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21685 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21686 of BUILD_COMPLEX.
21687
601a3a5f
JM
21688 * math/libm-test.inc (struct test_ff_f_data): New type.
21689 (struct test_ff_f_data_nexttoward): Likewise.
21690 (RUN_TEST_LOOP_2_f): New macro.
21691 (RUN_TEST_LOOP_ff_f): Likewise.
21692 (atan2_test_data): New variable.
21693 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21694 (copysign_test_data): New variable.
21695 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21696 (fdim_test_data): New variable.
21697 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21698 (fmax_test_data): New variable.
21699 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21700 (fmin_test_data): New variable.
21701 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21702 (fmod_test_data): New variable.
21703 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21704 (hypot_test_data): New variable.
21705 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21706 (nextafter_test_data): New variable.
21707 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21708 (nexttoward_test_data): New variable.
21709 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21710 (pow_test_data): New variable.
21711 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21712 (pow_tonearest_test_data): New variable.
21713 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21714 (pow_towardzero_test_data): New variable.
21715 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21716 (pow_downward_test_data): New variable.
21717 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21718 (pow_upward_test_data): New variable.
21719 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21720 (remainder_test_data): New variable.
21721 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21722 (scalb_test_data): New variable.
21723 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21724 * sysdeps/i386/fpu/libm-test-ulps: Update.
21725
74c57478
JM
217262013-05-11 Joseph Myers <joseph@codesourcery.com>
21727
8329e4da
JM
21728 * math/libm-test.inc (fma_test): Use max_value instead of local
21729 variable fltmax.
21730 (nextafter_test): Likewise.
21731
74c57478
JM
21732 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21733 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21734 (acos_downward_test_data): New variable.
21735 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21736 (acos_upward_test_data): New variable.
21737 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21738 (acosh_test_data): New variable.
21739 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21740 (asin_test_data): New variable.
21741 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21742 (asin_tonearest_test_data): New variable.
21743 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21744 (asin_towardzero_test_data): New variable.
21745 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21746 (asin_downward_test_data): New variable.
21747 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21748 (asin_upward_test_data): New variable.
21749 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21750 (asinh_test_data): New variable.
21751 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21752 (atan_test_data): New variable.
21753 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21754 (atanh_test_data): New variable.
21755 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21756 (cbrt_test_data): New variable.
21757 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21758 (ceil_test_data): New variable.
21759 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21760 (cos_test_data): New variable.
21761 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21762 (cos_tonearest_test_data): New variable.
21763 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21764 (cos_towardzero_test_data): New variable.
21765 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21766 (cos_downward_test_data): New variable.
21767 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21768 (cos_upward_test_data): New variable.
21769 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21770 (cosh_test_data): New variable.
21771 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21772 (cosh_tonearest_test_data): New variable.
21773 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21774 (cosh_towardzero_test_data): New variable.
21775 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21776 (cosh_downward_test_data): New variable.
21777 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21778 (cosh_upward_test_data): New variable.
21779 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21780 (erf_test_data): New variable.
21781 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21782 (erfc_test_data): New variable.
21783 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21784 (exp_test_data): New variable.
21785 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21786 (exp_tonearest_test_data): New variable.
21787 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21788 (exp_towardzero_test_data): New variable.
21789 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21790 (exp_downward_test_data): New variable.
21791 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21792 (exp_upward_test_data): New variable.
21793 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21794 (exp10_test_data): New variable.
21795 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21796 (exp2_test_data): New variable.
21797 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21798 (expm1_test_data): New variable.
21799 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21800 (fabs_test_data): New variable.
21801 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21802 (floor_test_data): New variable.
21803 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21804 (j0_test_data): New variable.
21805 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21806 (j1_test_data): New variable.
21807 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21808 (log_test_data): New variable.
21809 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21810 (log10_test_data): New variable.
21811 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21812 (log1p_test_data): New variable.
21813 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21814 (log2_test_data): New variable.
21815 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21816 (logb_test_data): New variable.
21817 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21818 (logb_downward_test_data): New variable.
21819 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21820 (nearbyint_test_data): New variable.
21821 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21822 (rint_test_data): New variable.
21823 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21824 (rint_tonearest_test_data): New variable.
21825 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21826 (rint_towardzero_test_data): New variable.
21827 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21828 (rint_downward_test_data): New variable.
21829 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21830 (rint_upward_test_data): New variable.
21831 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21832 (round_test_data): New variable.
21833 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21834 (sin_test_data): New variable.
21835 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21836 (sin_tonearest_test_data): New variable.
21837 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21838 (sin_towardzero_test_data): New variable.
21839 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21840 (sin_downward_test_data): New variable.
21841 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21842 (sin_upward_test_data): New variable.
21843 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21844 (sinh_test_data): New variable.
21845 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21846 (sinh_tonearest_test_data): New variable.
21847 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21848 (sinh_towardzero_test_data): New variable.
21849 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21850 (sinh_downward_test_data): New variable.
21851 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21852 (sinh_upward_test_data): New variable.
21853 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21854 (sqrt_test_data): New variable.
21855 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21856 (tan_test_data): New variable.
21857 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21858 (tan_tonearest_test_data): New variable.
21859 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21860 (tan_towardzero_test_data): New variable.
21861 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21862 (tan_downward_test_data): New variable.
21863 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21864 (tan_upward_test_data): New variable.
21865 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21866 (tanh_test_data): New variable.
21867 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21868 (tgamma_test_data): New variable.
21869 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21870 (trunc_test_data): New variable.
21871 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21872 (y0_test_data): New variable.
21873 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21874 (y1_test_data): New variable.
21875 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21876 (significand_test_data): New variable.
21877 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21878
7187d844
CG
218792013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21880
21881 [BZ #12387]
21882 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21883
f63fae73
PT
218842013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21885
21886 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21887
8a67a4b3
AJ
218882013-05-10 Andreas Jaeger <aj@suse.de>
21889
21890 [BZ #15448]
21891 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21892 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21893
51df539d
JM
218942013-05-10 Joseph Myers <joseph@codesourcery.com>
21895
21896 * math/gen-libm-test.pl (adjust_arg): New function.
21897 (special_functions): Handle generating output in both functions
21898 and arrays.
21899 (parse_args): Likewise.
21900 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21901 $in_func argument to parse_args.
21902 * math/libm-test.inc (struct test_f_f_data): New type.
21903 (IF_ROUND_INIT_): New macro.
21904 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21905 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21906 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21907 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21908 (ROUND_RESTORE_): Likewise.
21909 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21910 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21911 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21912 (ROUND_RESTORE_FE_UPWARD): Likewise.
21913 (RUN_TEST_LOOP_f_f): New macro.
21914 (acos_test_data): New variable.
21915 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21916 (acos_tonearest_test_data): New variable.
21917 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21918
5c637fe5
SP
219192013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21920
21921 * benchtests/bench-skeleton.c (startup): Fix coding style.
21922
ab2b9461
JM
219232013-05-10 Joseph Myers <joseph@codesourcery.com>
21924
21925 [BZ #6809]
21926 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21927 negative infinity argument.
21928 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21929 negative infinity argument.
21930 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21931 negative infinity argument.
21932 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21933 domain errors.
21934
4c0fe6fe
FW
219352013-05-10 Florian Weimer <fweimer@redhat.com>
21936
21937 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21938 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21939 * iconv/iconv_prog.c (main): Likewise.
21940 * locale/programs/charmap-dir.c (charmap_readdir)
21941 (fopen_uncompressed): Likewise.
21942 * locale/programs/locfile.c (siblings_uncached)
21943 (write_locale_data): Use lstat64 instead of lstat.
21944 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21945 stat.
21946
a3375d29
AJ
219472013-05-10 Andreas Jaeger <aj@suse.de>
21948
21949 [BZ #15395]
21950 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21951 localization.
21952 Include <locale.h>.
21953
36129722
CD
219542013-05-09 Carlos O'Donell <carlos@redhat.com>
21955
21956 * elf/dl-close.c (_dl_close_worker): Add comments.
21957
faa7f811
JM
219582013-05-09 Joseph Myers <joseph@codesourcery.com>
21959
ed41ffef
JM
21960 [BZ #15359]
21961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21962 high part of pi/2.
21963 (__ieee754_rem_pio2l): Update comments.
21964
d0213cd0
JM
21965 [BZ #15429]
21966 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21967 high part of pi/2.
21968 (__ieee754_rem_pio2l): Update comments.
21969
0d3e777a
JM
21970 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21971 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21972
24f56066
JM
21973 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21974 M_PI_4l.
21975
faa7f811
JM
21976 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21977 (M_PI_34_LOG10El): Likewise.
21978 (M_PI2_LOG10El): Likewise.
21979 (M_PI4_LOG10El): Likewise.
21980 (M_PI_LOG10El): Likewise.
21981
e9a5e0fd
AZ
219822013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21983
21984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21985
d8cd06db
JM
219862013-05-08 Joseph Myers <joseph@codesourcery.com>
21987
a0d9f9d7
JM
21988 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21989 (MINUS_ZERO_INIT): Likewise.
21990 (PLUS_INFTY_INIT): Likewise.
21991 (MINUS_INFTY_INIT): Likewise.
21992 (QNAN_VALUE_INIT): Likewise.
21993 (MAX_VALUE_INIT): Likewise.
21994 (MIN_VALUE_INIT): Likewise.
21995 (MIN_SUBNORM_VALUE_INIT): Likewise.
21996 (plus_zero): Initialize with PLUS_ZERO_INIT.
21997 (minus_zero): Initialize with MINUS_ZERO_INIT.
21998 (plus_infty): Initialize with PLUS_INFTY_INIT.
21999 (minus_infty): Initialize with MINUS_INFTY_INIT.
22000 (qnan_value): Initialize with QNAN_VALUE_INIT.
22001 (max_value): Initialize with MAX_VALUE_INIT.
22002 (min_value): Initialize with MIN_VALUE_INIT.
22003 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22004
ae08db3b
JM
22005 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22006 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22007 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22008 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22009
f44bf14a
JM
22010 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22011 (RUN_TEST_2_f): Likewise.
22012 (RUN_TEST_ff_f): Likewise.
22013 (RUN_TEST_fi_f): Likewise.
22014 (RUN_TEST_fl_f): Likewise.
22015 (RUN_TEST_fff_f): Likewise.
22016 (RUN_TEST_c_f): Likewise.
22017 (RUN_TEST_f_f1): Likewise.
22018 (RUN_TEST_fF_f1): Likewise.
22019 (RUN_TEST_fI_f1): Likewise.
22020 (RUN_TEST_ffI_f1): Likewise.
22021 (RUN_TEST_c_c): Likewise.
22022 (RUN_TEST_cc_c): Likewise.
22023 (RUN_TEST_f_i): Likewise.
22024 (RUN_TEST_f_i_tg): Likewise.
22025 (RUN_TEST_ff_i_tg): Likewise.
22026 (RUN_TEST_f_b): Likewise.
22027 (RUN_TEST_f_b_tg): Likewise.
22028 (RUN_TEST_f_l): Likewise.
22029 (RUN_TEST_f_L): Likewise.
22030 (RUN_TEST_sincos): Likewise.
22031 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22032 whether to show exceptions. Do not include ");\n" in return
22033 value.
22034 (special_functions): Output call to RUN_TEST_sincos instead of
22035 check_float calls. Update calls to new_test.
22036 (parse_args): Output call to single RUN_TEST_* macro instead of
22037 check_* calls and other assignments. Update calls to new_test.
22038
d8cd06db
JM
22039 [BZ #2546]
22040 [BZ #2560]
22041 [BZ #5159]
22042 [BZ #15426]
22043 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22044 input to result for tgamma overflow.
22045 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22046 (gamma_coeff): New variable.
22047 (NCOEFF): New macro.
22048 (gamma_positive): New function.
22049 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22050 underflow here. Use gamma_positive instead of exp (lgamma) for
22051 other arguments.
22052 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22053 (gamma_coeff): New variable.
22054 (NCOEFF): New macro.
22055 (gammaf_positive): New function.
22056 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22057 underflow here. Use gamma_positive instead of exp (lgamma) for
22058 other arguments.
22059 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22060 (gamma_coeff): New variable.
22061 (NCOEFF): New macro.
22062 (gammal_positive): New function.
22063 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22064 underflow here. Use gamma_positive instead of exp (lgamma) for
22065 other arguments.
22066 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22067 (gamma_coeff): New variable.
22068 (NCOEFF): New macro.
22069 (gammal_positive): New function.
22070 (__ieee754_gammal_r): Handle positive infinity, overflow and
22071 underflow here. Handle NaN the same as positive infinity. Remove
22072 check x < 0xffffffff for negative integers. Use gamma_positive
22073 instead of exp (lgamma) for other arguments.
22074 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22075 (gamma_coeff): New variable.
22076 (NCOEFF): New macro.
22077 (gammal_positive): New function.
22078 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22079 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22080 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22081 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22082 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22083 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22084 * sysdeps/generic/math_private.h (__gamma_productf): New
22085 prototype.
22086 (__gamma_product): Likewise.
22087 (__gamma_productl): Likewise.
22088 * math/Makefile (libm-calls): Add gamma_product.
22089 * math/libm-test.inc (tgamma_test): Add more tests.
22090 * sysdeps/i386/fpu/libm-test-ulps: Update.
22091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22092
bb7cf681
OB
220932013-05-08 Ondřej Bílka <neleai@seznam.cz>
22094
22095 * benchtests/bench-skeleton.c (main): Preheat CPU.
22096
ba853947
AJ
220972013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22098
22099 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22100
8347c74c
RM
221012013-05-07 Roland McGrath <roland@hack.frob.com>
22102
22103 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22104 and _dl_skip_args_internal.
22105
e8dd4791
CD
221062013-05-07 Carlos O'Donell <carlos@redhat.com>
22107
22108 * manual/message.texi (Message Translation): Talk about users.
22109 Message to key mapping impacts design.
22110
c7405830
RM
221112013-05-06 Roland McGrath <roland@hack.frob.com>
22112
a9173057
RM
22113 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22114
976e2f03
RM
22115 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22116
9723ffc5
RM
22117 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22118 * sysdeps/wordsize-64/glob64.c: ... here.
22119
962e6658
RM
22120 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22121 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22122 New macros.
22123
ee586a6d
RM
22124 * debug/getlogin_r_chk.c: Moved to ...
22125 * login/getlogin_r_chk.c: ... here.
22126 * debug/Makefile (routines): Move getlogin_r_chk to ...
22127 * login/Makefile (routines): ... here.
22128 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22129 * login/Versions (libc: GLIBC_2.4): ... here.
22130
355f9165
RM
22131 * io/poll.c (__poll): Renamed from poll.
22132 Add libc_hidden_def.
22133 (poll): Define as weak alias.
22134
bd9ffde6
RM
22135 * debug/ptsname_r_chk.c: Moved to ...
22136 * login/ptsname_r_chk.c: ... here.
22137 * debug/Makefile (routines): Move ptsname_r_chk to ...
22138 * login/Makefile (routines): ... here.
22139 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22140 * login/Versions (libc: GLIBC_2.4): ... here.
22141
8fb16a04
RM
22142 * posix/getlogin.c: Moved to ...
22143 * login/getlogin.c: ... here.
22144 * posix/getlogin_r.c: Moved to ...
22145 * login/getlogin_r.c: ... here.
22146 * posix/getlogin_r.c: Moved to ...
22147 * login/getlogin_r.c: ... here.
22148 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22149 * login/Makefile (routines): ... here.
22150 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22151 * login/Versions (libc: GLIBC_2.0): ... here.
22152
b99b892f
RM
22153 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22154 (setrlimit): Define as weak alias.
22155
c7405830
RM
22156 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22157 Call __ names for open, ftruncate, and close.
22158 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22159 (truncate): Define as weak alias.
22160
5bf96de5
JM
221612013-05-06 Joseph Myers <joseph@codesourcery.com>
22162
9ea3513c
JM
22163 * math/gen-libm-test.pl (parse_args): Initialize x before each
22164 test of frexp, modf and remquo.
22165
5bf96de5
JM
22166 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22167 test signgam value.
22168
16e616a7
AZ
221692013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22170
22171 [BZ #15418]
22172 [BZ #15419]
22173 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22174 internal tests.
22175 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22176
d5e82754
RM
221772013-05-06 Roland McGrath <roland@hack.frob.com>
22178
22179 * elf/dl-writev.h: New file.
22180 * elf/dl-misc.c: Include it.
22181 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22182 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22183
a7548d41
JM
221842013-05-04 Joseph Myers <joseph@codesourcery.com>
22185
b7dab1e4
JM
22186 * math/libm-test.inc (noXFails): Remove variable.
22187 (noXPasses): Likewise.
22188 (BUILD_COMPLEX_INT): Remove macro.
22189 (print_screen): Remove xfail argument.
22190 (print_screen_max_error): Likewise.
22191 (update_stats): Likewise.
22192 (print_max_error): Likewise. Update calls to other affected
22193 functions.
22194 (print_complex_max_error): Likewise.
22195 (test_single_exception): Update calls to print_screen.
22196 (test_single_errno): Likewise.
22197 (check_float_internal): Remove xfail argument. Update calls to
22198 other affected functions.
22199 (check_float): Likewise.
22200 (check_complex): Likewise.
22201 (check_int): Likewise.
22202 (check_long): Likewise.
22203 (check_bool): Likewise.
22204 (check_longlong): Likewise.
22205 (main): Don't print noXFails and noXPasses.
22206 * math/gen-libm-test.pl (top level): Don't mention expected
22207 failure handling in comment.
22208 (new_test): Don't handle expected failures.
22209 (parse_args): Don't mention expected failure handling in comment.
22210 (generate_testfile): Don't handle expected failures.
22211 (parse_ulps): Likewise.
22212 (print_ulps_file): Likewise.
22213 (get_failure): Remove function.
22214 (output_test): Don't handle expected failures.
22215 * make/README.libm-test: Don't mention expected failure handling.
22216
a7548d41
JM
22217 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22218 (minus_zero): Likewise.
22219 (plus_infty): Likewise.
22220 (minus_infty): Likewise.
22221 (qnan_value): Likewise.
22222 (max_value): Likewise.
22223 (min_value): Likewise.
22224 (min_subnorm_value): Likewise.
22225 (initialize): Do not initialize those variables dynamically.
22226
60bfd54c
RM
222272013-05-03 Roland McGrath <roland@hack.frob.com>
22228
cc0e6ed8
RM
22229 * io/open.c (__open_2): Moved to ...
22230 * io/open_2.c: ... this new file.
22231 * io/open64.c (__open64_2): Moved to ...
22232 * io/open64_2.c: ... this new file.
22233 * io/openat.c (__openat_2): Moved to ...
22234 * io/openat_2.c: ... this new file.
22235 * io/openat64.c (__openat64_2): Moved to ...
22236 * io/openat64_2.c: ... this new file.
22237 * io/Makefile (routines): Add them.
22238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22239 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22240 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22241 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22242 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22243 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22244 (__openat64): Add hidden_ver.
22245 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22246 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22247
60bfd54c
RM
22248 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22249 Separately conditionalize setting of GLRO(dl_sysinfo) so
22250 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22251 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22252
83e7640f
AZ
222532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22254
22255 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22257 definition.
22258 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22259 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22260 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22261 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22262 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22263
d5dc2af3
JM
222642013-05-03 Joseph Myers <joseph@codesourcery.com>
22265
c31a5b1e
JM
22266 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22267 test signgam value.
22268
d5dc2af3
JM
22269 * math/libm-test.inc (hypot_test): Do not use
22270 IGNORE_ZERO_INF_SIGN.
22271
164fd39d
AJ
222722013-05-03 Andreas Jaeger <aj@suse.de>
22273
22274 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22275 Linux 3.9.
22276 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22277 (PF_MAX): Adjust for VSOCK change.
22278
8237f48c
AZ
222792013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22280
22281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22282
9df02941
CD
222832013-05-02 Carlos O'Donell <carlos@redhat.com>
22284
22285 [BZ #15264]
22286 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22287 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22288 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22289
d422395e
DM
222902013-05-02 David S. Miller <davem@davemloft.net>
22291
22292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22293
a07c5731
OB
222942013-05-01 Ondřej Bílka <neleai@seznam.cz>
22295
22296 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22297
1324e37f
RM
222982013-05-01 Roland McGrath <roland@hack.frob.com>
22299
22300 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22301
0695940b
RS
223022013-05-01 Richard Smith <richard@metafoo.co.uk>
22303
bb5f27ad 22304 [BZ #14952]
0695940b
RS
22305 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22306 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22307 Use __attribute__ ((__gnu_inline__)).
22308 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22309 Don't use __attribute__ ((__gnu_inline__)).
22310
10de07f5
JM
223112013-05-01 Joseph Myers <joseph@codesourcery.com>
22312
22313 [BZ #15423]
22314 * math/s_catan.c (__catan): Handle small real or imaginary part of
22315 input specially to avoid spurious underflow.
22316 * math/s_catanf.c (__catanf): Likewise.
22317 * math/s_catanh.c (__catanh): Likewise.
22318 * math/s_catanhf.c (__catanhf): Likewise.
22319 * math/s_catanhl.c (__catanhl): Likewise.
22320 * math/s_catanl.c (__catanl): Likewise.
22321 * math/libm-test.inc (catan_test): Add more tests.
22322 (catanh_test): Likewise.
22323 * sysdeps/i386/fpu/libm-test-ulps: Update.
22324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22325
cb4d5414
AZ
223262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22327
22328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22329
caf84319
JM
223302013-04-30 Joseph Myers <joseph@codesourcery.com>
22331
22332 [BZ #15416]
22333 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22334 accurately for denominator in atan2.
22335 * math/s_catanf.c (__catanf): Likewise.
22336 * math/s_catanh.c (__catanh): Likewise.
22337 * math/s_catanhf.c (__catanhf): Likewise.
22338 * math/s_catanhl.c (__catanhl): Likewise.
22339 * math/s_catanl.c (__catanl): Likewise.
22340 * math/libm-test.inc (catan_test): Add more tests.
22341 (catanh_test): Likewise.
22342 * sysdeps/i386/fpu/libm-test-ulps: Update.
22343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344
d569c6ee
SP
223452013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22346
6dbe713d
SP
22347 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22348
f0ee064b
SP
22349 * benchtests/Makefile (bench): Remove slow benchmarks.
22350 * benchtests/atan-inputs: Add slow benchmark inputs.
22351 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22352 (BENCH_FUNC): Accept variant offset.
22353 (VARIANT): Define.
22354 * benchtests/bench-skeleton.c (main): Run benchmark for each
22355 variant.
22356 * benchtests/cos-inputs: Add slow benchmark inputs.
22357 * benchtests/exp-inputs: Likewise.
22358 * benchtests/pow-inputs: Likewise.
22359 * benchtests/sin-inputs: Likewise.
22360 * benchtests/slowatan-inputs: Remove.
22361 * benchtests/slowatan.c: Remove.
22362 * benchtests/slowcos-inputs: Remove.
22363 * benchtests/slowcos.c: Remove.
22364 * benchtests/slowexp-inputs: Remove.
22365 * benchtests/slowexp.c: Remove.
22366 * benchtests/slowpow-inputs: Remove.
22367 * benchtests/slowpow.c: Remove.
22368 * benchtests/slowsin-inputs: Remove.
22369 * benchtests/slowsin.c: Remove.
22370 * benchtests/slowtan-inputs: Remove.
22371 * benchtests/slowtan.c: Remove.
22372 * benchtests/tan-inputs: Add slow benchmark inputs.
22373 * scripts/bench.pl: Parse comments and directives.
22374
d569c6ee
SP
22375 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22376 in CPPFLAGS.
22377 ($(objpfx)bench-%.c): Remove *-ITER.
22378 * benchtests/bench-modf.c: Remove definition of ITER.
22379 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22380 (main): Loop for DURATION seconds instead of fixed number of
22381 iterations.
22382 * scripts/bench.pl: Don't expect iterations in parameters.
22383
a6a242fe
RM
223842013-04-29 Roland McGrath <roland@hack.frob.com>
22385
22386 * io/fchdir.c (__fchdir): Renamed from fchdir.
22387 (fchdir): Define as weak alias.
22388
f2da7793
JM
223892013-04-29 Joseph Myers <joseph@codesourcery.com>
22390
22391 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22392 (ERRNO_EDOM): Likewise.
22393 (ERRNO_ERANGE): Likewise.
22394 (noErrnoTests): New variable.
22395 (init_max_error): Set errno to 0.
22396 (test_single_errno): New function.
22397 (test_errno): Likewise.
22398 (check_float_internal): Call test_errno. Set errno to 0.
22399 (check_complex): Refer to errno tests in comment.
22400 (check_int): Call test_errno. Set errno to 0.
22401 (check_long): Likewise.
22402 (check_bool): Likewise.
22403 (check_longlong): Likewise.
22404 (cos_test): Use ERRNO_* flags for errno tests instead of
22405 check_int.
22406 (expm1_test): Likewise.
22407 (fmod_test): Likewise.
22408 (ilogb_test): Likewise.
22409 (lgamma_test): Likewise.
22410 (pow_test): Likewise.
22411 (remainder_test): Likewise.
22412 (sin_test): Likewise.
22413 (tan_test): Likewise.
22414 (yn_test): Likewise.
22415 (initialize): Set errno to 0.
22416 (main): Print number of errno tests.
22417 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22418
b1a36ceb
AJ
224192013-04-29 Andreas Jaeger <aj@suse.de>
22420
c3ed8088
AJ
22421 [BZ #15084]
22422 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22423 and RES_USEVC.
22424
f1a24198
AJ
22425 [BZ #15085]
22426 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22427 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22428 unimplemented.
22429
9ce3b2cb
AJ
22430 [BZ #15380]
22431 * stdlib/random.c (__initstate): Return NULL if
22432 __initstate fails.
22433
f1a24198 22434 [BZ #15086]
b1a36ceb
AJ
22435 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22436 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22437 RES_SNGLKUPREOP.
22438
7e7b6f36
AZ
224392013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22440
22441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22442
4d14f449
JM
224432013-04-29 Joseph Myers <joseph@codesourcery.com>
22444
22445 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22446 of individual tests.
22447 (casin_test): Likewise.
22448 (casinh_test): Likewise.
22449
5b4217d7
JM
224502013-04-27 Joseph Myers <joseph@codesourcery.com>
22451
22452 [BZ #15409]
22453 * math/s_catan.c (__catan): Handle arguments with large real or
22454 imaginary part separately without squaring.
22455 * math/s_catanf.c (__catanf): Likewise.
22456 * math/s_catanh.c (__catanh): Likewise.
22457 * math/s_catanhf.c (__catanhf): Likewise.
22458 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22459 and redefine.
22460 (__catanhl): Handle arguments with large real or imaginary part
22461 separately without squaring.
22462 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22463 and redefine.
22464 (__catanl): Handle arguments with large real or imaginary part
22465 separately without squaring.
22466 * math/libm-test.inc (catan_test): Add more tests.
22467 (catanh_test): Likewise.
22468 * sysdeps/i386/fpu/libm-test-ulps: Update.
22469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22470
4220c3ef
AJ
224712013-04-27 Andreas Jaeger <aj@suse.de>
22472
22473 [BZ #15007]
22474 * stdlib/stdlib.h: Update guards for qecvt.
22475 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22476 <stdlib.h>.
22477
4721b2d1
AM
224782013-04-27 Allan McRae <allan@archlinux.org>
22479
22480 * sysdeps/i386/fpu/libm-test-ulps: Update.
22481
f0302940
JM
224822013-04-26 Joseph Myers <joseph@codesourcery.com>
22483
9457fd95
JM
22484 [BZ #15406]
22485 * math/s_catan.c: Include <float.h>.
22486 (__catan): Ensure underflow exception occurs for underflowed
22487 result.
22488 * math/s_catanf.c: Include <float.h>.
22489 (__catanf): Ensure underflow exception occurs for underflowed
22490 result.
22491 * math/s_catanh.c: Include <float.h>.
22492 (__catanh): Ensure underflow exception occurs for underflowed
22493 result.
22494 * math/s_catanhf.c: Include <float.h>.
22495 (__catanhf): Ensure underflow exception occurs for underflowed
22496 result.
22497 * math/s_catanhl.c: Include <float.h>.
22498 (__catanhl): Ensure underflow exception occurs for underflowed
22499 result.
22500 * math/s_catanl.c: Include <float.h>.
22501 (__catanl): Ensure underflow exception occurs for underflowed
22502 result.
22503 * math/libm-test.inc (catan_test): Add more tests.
22504 (catanh_test): Likewise.
22505
f0302940
JM
22506 [BZ #15405]
22507 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22508 underflowed result.
22509 * math/s_ccoshf.c (__ccoshf): Likewise.
22510 * math/s_ccoshl.c (__ccoshl): Likewise.
22511 * math/s_csin.c (__csin): Likewise.
22512 * math/s_csinf.c (__csinf): Likewise.
22513 * math/s_csinh.c (__csinh): Likewise.
22514 * math/s_csinhf.c (__csinhf): Likewise.
22515 * math/s_csinhl.c (__csinhl): Likewise.
22516 * math/s_csinl.c (__csinl): Likewise.
22517 * math/libm-test.inc (ccos_test): Add more tests.
22518 (ccosh_test): Likewise.
22519 (csin_test): Likewise.
22520 (csinh_test): Likewise.
22521
aa630f59
AZ
225222013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22523
22524 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22525 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22526 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22527 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22528 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22529 powerpc/power5+/fpu folders.
22530 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22531
22532
1b835983
MT
225332013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22534
22535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22536
73709b26
JM
225372013-04-25 Joseph Myers <joseph@codesourcery.com>
22538
22539 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22540 additions to variable.
22541 [$(config-machine) = x86_64] (modules-names): Likewise.
22542 ($(objpfx)tst-audit3): Remove dependency.
22543 ($(objpfx)tst-audit3.out): Likewise.
22544 ($(objpfx)tst-audit4): Likewise.
22545 ($(objpfx)tst-audit4.out): Likewise.
22546 ($(objpfx)tst-audit5): Likewise.
22547 ($(objpfx)tst-audit5.out): Likewise.
22548 ($(objpfx)tst-audit6): Likewise.
22549 ($(objpfx)tst-audit6.out): Likewise.
22550 ($(objpfx)tst-audit7): Likewise.
22551 ($(objpfx)tst-audit7.out): Likewise.
22552 (tst-audit3-ENV): Remove variable.
22553 (tst-audit4-ENV): Likewise.
22554 (tst-audit5-ENV): Likewise.
22555 (tst-audit6-ENV): Likewise.
22556 (tst-audit7-ENV): Likewise.
22557 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22558 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22559 addition to variable.
22560 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22561 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22562 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22563 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22564 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22565 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22566 tst-audit3, tst-audit4 and tst-audit5.
22567 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22568 tst-audit6 and tst-audit7.
22569 [$(subdir) = elf] (modules-names): Add audit modules for those
22570 tests.
22571 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22572 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22573 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22574 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22575 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22576 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22577 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22578 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22579 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22580 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22581 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22582 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22583 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22584 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22585 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22586 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22587 Likewise.
22588 [$(subdir) = elf && $(config-cflags-avx) = yes]
22589 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22590 [$(subdir) = elf && $(config-cflags-avx) = yes]
22591 (CFLAGS-tst-auditmod4a.c): Likewise.
22592 [$(subdir) = elf && $(config-cflags-avx) = yes]
22593 (CFLAGS-tst-auditmod4b.c): Likewise.
22594 [$(subdir) = elf && $(config-cflags-avx) = yes]
22595 (CFLAGS-tst-auditmod6b.c): Likewise.
22596 [$(subdir) = elf && $(config-cflags-avx) = yes]
22597 (CFLAGS-tst-auditmod6c.c): Likewise.
22598 [$(subdir) = elf && $(config-cflags-avx) = yes]
22599 (CFLAGS-tst-auditmod7b.c): Likewise.
22600 * elf/tst-audit3.c: Move to ...
22601 * sysdeps/x86_64/tst-audit3.c: ... here.
22602 * elf/tst-audit4.c: Move to ...
22603 * sysdeps/x86_64/tst-audit4.c: ... here.
22604 * elf/tst-audit5.c: Move to ...
22605 * sysdeps/x86_64/tst-audit5.c: ... here.
22606 * elf/tst-audit6.c: Move to ...
22607 * sysdeps/x86_64/tst-audit6.c: ... here.
22608 * elf/tst-audit7.c: Move to ...
22609 * sysdeps/x86_64/tst-audit7.c: ... here.
22610 * elf/tst-auditmod3a.c: Move to ...
22611 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22612 * elf/tst-auditmod3b.c: Move to ...
22613 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22614 * elf/tst-auditmod4a.c: Move to ...
22615 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22616 * elf/tst-auditmod4b.c: Move to ...
22617 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22618 * elf/tst-auditmod5a.c: Move to ...
22619 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22620 * elf/tst-auditmod5b.c: Move to ...
22621 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22622 * elf/tst-auditmod6a.c: Move to ...
22623 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22624 * elf/tst-auditmod6b.c: Move to ...
22625 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22626 * elf/tst-auditmod6c.c: Move to ...
22627 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22628 * elf/tst-auditmod7a.c: Move to ...
22629 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22630 * elf/tst-auditmod7b.c: Move to ...
22631 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22632
1ef74943
PP
226332013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22634
22635 [BZ #15366]
22636 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22637 define unconditionally.
22638 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22639 define unconditionally.
22640 (INT8_C, INT16_C, etc.): Likewise.
22641
93fd48c5
MR
226422013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22643
ae9552cf
MR
22644 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22645 __ehdr_start with hidden visibility.
22646
93fd48c5
MR
22647 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22648
418601aa
CD
226492013-04-24 Carlos O'Donell <carlos@redhat.com>
22650
22651 * math/libm-test.inc (cos_test): Use accurate hex constants.
22652 (sincost_test): Likewise.
22653
2f38fbfe
JM
226542013-04-24 Joseph Myers <joseph@codesourcery.com>
22655
5e221800
JM
22656 * math/libm-test.inc (catan_test): Add more tests.
22657 (catanh_test): Likewise.
22658
77f143fd
JM
22659 * math/s_catanf.c (__catanf): Use suffixed floating-point
22660 constants.
22661 * math/s_catanhf.c (__catanhf): Likewise.
22662 * math/s_catanhl.c (__catanhl): Likewise.
22663 * math/s_catanl.c (__catanl): Likewise.
22664
2f38fbfe
JM
22665 [BZ #15394]
22666 * math/s_catan.c (__catan): Calculate imaginary part of result
22667 with log1p not log unless computing log of number close to 0.
22668 * math/s_catanf.c (__catanf): Likewise.
22669 * math/s_catanl.c (__catanl): Likewise.
22670 * math/s_catanh.c (__catanh): Calculate real part of result with
22671 log1p not log unless computing log of number close to 0.
22672 * math/s_catanhf.c (__catanhf): Likewise.
22673 * math/s_catanhl.c (__catanhl): Likewise.
22674 * math/libm-test.inc (catan_test): Add more tests.
22675 (catanh_test): Likewise.
22676 * sysdeps/i386/fpu/libm-test-ulps: Update.
22677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22678
45d69176
SP
226792013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22680
22681 * benchtests/Makefile: Mention files in which fast and slow
22682 paths of math functions are implemented.
22683
87f51853
RM
226842013-04-23 Roland McGrath <roland@hack.frob.com>
22685
22686 * sysdeps/posix/timespec_get.c: New file.
22687
3c026539
AZ
226882013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22689
22690 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22691 POWER.
22692 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22693 for POWER.
22694 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22695 powerpc/power5/fpu folders.
22696 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22697 * benchtests/Makefile: Add modf testcase.
22698 * benchtests/bench-modf.c: New file: Benchmark test for mo
22699
ff491d14
SP
227002013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22701
22702 [BZ #14888]
22703 * time/Makefile (tests): Add tst-strptime-whitespace.
22704 * time/strptime_l.c (get_number): Use ISSPACE.
22705 (__strptime_internal): Likewise.
22706 * time/tst-strptime-whitespace.c: New test case.
22707
7ed3f4e8
AS
227082013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22709
22710 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22711 member.
22712 (_nss_files_init): Set it here.
22713
5c95f7b6
HC
227142013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22715
22716 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22717 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22718 unsigned.
22719
d34c9158
JBG
227202013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22721
22722 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22723
2169712d
SP
227242013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22725
22726 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22727 size just once.
22728
29c5de99
DM
227292013-04-21 David S. Miller <davem@davemloft.net>
22730
22731 * po/ru.po: Update Russion translation from translation project.
22732
ccdad15d
AC
227332013-04-17 Adam Conrad <adconrad@0c3.net>
22734
22735 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22736 and setfsgid.
22737
0f122b8d
CD
227382013-04-17 Carlos O'Donell <carlos@redhat.com>
22739
5c5b07da 22740 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 22741 * configure: Regenerate.
5c5b07da 22742 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
22743 Add example to error message.
22744 * sysdeps/i386/configure: Regenerate.
22745
037714dd
SP
227462013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22747
22748 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22749 slowtan.
22750 * benchtests/cos-inputs: New file.
22751 * benchtests/slowcos-inputs: New file.
22752 * benchtests/slowcos.c: New file.
22753 * benchtests/slowtan-inputs: New file.
22754 * benchtests/slowtan.c: New file.
22755 * benchtests/tan-inputs: New file.
22756
e913141d
RM
227572013-04-16 Roland McGrath <roland@hack.frob.com>
22758
22759 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22760 considered kosher.
22761
a2964074
SP
227622013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22763
4856bcd2
SP
22764 * benchtests/Makefile: Include cppflags-iterator.mk to add
22765 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22766
a2964074
SP
22767 * Makefile.in (bench-clean): New target.
22768 * benchtests/Makefile (bench-clean): Likewise.
22769
9fbf9aca
DH
227702013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22771
22772 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22773
207d1e2a
TS
227742013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22775
22776 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22777
306dfba9
AS
227782013-04-15 Andreas Schwab <schwab@suse.de>
22779
22780 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22782 * nscd/pwdcache.c (cache_addpw): Likewise.
22783 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22784 more than recsize.
22785
206a6699
SP
227862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22787
22788 * benchtests/Makefile (bench): Write all output to
22789 bench-out.tmp together.
22790
0582f6b3
AS
227912013-04-15 Andreas Schwab <schwab@suse.de>
22792
22793 * nscd/nscd.c (main): Don't fork again after closing files.
22794
acb4325f
SP
227952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22796
5cb26d0a
SP
22797 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22798
acb4325f
SP
22799 * benchtests/Rules (bench-deps): Collect dependencies into a
22800 single variable. Add Makefile to dependencies.
22801 ($(objpfx)bench-%.c): Depend on bench-deps.
22802
47792506
RM
228032013-04-12 Roland McGrath <roland@hack.frob.com>
22804 Xavier Roche <roche+kml2@exalead.com>
22805
22806 [BZ #15361]
22807 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22808 just that it's a file descriptor.
22809 * manual/llio.texi (Synchronizing AIO Operations): Update description
22810 for EBADF error from aio_fsync.
22811
8fc1bee5
SP
228122013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22813
22814 * Rules (bench): Move target definition...
22815 * benchtests/Makefile: ... here.
22816
aba5e333
CD
228172013-04-11 Carlos O'Donell <carlos@redhat.com>
22818
22819 * math/libm-test.inc (cos_test): Fix PI/2 test.
22820 (sincos_test): Likewise.
22821 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22822 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22823
273cdee8
AS
228242013-04-11 Andreas Schwab <schwab@suse.de>
22825
6ecec3b6
AS
22826 [BZ #13988]
22827 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22828 accept exponent character only when digits were seen.
22829 * stdio-common/Makefile (tests): Add bug26.
22830 * stdio-common/bug26.c: New file.
22831
273cdee8
AS
22832 [BZ #14293]
22833 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22834 non-freeable.
22835
8da491f5
SP
228362013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22837
01dc6df9
SP
22838 * Makeconfig (rtld-prefix): Define built linker prefix.
22839 * Rules (run-bench): Use it.
22840 * math/Makefile (run-regen-ulps): Likewise.
22841
8da491f5
SP
22842 * Rules (bench): Remove eval.
22843
abe7f530
SP
228442013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22845 Roland McGrath <roland@hack.frob.com>
22846 Ondrej Bilka <neleai@seznam.cz>
22847
22848 [BZ #15346]
22849 * time/getdate.c: Include ctype.h and alloca.h.
22850 (__getdate_r): Trim leading and trailing spaces of input.
22851 * time/tst-getdate.c (tests): Add tests with leading and
22852 trailing spaces.
22853
61c23e62
RM
228542013-04-08 Roland McGrath <roland@hack.frob.com>
22855
22856 [BZ #14280]
22857 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22858 when computing value.
22859
7208a313
CD
228602013-04-06 Carlos O'Donell <carlos@redhat.com>
22861
085b2d41
CD
22862 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22863 Use testrun.sh to run libm tests.
22864
7208a313
CD
22865 [BZ #15309]
22866 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22867
872c0acd
MM
228682013-04-06 Marko Myllynen <myllynen@redhat.com>
22869
22870 [BZ #15264]
22871 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22872
26510bdd
CD
228732013-04-06 Carlos O'Donell <carlos@redhat.com>
22874
22875 * Makefile.in (regen-ulps): New target.
22876 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22877 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22878 [ifneq (no,$(PERL)] (regen-ulps): New target.
22879 [ifeq (no,$(PERL)] (regen-ulps): New target.
22880 * math/libm-test.inc (ulps_file_name): Define.
22881 (output_dir): New variable.
22882 (options): Add "output-dir" option.
22883 (parse_opt): Handle 'o' case.
22884 (main): If output_dir is non-NULL use it as a prefix
22885 otherwise use "".
22886 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22887
a01f19c8
CD
228882013-04-06 Carlos O'Donell <carlos@redhat.com>
22889
22890 [BZ #10060, #10062]
22891 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22892 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22893 fail configure if __sync_val_compare_and_swap is not inlined.
22894 * sysdeps/i386/configure: Regenerate.
22895 * configure.in: Build for i686 when configured for i386.
22896 * configure: Regenerate.
22897 * README: Remove i386 reference.
22898
b7a329a5
CD
228992013-04-06 Carlos O'Donell <carlos@redhat.com>
22900
22901 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22902 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22903
bf0f50df
TS
229042013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22905
ee091edf
TS
22906 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22907 (lmsnanval): New variables.
22908 (F): Add conversion tests.
22909 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22910 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22911
a8b792d6
TS
22912 * stdio-common/tstdiomisc.c (F): Properly collect individual
22913 tests' results.
22914
a1cbf437
TS
22915 [BZ #14686, #15336]
22916 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22917 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22918 Instead, use input NaN values or generate a qNaN by arithmetic
22919 operation. Also fix bugs to comply with the standard.
22920 * math/libm-test.inc (remainder_test): Add more tests.
22921
8b43a0c9
TS
22922 [BZ #15335, #15342]
22923 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22925 input NaN values or generate a qNaN by arithmetic operation.
22926
d91da4ce
TS
22927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22928 unreachable code.
22929
bf0f50df
TS
22930 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22931 definitions.
22932
05e166c8
JM
229332013-04-03 Joseph Myers <joseph@codesourcery.com>
22934
22935 [BZ #14478]
22936 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22937 underflowed result.
22938 * math/s_cexpf.c (__cexpf): Likewise.
22939 * math/s_cexpl.c (__cexpl): Likewise.
22940 * math/libm-test.inc (cexp_test): Add more tests.
22941
1cef1b19
AS
229422013-04-03 Andreas Schwab <schwab@suse.de>
22943
22944 [BZ #15330]
22945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22946 order arrays from heap if bigger than alloca cutoff.
22947
74d87055
TS
229482013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22949
22950 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22951 (SNAN_TESTS_double): Refer to GCC PR56831.
22952 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22953 GCC PR56828.
22954
d755bba4
SP
229552013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22956
90d5d5bb
SP
22957 * Rules (bench): Move bench.out after the run is complete.
22958
73e0cd5d
SP
22959 * Rules (bench): Echo currently running benchmark.
22960
64aabd4b
SP
22961 * benchtests/Makefile (bench): Add atan and slowatan.
22962 * benchtests/atan-inputs: New file.
22963 * benchtests/slowatan-inputs: New file.
22964 * benchtests/slowatan.c: New file.
22965
c871eccd
SP
22966 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22968 its value.
22969
d755bba4
SP
22970 [BZ #15305]
22971 * sysdeps/unix/sysv/linux/kernel-features.h
22972 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22973 __ASSUME_XFS_RESTRICTED_CHOWN.
22974 * sysdeps/unix/sysv/linux/pathconf.c
22975 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22976 Save and restore errno.
22977
52ce4860
JM
229782013-04-02 Joseph Myers <joseph@codesourcery.com>
22979
22980 [BZ #15327]
22981 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22982 arguments using __kernel_casinh.
22983 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22984 arguments using __kernel_casinhf.
22985 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22986 arguments using __kernel_casinhl.
22987 * math/libm-test.inc (cacosh_test): Add more tests.
22988 * sysdeps/i386/fpu/libm-test-ulps: Update.
22989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22990
81f311c2
SP
229912013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22992
e7906a47
SP
22993 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22995
92e3664b
SP
22996 * bench/Makefile (bench): Add sin and slowsin.
22997 * benchtests/sin-inputs: New file.
22998 * benchtests/slowsin-inputs: New file.
22999 * benchtests/slowsin.c: New file.
23000
81f311c2
SP
23001 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23002 (bench): Add slowexp and slowpow.
23003 (exp-ITER): Increase iterations.
23004 (pow-ITER): Likewise.
23005 * benchtests/exp-inputs: Change input.
23006 * benchtests/pow-inputs: Likewise.
23007 * benchtests/slowexp-inputs: New file.
23008 * benchtests/slowexp.c: New file.
23009 * benchtests/slowpow-inputs: New file.
23010 * benchtests/slowpow.c: New file.
23011
ab0f1aa9
AZ
230122013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23013
23014 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23015 instructions.
23016 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23017 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23018 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23019 * benchtests/Makefile: Add rint benchtest.
23020 * benchtests/rint-inputs: Input for rint benchtest.
23021
57267616
TS
230222013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23023
23024 * Versions.def (libm): Add GLIBC_2.18.
23025 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23026 hidden libm prototypes.
23027 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23028 * math/Makefile (libm-calls): Add s_issignaling.
23029 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23030 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23031 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23032 declaration.
23033 * math/math.h [__USE_GNU] (issignaling): New macro.
23034 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23035 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23037 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23040 * manual/arith.texi (issignaling): New section.
23041 * manual/libm-err-tab.pl (@all_functions): Update comment.
23042 * math/gen-libm-test.pl (parse_args): Apply special handling for
23043 issignaling.
23044 * math/libm-test.inc (print_float, issignaling_test): New
23045 functions.
23046 (check_float_internal): Add issignaling checks.
23047 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23048 default definition.
23049 * sysdeps/powerpc/math-tests.h: New file.
23050 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23051 tests.
23052 * math/test-snan.c (TEST_FUNC): Likewise.
23053
6142896d
DM
230542013-03-30 David S. Miller <davem@davemloft.net>
23055
23056 * po/de.po: Update from translation team.
23057
ccc8cadf
JM
230582013-03-30 Joseph Myers <joseph@codesourcery.com>
23059
23060 [BZ #10357]
23061 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23062 imaginary part less than 1.0 and real part less than 0.5
23063 specially.
23064 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23065 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23066 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23067 (cacos_test): Add more tests.
23068 (casin_test): Likewise.
23069 (casinh_test): Likewise.
23070 * sysdeps/i386/fpu/libm-test-ulps: Update.
23071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23072
0f6a8d4b
SP
230732013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23074
0d1029de
SP
23075 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23076 ONE with its value.
23077
c2d94018
SP
23078 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23079 (__pow_mp): Replace ONE and MONE with their values.
23080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23082 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23083 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23084 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23085 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23086
27ec37f1
SP
23087 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23088
a64d7e0e
SP
23089 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23090 (__pow_mp): Replace ZERO and MZERO with their values.
23091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23093 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23095 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23096 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23097 (__sqr): Likewise.
23098
d26dd3eb
SP
23099 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23100
0f6a8d4b
SP
23101 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23102
e57b0c61
RM
231032013-03-28 Roland McGrath <roland@hack.frob.com>
23104
23105 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23106 Declare with __attribute__ ((weak)).
23107 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23108 Call __call_tls_dtors only if it's not NULL.
23109
356b3480
RM
231102013-03-28 Roland McGrath <roland@hack.frob.com>
23111
288f7d79
RM
23112 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23113 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23114 magic __ehdr_start linker symbol if it's defined.
23115 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23116 them up here if it was already done.
23117
dc0a0263
RM
23118 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23119 (_dl_aux_init): Use const in cast when setting it.
23120 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23121 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23122 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23123
3d3436ae
RM
23124 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23125 Declare them here.
23126 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23127 * csu/libc-tls.c: Nor here.
23128 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23129
356b3480
RM
23130 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23131 (__libc_message): Never call vsyslog.
23132
b0f1246a
AM
231332013-03-28 Alan Modra <amodra@gmail.com>
23134
23135 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23136 Define as empty.
23137 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23138 Likewise.
23139
fbbe2b9a
AZ
231402013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23141
23142 [BZ #15214]
23143 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23144 underflow.
23145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23146
1728ab37
SP
231472013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23148
7a86be6e
SP
23149 [BZ #15304]
23150 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23151 Don't add gid passed as argument.
23152
1728ab37
SP
23153 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23154
3a7182a1
JM
231552013-03-27 Joseph Myers <joseph@codesourcery.com>
23156
23157 [BZ #15307]
23158 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23159 imaginary part between 1.0 and 1.5 and real part less than 0.5
23160 specially.
23161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23163 * math/libm-test.inc (cacos_test): Add more tests.
23164 (casin_test): Likewise.
23165 (casinh_test): Likewise.
23166 * sysdeps/i386/fpu/libm-test-ulps: Update.
23167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23168
6f2e90e7
SP
231692013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23170
5739f705
SP
23171 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23172 constants.
23173 (norm): Likewise.
23174 (denorm): Likewise.
23175 (__dbl_mp): Likewise.
23176 (add_magnitudes): Likewise.
23177 (sub_magnitudes): Likewise.
23178 (__add): Likewise.
23179 (__sub): Likewise.
23180 (__mul): Likewise.
23181 (__sqr): Likewise.
23182 (__inv): Likewise.
23183 (__dvd): Likewise.
23184
e375e83d
SP
23185 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23186 commented code.
23187 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23188 (__dubcos): Likewise.
23189 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23190 (__ieee754_acos): Likewise.
23191 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23192 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23193 (__exp1): Likewise.
23194 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23196 (log1): Likewise.
23197 (my_log2): Likewise.
23198 (checkint): Likewise.
23199 * sysdeps/ieee754/dbl-64/e_remainder.c
23200 (__ieee754_remainder): Likewise.
23201 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23203 (bsloww): Likewise.
23204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23205
6f2e90e7
SP
23206 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23208 MANTISSA_STORE_T to store computations on mantissa. Use
23209 macros for rounding and division.
23210 (denorm): Likewise.
23211 (__dbl_mp): Likewise.
23212 (add_magnitudes): Likewise.
23213 (sub_magnitudes): Likewise.
23214 (__mul): Likewise.
23215 (__sqr): Likewise.
23216 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23217 powers of two in terms of TWOPOW macro.
23218 (mp_no): Make type of mantissa as MANTISSA_T.
23219 [!RADIXI]: Define RADIXI.
23220 [!TWO52]: Define TWO52.
23221 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23222
fce14d4e
AZ
232232013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23224
23225 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23226 llroundl symbol when building for PPC32.
23227
9ad027fb
MW
232282013-03-24 Mark H Weaver <mhw@netris.org>
23229
23230 * manual/arith.texi (Normalization Functions): Fix prototypes for
23231 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23232
e42a38dd
AZ
232332013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23234
23235 [BZ #13889]
23236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23237 high value to check if expl overflow.
23238 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23239 to check for underflow and overflow.
23240 * math/libm-test.inc: Add exp test.
23241
2e0fb521
DL
232422013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23243
23244 [BZ #11120]
23245 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23246 with NOT_IN_libc.
23247
b5784d95
AZ
232482013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23249
23250 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23251 symbol.
23252
5aa4a1a1
TS
232532013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23254
bdef0be7
TS
23255 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23256 wrap blocks consisting of several statements.
23257
5aa4a1a1
TS
23258 * sysdeps/generic/math-tests.h: New file.
23259 * sysdeps/i386/fpu/math-tests.h: Likewise.
23260 * math/test-snan.c: Include it.
23261 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23262
98c48fe5
JM
232632013-03-21 Joseph Myers <joseph@codesourcery.com>
23264
23265 [BZ #15285]
23266 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23267 (__ieee754_j0l): Do not improve calculations using cos of twice
23268 input for inputs above LDBL_MAX / 2.0L.
23269 (__ieee754_y0l): Likewise.
23270 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23271 (__ieee754_j1l): Do not improve calculations using cos of twice
23272 input for inputs above LDBL_MAX / 2.0L.
23273 (__ieee754_y1l): Likewise.
23274 * math/libm-test.inc (j0_test): Add another test.
23275 (j1_test): Likewise.
23276 (y0_test): Likewise.
23277 (y1_test): Likewise.
23278 * sysdeps/i386/fpu/libm-test-ulps: Update.
23279
3775a8bc
SP
232802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23281
23282 * Rules ($(objpfx)bench-%.c): Include code from a C source
23283 file.
23284
0a1b2ae6
JM
232852013-03-21 Joseph Myers <joseph@codesourcery.com>
23286
23287 [BZ #15287]
23288 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23289 imaginary part 1.0 and real part less than 0.5 specially.
23290 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23291 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23292 * math/libm-test.inc (cacos_test): Add more tests.
23293 (casin_test): Likewise.
23294 (casinh_test): Likewise.
23295 * sysdeps/i386/fpu/libm-test-ulps: Update.
23296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23297
b33d4ce4
SP
232982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23299
23300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23301 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23302
bef0b507
JM
233032013-03-20 Joseph Myers <joseph@codesourcery.com>
23304
23305 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23306 * config.make.in (config-cflags-sse4): Remove variable.
23307 (config-cflags-avx): Likewise.
23308 (config-cflags-sse2avx): Likewise.
23309 (config-cflags-novzeroupper): Likewise.
23310 (config-asflags-i686): Likewise.
23311 (have-mfma4): Likewise.
23312 (have-as-vis3): Likewise.
23313 (MIG): Likewise.
23314 * configure.in (MIG): Do not AC_SUBST.
23315 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23316 (libc_cv_cc_sse4): Do not AC_SUBST.
23317 (libc_cv_cc_avx): Likewise.
23318 (libc_cv_cc_sse2avx): Likewise.
23319 (libc_cv_cc_novzeroupper): Likewise.
23320 (libc_cv_cc_fma4): Likewise.
23321 (libc_cv_as_i686): Likewise.
23322 (libc_cv_sparc_as_vis3): Likewise.
23323 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23324 LIBC_CONFIG_VAR.
23325 (config-asflags-i686): Likewise.
23326 (config-cflags-avx): Likewise.
23327 (config-cflags-sse2avx): Likewise.
23328 (have-mfma4): Likewise.
23329 (config-cflags-novzeroupper): Likewise.
23330 * sysdeps/mach/configure.in (MIG): Likewise.
23331 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23332 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23333 LIBC_CONFIG_VAR.
23334 (config-cflags-avx): Likewise.
23335 (config-cflags-sse2avx): Likewise.
23336 (have-mfma4): Likewise.
23337 (config-cflags-novzeroupper): Likewise.
23338 * configure: Regenerated.
23339 * sysdeps/i386/configure: Likewise.
23340 * sysdeps/mach/configure: Likewise.
23341 * sysdeps/sparc/configure: Likewise.
23342 * sysdeps/x86_64/configure: Likewise.
23343
912cc4b3
RM
233442013-03-20 Roland McGrath <roland@hack.frob.com>
23345
23346 [BZ #14812]
23347 * locale/programs/localedef.c (options): Put N_ translation marker
23348 on argument names, not just descriptions.
23349
04eed2b0
MS
233502013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23351
23352 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23353
a065ceff
OB
233542013-03-20 Ondřej Bílka <neleai@seznam.cz>
23355
9bb2a810 23356 [BZ #14176]
a065ceff
OB
23357 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23358
a600e5ce
RM
233592013-03-19 Roland McGrath <roland@hack.frob.com>
23360
23361 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23362 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23363 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23364 [!BEFORE_ABORT] (before_abort): New function.
23365 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23366 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23367 (writev_for_fatal): New function.
23368 (WRITEV_FOR_FATAL): New macro; call that.
23369 (backtrace_and_maps): New function.
23370 (BEFORE_ABORT): New macro; call that.
23371 (struct str_list): Type removed.
23372 (__libc_message, __libc_fatal): Functions removed.
23373 Include <sysdeps/posix/libc_fatal.c> instead.
23374
6b18bea6
JM
233752013-03-19 Joseph Myers <joseph@codesourcery.com>
23376
23377 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23378 constants.
23379 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23380 double constants.
23381
aaa8cb4b
AS
233822013-03-19 Andreas Schwab <schwab@suse.de>
23383
44673770
AS
23384 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23385 * sysdeps/gnu/configure: Regenerate.
23386
aaa8cb4b
AS
23387 * configure.in: Substitute libc_cv_rtlddir.
23388 * configure: Regenerate.
23389 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23390 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23391 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23392 * elf/Makefile (install-others, CFLAGS-interp.c)
23393 (ldso_install, common-ldd-rewrite): Likewise.
23394 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23395 $(inst_slibdir)/$(rtld-installed-name).
23396 * scripts/rellns-sh: Add -p option.
23397 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23398 for source.
23399
d3cfc668
SP
234002013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23401
23402 * manual/nptl.texi: Renamed to ...
23403 * manual/threads.texi: ... this.
23404 * manual/Makefile (chapters): Update.
23405
0e2b9cdd
RM
234062013-03-18 Roland McGrath <roland@hack.frob.com>
23407
23408 [BZ #14812]
23409 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23410 on argument names, not just descriptions.
0e2b9cdd
RM
23411 * malloc/memusagestat.c (options): Likewise.
23412 * nss/getent.c (options): Likewise.
63270c24
RM
23413
234142013-03-18 Benno Schulenberg <bensberg@justemail.net>
23415
23416 [BZ #14812]
23417 * iconv/iconv_prog.c (options): Put N_ translation marker
23418 on argument names, not just descriptions.
23419 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 23420
b2e1393c
OB
234212013-03-18 Ondrej Bilka <neleai@seznam.cz>
23422
23423 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23424 implementation which is faster on all x86_64 architectures.
23425 Tested on AMD, Intel Nehalem, SNB, IVB.
23426 * sysdeps/x86_64/strnlen.S: Likewise.
23427
23428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23429 Remove all multiarch strlen and strnlen versions.
23430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23431 Remove strlen and strnlen related parts.
23432
23433 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23434 Inline strlen part.
23435 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23436
23437 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23438 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23439 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23440 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23441 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23442 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23443
ec4ff04d
CD
234442013-03-17 Carlos O'Donell <carlos@redhat.com>
23445
23446 * manual/memory.texi (Malloc Tunable Parameters):
23447 Sort parameters alphabetically. Add comments for missing entries.
23448
cd18e90a
DM
234492013-03-17 David S. Miller <davem@davemloft.net>
23450
23451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23452
2a185d32
JM
234532013-03-16 Joseph Myers <joseph@codesourcery.com>
23454
d2f9799e
JM
23455 [BZ #15283]
23456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23457 for arguments at most half maximum finite value.
23458 * math/libm-test.inc (j0_test): Add more tests.
23459 (j1_test): Likewise.
23460 (y0_test): Likewise.
23461 (y1_test): Likewise.
23462 * sysdeps/i386/fpu/libm-test-ulps: Update.
23463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23464
2a185d32
JM
23465 [BZ #14155]
23466 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23467 1 / x and functions P and Q for arguments above 0x1p256L.
23468 (__ieee754_y0l): Likewise.
23469 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23470 (__ieee754_y1l): Likewise.
23471 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23472 (j1_test): Likewise.
23473 (y0_test): Likewise.
23474 (y1_test): Likewise.
23475
6cbec759
TS
234762013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23477
23478 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23479 variable.
23480
bc16e260
RM
234812013-03-15 Roland McGrath <roland@hack.frob.com>
23482
aefc9b8c
RM
23483 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23484 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23485 zero since it's initialized to EXEC_PAGESIZE.
23486
bc16e260
RM
23487 * sysdeps/unix/sysv/linux/ldsodefs.h
23488 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23489 * sysdeps/generic/ldsodefs.h: ... here.
23490
a57da955
TS
234912013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23492
af00a34d
TS
23493 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23494
495ded2c
TS
23495 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23496 math/test-snan.c.
23497 * math/test-snan.c: Renamed from
23498 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23499 * math/Makefile (tests): Add test-snan.
23500 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23501 test-powerpc-snan.
23502
777b0332
TS
23503 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23504 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23505 functions.
23506 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23507 __builtin_nan family of functions.
23508 * math/libm-test.inc (initialize): Initialize qnan_value with
23509 __builtin_nan family of functions.
23510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23511 Remove variables.
23512 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23513 Remove functions.
23514 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23515 storage class. Initialize qNaN_var and sNaN_var with
23516 __builtin_nan and __builtin_nans families of functions,
23517 respectively.
23518
64d063b8
TS
23519 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23520 (sqrt_test): Remove duplicate test with qNaN input.
23521 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23522 (round_test, signbit_test, significand_test): Note missing +/-Inf
23523 as well as qNaN tests.
23524
67e971f1
TS
23525 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23526 qNaN_var. Fix a few strings, too.
23527 * math/libm-test.inc (nan_value): Rename to qnan_value.
23528 * math/gen-libm-test.pl (%beautify): Adjust to that.
23529 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23530 * math/test-misc.c (main): Likewise.
23531 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23532 to __qnan_bytes, and __qnan_union, respectively.
23533 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23534 Likewise.
23535 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23536 and lqnanval, respectively.
23537 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23538 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23540 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23541
64487e12
TS
23542 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23543 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23544 doubles.
23545
e015e27b
TS
23546 * math/test-misc.c (main): Fix copy'n'pastos.
23547 * misc/tst-efgcvt.c (special): Likewise.
23548
a57da955
TS
23549 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23550 Remove declarations.
23551
1e380345
SP
235522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23553
23554 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23555 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23556 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23557 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23558
ef26eece
AZ
235592013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23560
23561 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23562 macro to return vdso values correctly in IFUNC implementations.
23563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23564 Optimization by using IFUNC.
23565
8cfdb7e0
SP
235662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23567 Richard Henderson <rth@redhat.com>
23568 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23569
23570 * Makefile.in (bench): New target.
23571 * NEWS: Mention the benchmark framework.
23572 * Rules (bench): Likewise.
23573 (binaries-bench): Generate binaries for functions to
23574 benchmark.
23575 * benchtests/Makefile: New makefile for benchmark tests.
23576 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23577 programs.
23578 * benchtests/exp-inputs: New input file for EXP function.
23579 * benchtests/pow-inputs: New input file for POW function.
23580 * scripts/bench.pl: New script to generate source files for
23581 benchmark programs.
23582
bcda9880
SP
235832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23584
d22ca8cd
SP
23585 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23586 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23587 computations on mantissa. Use macros for rounding and
23588 division.
23589 (denorm): Likewise.
23590 (__dbl_mp): Likewise.
23591 (add_magnitudes): Likewise.
23592 (sub_magnitudes): Likewise.
23593 (__mul): Likewise.
23594 (__sqr): Likewise.
23595 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23596 powers of two in terms of TWOPOW macro.
23597 (mp_no): Make type of mantissa as MANTISSA_T.
23598 [!RADIXI]: Define RADIXI.
23599 [!TWO52]: Define TWO52.
23600 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23601
bcda9880
SP
23602 * manual/nptl.texi (cindex): Modify threads to pthreads.
23603
06d5adfb
JM
236042013-03-15 Joseph Myers <joseph@codesourcery.com>
23605
23606 * sysdeps/x86_64/preconfigure: Regenerated.
23607
41c7328e
JM
236082013-03-14 Joseph Myers <joseph@codesourcery.com>
23609
23610 [BZ #14155]
23611 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23612 0x1p28 and above.
23613 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23614 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23615 0x1p28 and above.
23616 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23617 * math/libm-test.inc (j0_test): Do not allow one spurious
23618 underflow exception.
23619 (y1_test): Likewise.
23620
e25cfa60
SP
236212013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23622
0409959c
SP
23623 * manual/Makefile (chapters): Add nptl.
23624 * manual/debug.texi (Debugging Support): Add link to Threads
23625 chapter.
23626 * manual/nptl.texi: New file.
23627
e25cfa60
SP
23628 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23629
58a1335e
PB
236302013-03-14 Petr Baudis <pasky@ucw.cz>
23631
23632 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23633 for non-NULL pointer before the memory validity test. Pointed
23634 out by Holger Brunck <holger.brunck@keymile.com>.
23635
9dc7c64f
AS
236362013-03-13 Andreas Schwab <schwab@suse.de>
23637
23638 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23639 instead of .os.
23640
54206aa6
JM
236412013-03-13 Joseph Myers <joseph@codesourcery.com>
23642
23643 * timezone/zic.c: Update from tzcode 2013b.
23644
e98cdb38
CD
236452013-03-12 Carlos O'Donell <carlos@redhat.com>
23646
23647 * manual/install.texi (Configuring and compiling):
23648 Mention i686 and i586.
23649 * INSTALL: Regenerate.
23650
9967e003
RM
236512013-03-12 Roland McGrath <roland@hack.frob.com>
23652
23653 * sysdeps/init_array/elf-init.c: New file.
23654 * csu/elf-init.c
23655 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23656 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23657
23658 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23659 __gmon_start__ as global, but as static with a .preinit_array pointer.
23660 * sysdeps/init_array/gmon-start.c: New file. Use that.
23661 * sysdeps/init_array/crti.S: New file, empty except for comments.
23662 * sysdeps/init_array/crtn.S: Likewise.
23663
e6b5a293 236642013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
23665
23666 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23667 definining bcopy.
80f844c9
OB
23668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23669 Remove Prefer_SSE_for_memop.
23670 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23671 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23672 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
23673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23674 memset-x86-64.
80f844c9 23675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 23676 Remove bzero, memset ifunc support.
80f844c9
OB
23677 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23678 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23679 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23680 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23681
fb6b0fcb
AS
236822013-03-11 Andreas Schwab <schwab@suse.de>
23683
23684 [BZ #15234]
23685 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23686 by SHLIB_COMPAT.
23687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23688 (GLIBC_2.16): Remove pthread_atfork.
23689
3e6bd4b1
PP
236902013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23691
23692 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23693 (ptestcases.h): Likewise.
23694
222d7f00
RM
236952013-03-08 Roland McGrath <roland@hack.frob.com>
23696
23697 * Makeconfig ($(common-objpfx)config.status): Depend on
23698 sysdeps/*/preconfigure{,.in} too.
23699
1ba4f030
JM
237002013-03-08 Joseph Myers <joseph@codesourcery.com>
23701
a222d91a
JM
23702 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23703 (__free_hook): Use void * instead of __malloc_ptr_t.
23704 (__malloc_hook): Likewise.
23705 (__realloc_hook): Likewise.
23706 (__memalign_hook): Likewise.
23707 (__after_morecore_hook): Likewise.
23708 * malloc/arena.c (save_malloc_hook): Likewise.
23709 (save_free_hook): Likewise.
23710 * malloc/hooks.c (malloc_hook_ini): Likewise.
23711 (realloc_hook_ini): Likewise.
23712 (memalign_hook_ini): Likewise.
23713 * malloc/malloc.c (malloc_hook_ini): Likewise.
23714 (realloc_hook_ini): Likewise.
23715 (memalign_hook_ini): Likewise.
23716 (__free_hook): Likewise.
23717 (__malloc_hook): Likewise.
23718 (__realloc_hook): Likewise.
23719 (__memalign_hook): Likewise.
23720 (__libc_malloc): Likewise.
23721 (__libc_free): Likewise.
23722 (__libc_realloc): Likewise.
23723 (__libc_memalign): Likewise.
23724 (__libc_valloc): Likewise.
23725 (__libc_pvalloc): Likewise.
23726 (__libc_calloc): Likewise.
23727 (__posix_memalign): Likewise.
23728 * malloc/morecore.c (__sbrk): Likewise.
23729 (__default_morecore): Likewise.
23730
5cc45e10
JM
23731 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23732
dd54b864
JM
23733 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23734 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23735 __malloc_ptrdiff_t.
23736
1ba4f030
JM
23737 * malloc/malloc.h (__malloc_size_t): Remove macro.
23738 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23739 __malloc_size_t.
23740 (old_memalign_hook): Likewise.
23741 (old_realloc_hook): Likewise.
23742 (struct hdr): Likewise.
23743 (flood): Likewise.
23744 (mallochook): Likewise.
23745 (memalignhook): Likewise.
23746 (reallochook): Likewise.
23747 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23748 (tr_old_realloc_hook): Likewise.
23749 (tr_old_memalign_hook): Likewise.
23750 (tr_mallochook): Likewise.
23751 (tr_reallochook): Likewise.
23752 (tr_memalignhook): Likewise.
23753
edf66e57
AZ
237542013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23755
23756 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23757 default_ldbl_pack and using as default implementation.
23758 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23759 implementation.
23760 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23761 redundant definition.
23762 (ldbl_insert_mantissa): Likewise.
23763 (ldbl_canonicalize): Likewise.
23764 (ldbl_nearbyint): Likewise.
23765 (ldbl_pack): Rename to ldbl_pack_ppc.
23766 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23767 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23768 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23769
6d9145d8
SP
237702013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23771
23772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23773 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23775 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23778 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23779 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23780
4dd4e157
AJ
237812013-03-07 Andreas Jaeger <aj@suse.de>
23782
23783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23784 bits/mman-linux.h.
23785
adbb8027
SP
237862013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23787
ce544b5b
SP
23788 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23789 Include mpa.h and declare __MPEXP.
23790 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23791 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23792 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23793 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23794 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23795 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23796 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23797
4cc149fd
SP
23798 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23799 (__slowpow): Use long double EXPL and LOGL functions to
23800 compute POW.
23801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23802 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23803 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23804 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23805 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23807
e6ebd4a7
SP
23808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23809 intermediate variable to calculate exponent.
23810 (__sqr): Likewise.
23811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23812 Likewise.
23813 (__sqr): Likewise.
23814
82a9811d
SP
23815 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23816 [!NO__SQR]: Define __sqr.
23817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23818 and NO__SQR. Remove all code except __mul and __sqr. Include
23819 sysdeps/ieee754/dbl-64/mpa.c.
23820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23821
adbb8027
SP
23822 [BZ #12723]
23823 * posix/Makefile (tests): Add tst-pathconf.
23824 * posix/tst-pathconf.c: New test case.
23825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23826 _PC_PIPE_BUF.
23827 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23828
39120df9
PF
238292013-03-06 Patsy Franklin <pfrankli@redhat.com>
23830
23831 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23832
67525cb8
AJ
238332013-03-06 Andreas Jaeger <aj@suse.de>
23834
664a9ce4
AJ
23835 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23836 definition via __MAP_ANONYMOUS.
23837
8e39047d
AJ
23838 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23839 it's not part of Linux headers.
23840
67525cb8
AJ
23841 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23842 (MAP_HUGE_MASK): Define.
23843
23844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23845 Define.
23846 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23848 Define.
23849 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23850 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23851 Define.
23852 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23854 Define.
23855 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23856
23857 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23858 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23859 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23860 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23861 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23862 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23863
23864 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23865 Handle f2fs.
23866
23867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23868 Handle f2fs and efivarfs.
23869
23870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23871 f2fs.
23872
23873 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23874 (EFIVARFS_MAGIC): Add.
23875 (F2FS_LINK_MAX): Add.
23876
e1b42695
PP
238772013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23878
23879 * stdio-common/vfprintf.c: Replace __builtin_expect with
23880 __glibc_unlikely.
23881
2d67d91a
JM
238822013-03-06 Joseph Myers <joseph@codesourcery.com>
23883
23884 [BZ #13550]
23885 * sysdeps/generic/bp-sym.h: Remove file.
23886 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23887 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23888 <bp-sym.h> and <bp-asm.h>.
23889 (__longjmp): Don't use BP_SYM.
23890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23891 and <bp-asm.h>.
23892 (memcpy): Don't use BP_SYM.
23893 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23894 <bp-sym.h> and <bp-asm.h>.
23895 (memcpy): Don't use BP_SYM.
23896 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23897 <bp-asm.h>.
23898 (memcpy): Don't use BP_SYM.
23899 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23900 <bp-asm.h>.
23901 (memset): Don't use BP_SYM.
23902 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23903 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23904 (__bzero): Don't use BP_SYM.
23905 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23906 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23907 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23908 <bp-sym.h> and <bp-asm.h>.
23909 (memcmp): Don't use BP_SYM. Remove comment about bounded
23910 pointers.
23911 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23912 <bp-sym.h> and <bp-asm.h>.
23913 (memcpy): Don't use BP_SYM.
23914 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23915 <bp-sym.h> and <bp-asm.h>.
23916 (memset): Don't use BP_SYM.
23917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23919 (__bzero): Don't use BP_SYM.
23920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23923 <bp-sym.h> and <bp-asm.h>.
23924 (strncmp): Don't use BP_SYM. Remove comment about bounded
23925 pointers.
23926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23927 <bp-sym.h> and <bp-asm.h>.
23928 (memcpy): Don't use BP_SYM.
23929 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23930 <bp-sym.h> and <bp-asm.h>.
23931 (memset): Don't use BP_SYM.
23932 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23933 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23934 (__bzero): Don't use BP_SYM.
23935 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23936 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23938 <bp-sym.h> and <bp-asm.h>.
23939 (__memchr): Don't use BP_SYM.
23940 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23941 <bp-sym.h> and <bp-asm.h>.
23942 (memcmp): Don't use BP_SYM. Remove comment about bounded
23943 pointers.
23944 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23945 <bp-sym.h> and <bp-asm.h>.
23946 (memcpy): Don't use BP_SYM.
23947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23948 <bp-sym.h> and <bp-asm.h>.
23949 (__mempcpy): Don't use BP_SYM.
23950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23951 <bp-sym.h> and <bp-asm.h>.
23952 (__memrchr): Don't use BP_SYM.
23953 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23954 <bp-sym.h> and <bp-asm.h>.
23955 (memset): Don't use BP_SYM.
23956 (__bzero): Likewise.
23957 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23958 <bp-sym.h> and <bp-asm.h>.
23959 (__rawmemchr): Don't use BP_SYM.
23960 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23961 <bp-sym.h> and <bp-asm.h>.
23962 (__STRCMP): Don't use BP_SYM.
23963 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23964 <bp-sym.h> and <bp-asm.h>.
23965 (strchr): Don't use BP_SYM.
23966 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23967 <bp-sym.h> and <bp-asm.h>.
23968 (__strchrnul): Don't use BP_SYM.
23969 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23970 <bp-sym.h> and <bp-asm.h>.
23971 (strlen): Don't use BP_SYM.
23972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23973 <bp-sym.h> and <bp-asm.h>.
23974 (strncmp): Don't use BP_SYM. Remove comment about bounded
23975 pointers.
23976 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23977 <bp-sym.h> and <bp-asm.h>.
23978 (__strnlen): Don't use BP_SYM.
23979 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23980 <bp-sym.h> and <bp-asm.h>.
23981 (__GI__setjmp): Don't use BP_SYM.
23982 (_setjmp): Likewise.
23983 (__sigsetjmp): Likewise.
23984 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23985 (L(start_addresses)): Don't use BP_SYM.
23986 (_start): Likewise.
23987 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23988 <bp-asm.h>.
23989 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23990 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23991 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23992 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23993 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23994 <bp-asm.h>.
23995 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23996 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23997 about bounded pointers.
23998 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23999 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24000 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24001 <bp-asm.h>.
24002 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24003 about bounded pointers. Remove GKM FIXME comments.
24004 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24005 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24006 <bp-asm.h>.
24007 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24008 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24009 Remove GKM FIXME comments.
24010 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24011 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24012 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24013 <bp-asm.h>.
24014 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24015 about bounded pointers. Remove GKM FIXME comment.
24016 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24017 and <bp-asm.h>.
24018 (strncmp): Don't use BP_SYM. Remove comment about bounded
24019 pointers.
24020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24021 <bp-sym.h> and <bp-asm.h>.
24022 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24024 <bp-sym.h> and <bp-asm.h>.
24025 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24026 comment.
24027
cdcf361f
PP
240282013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24029
24030 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24031 call free(NULL).
24032
3c4a2b15
DM
240332013-03-05 David S. Miller <davem@davemloft.net>
24034
24035 * po/es.po: Update from translation team.
24036
cdcf361f 240372013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
24038
24039 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24040 <bits/mman-linux.h>.
24041 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24042 is fine.
24043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24044 <bits/mman-linux.h> to end of file.
24045 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24046 is fine.
24047 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24048 <bits/mman-linux.h> to end of file.
24049 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24050 is fine.
24051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24052 <bits/mman-linux.h> to end of file.
24053
24054 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24055 (MCL_CURRENT, MCL_FUTURE): Define here.
24056
5f67c04f
AK
240572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24058
8a4473cc 24059 [BZ #15232]
5f67c04f
AK
24060 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24061 attribute_hidden.
24062 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24063
c3e94a95
AK
240642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24065
24066 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24067 fourth parameter needed for rt_sigprocmask syscall.
24068 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24069 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24070 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24071 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24072 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24073 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24074
cfb6382a
JM
240752013-03-04 Joseph Myers <joseph@codesourcery.com>
24076
24077 [BZ #13550]
24078 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24079 comment about bounded pointers.
24080 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24081 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24082
539d8e01
AJ
240832013-03-04 Andreas Jaeger <aj@suse.de>
24084
24085 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24086 common definitions.
24087
24088 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24089 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24090 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24091 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24092 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
24093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24094
2e167a70 240952013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
24096
24097 [BZ #15055]
24098 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24099 __ieee754_sqrl instead of __sqrl.
24100
68508633
JM
241012013-03-01 Joseph Myers <joseph@codesourcery.com>
24102
24103 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24104 * sysdeps/powerpc/fpu_control.h: ... here.
24105 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24106 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24107 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24108 * sysdeps/powerpc/bits/mathinline.h: ... here.
24109
7775448e
RM
241102013-03-01 Roland McGrath <roland@hack.frob.com>
24111
24112 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24113 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24114 to just [NEED_DL_SYSINFO_DSO].
24115 * elf/dl-support.c: Likewise.
24116 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24117 * elf/rtld.c (dl_main): Likewise.
24118 * elf/setup-vdso.h (setup_vdso): Likewise.
24119 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24120 * sysdeps/unix/sysv/linux/dl-sysdep.c
24121 (_dl_discover_osversion): Likewise.
24122
4e9b5995
CD
241232013-03-01 Carlos O'Donell <carlos@redhat.com>
24124
24125 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24126 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24127
e23872c8
SP
241282013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24129
e5c74c63
SP
24130 * NEWS: Mention libm performance improvements and non-x86 PI
24131 futex support.
24132
e23872c8
SP
24133 * csu/libc-start.c (__pthread_initialize_minimal): Change
24134 function arguments.
24135 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24136
b5510883
JM
241372013-02-28 Joseph Myers <joseph@codesourcery.com>
24138
24139 [BZ #13550]
24140 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24141 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24142 <bp-sym.h> and <bp-asm.h>.
24143 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24144 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24145 and <bp-asm.h>.
24146 (memcpy): Don't use BP_SYM.
24147 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24148 <bp-asm.h>.
24149 (__mpn_add_n): Don't use BP_SYM.
24150 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24151 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24152 and <bp-asm.h>.
24153 (__mpn_addmul_1): Don't use BP_SYM.
24154 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24155 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24156 <bp-sym.h>.
24157 (_setjmp): Don't use BP_SYM.
24158 (__novmx_setjmp): Likewise.
24159 (__GI__setjmp): Likewise.
24160 (__vmx_setjmp): Likewise.
24161 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24162 <bp-sym.h>.
24163 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24164 (__bzero): Don't use BP_SYM.
24165 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24166 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24167 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24168 <bp-sym.h> and <bp-asm.h>.
24169 (memcpy): Don't use BP_SYM.
24170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24171 <bp-sym.h> and <bp-asm.h>.
24172 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24173 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24174 <bp-sym.h> and <bp-asm.h>.
24175 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24176 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24177 <bp-asm.h>.
24178 (__mpn_lshift): Don't use BP_SYM.
24179 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24180 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24181 <bp-asm.h>.
24182 (memset): Don't use BP_SYM.
24183 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24184 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24185 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24186 <bp-asm.h>.
24187 (__mpn_mul_1): Don't use BP_SYM.
24188 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24189 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24190 <bp-sym.h> and <bp-asm.h>.
24191 (memcmp): Don't use BP_SYM.
24192 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24193 <bp-sym.h> and <bp-asm.h>.
24194 (memcpy): Don't use BP_SYM.
24195 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24196 <bp-sym.h> and <bp-asm.h>.
24197 (memset): Don't use BP_SYM.
24198 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24199 <bp-sym.h> and <bp-asm.h>.
24200 (strncmp): Don't use BP_SYM.
24201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24202 <bp-sym.h> and <bp-asm.h>.
24203 (memcpy): Don't use BP_SYM.
24204 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24205 <bp-sym.h> and <bp-asm.h>.
24206 (memset): Don't use BP_SYM.
24207 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24208 <bp-sym.h> and <bp-asm.h>.
24209 (__memchr): Don't use BP_SYM.
24210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24211 <bp-sym.h> and <bp-asm.h>.
24212 (memcmp): Don't use BP_SYM.
24213 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24214 <bp-sym.h> and <bp-asm.h>.
24215 (memcpy): Don't use BP_SYM.
24216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24217 <bp-sym.h> and <bp-asm.h>.
24218 (__mempcpy): Don't use BP_SYM.
24219 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24220 <bp-sym.h> and <bp-asm.h>.
24221 (__memrchr): Don't use BP_SYM.
24222 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24223 <bp-sym.h> and <bp-asm.h>.
24224 (memset): Don't use BP_SYM.
24225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24226 <bp-sym.h> and <bp-asm.h>.
24227 (__rawmemchr): Don't use BP_SYM.
24228 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24229 <bp-sym.h> and <bp-asm.h>.
24230 (__STRCMP): Don't use BP_SYM.
24231 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24232 <bp-sym.h> and <bp-asm.h>.
24233 (strchr): Don't use BP_SYM.
24234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24235 <bp-sym.h> and <bp-asm.h>.
24236 (__strchrnul): Don't use BP_SYM.
24237 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24238 <bp-sym.h> and <bp-asm.h>.
24239 (strlen): Don't use BP_SYM.
24240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24241 <bp-sym.h> and <bp-asm.h>.
24242 (strncmp): Don't use BP_SYM.
24243 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24244 <bp-sym.h> and <bp-asm.h>.
24245 (__strnlen): Don't use BP_SYM.
24246 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24247 <bp-asm.h>.
24248 (__mpn_rshift): Don't use BP_SYM.
24249 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24250 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24251 <bp-sym.h> and <bp-asm.h>.
24252 (__sigsetjmp): Don't use BP_SYM.
24253 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24254 (L(start_addresses)): Don't use BP_SYM.
24255 (_start): Likewise.
24256 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24257 <bp-asm.h>.
24258 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24259 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24260 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24261 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24262 <bp-asm.h>.
24263 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24264 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24265 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24266 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24267 <bp-asm.h>.
24268 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24269 comments.
24270 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24271 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24272 <bp-asm.h>.
24273 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24274 FIXME comments.
24275 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24276 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24277 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24278 <bp-asm.h>.
24279 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24280 comment.
24281 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24282 and <bp-asm.h>.
24283 (strncmp): Don't use BP_SYM,
24284 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24285 <bp-asm.h>.
24286 (__mpn_sub_n): Don't use BP_SYM.
24287 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24288 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24289 and <bp-asm.h>.
24290 (__mpn_submul_1): Don't use BP_SYM.
24291 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24293 <bp-sym.h> and <bp-asm.h>.
24294 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24296 <bp-sym.h> and <bp-asm.h>.
24297 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24298 comment.
24299
8d19fe64
SP
243002013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24301
24302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24303 Use ZK to minimize writes to Z.
24304 (sub_magnitudes): Simplify code a bit.
24305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24306 Use ZK to minimize writes to Z.
24307 (sub_magnitudes): Simplify code a bit.
24308
85bd816a
RM
243092013-02-27 Roland McGrath <roland@hack.frob.com>
24310
24311 * csu/gmon-start.c: Add special exception to license text.
24312
b5977bf2
RH
243132013-02-27 Richard Henderson <rth@redhat.com>
24314
24315 * scripts/config.guess: Update from config.git.
24316 * scripts/config.sub: Likewise.
24317
11d6e2f2
SP
243182013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24319
09c14ed2
SP
24320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24321
a688864e
SP
24322 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24323
6295157a
SP
24324 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24325
b8de2202
SP
24326 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24327
11d6e2f2
SP
24328 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24329
7e80ddb8
RM
243302013-02-26 Roland McGrath <roland@hack.frob.com>
24331
24332 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24333 [$(build-shared = yes].
7e80ddb8 24334
7da6d9ed
SP
243352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24336
45f05884
SP
24337 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24338 (__mul): Reduce iterations for calculating mantissa.
24339
2236d359
SP
24340 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24341 MPTWO.
24342 (__mpranred): Likewise.
24343
7da6d9ed
SP
24344 [BZ #15160]
24345 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24346 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24347
b7688c42
PE
243482013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24349
24350 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24351 Define __attribute__.
24352
53a5c423
SP
243532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24354
24355 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24356 unused.
24357 * posix/regex_internal.h (__attribute): Remove.
24358 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24359 (re_string_context_at): Likewise.
24360 (bitset_not): Use __attribute__ and mark function as possibly
24361 unused.
24362 (bitset_merge): Likewise.
24363 (bitset_mask): Likewise.
24364 (re_string_char_size_at): Likewise.
24365 (re_string_wchar_at): Likewise.
24366 (re_string_elem_size_at): Likewise.
24367
60f5a8b5
SP
243682013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24369
2a983a2e
SP
24370 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24371 code.
24372 (cc32): Likewise.
24373
e69804d1
SP
24374 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24375 (__acr): Likewise.
24376 (__cpy): Likewise.
24377 (norm): Likewise.
24378 (denorm): Likewise.
24379 (__dbl_mp): Likewise.
24380 (add_magnitudes): Likewise.
24381 (sub_magnitudes): Likewise.
24382 (__mul): Likewise.
24383 (__inv): Likewise.
24384
2f22a1e8
SP
24385 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24386 style.
24387
8930ddc7
SP
24388 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24389 style.
24390
dc60cb11
SP
24391 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24392 code.
24393
60f5a8b5
SP
24394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24395 up changes with default code.
24396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24397 Likewise.
24398
b4d1fd33
AM
243992013-02-24 Allan McRae <allan@archlinux.org>
24400
faf6f8bc
AM
24401 * manual/socket.texi (The Internet Namespace): Order menu items
24402 to match that in the file.
24403
b4d1fd33
AM
24404 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24405 node listing of the info page menu.
24406
2366713d
JM
244072013-02-21 Joseph Myers <joseph@codesourcery.com>
24408
24409 [BZ #13550]
24410 * sysdeps/i386/bp-asm.h: Remove file.
24411 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24412 (PARMS): Do not use macros from bp-asm.h.
24413 (S1): Likewise.
24414 (S2): Likewise.
24415 (SIZE): Likewise.
24416 (__mpn_add_n): Do not use BP_SYM
24417 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24418 "bp-asm.h".
24419 (PARMS): Do not use macros from bp-asm.h.
24420 (S1): Likewise.
24421 (SIZE): Likewise.
24422 (__mpn_addmul_1): Do not use BP_SYM
24423 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24424 "bp-asm.h".
24425 (PARMS): Do not use macros from bp-asm.h.
24426 (SIGMSK): Likewise.
24427 (_setjmp): Likewise. Do not use BP_SYM.
24428 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24429 "bp-asm.h".
24430 (PARMS): Do not use macros from bp-asm.h.
24431 (SIGMSK): Likewise.
24432 (setjmp): Likewise. Do not use BP_SYM.
24433 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24434 "bp-asm.h".
24435 (PARMS): Do not use macros from bp-asm.h.
24436 (__frexp): Do not use BP_SYM.
24437 (frexp): Likewise.
24438 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24439 "bp-asm.h".
24440 (PARMS): Do not use macros from bp-asm.h.
24441 (__frexpf): Do not use BP_SYM.
24442 (frexpf): Likewise.
24443 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24444 "bp-asm.h".
24445 (PARMS): Do not use macros from bp-asm.h.
24446 (__frexpl): Do not use BP_SYM.
24447 (frexpl): Likewise.
24448 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24449 "bp-asm.h".
24450 (PARMS): Do not use macros from bp-asm.h.
24451 (__remquo): Do not use BP_SYM.
24452 (remquo): Likewise.
24453 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24454 "bp-asm.h".
24455 (PARMS): Do not use macros from bp-asm.h.
24456 (__remquof): Do not use BP_SYM.
24457 (remquof): Likewise.
24458 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24459 "bp-asm.h".
24460 (PARMS): Do not use macros from bp-asm.h.
24461 (__remquol): Do not use BP_SYM.
24462 (remquol): Likewise.
24463 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24464 "bp-asm.h".
24465 (PARMS): Do not use macros from bp-asm.h.
24466 (DEST): Likewise.
24467 (SRC): Likewise.
24468 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24469 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24470 "bp-asm.h".
24471 (PARMS): Do not use macros from bp-asm.h.
24472 (strlen): Do not use BP_SYM.
24473 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24474 "bp-asm.h".
24475 (PARMS): Do not use macros from bp-asm.h.
24476 (S1): Likewise.
24477 (S2): Likewise.
24478 (SIZE): Likewise.
24479 (__mpn_add_n): Do not use BP_SYM.
24480 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24481 "bp-asm.h".
24482 (PARMS): Do not use macros from bp-asm.h.
24483 (S1): Likewise.
24484 (SIZE): Likewise.
24485 (__mpn_addmul_1): Do not use BP_SYM.
24486 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24487 weak_alias.
24488 (bzero): Likewise.
24489 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24490 "bp-asm.h".
24491 (PARMS): Do not use macros from bp-asm.h.
24492 (S): Likewise.
24493 (SIZE): Likewise.
24494 (__mpn_lshift): Do not use BP_SYM.
24495 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24496 "bp-asm.h".
24497 (PARMS): Do not use macros from bp-asm.h.
24498 (DEST): Likewise.
24499 (SRC): Likewise.
24500 (LEN): Likewise.
24501 (memcpy): Likewise. Do not use BP_SYM.
24502 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24503 libc_hidden_def and weak_alias.
24504 (mempcpy): Do not use BP_SYM in weak_alias.
24505 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24506 "bp-asm.h".
24507 (PARMS): Do not use macros from bp-asm.h.
24508 (DEST): Likewise.
24509 (LEN): Likewise.
24510 [!BZERO_P] (CHR): Likewise.
24511 (memset): Likewise. Do not use BP_SYM.
24512 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24513 "bp-asm.h".
24514 (PARMS): Do not use macros from bp-asm.h.
24515 (S1): Likewise.
24516 (SIZE): Likewise.
24517 (__mpn_mul_1): Do not use BP_SYM.
24518 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24519 "bp-asm.h".
24520 (PARMS): Do not use macros from bp-asm.h.
24521 (S): Likewise.
24522 (SIZE): Likewise.
24523 (__mpn_rshift): Do not use BP_SYM.
24524 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24525 "bp-asm.h".
24526 (PARMS): Do not use macros from bp-asm.h.
24527 (STR): Likewise.
24528 (CHR): Likewise.
24529 (strchr): Likewise. Do not use BP_SYM.
24530 (index): Do not use BP_SYM in weak_alias.
24531 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24532 "bp-asm.h".
24533 (PARMS): Do not use macros from bp-asm.h.
24534 (DEST): Likewise.
24535 (SRC): Likewise.
24536 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24537 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24538 "bp-asm.h".
24539 (PARMS): Do not use macros from bp-asm.h.
24540 (strlen): Do not use BP_SYM.
24541 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24542 "bp-asm.h".
24543 (PARMS): Do not use macros from bp-asm.h.
24544 (S1): Likewise.
24545 (S2): Likewise.
24546 (SIZE): Likewise.
24547 (__mpn_sub_n): Do not use BP_SYM.
24548 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24549 "bp-asm.h".
24550 (PARMS): Do not use macros from bp-asm.h.
24551 (S1): Likewise.
24552 (SIZE): Likewise.
24553 (__mpn_submul_1): Do not use BP_SYM.
24554 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24555 "bp-asm.h".
24556 (PARMS): Do not use macros from bp-asm.h.
24557 (S1): Likewise.
24558 (S2): Likewise.
24559 (SIZE): Likewise.
24560 (__mpn_add_n): Do not use BP_SYM.
24561 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24562 weak_alias.
24563 (bzero): Likewise.
24564 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24565 "bp-asm.h".
24566 (PARMS): Do not use macros from bp-asm.h.
24567 (BLK2): Likewise.
24568 (LEN): Likewise.
24569 (memcmp): Do not use BP_SYM.
24570 (bcmp): Do not use BP_SYM in weak_alias.
24571 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24572 "bp-asm.h".
24573 (PARMS): Do not use macros from bp-asm.h.
24574 (DEST): Likewise.
24575 (SRC): Likewise.
24576 (LEN): Likewise.
24577 (memcpy): Likewise. Do not use BP_SYM.
24578 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24579 "bp-asm.h".
24580 (PARMS): Do not use macros from bp-asm.h.
24581 (DEST): Likewise.
24582 (SRC): Likewise.
24583 (LEN): Likewise.
24584 (memmove): Likewise. Do not use BP_SYM.
24585 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24586 "bp-asm.h".
24587 (PARMS): Do not use macros from bp-asm.h.
24588 (DEST): Likewise.
24589 (SRC): Likewise.
24590 (LEN): Likewise.
24591 (__mempcpy): Likewise. Do not use BP_SYM.
24592 (mempcpy): Do not use BP_SYM in weak_alias.
24593 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24594 "bp-asm.h".
24595 (PARMS): Do not use macros from bp-asm.h.
24596 (DEST): Likewise.
24597 (LEN): Likewise.
24598 [!BZERO_P] (CHR): Likewise.
24599 (memset): Likewise. Do not use BP_SYM.
24600 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24601 "bp-asm.h".
24602 (PARMS): Do not use macros from bp-asm.h.
24603 (STR2): Likewise.
24604 (strcmp): Do not use BP_SYM.
24605 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24606 "bp-asm.h".
24607 (PARMS): Do not use macros from bp-asm.h.
24608 (STR): Likewise.
24609 (DELIM): Likewise.
24610 [USE_AS_STRTOK_R] (SAVE): Likewise.
24611 (FUNCTION): Likewise. Do not use BP_SYM.
24612 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24613 aliases.
24614 (strtok_r): Likewise.
24615 (__GI___strtok_r): Likewise.
24616 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24617 (PARMS): Do not use macros from bp-asm.h.
24618 (S): Likewise.
24619 (SIZE): Likewise.
24620 (__mpn_lshift): Do not use BP_SYM.
24621 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24622 (PARMS): Do not use macros from bp-asm.h.
24623 (STR): Likewise.
24624 (CHR): Likewise.
24625 (__memchr): Do not use BP_SYM.
24626 (memchr): Do not use BP_SYM in weak_alias.
24627 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24628 (PARMS): Do not use macros from bp-asm.h.
24629 (BLK2): Likewise.
24630 (LEN): Likewise.
24631 (memcmp): Do not use BP_SYM.
24632 (bcmp): Do not use BP_SYM in weak_alias.
24633 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24634 (PARMS): Do not use macros from bp-asm.h.
24635 (S1): Likewise.
24636 (SIZE): Likewise.
24637 (__mpn_mul_1): Do not use BP_SYM.
24638 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24639 "bp-asm.h".
24640 (PARMS): Do not use macros from bp-asm.h.
24641 (STR): Likewise.
24642 (CHR): Likewise.
24643 (__rawmemchr): Do not use BP_SYM.
24644 (rawmemchr): Do not use BP_SYM in weak_alias.
24645 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24646 (PARMS): Do not use macros from bp-asm.h.
24647 (S): Likewise.
24648 (SIZE): Likewise.
24649 (__mpn_rshift): Do not use BP_SYM.
24650 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24651 (PARMS): Do not use macros from bp-asm.h.
24652 (SIGMSK): Likewise.
24653 (__sigsetjmp): Likewise. Do not use BP_SYM.
24654 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24655 (_start): Do not use BP_SYM.
24656 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24657 (PARMS): Do not use macros from bp-asm.h.
24658 (DEST): Likewise.
24659 (SRC): Likewise.
24660 (__stpcpy): Likewise. Do not use BP_SYM.
24661 (stpcpy): Do not use BP_SYM in weak_alias.
24662 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24663 "bp-asm.h".
24664 (PARMS): Do not use macros from bp-asm.h.
24665 (DEST): Likewise.
24666 (SRC): Likewise.
24667 (LEN): Likewise.
24668 (__stpncpy): Likewise. Do not use BP_SYM.
24669 (stpncpy): Do not use BP_SYM in weak_alias.
24670 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24671 (PARMS): Do not use macros from bp-asm.h.
24672 (STR): Likewise.
24673 (CHR): Likewise.
24674 (strchr): Likewise. Do not use BP_SYM.
24675 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24676 "bp-asm.h".
24677 (PARMS): Do not use macros from bp-asm.h.
24678 (STR): Likewise.
24679 (CHR): Likewise.
24680 (__strchrnul): Likewise. Do not use BP_SYM.
24681 (strchrnul): Do not use BP_SYM in weak_alias.
24682 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24683 "bp-asm.h".
24684 (PARMS): Do not use macros from bp-asm.h.
24685 (STOP): Likewise.
24686 (strcspn): Do not use BP_SYM.
24687 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24688 "bp-asm.h".
24689 (PARMS): Do not use macros from bp-asm.h.
24690 (STR): Likewise.
24691 (STOP): Likewise.
24692 (strpbrk): Likewise. Do not use BP_SYM.
24693 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24694 "bp-asm.h".
24695 (PARMS): Do not use macros from bp-asm.h.
24696 (STR): Likewise.
24697 (CHR): Likewise.
24698 (strrchr): Likewise. Do not use BP_SYM.
24699 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24700 (PARMS): Do not use macros from bp-asm.h.
24701 (SKIP): Likewise.
24702 (strspn): Do not use BP_SYM.
24703 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24704 (PARMS): Do not use macros from bp-asm.h.
24705 (STR): Likewise.
24706 (DELIM): Likewise.
24707 (SAVE): Likewise.
24708 (FUNCTION): Likewise. Do not use BP_SYM.
24709 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24710 aliases.
24711 (strtok_r): Likewise.
24712 (__GI___strtok_r): Likewise.
24713 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24714 (PARMS): Do not use macros from bp-asm.h.
24715 (S1): Likewise.
24716 (S2): Likewise.
24717 (SIZE): Likewise.
24718 (__mpn_sub_n): Do not use BP_SYM.
24719 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24720 "bp-asm.h".
24721 (PARMS): Do not use macros from bp-asm.h.
24722 (S1): Likewise.
24723 (SIZE): Likewise.
24724 (__mpn_submul_1): Do not use BP_SYM.
24725 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24726 <bp-sym.h>.
24727 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24728 and <bp-asm.h>.
24729 (PARMS): Do not use macros from bp-asm.h.
24730 (FLAGS): Likewise.
24731 (PTID): Likewise.
24732 (TLS): Likewise.
24733 (CTID): Likewise.
24734 (__clone): Do not use BP_SYM.
24735 (clone): Do not use BP_SYM in weak_alias.
24736 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24737 and <bp-asm.h>.
24738 (PARMS): Do not use macros from bp-asm.h.
24739 (LEN): Likewise.
24740 (__mmap64): Do not use BP_SYM.
24741 (mmap64): Do not use BP_SYM in weak_alias.
24742 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24743 <bp-sym.h> and <bp-asm.h>.
24744 (PARMS): Do not use macros from bp-asm.h.
24745 (__posix_fadvise64_l64): Do not use BP_SYM.
24746 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24747 (PARMS): Do not use macros from bp-asm.h.
24748 (NSOPS): Likewise.
24749 (semtimedop): Do not use BP_SYM.
24750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24751 and <bp-asm.h>.
24752
582a3cff
AM
247532013-02-21 Allan McRae <allan@archlinux.org>
24754
24755 * manual/message.texi (Charset conversion in gettext):
24756 Move @end statement to beginning of line.
24757
bab8a695
SP
247582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24759
80945231
SP
24760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24761 static.
24762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24763 Likewise.
24764
bab8a695
SP
24765 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24766 (denorm): Likewise.
24767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24769
e21d7aa7
AK
247702013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24771
24772 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24773 tail-call to the resolved function if pltexit isn't needed.
24774
4c7a4263
SP
247752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24776
24777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24778 or Y being zero as being unlikely.
24779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24780 Likewise.
24781
41f49342
CD
247822013-02-20 Carlos O'Donell <carlos@redhat.com>
24783
24784 * manual/nss.texi (System Databases and Name Service Switch):
24785 Remove frobnicate @pxref.
24786
50022a93
TS
247872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24788
24789 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24790 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24791
08cbd996
PM
247922013-02-20 Petr Machata <pmachata@redhat.com>
24793
24794 * elf/elf.h (R_ARM_TARGET1): New macro.
24795 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24796 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24797 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24798 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24799 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24800 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24801 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24802 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24803 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24804 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24805 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24806 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24807 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24808 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24809 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24810 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24811 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24812 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24813 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24814 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24815 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24816 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24817 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24818 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24819 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24820 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24821 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24822 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24823 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24824 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24825 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24826 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24827 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24828 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24829 (R_ARM_THM_GOT_BREL12): Likewise.
24830 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24831 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24832 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24833 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24834 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24835 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24836 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24837 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24838 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24839
c7b275d6
TS
248402013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24841
24842 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24843 __attribute_used__ to __attribute__ ((unused)).
24844
20cd7fb3
SP
248452013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24846
24847 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24848 powerpc mpa.c.
24849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24850 comment formatting.
24851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24852
92945b52
JM
248532013-02-19 Joseph Myers <joseph@codesourcery.com>
24854
24855 [BZ #13550]
24856 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24857 Remove macro.
24858 (ENTER): Remove both macro definitions.
24859 (LEAVE): Likewise.
24860 (CHECK_BOUNDS_LOW): Likewise.
24861 (CHECK_BOUNDS_HIGH): Likewise.
24862 (CHECK_BOUNDS_BOTH): Likewise.
24863 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24864 (RETURN_BOUNDED_POINTER): Likewise.
24865 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24866 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24867 (POP_ERRNO_LOCATION_RETURN): Likewise.
24868 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24869 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24870 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24871 macros.
24872 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24873 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24874 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24875 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24876 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24877 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24878 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24879 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24880 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24881 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24882 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24883 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24884 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24885 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24886 removed macros.
24887 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24888 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24889 macros.
24890 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24891 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24892 * sysdeps/i386/i586/memset.S (memset): Likewise.
24893 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24894 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24895 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24896 macros.
24897 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24898 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24899 Change uses of L(2) to L(out).
24900 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24901 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24902 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24903 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24904 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24905 removed macros.
24906 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24907 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24908 macros.
24909 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24910 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24911 (RETURN): Do not use macro LEAVE.
24912 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24913 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24914 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24915 * sysdeps/i386/i686/memset.S (memset): Likewise.
24916 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24917 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24918 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24919 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24920 Likewise.
24921 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24922 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24923 L(1_2) and L(1_3) into L(1).
24924 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24925 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24926 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24927 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24928 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24929 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24930 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24931 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24932 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24933 macros.
24934 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24935 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24936 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24937 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24938 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24939 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24940 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24941 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24942 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24943 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24944 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24945 * sysdeps/i386/strspn.S (strspn): Likewise.
24946 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24947 conditional code.
24948 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24949 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24950 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24951 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24952 L(1_3) into L(1_1).
24953 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24954 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24955 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24956 macros.
24957 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24958
2389741a
JJ
249592013-02-19 Jakub Jelinek <jakub@redhat.com>
24960
24961 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24962 macro.
24963
2016b3cd
SP
249642013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24965
e4f22324
SP
24966 * math/atest-exp.c (exp_mpn): Remove ROUND.
24967 * math/atest-exp2.c (exp_mpn): Likewise.
24968 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24969
2016b3cd
SP
24970 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24971 * stdlib/tst-tls-atexit-lib.c: Likewise.
24972 * stdlib/tst-tls-atexit.c: Likewise.
24973
4be9b544
MF
249742013-02-18 Mike Frysinger <vapier@gentoo.org>
24975
24976 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24977 and __attribute_alloc_size__.
24978
2f62b9ee
MF
249792013-02-18 Mike Frysinger <vapier@gentoo.org>
24980
24981 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24982 __attribute_alloc_size__.
24983 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24984 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24985
6ff444c4
MF
249862013-02-18 Mike Frysinger <vapier@gentoo.org>
24987
24988 * include/programs/xmalloc.h: New file.
24989 * catgets/gencat.c: Include it.
24990 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24991 * elf/pldd.c: Likewise.
24992 * iconv/iconv_charmap.c: Likewise.
24993 * iconv/iconvconfig.c: Likewise.
24994 * iconv/strtab.c: Likewise.
24995 * locale/programs/locale.c: Likewise.
24996 * locale/programs/localedef.h: Likewise.
24997 * locale/programs/simple-hash.c: Likewise.
24998 * nscd/nscd.h: Likewise.
24999 * nss/makedb.c: Likewise.
25000 * sysdeps/generic/ldconfig.h: Likewise.
25001
be179c8a
SP
250022013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25003
ba384f6e
SP
25004 * Versions.def: Add GLIBC_2.18.
25005 * include/link.h (struct link_map): New member l_tls_dtor_count.
25006 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25007 (__call_tls_dtors): Likewise.
25008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25009 __cxa_thread_atexit_impl.
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25011 Likewise.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25013 Likewise.
25014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25015 Likewise.
25016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25017 Likewise.
25018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25020 Likewise.
25021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25022 Likewise.
25023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25025 Likewise.
25026 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25027 (tests): Add test case tst-tls-atexit.
25028 (modules-names): Add shared library for tst-tls-atexit.
85891aca 25029 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
25030 (GLIBC_PRIVATE): Add __call_tls_dtors.
25031 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25032 for libstdc++.
25033 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25034 * stdlib/tst-tls-atexit.c: New test case.
25035 * stdlib/tst-tls-atexit-lib.c: New test case.
25036
ffaa74cf 25037 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 25038
be179c8a
SP
25039 * elf/Versions (ld): Add _dl_find_dso_for_object.
25040 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25041 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25042 (dl_open_worker): Use _dl_find_dso_for_object.
25043 * elf/dl-sym.c (do_sym): Likewise.
25044 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25045
f78b5caa
AK
250462013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25047
25048 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25049 Syntactic changes only.
25050 (_dl_runtime_profile): Do a tail-call to the resolved function.
25051
29691210
JM
250522013-02-17 Joseph Myers <joseph@codesourcery.com>
25053
25054 [BZ #13550]
25055 * sysdeps/x86_64/bp-asm.h: Remove file.
25056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25057 <bp-sym.h> and <bp-asm.h>.
25058 (__clone): Do not use BP_SYM.
25059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25060 <bp-sym.h> and <bp-asm.h>.
25061 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25062 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25063 "bp-asm.h".
25064 (_setjmp): Do not use BP_SYM.
25065 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25066 "bp-asm.h".
25067 (setjmp): Do not use BP_SYM.
25068 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25069 libc_hidden_def.
25070 (mempcpy): Do not use BP_SYM in weak_alias.
25071 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25072 "bp-asm.h".
25073 (strchr): Do not use BP_SYM.
25074 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25075 "bp-asm.h".
25076 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25077 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25078 (_start): Do not use BP_SYM.
25079 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25080 "bp-asm.h".
25081 (strcat): Do not use BP_SYM.
25082 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25083 "bp-asm.h".
25084 (STRCMP): Do not use BP_SYM.
25085 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25086 "bp-asm.h".
25087 (STRCPY): Do not use BP_SYM.
25088 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25089 "bp-asm.h".
25090 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25091 "bp-asm.h".
25092 (FUNCTION): Do not use BP_SYM.
25093 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25094 weak_alias.
25095 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25096
f238fd19
AJ
250972013-02-17 Andreas Jaeger <aj@suse.de>
25098
25099 * time/Versions: Sort entries.
25100 * string/Versions: Likewise.
25101 * resolv/Versions: Likewise.
25102 * posix/Versions: Likewise.
25103 * iconv/Versions: Likewise.
25104 * elf/Versions: Likewise.
25105 * wcsmbs/Versions: Likewise.
25106
bd07f23c 251072013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 25108
22af19f9
SP
25109 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25110 loop termination condition.
25111
4709fe76
SP
25112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25113 variable to calculate EZ.
25114 (__sqr): Likewise.
2d0e0f29
SP
25115
25116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25117 the lower precision input.
25118
daaa7713
JM
251192013-02-15 Joseph Myers <joseph@codesourcery.com>
25120
25121 [BZ #13550]
25122 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25123 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25124 (run-via-rtld-prefix): Do not handle %-bp tests.
25125 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25126 (all-object-suffixes): Remove .ob.
25127 (bppfx): Remove variable.
25128 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25129 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25130 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25131 [$(build-bounded) = yes] (libtype.ob): Likewise.
25132 * Makerules (elide-routines.ob): Remove variable.
25133 (do-tests-clean): Do not handle *-bp.out.
25134 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25135 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25136 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25137 (tests): Do not include $(tests-bp.out).
25138 (xtests): Do not include $(xtests-bp.out).
25139 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25140 [$(build-bounded) = yes] ($(addprefix
25141 $(objpfx),$(binaries-bounded))): Remove rule.
25142 ($(objpfx)%-bp.out): Remove rule.
25143 * config.make.in (build-bounded): Remove variable.
25144 * crypt/Makefile [$(build-bounded) = yes]
25145 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25146 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25147 append to variable.
25148 [$(build-bounded) = yes] (install-lib): Likewise.
25149 [$(build-bounded) = yes] (generated): Likewise.
25150 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25151 Remove rule.
25152 * intl/Makefile [$(build-bounded) = yes]
25153 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25154 * math/Makefile [$(build-bounded) = yes]
25155 ($(tests:%=$(objpfx)%-bp): Likewise.
25156 * misc/Makefile [$(build-bounded) = yes]
25157 ($(objpfx)tst-tsearch-bp): Likewise.
25158 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25159 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25160 Remove dependency.
25161 * string/Makefile (o-objects.ob): Remove variable.
25162 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25163 (CFLAGS-.ob): Remove variable.
25164 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25165 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25166 both definitions of variable.
25167 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25168 (ASFLAGS-.ob): Remove variable.
25169
e97ed6dd
JM
251702013-02-14 Joseph Myers <joseph@codesourcery.com>
25171
2bdd4ca6
JM
25172 [BZ #13550]
25173 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25174 Remove __BOUNDED_POINTERS__ from condition.
25175 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25176 * string/bits/string2.h [!__NO_STRING_INLINES &&
25177 !__BOUNDED_POINTERS__]: Likewise.
25178 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25179 Likewise.
25180 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25181 Remove conditional code.
25182 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25183 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25184 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25185 condition.
25186
e97ed6dd
JM
25187 [BZ #13550]
25188 * csu/libc-start.c: Do not include <bp-sym.h>.
25189 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25190 * elf/dl-open.c: Do not include <bp-sym.h>.
25191 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25192 * math/fegetenv.c: Do not include <bp-sym.h>.
25193 (fegetenv): Do not use BP_SYM in versioned symbols.
25194 * nptl/sysdeps/pthread/bits/libc-lockP.h
25195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25196 <bp-sym.h>.
25197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25198 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25200 (__pthread_mutex_destroy): Likewise.
25201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25202 (__pthread_mutex_lock): Likewise.
25203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25204 (__pthread_mutex_trylock): Likewise.
25205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25206 (__pthread_mutex_unlock): Likewise.
25207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25208 (__pthread_mutexattr_init): Likewise.
25209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25210 (__pthread_mutexattr_destroy): Likewise.
25211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25212 (__pthread_mutexattr_settype): Likewise.
25213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25214 (__pthread_rwlock_init): Likewise.
25215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25216 (__pthread_rwlock_destroy): Likewise.
25217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25218 (__pthread_rwlock_rdlock): Likewise.
25219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25220 (__pthread_rwlock_tryrdlock): Likewise.
25221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25222 (__pthread_rwlock_wrlock): Likewise.
25223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25224 (__pthread_rwlock_trywrlock): Likewise.
25225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25226 (__pthread_rwlock_unlock): Likewise.
25227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25228 (__pthread_key_create): Likewise.
25229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25230 (__pthread_setspecific): Likewise.
25231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25232 (__pthread_getspecific): Likewise.
25233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25234 Likewise.
25235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25236 (_pthread_cleanup_push_defer): Likewise.
25237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25238 (_pthread_cleanup_pop_restore): Likewise.
25239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25240 (pthread_setcancelstate): Likewise.
25241 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25242 <bp-sym.h>.
25243 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25244 (memchr): Do not use BP_SYM in weak_alias.
25245 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25246 (fegetenv): Do not use BP_SYM in versioned symbols.
25247 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25248 (fesetenv): Do not use BP_SYM in versioned symbols.
25249 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25250 (feupdateenv): Do not use BP_SYM in versioned symbols.
25251 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25252 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25253 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25254 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25255 (open64): Do not use BP_SYM in weak_alias.
25256 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25257 (fegetenv): Do not use BP_SYM in versioned symbols.
25258 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25259 (fesetenv): Do not use BP_SYM in versioned symbols.
25260 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25261 (feupdateenv): Do not use BP_SYM in versioned symbols.
25262 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25263 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25264 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25265 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25266 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25267 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25269 <bp-sym.h>.
25270 (__libc_start_main): Do not use BP_SYM.
25271
d6752ccd
SP
252722013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25273
cb57ce60
SP
25274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25275 redundant return line.
25276 (norm): Likewise.
25277 (denorm): Likewise.
25278 (dbl_mp): Likewise.
25279 (sub_magnitudes): Likewise.
25280 (__add): Likewise.
25281 (__sub): Likewise.
25282 (__mul): Likewise.
25283 (__inv): Likewise.
25284 (__dvd): Likewise.
25285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25286 (norm): Likewise.
25287 (denorm): Likewise.
25288 (dbl_mp): Likewise.
25289 (sub_magnitudes): Likewise.
25290 (__add): Likewise.
25291 (__sub): Likewise.
25292 (__mul): Likewise.
25293 (__inv): Likewise.
25294 (__dvd): Likewise.
25295
f414520d
SP
25296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25297 instead of __mul.
25298 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25299 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25300 (cc32): Likewise.
25301
d6752ccd
SP
25302 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25303 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25305 of __mul for squares.
25306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25307 function
25308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25309 Likewise.
25310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25311 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25312
70d9946a
JM
253132013-02-13 Joseph Myers <joseph@codesourcery.com>
25314
25315 [BZ #13550]
25316 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25317 code.
25318 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25319 prototype or function definition. Rename ubp_* variables and
25320 parameters. Remove argv definitions conditional on
25321 [__BOUNDED_POINTERS__].
25322 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25323 * elf/dl-runtime.c (_dl_fixup): Likewise.
25324 * include/set-hooks.h (RUN_HOOK): Likewise.
25325 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25326 definition.
25327 * string/strcpy.c (strcpy): Do not use __unbounded.
25328 * sysdeps/generic/frame.h (struct layout): Likewise.
25329 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25330 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25331 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25332 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25333 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25334 (__backtrace): Likewise.
25335 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25336 use __ptrvalue.
25337 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25338 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25339 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25340 Likewise.
25341 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25342 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25343 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25344 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25345 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25346 Do not use __unbounded.
25347 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25348 Rename __unboundedrlimits parameter to rlimits in prototype.
25349 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25350 Do not use __unbounded.
25351 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25352 not use __ptrvalue.
25353 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25354 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25355 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25357 __ptrvalue or __unbounded.
25358 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25359 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25360 use __unbounded.
25361 (__new_msgctl): Do not use __ptrvalue.
25362 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25363 __unbounded.
25364 (__libc_msgrcv): Do not use __ptrvalue.
25365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25366 startup_info): Do not use __unbounded.
25367 (__libc_start_main): Likewise. Rename ubp_* variables and
25368 parameters. Remove argv definitions conditional on
25369 [__BOUNDED_POINTERS__].
25370 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25371 __ptrvalue.
25372 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25373 use __unbounded.
25374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25375 or __ptrvalue.
25376 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25377 use __unbounded.
25378 (__new_shmctl): Do not use __ptrvalue.
25379 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25380 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25381 Likewise.
25382 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25384 (__libc_sigaction): Likewise.
25385 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25386 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25387 Likewise.
25388 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25389
cc7834d6
OB
253902013-02-13 Ondřej Bílka <neleai@seznam.cz>
25391
ffb1ec7b 25392 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25393
25394 * string/mempcpy.c: Implement by calling memcpy.
25395
bdf02814
SP
253962013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25397
c2af38aa
SP
25398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25399
4e92d59e
SP
25400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25401 evaluation.
25402
909279a5
SP
25403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25404 values in the mantissa.
25405
bdf02814
SP
25406 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25407 minimize writes to Z.
25408 (sub_magnitudes): Simplify code a bit.
25409
cd525923
RM
254102013-02-12 Roland McGrath <roland@hack.frob.com>
25411
25412 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25413 from the message. The linker prefixes all warnings with that already.
25414
7e2f0d2d
AS
254152013-02-12 Andreas Schwab <schwab@suse.de>
25416
a445af0b
AS
25417 [BZ #15078]
25418 * posix/regexec.c (extend_buffers): Add parameter min_len.
25419 (check_matching): Pass minimum needed length.
25420 (clean_state_log_if_needed): Likewise.
25421 (get_subexp): Likewise.
25422 * posix/Makefile (tests): Add bug-regex34.
25423 (bug-regex34-ENV): Define.
25424 * posix/bug-regex34.c: New file.
25425
7e2f0d2d
AS
25426 [BZ #11561]
25427 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25428 elements compare against the byte sequence of it, not its name.
25429 * posix/Makefile (tests): Add bug-regex35.
25430 (bug-regex35-ENV): Define.
25431 * posix/bug-regex35.c: New file.
25432
a175b684
TV
254332013-02-11 Tom de Vries <tom@codesourcery.com>
25434
25435 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25436 comment.
25437 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25438 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25439 (CHECK_EOL): Add undef.
25440
310998fe 254412013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
25442
25443 * bits/stdlib-bsearch.h: New file.
25444 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 25445 * stdlib/stdlib.h: Likewise.
41eda41d 25446
8ded91fb
RM
254472013-02-11 Roland McGrath <roland@hack.frob.com>
25448
25449 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25450 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25451 declaration.
25452 * manual/search.texi (Array Search Function): Add missing const in
25453 lfind prototype.
25454 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25455 declaration to use rlim_t.
25456 (Basic Scheduling Functions): Remove erroneous const from
25457 sched_getparam prototype. Remove erroneous * from
25458 sched_get_priority_max and sched_get_priority_min prototypes.
25459 (Resource Usage): Fix summary @comment on vtimes to refer to
25460 sys/vtimes.h rather than vtimes.h.
25461 Add missing *s in vtimes prototype.
25462 (Limits on Resources): Fix ulimit prototype to return long int.
25463 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25464 prototypes to use long int rather than double.
25465 (BSD Random): Fix initstate and setstate to use char *, not void *.
25466 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25467 prototype to make second argument 'struct aiocb64 *const[]'.
25468 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25469 (Status of AIO Operations): Remove erroneous const in aio_return and
25470 aio_return64 prototypes.
25471 (Synchronizing I/O): Fix sync prototype to return void.
25472 * manual/startup.texi (Suboptions): Remove an erroneous const in
25473 getsubopt prototype.
25474 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25475 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25476 use size_t rather than int.
25477 (Scanning All Users): Likewise for getpwent_r.
25478 (Setting Groups): Add missing const to setgroups prototype.
25479 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25480 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25481 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25482 'const void *' rather than 'const char *'.
25483 (Host Address Functions): Likewise for inet_ntop.
25484 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25485 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25486 ssize_t for return value.
25487 (Sending Data): Likewise for send, sendto, sendmsg.
25488 (Socket Option Functions): Add a missing const in setsockopt prototype.
25489 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25490 use wchar_t for the argument.
25491 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25492 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25493 take no arguments.
25494 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25495 double/float/long double for second argument.
25496 Fix return types of significand, significandf, significandl.
25497 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25498 argument in fchmod prototype.
25499 (File Owner): Use uid_t and gid_t in fchown prototype.
25500 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25501 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25502 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25503 use 'const struct dirent **' as argument types to CMP function pointer
25504 argument.
25505 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25506 (File Times): Fix summary magic @comment for struct utimbuf and utime
25507 to refer to utime.h, not time.h.
25508 * manual/string.texi (Argz Functions): Add missing const in
25509 argz_extract and argz_next prototypes.
25510 (Finding Tokens in a String): Likewise for basename.
25511 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25512 (Copying and Concatenation): Fix typo in wmemmove prototype.
25513 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25514 (Signal Stack): Remove erroneous const in sigstack prototype.
25515 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25516 prototype.
25517 (Simple Calendar Time): Likewise for stime.
25518 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25519 prototype.
25520 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25521 say sys/sysctl.h instead.
25522 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25523 and vsyslog prototypes.
25524
fe77fe6d
TV
255252013-02-11 Tom de Vries <tom@codesourcery.com>
25526
25527 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25528 Remove.
25529
3a09b620
RM
255302013-02-11 Roland McGrath <roland@hack.frob.com>
25531
25532 * misc/sys/mman.h: Fix typo in mremap comment.
25533
550a0b89
RM
255342013-02-08 Roland McGrath <roland@hack.frob.com>
25535
25536 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25537 the '\0' terminator.
25538
a2da1673
JM
255392013-02-08 Joseph Myers <joseph@codesourcery.com>
25540
25541 [BZ #13550]
25542 * debug/segfault.c: Don't include <bp-checks.h>.
25543 * sysdeps/generic/bp-checks.h: Remove file.
25544 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25545 (__GETDENTS): Don't use CHECK_N.
25546 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25547 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25548 (__getgroups): Don't use CHECK_N.
25549 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25550 (setgroups): Don't use CHECK_N.
25551 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25552 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25553 (__libc_msgrcv): Don't use CHECK_N.
25554 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25555 (__libc_msgsnd): Don't use CHECK_N.
25556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25557 <bp-checks.h>.
25558 (__libc_pread): Don't use CHECK_N.
25559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25560 include <bp-checks.h>.
25561 (__libc_pread64): Don't use CHECK_N.
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25563 include <bp-checks.h>.
25564 (__libc_pwrite): Don't use CHECK_N.
25565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25566 include <bp-checks.h>.
25567 (__libc_pwrite64): Don't use CHECK_N.
25568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25569 <bp-checks.h>.
25570 (__libc_pread): Don't use CHECK_N.
25571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25572 include <bp-checks.h>.
25573 (__libc_pread64): Don't use CHECK_N.
25574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25575 include <bp-checks.h>.
25576 (__libc_pwrite): Don't use CHECK_N.
25577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25578 include <bp-checks.h>.
25579 (__libc_pwrite64): Don't use CHECK_N.
25580 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25581 (do_pread): Don't use CHECK_N.
25582 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25583 (do_pread64): Don't use CHECK_N.
25584 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25585 (do_pwrite): Don't use CHECK_N.
25586 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25587 (do_pwrite64): Don't use CHECK_N.
25588 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25589 (__libc_readv): Don't use CHECK_N.
25590 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25591 (semop): Don't use CHECK_N.
25592 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25593 <bp-checks.h>.
25594 (semtimedop): Don't use CHECK_N.
25595 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25596 (__libc_pread): Don't use CHECK_N.
25597 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25598 <bp-checks.h>.
25599 (__libc_pread64): Don't use CHECK_N.
25600 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25601 <bp-checks.h>.
25602 (__libc_pwrite): Don't use CHECK_N.
25603 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25604 <bp-checks.h>.
25605 (__libc_pwrite64): Don't use CHECK_N.
25606 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25607 <bp-checks.h>.
25608 (__libc_msgrcv): Don't use CHECK_N.
25609 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25610 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25611 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25612 (__libc_writev): Don't use CHECK_N.
25613
b84660a8
RM
256142013-02-08 Roland McGrath <roland@hack.frob.com>
25615
7f3e75f8
RM
25616 * string/strcpy.c: Removed unused variable.
25617
b84660a8
RM
25618 * Makeconfig (+sysdep-includes): Define with := rather than =.
25619 Use an existing include/ subdir of each sysdeps dir before it.
25620
471514d3
CD
256212013-02-08 Carlos O'Donell <carlos@redhat.com>
25622
25623 * nscd/connection.c (register_traced_file): Comment function.
25624 [HAVE_INOTIFY] (union __inev): Define.
25625 [HAVE_INOTIFY] (inotify_check_files): New function.
25626 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25627 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25628 clear_db_cache.
25629 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25630
b2d3c3be
CD
256312013-02-08 Carlos O'Donell <carlos@redhat.com>
25632
25633 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25634 loaded if not already and that a failure is permanent.
25635
b39949d2
CD
256362013-02-08 Carlos O'Donell <carlos@redhat.com>
25637
ddacd1db 25638 [BZ #15006]
b39949d2
CD
25639 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25640 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25641
b2c9eff4
JM
256422013-02-08 Joseph Myers <joseph@codesourcery.com>
25643
f3aae3f3
JM
25644 [BZ #13550]
25645 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25646 (CHECK_1_NULL_OK): Likewise.
25647 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25648 (__fxstat): Do not use CHECK_1.
25649 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25650 <bp-checks.h>.
25651 (___fxstat64): Do not use CHECK_1.
25652 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25653 <bp-checks.h>.
25654 (__fxstatat): Do not use CHECK_1.
25655 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25656 <bp-checks.h>.
25657 (__fxstatat64): Do not use CHECK_1.
25658 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25659 <bp-checks.h>.
25660 (__fxstat): Do not use CHECK_1.
25661 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25662 <bp-checks.h>.
25663 (__fxstatat): Do not use CHECK_1.
25664 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25665 <bp-checks.h>.
25666 (__getresgid): Do not use CHECK_1.
25667 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25668 <bp-checks.h>.
25669 (__getresuid): Do not use CHECK_1.
25670 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25671 <bp-checks.h>.
25672 (__lxstat): Do not use CHECK_1.
25673 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25674 <bp-checks.h>.
25675 (__old_msgctl): Do not use CHECK_1.
25676 (__new_msgctl): Likewise.
25677 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25678 <bp-checks.h>.
25679 (__new_setrlimit): Do not use CHECK_1.
25680 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25681 <bp-checks.h>.
25682 (__old_shmctl): Do not use CHECK_1.
25683 (__new_shmctl): Likewise.
25684 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25685 <bp-checks.h>.
25686 (__xstat): Do not use CHECK_1.
25687 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25688 (__lxstat): Do not use CHECK_1.
25689 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25690 <bp-checks.h>.
25691 (___lxstat64): Do not use CHECK_1.
25692 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25693 (__old_msgctl): Do not use CHECK_1.
25694 (__new_msgctl): Likewise.
25695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25696 <bp-checks.h>.
25697 (__gettimeofday): Do not use CHECK_1.
25698 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25699 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25700 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25701 <bp-checks.h>.
25702 (__gettimeofday): Do not use CHECK_1.
25703 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25704 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25705 (__new_shmctl): Do not use CHECK_1.
25706 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25707 <bp-checks.h>.
25708 (do_sigtimedwait): Do not use CHECK_1.
25709 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25710 <bp-checks.h>.
25711 (do_sigwaitinfo): Do not use CHECK_1.
25712 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25713 <bp-checks.h>.
25714 (msgctl): Do not use CHECK_1.
25715 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25716 <bp-checks.h>.
25717 (shmctl): Do not use CHECK_1.
25718 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25719 (ustat): Do not use CHECK_1.
25720 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25721 <bp-checks.h>.
25722 (__fxstat): Do not use CHECK_1.
25723 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25724 <bp-checks.h>.
25725 (__fxstatat): Do not use CHECK_1.
25726 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25727 <bp-checks.h>.
25728 (__lxstat): Do not use CHECK_1.
25729 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25730 <bp-checks.h>.
25731 (__xstat): Do not use CHECK_1.
25732 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25733 (__xstat): Do not use CHECK_1.
25734 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25735 (___xstat64): Do not use CHECK_1.
25736
b2c9eff4
JM
25737 [BZ #13550]
25738 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25739 definitions.
25740 (CHECK_BOUNDS_HIGH): Likewise.
25741 * string/strcpy.c: Do not include <bp-checks.h>.
25742 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25743
f1d70dad
RM
257442013-02-07 Roland McGrath <roland@hack.frob.com>
25745
25746 * nscd/nscd-client.h (__nscd_drop_map_ref):
25747 Add __attribute__ ((unused)).
25748 * nis/nss-nisplus.h (niserr2nss): Likewise.
25749
25750 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25751 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25752
25753 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25754 Remove inline keyword.
25755 * include/rounding-mode.h (round_away): Likewise.
25756 * libio/wfileops.c (adjust_wide_data): Likewise.
25757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25758 (__m128i_strloadu_tolower): Likewise.
25759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25760 (__m128i_strloadu_tolower): Likewise.
25761 * time/mktime.c (ydhms_diff): Likewise.
25762 * locale/elem-hash.h (elem_hash): Likewise.
25763 * locale/setlocale.c (setdata): Likewise.
25764 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25765 (re_string_wchar_at): Likewise.
25766 (bitset_not, bitset_merge, bitset_mask): Likewise.
25767 [!(__GNUC__ > 3)] (inline): Remove macro.
25768 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25769 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25770 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25771 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25772 * string/memcmp.c (memcmp_bytes): Likewise.
25773 * locale/programs/locarchive.c (compute_hashval): Likewise.
25774 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25775 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25776 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25777 * nss/getent.c (print_rpc, print_protocols): Likewise.
25778 (print_passwd, print_group, print_aliases): Likewise.
25779 * nis/nss-nisplus.h (niserr2nss): Likewise.
25780 * nscd/connections.c (restart_p): Likewise.
25781 Change return type to bool.
25782
eab55bfb
RM
257832013-02-05 Roland McGrath <roland@hack.frob.com>
25784
7bd642f5
RM
25785 * Makeconfig (all-Depend-files): Add existing
25786 $(sorted-subdirs:=/Depend) files.
25787 (all-subdirs): Remove nss.
25788 * sysdeps/unix/inet/Subdirs: Add it here instead.
25789 * hesiod/Depend: New file.
25790
573c29b2
RM
25791 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25792 instead of calling alloca.
25793
b2e25af0
RM
25794 * io/lseek.c (__lseek): Rename to __libc_lseek.
25795 Define __lseek as an alias.
25796
eab55bfb
RM
25797 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25798
9a0d1941
CD
257992013-02-04 Carlos O'Donell <carlos@redhat.com>
25800
25801 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25802 else clause and remove check for non-standard endianness.
25803
b83bbec4
DM
258042013-02-04 David S. Miller <davem@davemloft.net>
25805
25806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25807
6277fdab
JM
258082013-02-04 Joseph Myers <joseph@codesourcery.com>
25809
25810 [BZ #13550]
25811 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25812 (__ubp_memchr): Remove prototype.
25813 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25814 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25815 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25816 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25817 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25818 Remove alias.
25819 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25820 (__ubp_memchr): Likewise.
25821 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25822 (__ubp_memchr): Likewise.
25823 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25824 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25825 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25826 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25827 CHECK_STRING.
25828 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25829 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25830 (__getcwd): Do not use CHECK_STRING.
25831 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25832 <bp-checks.h>.
25833 (__real_chown): Do not use CHECK_STRING.
25834 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25835 <bp-checks.h>.
25836 (fchownat): Do not use CHECK_STRING.
25837 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25838 CHECK_STRING.
25839 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25840 <bp-checks.h>.
25841 (__lchown): Do not use CHECK_STRING.
25842 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25843 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25844 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25845 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25847 include <bp-checks.h>.
25848 (truncate64): Do not use CHECK_STRING.
25849 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25850 <bp-checks.h>.
25851 (__real_chown): Do not use CHECK_STRING.
25852 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25853 <bp-checks.h>.
25854 (__lchown): Do not use CHECK_STRING.
25855 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25856 <bp-checks.h>.
25857 (__chown): Do not use CHECK_STRING.
25858 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25859 <bp-checks.h>.
25860 (truncate64): Do not use CHECK_STRING.
25861 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25862 Likewise.
25863 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25864 (__xmknod): Do not use CHECK_STRING.
25865 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25866 <bp-checks.h>.
25867 (__xmknodat): Do not use CHECK_STRING.
25868 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25869 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25870
903ae060
AS
258712013-02-04 Andreas Schwab <schwab@suse.de>
25872
25873 [BZ #14142]
25874 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25875 * include/netdb.h: Likewise for h_errno.
25876 * elf/tst-stackguard1.c: Include <tls.h>.
25877
542f9466
JK
258782013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25879
25880 * elf/link.h (struct link_map): Extend the l_addr comment.
25881 * include/link.h (struct link_map): Likewise.
25882
e782a927
JM
258832013-02-01 Joseph Myers <joseph@codesourcery.com>
25884
25885 [BZ #13550]
25886 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25887 (BOUNDED_1): Remove macro.
25888 * debug/backtrace.c: Don't include <bp-checks.h>.
25889 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25890 (__backtrace): Likewise.
25891 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25892 <bp-checks.h>.
25893 (__backtrace): Don't use BOUNDED_1.
25894 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25895 <bp-checks.h>.
25896 (__backtrace): Don't use BOUNDED_1.
25897 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25898 (__backtrace): Don't use BOUNDED_1.
25899 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25900 (shmat): Don't use BOUNDED_N.
25901
8cf28c5e
JM
259022013-01-31 Joseph Myers <joseph@codesourcery.com>
25903
3a7ac8a0
JM
25904 [BZ #13550]
25905 * sysdeps/generic/bp-start.h: Remove file.
25906 * csu/libc-start.c: Don't include <bp-start.h>.
25907 (LIBC_START_MAIN): Set up __environ directly instead of using
25908 INIT_ARGV_and_ENVIRON.
25909 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25910 <bp-start.h>.
25911
f3499f95
JM
25912 [BZ #13550]
25913 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25914 definitions.
25915 (CHECK_FCNTL): Likewise.
25916 (CHECK_N_PAGES): Likewise.
25917
32a45bea
JM
25918 [BZ #13550]
25919 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25920 definitions.
25921 (CHECK_SIGSET_NULL_OK): Likewise.
25922 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25923 <bp-checks.h>.
25924 (sigpending): Don't use CHECK_SIGSET.
25925 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25926 <bp-checks.h>.
25927 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25928 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25929 <bp-checks.h>.
25930 (do_sigsuspend): Don't use CHECK_SIGSET.
25931 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25932 use CHECK_SIGSET.
25933 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25934 (do_sigwait): Don't use CHECK_SIGSET.
25935 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25936 use CHECK_SIGSET.
25937 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25938 include <bp-checks.h>.
25939 (sigpending): Don't use CHECK_SIGSET.
25940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25941 include <bp-checks.h>.
25942 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25943 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25944 <bp-checks.h>.
25945 (sigpending): Don't use CHECK_SIGSET.
25946 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25947 <bp-checks.h>.
25948 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25949
2e8a5c8c
JM
25950 [BZ #13550]
25951 * sysdeps/generic/bp-semctl.h: Remove file.
25952 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25953 <bp-checks.h> and <bp-semctl.h>.
25954 (__old_semctl): Don't use CHECK_SEMCTL.
25955 (__new_semctl): Likewise.
25956 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25957 and <bp-semctl.h>.
25958 (__old_semctl): Don't use CHECK_SEMCTL.
25959 (__new_semctl): Likewise.
25960 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25961 <bp-checks.h> and <bp-semctl.h>.
25962 (__old_semctl): Don't use CHECK_SEMCTL.
25963 (__new_semctl): Likewise.
25964 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25965 <bp-checks.h> and <bp-semctl.h>.
25966 (semctl): Don't use CHECK_SEMCTL.
25967
c2d54929
JM
25968 [BZ #13550]
25969 * Makerules (elide-bp-thunks): Remove variable.
25970 (elide-routines.oS): Don't use $(elide-bp-thunks).
25971 (elide-routines.os): Likewise.
25972 (elide-routines.o): Likewise.
25973 (elide-routines.op): Likewise.
25974 (elide-routines.og): Likewise.
25975 (objects): Don't use $(bp-thunks).
25976 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25977 include.
25978 (common-generated): Do not add s-proto-bp.d.
25979 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25980 (int): Likewise.
25981 (typ): Likewise.
25982 Do not generate makefile rules for bounded-pointer thunks.
25983 * sysdeps/generic/bp-thunks.h: Remove file.
25984 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25985 * sysdeps/unix/s-proto-bp.S: Likewise.
25986
8cf28c5e
JM
25987 [BZ #15062]
25988 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25989 parts of result separately when argument is not close to line from
25990 -i to i and one part of argument is small.
25991 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25992 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25993 * math/libm-test.inc (cacos_test): Add more tests.
25994 (casin_test): Likewise.
25995 (casinh_test): Likewise.
25996 * sysdeps/i386/fpu/libm-test-ulps: Update.
25997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25998
c4e33b8d
DM
259992013-01-31 David S. Miller <davem@davemloft.net>
26000
26001 * po/de.po: Update from translation team.
26002
3b60b421
MK
260032013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26004
26005 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26006
bb931195
TS
260072013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26008
b5a5da23
TS
26009 * configure.in (_AC_PROG_CC_C89): New definition.
26010 * configure: Regenerate.
26011
bb931195
TS
26012 * configure.in (AC_PROG_CPP): New definition.
26013 * configure: Regenerate.
26014
8c53a12c
JM
260152013-01-23 Joseph Myers <joseph@codesourcery.com>
26016
26017 * debug/tst-backtrace.h: New file.
26018 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26019 (ret): Remove variable.
26020 (x): Likewise.
26021 (FAIL): Remove macro.
26022 (NO_INLINE): Likewise.
26023 (fn1): Use match function instead of strstr.
26024 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26025 (ret): Remove variable.
26026 (x): Likewise.
26027 (FAIL): Remove macro.
26028 (NO_INLINE): Likewise.
26029 (fn): Use match function instead of strstr.
26030 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26031 (ret): Remove variable.
26032 (x): Likewise.
26033 (FAIL): Remove macro.
26034 (NO_INLINE): Likewise.
26035 (handle_signal): Use match function instead of strstr.
26036 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26037 (ret): Remove variable.
26038 (x): Likewise.
26039 (FAIL): Remove macro.
26040 (NO_INLINE): Likewise.
26041 (handle_signal): Use match function instead of strstr.
26042
4858fa2a
RM
260432013-01-23 Roland McGrath <roland@hack.frob.com>
26044
26045 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26046
bae8e7f5
DM
260472013-01-23 David S. Miller <davem@davemloft.net>
26048
26049 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26050 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26051 argument of CAS if possible.
26052 * sysdeps/sparc/sparc64/bits/atomic.h
26053 (__arch_compare_and_exchange_val_32_acq): Likewise.
26054 (__arch_compare_and_exchange_val_64_acq): Likewise.
26055
9cbbc4ae
PT
260562013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26057
26058 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26059 * sysdeps/posix/ulimit.c: ... this.
92a601b8 26060 Include <limits.h>.
67b3f58c 26061 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 26062
5655a0b5
AC
260632013-01-23 Adam Conrad <adconrad@0c3.net>
26064
26065 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26066 (LDFLAGS-tst-array5): Likewise.
26067
052aff95
JM
260682013-01-23 Joseph Myers <joseph@codesourcery.com>
26069
26070 [BZ #15036]
26071 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26072 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26073 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26074 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26075
7c1e01aa
DM
260762013-01-21 David S. Miller <davem@davemloft.net>
26077
26078 * sysdeps/sparc/backtrace.c: New file.
26079 * sysdeps/sparc/sparc32/backtrace.h: New file.
26080 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26081 * sysdeps/sparc/sparc64/backtrace.h: New file.
26082 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26083 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26084 -funwind-tables.
26085
ab087e0a
AS
260862013-01-21 Andreas Schwab <schwab@suse.de>
26087
26088 [BZ #15020]
26089 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26090 closed its stdout.
26091
ed689c2f
AS
260922013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26093
26094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26095 "mpa2.h".
26096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26097
31d470ac
JM
260982013-01-18 Joseph Myers <joseph@codesourcery.com>
26099 Mark Mitchell <mark@codesourcery.com>
26100 Tom de Vries <tom@codesourcery.com>
26101 Paul Pluzhnikov <ppluzhnikov@google.com>
26102
26103 * debug/tst-backtrace2.c: New file.
26104 * debug/tst-backtrace3.c: Likewise.
26105 * debug/tst-backtrace4.c: Likewise.
26106 * debug/tst-backtrace5.c: Likewise.
26107 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26108 (CFLAGS-tst-backtrace3.c): Likewise.
26109 (CFLAGS-tst-backtrace4.c): Likewise.
26110 (CFLAGS-tst-backtrace5.c): Likewise.
26111 (LDFLAGS-tst-backtrace2): Likewise.
26112 (LDFLAGS-tst-backtrace3): Likewise.
26113 (LDFLAGS-tst-backtrace4): Likewise.
26114 (LDFLAGS-tst-backtrace5): Likewise.
26115 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26116 tst-backtrace4 and tst-backtrace5.
26117
90567f30 261182013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
26119 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26120
26121 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26122 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26123 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26124 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26126 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26127 "+r" and remove output regs list as redundant. Add explicit inline
26128 asm to specify register of return val to work around compiler codegen
26129 bug. Remove (int) cast on return value. Add return type parameter to
26130 use in macro so that this macro does not truncate return value for
26131 64-bit values.
26132 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26133 pass to INTERNAL_VSYSCALL_NCS.
26134 (INLINE_VSYSCALL): Add 'long int' as return type to
26135 INTERNAL_VSYSCALL_NCS macro invocation.
26136 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26137 INTERNAL_VSYSCALL_NCS macro invocation.
26138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26139
d3b9ea61
SP
261402013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26141
0b57daeb
SP
26142 [BZ #14496]
26143 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26144 Fix application of SIMD FP exception mask.
26145
caa99d06
SP
26146 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26147 mp_no from a power of two.
26148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26149 __mpexp_twomm1. Use __pow_mp.
26150
d3b9ea61
SP
26151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26152 multiplication.
26153
1dbaee3c
DM
261542013-01-17 David S. Miller <davem@davemloft.net>
26155
26156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26157
728d7b43
JM
261582013-01-17 Joseph Myers <joseph@codesourcery.com>
26159
26160 [BZ #15023]
26161 * include/complex.h: Condition contents on [!_COMPLEX_H].
26162 (__kernel_casinhf): New prototype.
26163 (__kernel_casinh): Likewise.
26164 (__kernel_casinhl): Likewise.
26165 * math/Makefile (libm_calls): Add k_casinh.
26166 * math/k_casinh.c: New file.
26167 * math/k_casinhf.c: Likewise.
26168 * math/k_casinhl.c: Likewise.
26169 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26170 finite nonzero arguments.
26171 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26172 finite nonzero arguments.
26173 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26174 finite nonzero arguments.
26175 * math/s_casinh.c: Do not include <float.h>.
26176 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26177 * math/s_casinhf.c: Do not include <float.h>.
26178 (__casinhf): Move code for finite nonzero arguments to
26179 k_casinhf.c.
26180 * math/s_casinhl.c: Do not include <float.h>.
26181 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26182 redefine.
26183 (__casinhl): Move code for finite nonzero arguments to
26184 k_casinhl.c.
26185 * math/libm-test.inc (cacos_test): Add more tests.
26186 * sysdeps/i386/fpu/libm-test-ulps: Update.
26187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26188
2a26ef3a
PT
261892013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26190
26191 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26192 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26193 [!HAVE_MREMAP]: Remove [defined linux] case.
26194 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26195
a897655d
SP
261962013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26197
26198 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26199
881ebe89 262002013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26201
26202 * elf/elf.h (R_386_SIZE32): New relocation.
26203 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26204 R_386_SIZE32.
26205 (elf_machine_rela): Likewise.
26206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26207 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26208
59981e9b
JM
262092013-01-17 Joseph Myers <joseph@codesourcery.com>
26210
26211 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26212 (FP_FAST_FMA): Do not define.
26213 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26214 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26215 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26216 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26217 !_SOFT_FLOAT]: Likewise.
26218 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26219 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26220 value.
26221 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26222 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26223 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26225 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26226 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26227 file.
26228
cfa8054f
AS
262292013-01-16 Andreas Schwab <schwab@suse.de>
26230
26231 [BZ #14327]
26232 * include/stdlib.h (__mktemp): Add declaration.
26233 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26234 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26235
dd930cc5
SP
262362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26237
881ebe89
SP
26238 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26239 definitions.
26240 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26241 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26242 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26243 definitions here.
26244 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26245 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26246 definitions.
26247 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26248 and ONE.
26249 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26250 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26251 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26252 definitions.
26253 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26254 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26255 definitions.
26256 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26257
dd930cc5
SP
26258 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26259
c19a9f89
DM
262602013-01-15 David S. Miller <davem@davemloft.net>
26261
1aa61767
DM
26262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26263 trunc{,f} to libm-sysdep_routes.
26264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26266 file.
26267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26269 file.
26270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26271 file.
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26274 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26275 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26276 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26277 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26278 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26279 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26280
c42d5e98
DM
26281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26282 nearbyint{,f} to libm-sysdep_routes.
26283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26285 New file.
26286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26287 file.
26288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26289 New file.
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26291 file.
26292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26294 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26295 file.
26296 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26298 file.
26299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26300 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26301 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26302
c19a9f89
DM
26303 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26304 libc_feholdexcept and libc_fesetenv.
26305
357679d2
MF
263062013-01-15 Mike Frysinger <vapier@gentoo.org>
26307
26308 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26309
65a82e3d
DM
263102013-01-14 David S. Miller <davem@davemloft.net>
26311
8b954ab9
DM
26312 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26313 (SPARC_ASM_VIS2_IFUNC): Likewise.
26314 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26316 use of 'siam' instruction.
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26318 Likewise.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26320 Likewise.
26321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26322 Likewise.
26323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26328 file.
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26330 file.
26331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26332 file.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26334 file.
26335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26340 new VIS2 routines.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26344 Likewise.
26345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26350 routines to libm-sysdep_routines.
26351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26352
65a82e3d
DM
26353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26354 fdim/fdimf to libm-sysdep_routines.
26355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26356 file.
26357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26359 file.
26360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26363 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26364 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26365 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26366 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26367
e34ab705
SP
263682013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26369
2a91b573
SP
26370 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26371 to optimize copies.
26372
1066a534
SP
26373 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26376
e34ab705
SP
26377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26378 local variable MPTWO.
26379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26380 Likewise.
26381
aba5e596
MF
263822013-01-13 Mike Frysinger <vapier@gentoo.org>
26383
26384 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26385 GLOB_NOESCAPE.
26386
e557e9e5
MF
263872013-01-13 Mike Frysinger <vapier@gentoo.org>
26388
26389 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26390
0428cec9
MF
263912013-01-13 Mike Frysinger <vapier@gentoo.org>
26392
26393 * manual/pattern.texi (glob_t): Document gl_flags.
26394 (glob64_t): Likewise.
26395
8794a964
DM
263962013-01-11 David S. Miller <davem@davemloft.net>
26397
66438c3f
RM
26398 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26399 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26400 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26401 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26402 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26403 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26404 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26405 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26406 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26407 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26408 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26409 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26410 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26411
4ae4244d
DM
26412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26413 sparc V9 rather than using V8 code.
26414 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26415 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26416
8794a964
DM
26417 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26418 Move to...
26419 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26420 Here.
26421
6270516e
RM
264222013-01-11 Roland McGrath <roland@hack.frob.com>
26423
26424 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26425 not in the main loop.
26426 * configure: Regenerated.
26427
6a57d931
JM
264282013-01-11 Joseph Myers <joseph@codesourcery.com>
26429
26430 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26431 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26432 to just #else.
26433 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26434 [!__GLIBC_HAVE_LONG_LONG] case.
26435 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26436 condition to just #else.
26437 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26438 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26439 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26440 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26441 unconditional.
26442 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26443 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26444 #elif condition to just #else.
26445 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26446 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26447 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26448 #elif condition to just #else.
26449
0e8529e9
SE
264502013-01-11 Steve Ellcey <sellcey@mips.com>
26451
26452 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26453 (EF_MIPS_ARCH_64): Fix value.
26454 (EF_MIPS_ARCH_32R2): New.
26455 (EF_MIPS_ARCH_64R2): New.
26456
740b3dbe
L
264572013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26458
26459 * Makeconfig (+link-pie-before-libc): New.
26460 (+link-pie-after-libc): Likewise.
26461 (+link-pie-tests): Likewise.
26462 (+link-pie): Rewritten.
26463 (link-before-libc): Remove $(config-LDFLAGS).
26464 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26465 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26466 (config-LDFLAGS): Renamed to ...
26467 (rtld-LDFLAGS): This.
26468 (rtld-tests-LDFLAGS): New macro.
26469 (link-libc-rpath-link): Likewise.
26470 (link-libc-tests-rpath-link): Likewise.
26471 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26472 (link-libc): Prepand $(link-libc-rpath-link).
26473 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26474 (test-program-prefix): New macro.
26475 (test-via-rtld-prefix): Likewise.
26476 (test-program-cmd): Likewise.
26477 (host-test-program-cmd): Likewise.
26478 * Makefile ($(common-objpfx)testrun.sh): Replace
26479 $(run-program-prefix) with $(test-program-prefix).
26480 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26481 $(rtld-LDFLAGS).
26482 ($(common-objpfx)shlib.lds): Likewise.
26483 (build-module-helper): Likewise.
26484 ($(common-objpfx)format.lds): Likewise.
26485 * Rules (binaries-pie-tests): New.
26486 (binaries-pie-notests): Likewise.
26487 (binaries-pie): Rewritten.
26488 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26489 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26490 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26491 (make-test-out): Replace $(host-built-program-cmd) with
26492 $(host-test-program-cmd).
26493 * config.make.in (build-hardcoded-path-in-tests): New variable.
26494 * configure.in (--enable-hardcoded-path-in-tests): New configure
26495 option.
26496 (hardcoded_path_in_tests): New AC_SUBST.
26497 * configure: Regenerated.
26498 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26499 $(built-program-cmd) with $(test-program-cmd).
26500 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26501 (test_program_cmd): This.
26502 * elf/Makefile ($(objpfx)order.out): Run test with
26503 $(test-program-prefix).
26504 ($(objpfx)order2.out): Likewise.
26505 ($(objpfx)tst-initorder.out): Likewise.
26506 ($(objpfx)tst-initorder2.out): Likewise.
26507 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26508 $(test-program-cmd).
26509 ($(objpfx)tst-array1-static.out): Likewise.
26510 ($(objpfx)tst-array2.out): Likewise.
26511 ($(objpfx)tst-array3.out): Likewise.
26512 ($(objpfx)tst-array4.out): Likewise.
26513 ($(objpfx)tst-array5.out): Likewise.
26514 ($(objpfx)tst-array5-static.out): Likewise.
26515 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26516 $(test-program-cmd).
26517 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26518 $(run-program-prefix) with $(test-program-prefix).
26519 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26520 (test_program_prefix): This.
26521 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26522 $(run-program-prefix) with $(test-program-prefix).
26523 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26524 (test_program_prefix): This.
26525 * iconvdata/tst-tables.sh: Likewise.
26526 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26527 $(run-program-prefix) with $(test-program-prefix).
26528 ($(objpfx)tst-translit.out): Likewise.
26529 ($(objpfx)tst-gettext2.out): Likewise.
26530 ($(objpfx)tst-gettext4.out): Likewise.
26531 ($(objpfx)tst-gettext6.out): Likewise.
26532 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26533 (test_program_prefix): This.
26534 * intl/tst-gettext2.sh: Likewise.
26535 * intl/tst-gettext4.sh Likewise.
26536 * intl/tst-gettext6.sh: Likewise.
26537 * intl/tst-translit.sh: Likewise.
26538 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26539 with $(test-program-cmd).
26540 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26541 $(run-program-prefix) with $(test-program-prefix).
26542 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26543 (test_program_prefix): This.
26544 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26545 $(run-program-prefix) with $(test-program-prefix).
26546 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26547 (test_program_prefix): This.
26548 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26549 * posix/Makefile ($(objpfx)globtest.out): Replace
26550 $(run-via-rtld-prefix) and $(test-wrapper) with
26551 $(test-program-prefix) and $(test-via-rtld-prefix).
26552 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26553 $(test-program-prefix).
26554 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26555 $(host-test-program-cmd).
26556 (tst-spawn-ARGS): Likewise.
26557 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26558 $(test-program-prefix).
26559 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26560 (test_via_rtld_prefix): This.
26561 (test_wrapper): Renamed to ...
26562 (test_program_prefix): This.
26563 (run_program_prefix): Replaced by test_program_prefix.
26564 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26565 (test_program_prefix): This.
26566 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26567 with $(host-test-program-cmd).
26568 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26569 $(run-program-prefix) with $(test-program-prefix).
26570 ($(objpfx)tst-printf.out): Likewise.
26571 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26572 $(test-program-cmd).
26573 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26574 (test_program_prefix): This.
26575 * stdio-common/tst-unbputc.sh: Likewise.
26576 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26577 $(run-program-prefix) with $(test-program-prefix).
26578 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26579 (test_program_prefix): This.
26580 * string/Makefile ($(objpfx)tst-svc.out): Replace
26581 $(built-program-cmd) with $(test-program-cmd).
26582
c6fe55cf
AJ
265832013-01-11 Andreas Jaeger <aj@suse.de>
26584
26585 [BZ #15003]
26586 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26587 value. Sync with Linux 3.7.
26588
9e6919c8
DM
265892013-01-10 David S. Miller <davem@davemloft.net>
26590
26591 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26592 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26593 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26594
1c9f1a02
RM
265952013-01-10 Roland McGrath <roland@hack.frob.com>
26596
26597 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26598 never set.
26599 * configure: Regenerated.
26600
b9de2dde
DM
266012013-01-10 David S. Miller <davem@davemloft.net>
26602
26603 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26604 sparc V9 rather than using V8 code.
26605 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26606 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26607
e7f68ef4
RM
266082013-01-10 Roland McGrath <roland@hack.frob.com>
26609
26610 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26611 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26612 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26613 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26614 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26615 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26616 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26617 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26618 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26619 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26620 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26621 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26622 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26623 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26624 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26625 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26626 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26627 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26628 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26629 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26630 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26631 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26632 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26633 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26634 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26635 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26636 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26637
5a47cc9c
DM
266382013-01-10 David S. Miller <davem@davemloft.net>
26639
26640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26641
4cf8f209
L
266422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26643
26644 * posix/Makefile (tests-static): New variable.
26645 (tests): Add $(tests-static).
26646 (tst-exec-static-ARGS): New variable.
26647 (tst-spawn-static-ARGS): Likewise.
26648 * posix/tst-exec-static.c: New file.
26649 * posix/tst-spawn-static.c: Likewise.
26650 * posix/tst-exec.c: Support run directly.
26651 * posix/tst-spawn.c: Likewise.
26652
fed0faa1
JM
266532013-01-10 Joseph Myers <joseph@codesourcery.com>
26654
828beb13
JM
26655 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26656 long.
26657 * math/bits/mathcalls.h (llrint): Likewise.
26658 (llround): Likewise.
26659 * stdlib/stdlib.h (struct drand48_data): Likewise.
26660 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26661 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26662 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26663 Likewise.
26664 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26665 Likewise.
26666 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26667 (elf_greg_t): Likewise.
26668 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26669 (__jmp_buf): Likewise.
26670 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26671 definitions.
26672 (llrint): Likewise, for all definitions.
26673 (llrintl): Likewise.
26674
fed0faa1
JM
26675 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26676 Remove [__GNUC__] condition.
26677 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26678 condition to just [__USE_ISOC99].
26679 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26680
1a20cb20
L
266812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26682
26683 [BZ #14200]
26684 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26685 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26686 defined.
26687 (_POSIX_V6_ILP32_OFF32): Likewise.
26688 (_XBS5_ILP32_OFF32): Likewise.
26689 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26690 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26691
751b85f7
SP
266922013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26693
7490eb81
SP
26694 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26695
751b85f7
SP
26696 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26697 doubles __mpexp_twomm1. Adjust usage.
26698 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26699 Remove.
26700
988197f0
AS
267012013-01-10 Andreas Schwab <schwab@suse.de>
26702
26703 [BZ #14964]
26704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26705 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26706
e83d7298
DM
267072013-01-09 David S. Miller <davem@davemloft.net>
26708
034ed64b 26709 [BZ #15003]
57f41c40
AS
26710 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26711 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26712 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26713 (TCP_FASTOPEN): Define.
e83d7298
DM
26714 (tcp_repair_opt): New structure.
26715 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26716 enum values.
57f41c40
AS
26717 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26718 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26719 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
26720 (tcp_cookie_transactions): New structure.
26721
d5e0b9bd
AB
267222013-01-09 Anton Blanchard <anton@samba.org>
26723
26724 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26725 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26726 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26727 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26728
0c07e3ea
JM
267292013-01-09 Joseph Myers <joseph@codesourcery.com>
26730
26731 * include/features.h (__USE_ANSI): Remove.
26732
232f7002
RM
267332013-01-09 Roland McGrath <roland@hack.frob.com>
26734
ad98e30c
RM
26735 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26736
232f7002
RM
26737 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26738
950c99ca
SP
267392013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26740
b5792741
SP
26741 * sysdeps/s390/fpu/libm-test-ulps: Update.
26742
47cf2278
SP
26743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26744
950c99ca
SP
26745 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26746 (__acr): Likewise.
26747 (__cpy): Likewise.
26748 (norm): Likewise.
26749 (denorm): Likewise.
26750 (__mp_dbl): Likewise.
26751 (__dbl_mp): Likewise.
26752 (add_magnitudes): Likewise.
26753 (sub_magnitudes): Likewise.
26754 (__add): Likewise.
26755 (__sub): Likewise.
26756 (__mul): Likewise.
26757 (__inv): Likewise.
26758 (__dvd): Likewise.
26759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26760 (__acr): Likewise.
26761 (__cpy): Likewise.
26762 (norm): Likewise.
26763 (denorm): Likewise.
26764 (__mp_dbl): Likewise.
26765 (__dbl_mp): Likewise.
26766 (add_magnitudes): Likewise.
26767 (sub_magnitudes): Likewise.
26768 (__add): Likewise.
26769 (__sub): Likewise.
26770 (__mul): Likewise.
26771 (__inv): Likewise.
26772 (__dvd): Likewise.
26773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26774 (__acr): Likewise.
26775 (__cpy): Likewise.
26776 (norm): Likewise.
26777 (denorm): Likewise.
26778 (__mp_dbl): Likewise.
26779 (__dbl_mp): Likewise.
26780 (add_magnitudes): Likewise.
26781 (sub_magnitudes): Likewise.
26782 (__add): Likewise.
26783 (__sub): Likewise.
26784 (__mul): Likewise.
26785 (__inv): Likewise.
26786 (__dvd): Likewise.
26787
eede9df9
JM
267882013-01-08 Joseph Myers <joseph@codesourcery.com>
26789
26790 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26791 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26792 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26793 2 && __USE_EXTERN_INLINES]: Likewise.
26794
c40ea3d9
AJ
267952013-01-08 Andreas Jaeger <aj@suse.de>
26796
26797 [BZ# 14985]
26798 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26799 Remove.
26800 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26801 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26802
2ccdea26
AB
268032013-01-07 Anton Blanchard <anton@samba.org>
26804
26805 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26806 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26807 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26808 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26809 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26810 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26811 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26812 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26814 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26815 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26816 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26817 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26819 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26820 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26821 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26822 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26823 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26825 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26826 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26827 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26828 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26829 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26830 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26832 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26834 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26835 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26837 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26838 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26840 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26841 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26842 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26843 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26845 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26847 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26848
a9708fed
JM
268492013-01-07 Joseph Myers <joseph@codesourcery.com>
26850
375607b9
JM
26851 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26852 (__MALLOC_PMT): Likewise.
26853 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26854 [__GNUC__], only on [_LIBC].
26855 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26856 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26857 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26858 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26859 forward declaration.
26860 (realloc_hook_ini): Likewise.
26861 (memalign_hook_ini): Likewise.
26862 (__libc_memalign): Do not use __MALLOC_PMT in variable
26863 declaration.
26864 (__libc_valloc): Likewise.
26865 (__libc_pvalloc): Likewise.
26866 (__libc_calloc): Likewise.
26867 (__posix_memalign): Likewise.
26868
a9708fed
JM
26869 [BZ #14996]
26870 * math/s_casinh.c: Include <float.h>.
26871 (__casinh): Do not do computation with squaring and square root
26872 for large arguments.
26873 * math/s_casinhf.c: Include <float.h>.
26874 (__casinhf): Do not do computation with squaring and square root
26875 for large arguments.
26876 * math/s_casinhl.c: Include <float.h>.
26877 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26878 (__casinhl): Do not do computation with squaring and square root
26879 for large arguments.
26880 * math/libm-test.inc (casin_test): Add more tests.
26881 (casinh_test): Likewise.
26882 * sysdeps/i386/fpu/libm-test-ulps: Update.
26883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26884
afec409a
L
268852013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26888 (__x86_64_raw_data_cache_size): Likewise.
26889 (__x86_64_data_cache_size_half): Likewise.
26890 (__x86_64_raw_data_cache_size_half): Likewise.
26891 (__x86_64_shared_cache_size): Likewise.
26892 (__x86_64_raw_shared_cache_size): Likewise.
26893 (__x86_64_shared_cache_size_half): Likewise.
26894 (__x86_64_raw_shared_cache_size_half): Likewise.
26895 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26896 to ...
26897 (__x86_data_cache_size): This.
26898 (__x86_64_raw_data_cache_size): Renamed to ...
26899 (__x86_raw_data_cache_size): This.
26900 (__x86_64_data_cache_size_half): Renamed to ...
26901 (__x86_data_cache_size_half): This.
26902 (__x86_64_raw_data_cache_size_half): Renamed to ...
26903 (__x86_raw_data_cache_size_half): This.
26904 (__x86_64_shared_cache_size): Renamed to ...
26905 (__x86_shared_cache_size): This.
26906 (__x86_64_raw_shared_cache_size): Renamed to ...
26907 (__x86_raw_shared_cache_size): This.
26908 (__x86_64_shared_cache_size_half): Renamed to ...
26909 (__x86_shared_cache_size_half): This.
26910 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26911 (__x86_raw_shared_cache_size_half): This.
26912 * sysdeps/x86_64/memcpy.S: Updated.
26913 * sysdeps/x86_64/memset.S: Likewise.
26914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26917
0b3986d0
DM
269182013-01-04 David S. Miller <davem@davemloft.net>
26919
26920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26921
e47686e9
AS
269222013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26923
d643bac1
AS
26924 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26925 1 to avoid redefinition warning.
26926 (__USE_GNU): Don't define.
26927 (init_signaling_nan): Protoize.
26928
e47686e9
AS
26929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26930
b18decba
SP
269312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26932
fffb407f
SP
26933 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26935 (__cpymn): Likewise.
26936 (norm): Remove commented code.
26937 (denorm): Likewise.
26938 (__mp_dbl): Likewise.
26939 (__inv): Likewise.
26940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26941 (__cpymn): Likewise.
26942 (norm): Remove commented code.
26943 (denorm): Likewise.
26944 (__mp_dbl): Likewise.
26945 (__inv): Likewise.
26946
b18decba
SP
26947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26948 mp_no value for 1.0 and 2.0.
26949 (norm): Use RADIXI instead of radixi.d.
26950 (denorm): Likewise.
26951 (__mul): Use 0.0 instead of zero.d.
26952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26953 mp_no value for 1.0 and 2.0.
26954 (norm): Use RADIXI instead of radixi.d.
26955 (denorm): Likewise.
26956 (__mul): Use 0.0 instead of zero.d.
26957
cdc1c96f
JM
269582013-01-04 Joseph Myers <joseph@codesourcery.com>
26959
26960 [BZ #14994]
26961 * math/s_casinh.c (__casinh): Reduce finite argument to first
26962 quadrant then set signs of results at the end.
26963 * math/s_casinhf.c (__casinhf): Likewise.
26964 * math/s_casinhl.c (__casinhl): Likewise.
26965 * math/libm-test.inc (casin_test): Add more tests.
26966 (casinh_test): Likewise.
26967 * sysdeps/i386/fpu/libm-test-ulps: Update.
26968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26969
302913e1
SP
269702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26971
6420d207
SP
26972 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26973
a9e48ab4
SP
26974 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26975
b7837264
SP
26976 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26977 declarations.
26978 (denorm): Likewise.
26979 (__mp_dbl): Likewise.
26980 (__inv): Likewise.
26981
f8af25d2
SP
26982 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26983 and adjust the header comment.
26984
302913e1
SP
26985 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26986 variable name from declaration.
26987
5d7dd1ca
L
269882013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26989
26990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26991 Initialize COMMON_CPUID_INDEX_7 element.
26992 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26993 (CPUID_RTM): Likewise.
26994 (HAS_RTM): Likewise.
26995 (COMMON_CPUID_INDEX_7): New enum.
26996
2f5f40f4
AS
269972013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26998
26999 [BZ #14981]
27000 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27001 size is zero, record memory as freed.
27002
4056f4a0
AJ
270032013-01-03 Andreas Jaeger <aj@suse.de>
27004
27005 * po/ia.po: Add new Interlingua translation.
27006
ab15736f 270072012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27008
27009 * locale/programs/localedef.c: Fix description of '--posix' flag.
27010
568035b7
JM
270112013-01-02 Joseph Myers <joseph@codesourcery.com>
27012
e6898b8d
JM
27013 * NEWS: Update dates in second copyright notice.
27014 * README: Update copyright dates in example.
27015 * manual/libc.texinfo: Update copyright dates.
27016 * scripts/test-installation.pl: Update copyright date in --version
27017 output.
27018
0e2f9562
JM
27019 * hurd/ctty-input.c: Fix copyright notice formatting.
27020 * hurd/ctty-output.c: Likewise.
27021 * hurd/dtable.c: Likewise.
27022 * hurd/hurd-raise.c: Likewise.
27023 * hurd/hurdprio.c: Likewise.
27024 * hurd/msgportdemux.c: Likewise.
27025 * misc/sys/file.h: Likewise.
27026 * misc/sys/ioctl.h: Likewise.
27027 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27028 * sysdeps/mach/hurd/chdir.c: Likewise.
27029 * sysdeps/mach/hurd/fchdir.c: Likewise.
27030 * sysdeps/mach/hurd/rename.c: Likewise.
27031 * sysdeps/mach/hurd/rmdir.c: Likewise.
27032 * sysdeps/mach/hurd/seekdir.c: Likewise.
27033 * sysdeps/mach/hurd/setsid.c: Likewise.
27034 * sysdeps/posix/wait3.c: Likewise.
27035
568035b7
JM
27036 * All files with FSF copyright notices: Update copyright dates
27037 using scripts/update-copyrights.
27038 * intl/plural.c: Regenerated.
27039 * locale/programs/charmap-kw.h: Likewise.
27040 * locale/programs/locfile-kw.h: Likewise.
27041
da08f647
SP
270422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27043
0f5477af
SP
27044 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27045 four values.
27046
44e0d4c2
SP
27047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27048 calculation loop and add branch prediction.
27049
4d55b4e5
SP
27050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27051 check access beyond bounds of m1np.
27052
da08f647
SP
27053 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27054 MPTWO.
27055 (__inv): Remove local variable MPTWO to use the global
27056 constant.
27057 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27059 variable MPTWO.
27060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27061 MP3HALFS static const.
27062
8e051029
DM
270632013-01-01 David S. Miller <davem@davemloft.net>
27064
27065 * po/ca.po: Update from translation team.
27066
f4cf5f2d
JM
270672013-01-01 Joseph Myers <joseph@codesourcery.com>
27068
27069 * scripts/update-copyrights: New file.
27070 * Makeconfig: Reformat copyright notice.
27071 * ctype/ctype.h: Likewise.
27072 * debug/swprintf_chk.c: Likewise.
27073 * elf/dl-cache.c: Likewise.
27074 * elf/dl-debug.c: Likewise.
27075 * elf/dl-object.c: Likewise.
27076 * grp/initgroups.c: Likewise.
27077 * hurd/Makefile: Likewise.
27078 * hurd/hurd/signal.h: Likewise.
27079 * hurd/hurdfault.c: Likewise.
27080 * hurd/hurdioctl.c: Likewise.
27081 * hurd/hurdlookup.c: Likewise.
27082 * hurd/intr-msg.c: Likewise.
27083 * iconv/gconv_open.c: Likewise.
27084 * libio/swprintf.c: Likewise.
27085 * locale/lc-ctype.c: Likewise.
27086 * locale/nl_langinfo.c: Likewise.
27087 * mach/Machrules: Likewise.
27088 * mach/Makefile: Likewise.
27089 * malloc/obstack.h: Likewise.
27090 * manual/Makefile: Likewise.
27091 * manual/tsort.awk: Likewise.
27092 * misc/bits/stab.def: Likewise.
27093 * nis/nis_print_group_entry.c: Likewise.
27094 * nis/nis_table.c: Likewise.
27095 * nis/nss_compat/compat-pwd.c: Likewise.
27096 * nis/nss_compat/compat-spwd.c: Likewise.
27097 * po/Makefile: Likewise.
27098 * posix/fnmatch.c: Likewise.
27099 * posix/regex.h: Likewise.
27100 * resolv/Makefile: Likewise.
27101 * resolv/nss_dns/dns-network.c: Likewise.
27102 * resolv/res_hconf.c: Likewise.
27103 * scripts/gen-sorted.awk: Likewise.
27104 * soft-fp/soft-fp.h: Likewise.
27105 * stdio-common/printf.h: Likewise.
27106 * stdlib/monetary.h: Likewise.
27107 * stdlib/random.c: Likewise.
27108 * stdlib/random_r.c: Likewise.
27109 * sysdeps/generic/Makefile: Likewise.
27110 * sysdeps/gnu/Makefile: Likewise.
27111 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27134 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27135 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27137 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27139 * sysdeps/mach/hurd/errnos.awk: Likewise.
27140 * sysdeps/mach/hurd/fork.c: Likewise.
27141 * sysdeps/mach/hurd/getcwd.c: Likewise.
27142 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27143 * sysdeps/mach/hurd/mmap.c: Likewise.
27144 * sysdeps/mach/hurd/utimes.c: Likewise.
27145 * sysdeps/mach/hurd/xmknod.c: Likewise.
27146 * sysdeps/posix/profil.c: Likewise.
27147 * sysdeps/posix/readdir_r.c: Likewise.
27148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27149 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27150 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27151 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27154 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27155 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27159 * sysdeps/pthread/lio_listio.c: Likewise.
27160 * sysdeps/sparc/dl-procinfo.h: Likewise.
27161 * sysdeps/unix/i386/sysdep.S: Likewise.
27162 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27163 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27164 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27165 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27167 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27168 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27169 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27170 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27171 * sysdeps/wordsize-32/divdi3.c: Likewise.
27172 * time/sys/time.h: Likewise.
27173 * wcsmbs/Makefile: Likewise.
27174
0549fbba
DM
271752013-01-01 David S. Miller <davem@davemloft.net>
27176
a141f1a7
DM
27177 * po/fr.po: Update from translation team.
27178
0549fbba
DM
27179 * catgets/gencat.c: Update copyright year.
27180 * csu/version.c: Likewise.
27181 * debug/catchsegv.sh: Likewise.
27182 * debug/pcprofiledump.c: Likewise.
27183 * debug/xtrace.sh: Likewise.
27184 * elf/ldconfig.c: Likewise.
27185 * elf/ldd.bash.in: Likewise.
27186 * elf/pldd.c: Likewise.
27187 * elf/sotruss.ksh: Likewise.
27188 * elf/sprof.c: Likewise.
27189 * iconv/iconv_prog.c: Likewise.
27190 * iconv/iconvconfig.c: Likewise.
27191 * locale/programs/locale.c: Likewise.
27192 * locale/programs/localedef.c: Likewise.
27193 * login/programs/pt_chown.c: Likewise.
27194 * malloc/memusage.sh: Likewise.
27195 * malloc/memusagestat.c: Likewise.
27196 * malloc/mtrace.pl: Likewise.
27197 * nscd/nscd.c: Likewise.
27198 * nss/getent.c: Likewise.
27199 * nss/makedb.c: Likewise.
27200 * posix/getconf.c: Likewise.
27201
18ea052c
SP
272022012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27203
27204 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27205 numbers.
27206
9c89fca6
MF
272072012-12-30 Mike Frysinger <vapier@gentoo.org>
27208
27209 * math/bits/mathcalls.h (modf): Use __nonnull.
27210
085ec079
SP
272112012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27212
27213 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27214 (split): Use macro CN instead of the bare value.
27215 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27216 could be used.
27217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27218 instead of the bare value.
27219 (power1): Likewise.
27220
6d9f97e1
SP
272212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27222
d63f73be
SP
27223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27224 __ATAN_TWOM.
27225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27226
6d9f97e1
SP
27227 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27228 their values.
27229 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27230 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27231 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27232 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27233
4c4febf5
AJ
272342012-12-28 Andreas Jaeger <aj@suse.de>
27235
af5843ef
AJ
27236 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27237 values are from Linux 3.7.
27238
4c4febf5
AJ
27239 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27240 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27241
99136f82
SP
272422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27243
2f216c3c 27244 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27245 TRUE case.
27246
99136f82
SP
27247 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27248 (norm): Likewise.
27249 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27250 variables with preprocessor constants.
27251 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27252 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27253 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27254
7fffbdff
BH
272552012-12-27 Bruno Haible <bruno@clisp.org>
27256
27257 [BZ #14317]
27258 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27259 only if needed.
27260
b76eb5f0
SP
272612012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27262
31a7fe5c
SP
27263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27264 and use variable directly.
27265 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27266
b76eb5f0
SP
27267 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27268 MPONE.
27269 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27271 variable MPONE.
27272 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27274 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27275 include directive. Remove local variable MPONE.
27276 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27279
2c8bfe7d
DM
272802012-12-25 David S. Miller <davem@davemloft.net>
27281
27282 * version.h (RELEASE): Set to "development".
27283 (VERSION): Set to "2.17.90".
27284 * NEWS: Add 2.18 section.
27285
147d03b0
DM
272862012-12-21 David S. Miller <davem@davemloft.net>
27287
27288 * po/hr.po: Update from translation team.
27289
a8ebb2b9
AK
272902012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27291
27292 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27293
95b4f1b6
SE
272942012-12-19 Steve Ellcey <sellcey@mips.com>
27295
b2d94007 27296 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27297
cedb2a90
MS
272982012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27299
27300 * manual/contrib.texi (Contributors): Spelling correction.
27301
bbf527d6
DM
273022012-12-15 David S. Miller <davem@davemloft.net>
27303
27304 * po/ru.po: Update from translation team.
27305
bc38c906
DM
273062012-12-13 David S. Miller <davem@davemloft.net>
27307
85429b1a
DM
27308 * NEWS: Mention IFUNC testsuite enhancements.
27309
d283e353
DM
27310 * po/pl.po: Update from translation team.
27311 * po/bg.po: Likewise.
27312
bc38c906
DM
27313 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27314 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27315
a181b0d7
DM
273162012-12-11 David S. Miller <davem@davemloft.net>
27317
4641d57e
DM
27318 * po/sv.po: Update from translation team.
27319
f7bc6495
DM
27320 * po/vi.po: Update from translation team.
27321
6fc9048f
DM
27322 * po/cs.po: Update from translation team.
27323
a181b0d7
DM
27324 * po/de.po: Update from translation team.
27325 * po/eo.po: Likewise.
27326 * po/nl.po: Likewise.
27327
f70bfe80
SP
273282012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27329
3c8b4190
SP
27330 [BZ #14246]
27331 * manual/argp.texi (Argp Helper Functions): Move node to follow
27332 Argp Parsing State.
27333
f70bfe80
SP
27334 [BZ #14872]
27335 * manual/conf.texi (Limits on File System Capacity): Mention if
27336 terminating null is included in the max size.
27337
188f0adf
AJ
273382012-12-10 Andreas Jaeger <aj@suse.de>
27339
27340 * po/cs.po: Update from translation team.
27341
56e7d3ad
SP
273422012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27343
27344 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27345 void pointer and cast to uintptr_t.
27346 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27347 path.
27348 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27349 * sysdeps/s390/s390-64/memset.S: Likewise.
27350
76f2d2ea 273512012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27352
27353 [BZ #14833]
27354 * menual/message.texi (Message Translation): Fix typos.
27355 (Helper programs for gettext): Likewise.
27356
67cbf9a2
AS
273572012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27358
27359 [BZ #14898]
27360 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27361 Change to -1.
27362
682d0e9a
DM
273632012-12-07 David S. Miller <davem@davemloft.net>
27364
27365 * po/libc.pot: Update.
27366
573cd484
RH
273672012-12-07 Richard Henderson <rth@redhat.com>
27368
7e9da188 27369 [BZ #10114]
573cd484
RH
27370 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27371 normal/normal case to before the switch.
27372 (_FP_DIV): Likewise.
27373
e933a943
MF
273742012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27375 Mike Frysinger <vapier@gentoo.org>
27376
27377 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27378 check for __NR_fadvise64_64.
27379
82123268
CM
273802012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27381
27382 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27383 0, not just to plain "0" as a statement.
27384 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27385 with cw.
27386
d9814526
JM
273872012-12-06 Joseph Myers <joseph@codesourcery.com>
27388
27389 * NEWS: Use sourceware.org in Bugzilla URL.
27390
7728c574
SP
273912012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27392
f16946dd
SP
27393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27394 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27395
5704bbcb
SP
27396 * stdio-common/tst-put-error.c (do_test): Add newline to the
27397 padded test to ensure flush.
27398
17aa0516
JL
273992012-12-05 Jeff Law <law@redhat.com>
27400
27401 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27402
363313b5
JM
274032012-12-05 Joseph Myers <joseph@codesourcery.com>
27404
effbd42a
JM
27405 * README: Don't refer to ports add-on as distributed separately.
27406 Mention AArch64 in list of systems supported in the ports add-on.
27407
87600365
JM
27408 * LICENSES: Add more non-FSF copyright and license notices.
27409
a0d7066a
JM
27410 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27411 ((unused)).
27412
66ca5a5b
JM
27413 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27414
363313b5
JM
27415 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27416 10000 as width of padded output.
27417
b37984ad
JM
274182012-12-04 Joseph Myers <joseph@codesourcery.com>
27419
9003570a
JM
27420 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27421
b37984ad
JM
27422 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27423 variable LX with __attribute__ ((unused)).
27424 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27425 Likewise.
27426 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27429 with __attribute__ ((unused)).
27430
c8df52ec
DM
274312012-12-04 David S. Miller <davem@abraco.davemloft.net>
27432
27433 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27434
b3b099af
JM
274352012-12-04 Joseph Myers <joseph@codesourcery.com>
27436
c33aa6e3
JM
27437 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27438 (CFLAGS-nldbl-acos.c): New variable.
27439 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27440 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27441 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27442 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27443 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27444 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27445 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27446 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27447 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27448 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27449 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27450 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27451 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27452 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27453 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27454 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27455 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27456 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27457 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27458 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27459 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27460 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27461 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27462 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27463 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27464 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27465 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27466 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27467 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27468 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27469 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27470 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27471 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27472 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27473 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27474 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27475 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27476 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27477 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27478 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27479 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27480 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27481 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27482 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27483 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27484 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27485 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27486 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27487 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27488 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27489 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27490 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27491 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27492 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27493 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27494 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27495 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27496 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27497 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27498 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27499 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27500 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27501 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27502 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27503 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27504 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27505 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27506 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27507 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27508 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27509 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27510 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27511 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27512 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27513 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27514 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27515 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27516 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27517 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27518 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27519 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27520 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27521 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27522 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27523 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27524 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27525 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27526 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27527 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27528 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27529 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27530 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27531 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27532 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27533 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27534 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27535 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27536
20f0018d
JM
27537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27538 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27539
b3b099af
JM
27540 [BZ #14914]
27541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27542 whole low double instead of just low 47 bits when splitting values
27543 into two parts.
27544
029264d1
AM
275452012-12-03 Allan McRae <allan@archlinux.org>
27546
27547 * manual/stdio.texi (Predefined Printf Handlers): Remove
27548 @hsep and @vsep usage.
27549
c9d6789e
MF
275502012-12-03 Mike Frysinger <vapier@gentoo.org>
27551
27552 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27553 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27554
4b7634a5
JL
275552012-12-03 Jeff Law <law@redhat.com>
27556
27557 * time/sys/time.h (settimeofday): Do not mark TV argument
27558 as __nonnull.
27559
eb6cbd24
MF
275602012-12-01 Mike Frysinger <vapier@gentoo.org>
27561
27562 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27563 when currently writing and seek to current position when not.
27564 * libio/Makefile (tests): Remove bug-fclose1.
27565 * libio/bug-fclose1.c: Delete.
27566
f638872a
JM
275672012-12-01 Joseph Myers <joseph@codesourcery.com>
27568
27569 * manual/arith.texi (feenableexcept): Fix typo.
27570 (fedisableexcept): Likewise.
27571
48085d14
RM
275722012-11-30 Roland McGrath <roland@hack.frob.com>
27573
27574 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27575 second, differently-typed declaration, rather than a cast.
27576
1a538b9f
SP
275772012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27578
27579 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27580 * include/rpc/svc.h: ... here.
27581
d07f2ff1 275822012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
27583
27584 [BZ #13013]
27585 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27586 depending n and resplen2 to catch cases where answer
27587 equals answerp2.
27588
c93ec1f0
CD
275892012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27590
27591 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27592 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27593
37db69de
MF
275942012-11-29 Mike Frysinger <vapier@gentoo.org>
27595
27596 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27597
e10c4e4f
RM
275982012-11-29 Roland McGrath <roland@hack.frob.com>
27599
27600 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27601
2af1b328
JL
276022012-11-28 Jeff Law <law@redhat.com>
27603
27604 [BZ #13761]
27605 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27606 dataset_temporary. Track alloca usage into alloca_used.
27607 If dataset is large allocate and release it via malloc/free.
27608
111db5b1
FW
276092012-06-04 Florian Weimer <fweimer@redhat.com>
27610
f06cc227 27611 [BZ #14197]
111db5b1
FW
27612 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27613
dd694abd
DM
276142012-11-28 David S. Miller <davem@davemloft.net>
27615
27616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27617
9984dd01
JM
276182012-11-28 Joseph Myers <joseph@codesourcery.com>
27619
27620 [BZ #14803]
27621 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27622 of pi/2 rounded to nearest to 64 bits.
27623 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27624 nearest to 64 bits.
27625 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27626 bits.
27627
14bc93a9
JL
276282012-11-28 Jeff Law <law@redhat.com>
27629 Martin Osvald <mosvald@redhat.com>
27630
27631 [BZ #14889]
27632 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27633 * sunrpc/svc.c: Include time.h.
27634 (__svc_accept_failed): New function.
27635 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27636 any reason other than EINTR, call __svc_accept_failed.
27637 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27638 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27639
e3c6aa3a
AS
276402012-11-28 Andreas Schwab <schwab@suse.de>
27641
27642 * scripts/abilist.awk: Also handle indirect functions in .opd
27643 section.
27644
1bead169
JM
276452012-11-28 Joseph Myers <joseph@codesourcery.com>
27646
27647 [BZ #13881]
27648 * sysdeps/x86/fpu/powl_helper.c: New file.
27649 * sysdeps/x86/fpu/Makefile: Likewise.
27650 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27651 (p3): New object.
27652 (__ieee754_powl): Use __powl_helper for finite arguments except
27653 integer exponents below 8.
27654 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27655 (p3): New object.
27656 (__ieee754_powl): Use __powl_helper for finite arguments except
27657 integer exponents below 8.
27658 * math/libm-test.inc (pow_test): Add more tests and enable some
27659 previously disabled tests.
27660 * sysdeps/i386/fpu/libm-test-ulps: Update.
27661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27662
0817d63d
SP
276632012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27664 Carlos O'Donell <carlos_odonell@mentor.com>
27665
27666 * nss/makedb.c (is_prime): Assert that input is odd and greater
27667 than 4. Note that fact in a comment too.
27668 (next_prime): Add 4 to input.
27669
de2fd463
SP
276702012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27671
27672 [BZ #11741]
27673 * libio/Makefile (tests): Add test case tst-fwrite-error.
27674 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27675 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27676 * libio/tst-fwrite-error.c: New test case.
27677
c515fb51
L
276782012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27679
27680 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27681 before casting to void *.
27682 * include/libc-internal.h (__pointer_type): New macro.
27683 (__integer_if_pointer_type_sub): Likewise.
27684 (__integer_if_pointer_type): Likewise.
27685 (cast_to_integer): Likewise.
27686 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27687 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27688 before casting to atomic64_t.
27689 (atomic_exchange_acq): Likewise.
27690 (__arch_exchange_and_add_body): Likewise.
27691 (__arch_add_body): Likewise.
27692 (atomic_add_negative): Likewise.
27693 (atomic_add_zero): Likewise.
27694
4cf77aa9
JM
276952012-11-26 Joseph Myers <joseph@codesourcery.com>
27696
27697 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27698 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27699 (add_fdes): Likewise.
27700 (linear_search_fdes): Likewise.
27701 (binary_search_unencoded_fdes): Likewise.
27702
d260b3b4
AS
277032012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27704
27705 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27706
67060746
AC
277072012-11-24 Adam Conrad <adconrad@0c3.net>
27708
27709 * configure.in: Autodetect C++ header directories.
27710 * configure: Regenerated.
27711
800938a1
MF
277122012-11-23 Mike Frysinger <vapier@gentoo.org>
27713
27714 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27715
4e6e34e6
AS
277162012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27717
27718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27719
7c7feb47
JM
277202012-11-22 Joseph Myers <joseph@codesourcery.com>
27721
7184dcdf
JM
27722 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27723 LDBL_MANT_DIG == 106]: Disable some tests.
27724 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27725 Likewise.
27726 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27727 Likewise.
27728
0a42601f
JM
27729 [BZ #14871]
27730 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27731 input for small inputs. Return +/- pi/2 for large inputs.
27732 * math/libm-test.inc (atan_test): Add more tests.
27733
79c9b9fe
JM
27734 * sysdeps/generic/unwind-dw2-fde-glibc.c
27735 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27736 __attribute__ ((unused)).
27737
c60d3bf2
JM
27738 [BZ #14645]
27739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27740 x * y if x and y are nonzero and z is zero.
27741
ef1e0867
JM
27742 [BZ #14811]
27743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27744 nonzero exponents with absolute value below 0x1p-117 to +/-
27745 0x1p-117.
27746
1468ded3
JM
27747 [BZ #14869]
27748 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27749 up arguments below 2**-450, not just those below 2**-500.
27750 * math/libm-test.inc (hypot_test): Add another test.
27751
8e27e3cc
JM
27752 [BZ #14868]
27753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27754 Return a+b for ratio over 2**120, not 2**60.
27755 * math/libm-test.inc (hypot_test): Add another test.
27756
c9c0279b
JM
27757 * math/libm-test.inc (clog_test): Use
27758 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27759 (clog10_test): Likewise.
27760
7c7feb47
JM
27761 [BZ #6778]
27762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27763
fff1530e
AS
277642012-11-22 Andreas Schwab <schwab@suse.de>
27765
27766 * sysdeps/i386/fpu/libm-test-ulps: Update.
27767
94558d30
PT
277682012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27769
27770 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27771 printf output with newline.
27772
7e1be741
L
277732012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27774
6bfea974
L
27775 [BZ #14865]
27776 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27777 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27778 -z nodlopen, -z initfirst and -z execstack support.
27779 * configure: Regenerated.
27780
7e1be741
L
27781 * elf/elf.h (DF_1_NODIRECT): New macro.
27782 (DF_1_IGNMULDEF): Likewise.
27783 (DF_1_NOKSYMS): Likewise.
27784 (DF_1_NOHDR): Likewise.
27785 (DF_1_EDITED): Likewise.
27786 (DF_1_NORELOC): Likewise.
27787 (DF_1_SYMINTPOSE): Likewise.
27788 (DF_1_GLOBAUDIT): Likewise.
27789 (DF_1_SINGLETON): Likewise.
27790 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27791 DT_1_SUPPORTED_MASK bits.
27792 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27793
105ce2ce
CD
277942012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27795
27796 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27797
123be9de
TS
277982012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27799
d072f3f7
TS
27800 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27801 macro.
27802
123be9de
TS
27803 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27804 (sendmmsg): Move declarations...
27805 * socket/sys/socket.h: ... here.
27806 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27807 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27808 include it from...
27809 * socket/recvmmsg.c: ... this new file.
27810 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27811 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27812 definition of __sendmmsg hidden.
27813 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27814 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27815 Move ENOSYS stub into and include it from...
27816 * socket/sendmmsg.c: ... this new file.
27817 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27818 (sysdep_routines): Move recvmmsg and sendmmsg...
27819 * socket/Makefile (routines): ... here.
27820 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27821 (GLIBC_PRIVATE): Add __sendmmsg.
27822 * include/sys/socket.h (__sendmmsg): Add declarations.
27823 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27824 sendmmsg.
27825
cf9a5d18
JM
278262012-11-20 Joseph Myers <joseph@codesourcery.com>
27827
27828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27829 variable I1 with __attribute__ ((unused)).
27830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27831
ecd4caf9
JM
278322012-11-19 Joseph Myers <joseph@codesourcery.com>
27833
be14d48f
JM
27834 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27835 DUMMY variables with __attribute__ ((unused)).
27836
ecd4caf9
JM
27837 * bits/byteswap.h: Include <bits/types.h>.
27838 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27839
986cab95
PT
278402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27841
27842 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27843 string_t. Do not manually set errno.
27844 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27845 length with __strnlen. Make sure to both set errno and return it on
27846 failure.
27847
6d33cc9d
DM
278482012-11-19 David S. Miller <davem@davemloft.net>
27849
27850 With help from Joseph Myers.
27851 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27852 very large arguments properly.
27853 * math/libm-test.inc (atan_test): New tests.
27854 (atan2_test): New tests.
27855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27857
ee663277
JM
278582012-11-19 Joseph Myers <joseph@codesourcery.com>
27859
877f2d8e
JM
27860 [BZ #14856]
27861 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27862 Define to 3.
27863
116fc08a
JM
27864 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27865 [POSIX] (EADDRNOTAVAIL): Likewise.
27866 [POSIX] (EAFNOSUPPORT): Likewise.
27867 [POSIX] (EALREADY): Likewise.
27868 [POSIX] (ECONNABORTED): Likewise.
27869 [POSIX] (ECONNREFUSED): Likewise.
27870 [POSIX] (ECONNRESET): Likewise.
27871 [POSIX] (EDESTADDRREQ): Likewise.
27872 [POSIX] (EDQUOT): Likewise.
27873 [POSIX] (EHOSTUNREACH): Likewise.
27874 [POSIX] (EIDRM): Likewise.
27875 [POSIX] (EISCONN): Likewise.
27876 [POSIX] (ELOOP): Likewise.
27877 [POSIX] (EMULTIHOP): Likewise.
27878 [POSIX] (ENETDOWN): Likewise.
27879 [POSIX] (ENETUNREACH): Likewise.
27880 [POSIX] (ENOBUFS): Likewise.
27881 [POSIX] (ENODATA): Likewise.
27882 [POSIX] (ENOLINK): Likewise.
27883 [POSIX] (ENOMSG): Likewise.
27884 [POSIX] (ENOPROTOOPT): Likewise.
27885 [POSIX] (ENOSR): Likewise.
27886 [POSIX] (ENOSTR): Likewise.
27887 [POSIX] (ENOTCONN): Likewise.
27888 [POSIX] (ENOTSOCK): Likewise.
27889 [POSIX] (EOPNOTSUPP): Likewise.
27890 [POSIX] (EOVERFLOW): Likewise.
27891 [POSIX] (EPROTO): Likewise.
27892 [POSIX] (EPROTONOSUPPORT): Likewise.
27893 [POSIX] (EPROTOTYPE): Likewise.
27894 [POSIX] (ESTALE): Likewise.
27895 [POSIX] (ETIME): Likewise.
27896 [POSIX] (ETXTBSY): Likewise.
27897 [POSIX] (EWOULDBLOCK): Likewise.
27898 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27899 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27900 [POSIX] (SEEK_CUR): Likewise.
27901 [POSIX] (SEEK_END): Likewise.
27902 [POSIX || UNIX98] (mode_t): Do not require.
27903 [POSIX] (off_t): Likewise.
27904 [POSIX] (pid_t): Likewise.
27905 [POSIX] (sys/stat.h): Do not allow header.
27906 [POSIX] (unistd.h): Likewise.
27907 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27908 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27909 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27910 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27911 require.
27912 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27913 sigevent): Specify elements.
27914 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27915 entry.
27916 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27917 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27918
a483863f
JM
27919 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27920 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27921 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27922 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27923 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27924 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27925 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27926 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27927 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27928 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27929 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27930 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27931 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27932 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27933 Likewise.
27934 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27935 Likewise.
27936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27937 Likewise.
27938 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27939 Likewise.
27940 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27941 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27942 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27943 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27944 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27945 Specify lower bound on value.
27946 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27947 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27948 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27949 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27950 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27951 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27952 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27953 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27954 value.
27955 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27956 as optional.
27957 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27958 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27959 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27960 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27961 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27962 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27963 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27964 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27965 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27966 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27967 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27968 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27969 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27970 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27971 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27972 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27973 entry.
27974 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27975 optional.
27976 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27977 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27978 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27979 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27980 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27981 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27982 Likewise.
27983 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27984 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27985 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27986 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27987 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27988 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27989 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27990 as optional.
27991 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27992 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27993 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27994 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27995 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27996 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27997 specify as optional.
27998 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27999 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28000 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28001 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28002 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28003 [XPG3] (NL_LANGMAX): Likewise.
28004 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28005 [POSIX || XPG3] (NL_NMAX): Likewise.
28006 [POSIX || XPG3] (NL_SETMAX): Likewise.
28007 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28008 [XPG3] (NZERO): Likewise.
28009 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28010 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28011 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28012 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28013 (REG_ERANGE): Expect.
28014 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28015 optional-constant.
28016 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28017 Use (void) in prototype.
28018 [POSIX] (*_t): Allow.
28019 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28020 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28021 (WRDE_BADVAL): Expect.
28022
5ba924e3
JM
28023 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28024 expect.
28025 [XPG3 || XPG4] (O_RSYNC): Likewise.
28026 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28027 Likewise.
28028 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28029 [XPG3 || XPG4] (sigqueue): Likewise.
28030 [XPG3 || XPG4] (sigtimedwait): Likewise.
28031 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28032 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28033 [XPG3 || XPG4] (vsnprintf): Likewise.
28034 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28035 Likewise.
28036 [XPG3 || XPG4] (blksize_t): Likewise.
28037 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28038 Likewise.
28039 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28040 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28041 [XPG3 || XPG4] (struct itimerspec): Likewise.
28042 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28043 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28044 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28045 [XPG3 || XPG4] (clockid_t): Likewise.
28046 [XPG3 || XPG4] (timer_t): Likewise.
28047 [XPG3 || XPG4] (clock_getres): Likewise.
28048 [XPG3 || XPG4] (clock_gettime): Likewise.
28049 [XPG3 || XPG4] (clock_settime): Likewise.
28050 [XPG3 || XPG4] (nanosleep): Likewise.
28051 [XPG3 || XPG4] (timer_create): Likewise.
28052 [XPG3 || XPG4] (timer_delete): Likewise.
28053 [XPG3 || XPG4] (timer_gettime): Likewise.
28054 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28055 [XPG3 || XPG4] (timer_settime): Likewise.
28056 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28057 [XPG3 || XPG4] (getlogin_r): Likewise.
28058 [XPG3 || XPG4] (pread): Likewise.
28059 [XPG3 || XPG4] (pthread_atfork): Likewise.
28060 [XPG3 || XPG4] (pwrite): Likewise.
28061
ee663277
JM
28062 [BZ #14835]
28063 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28064 <bits/siginfo.h>.
28065
942caa16
PT
280662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28067
e19af380
PT
28068 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28069 finalizing MALLSTREAM.
28070
942caa16
PT
28071 * sysdeps/mach/hurd/syncfs.c: New file.
28072
cfde9b46
SP
280732012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28074
28075 [BZ #14719]
28076 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28077 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28078 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28079 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28080 (_nss_dns_gethostbyname4_r): Likewise.
28081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28082 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28083
f6da27e5
PH
280842012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28085
28086 [BZ #13763]
28087 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28088
6665d4a2
SM
280892012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28090
1f51ee92
SM
28091 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28092 * elf/cache.c (print_entry): Print ",AArch64" for
28093 FLAG_AARCH64_LIB64
28094
6665d4a2
SM
28095 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28096 * elf/cache.c (print_entry): Print ",hard-float" for
28097 FLAG_ARM_LIBHF.
28098
05b227bd
DM
280992012-11-18 David S. Miller <davem@davemloft.net>
28100
28101 With help from Joseph Myers.
28102 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28103 cutoff to 2**-13.
28104 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28105 cutoff to 2**-25.
28106 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28107 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28108 small.
28109 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28110 * math/libm-test.inc (y0_test): New tests.
28111 (y1_test): New tests.
28112 * sysdeps/i386/fpu/libm-test-ulps: Update.
28113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28115
786b0b67
AS
281162012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28117
28118 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28119 64-bit targets.
28120 * configure: Regenerated.
28121
8e18b86d
DM
281222012-11-17 David S. Miller <davem@davemloft.net>
28123
28124 [BZ #14811]
28125 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28126 nonzero exponents with absolute value below 0x1p-128 to +/-
28127 0x1p-128.
28128
531f1ae0
JM
281292012-11-17 Joseph Myers <joseph@codesourcery.com>
28130
12df29e2
JM
28131 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28132
150dc1a0
JM
28133 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28134
531f1ae0
JM
28135 * posix/getconf-speclist.c: New file.
28136 * posix/posix-envs.def: Likewise.
28137 * posix/confstr.c (START_ENV_GROUP): New macro.
28138 (END_ENV_GROUP): Likewise.
28139 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28140 (KNOWN_PRESENT_ENV_STRING): Likewise.
28141 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28142 (UNKNOWN_ENVIRONMENT): Likewise.
28143 (confstr): Include posix-envs.def instead of handling
28144 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28145 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28146 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28147 (END_ENV_GROUP): Likewise.
28148 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28149 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28150 (UNKNOWN_ENVIRONMENT): Likewise.
28151 (__sysconf): Include posix-envs.def instead of handling associated
28152 cases directly here.
28153 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28154 preprocessing getconf-speclist.c rather than running getconf or
28155 generating empty file.
28156
a93f9cbc
PT
281572012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28158
28159 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28160
d64d9f87
AL
281612012-11-16 Andrej Lajovic <natrij@gmail.com>
28162
28163 [BZ #14672]
28164 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28165
447885eb
DM
281662012-11-16 David S. Miller <davem@davemloft.net>
28167
28168 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28169 smaller than LDBL_EPSILON/2.0L, just return xm1.
28170
bcbf9830
L
281712012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 * elf/tst-array1.c (init): Set constructor priority to 1000.
28174 (fini): Set destructor priority to 1000.
28175 * elf/tst-array2dep.c: Likewise.
28176
2b766585
SP
281772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28178
28179 [BZ #11741]
28180 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28181 (_IO_new_file_xsputn): Also return EOF if none of the input
28182 data was written when overflow failed.
28183 * libio/iopadn.c (_IO_padn): Likewise.
28184 * libio/iowpadn.c (_IO_wpadn): Likewise.
28185 * stdio-common/tst-put-error.c: Add copyright notice.
28186 (do_test): Add case for printing padded string.
28187 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28188 _IO_padn returned error.
28189 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28190 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28191 return EOF.
28192
b1848fde
SP
281932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28194
28195 * libio/libioP.h: Add comment note that the references to C++
28196 bits are now obsolete.
28197
2fd89785
MS
281982012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28199
28200 * math/libm-test.inc (check_complex): Use asprintf.
28201
e3ea5409
JM
282022012-11-14 Joseph Myers <joseph@codesourcery.com>
28203
28204 * debug/pcprofiledump.c (print_version): Update copyright year.
28205 * malloc/memusagestat.c (print_version): Likewise.
28206
2e64d265
L
282072012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28208
28209 [BZ #14831]
28210 * elf/Makefile (tests): Add tst-audit8.
28211 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28212 ($(objpfx)tst-audit8.out): New target.
28213 (tst-audit8-ENV): New variable.
28214 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28215 audit if l_reloc_result is NULL.
28216 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28217 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28218 * elf/tst-audit8.c: New file.
28219
c485e4d2
MS
282202012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28221
28222 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28223 * misc/Makefile (CFLAGS-select.c): Define.
28224 * posix/Makefile (CFLAGS-pause.c): Define.
28225
3a0d900a
DM
282262012-11-13 David S. Miller <davem@davemloft.net>
28227
28228 * crypt/Makefile: Move test targets after toplevel Rules
28229 inclusion. Grab any necessary sysdep routines when linking.
28230 * crypt/md5.c (md5_process_block): Remove define, we will always
28231 name it __md5_process_block.
28232 (md5_finish_ctx): Update md5_process_block call.
28233 (md5_stream): Likewise.
28234 (md5_process_bytes): Likewise.
28235 (md5_process_block): Rename to __md5_process_block and move to ...
28236 * crypt/md5-block.c: ... here.
28237 * crypt/sha256.c (sha256_process_block): Move to ...
28238 * crypt/sha256-block.c: ... here.
28239 * crypt/sha512.c (sha512_process_block): Move to ...
28240 * crypt/sha512-block.c: ... here.
28241 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28242 path.
28243 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28244 * sysdeps/sparc/sparc64/multiarch/Makefile
28245 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28246 crypt subdir.
28247 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28248 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28249 multiarch changes.
28250 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28251 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28252 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28253 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28254 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28255 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28256 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28257 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28258 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28259 file.
28260 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28261 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28262 file.
28263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28264
8ca89318
JM
282652012-11-13 Joseph Myers <joseph@codesourcery.com>
28266
e27d476a
JM
28267 * timezone/tzselect.ksh: Update from tzcode git revision
28268 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28269 * timezone/zdump.c: Likewise.
28270 * timezone/zic.c: Likewise.
28271 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28272 in TZVERSION setting, not $(PKGVERSION).
28273 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28274 REPORT_BUGS_TO settings.
28275
8ca89318
JM
28276 [BZ #14838]
28277 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28278 macro.
28279
47594329
MS
282802012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28281
28282 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28283 detection to immediately after _FP_ROUND().
28284 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28285 bits are 0.
28286
640ac3f1
DM
282872012-11-11 David S. Miller <davem@davemloft.net>
28288
28289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28290 inttypes.h
28291 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28292 __close rather than their public counterparts.
28293
3d2577bb
JM
282942012-11-10 Joseph Myers <joseph@codesourcery.com>
28295
28296 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28297 file.
28298 [UNIX98] (sem_timedwait): Do not expect.
28299 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28300 [XPG4 || UNIX98] (sockatmark): Do not expect.
28301 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28302 (clock_getcpuclockid): Do not expect.
28303 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28304 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28305 Do not expect.
28306 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28307 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28308 [UNIX98] (vwscanf): Likewise.
28309 [UNIX98] (vswscanf): Likewise.
28310
fb1ae1ee
JM
283112012-11-09 Joseph Myers <joseph@codesourcery.com>
28312
9ec6f8bd
JM
28313 * timezone/version.h: Remove file.
28314 * timezone/README: Do not refer to version.h.
28315 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28316 $(objpfx)version.h.
28317 ($(objpfx)zdump.o): Likewise.
c3f81911 28318 ($(objpfx)version.h): New target.
9ec6f8bd 28319
0aa8f8a1
JM
28320 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28321 2012i.
28322 * timezone/README: Don't mention modification to tzselect.ksh.
28323 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28324 work on unmodified tzselect.ksh. Substitute version numbers in
28325 tzselect.ksh.
28326
4e87147f
JM
28327 * Makefile (format-me): Remove.
28328 (INSTALL): Adjust indentation. Use commands directly instead of
28329 using $(format-me).
28330
8b748aed
JM
28331 * aclocal.m4 (ACX_PKGVERSION): New macro.
28332 (ACX_BUGURL): Likewise.
28333 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28334 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28335 (REPORT_BUGS_TO): Likewise.
28336 * configure: Regenerated.
28337 * config.h.in (PKGVERSION): New macro.
28338 (REPORT_BUGS_TO): Likewise.
28339 * config.make.in (PKGVERSION): New variable.
28340 (PKGVERSION_TEXI): Likewise.
28341 (REPORT_BUGS_TO): Likewise.
28342 (REPORT_BUGS_TEXI): Likewise.
28343 * Makefile (format-me): Use -I$(common-objpfx)manual.
28344 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28345 ($(common-objpfx)manual/%): New target.
28346 (manual/%): Remove target.
28347 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28348 (print_version): Use PKGVERSION.
28349 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28350 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28351 and REPORT_BUGS_TO.
28352 ($(objpfx)xtrace): Likewise.
28353 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28354 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28355 (print_version): Use PKGVERSION.
28356 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28357 (do_version): Use PKGVERSION.
28358 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28359 REPORT_BUGS_TO.
28360 (common-ldd-rewrite): Likewise.
28361 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28362 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28363 (print_version): Use PKGVERSION.
28364 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28365 * elf/pldd.c (argp_program_bug_address): Remove variable.
28366 (more_help): New function.
28367 (argp): Use more_help.
28368 (print_version): Use PKGVERSION.
28369 * elf/sln.c (main): Use PKGVERSION.
28370 (usage): Use REPORT_BUGS_TO.
28371 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28372 (top level): Use PKGVERSION.
28373 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28374 (print_version): Use PKGVERSION.
28375 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28376 (print_version): Use PKGVERSION.
28377 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28378 (print_version): Use PKGVERSION.
28379 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28380 (print_version): Use PKGVERSION.
28381 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28382 (print_version): Use PKGVERSION.
28383 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28384 (print_version): Use PKGVERSION.
28385 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28386 and BUGURL.
28387 ($(objpfx)memusage): Likewise.
28388 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28389 (do_version): Use PKGVERSION.
28390 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28391 (print_version): Use PKGVERSION.
28392 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28393 ($PKGVERSION): New variable.
28394 ($REPORT_BUGS_TO): Likewise.
28395 (usage): Use $REPORT_BUGS_TO.
28396 (top level): Use $PKGVERSION.
28397 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28398 ($(objpfx)pkgvers.texi): New rule.
28399 ($(objpfx)stamp-pkgvers): Likewise.
28400 * manual/install.texi: Include pkgvers.texi.
28401 (--with-pkgversion): Document new configure option.
28402 (--with-bugurl): Likewise.
28403 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28404 than necessarily for this particular distribution. Use
28405 REPORT_BUGS_TO for where to report bugs.
28406 * INSTALL: Regenerated.
28407 * manual/libc.texinfo: Include pkgvers.texi.
28408 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28409 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28410 (print_version): Use PKGVERSION.
28411 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28412 (print_version): Use PKGVERSION.
28413 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28414 (print_version): Use PKGVERSION.
28415 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28416 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28417 macro.
28418 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28419 (print_version): Use PKGVERSION.
28420 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28421 (print_version): Use PKGVERSION.
28422 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28423 and PKGVERSION.
28424
92e4b6a9
JM
28425 * timezone/checktab.awk: Update from tzcode 2012i.
28426 * timezone/ialloc.c: Likewise.
28427 * timezone/private.h: Likewise.
28428 * timezone/scheck.c: Likewise.
28429 * timezone/tzfile.h: Likewise.
28430 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28431 (TZVERSION): Hardcode tzcode version number.
28432 * timezone/zdump.c: Update from tzcode 2012i.
28433 * timezone/zic.c: Likewise.
28434 * timezone/version.h: New file.
28435 * timezone/README: Describe version.h. Update upstream location.
28436
9bde902c
JM
28437 [BZ #14824]
28438 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28439 (mktemp): Enable declaration.
28440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28444 Likewise.
28445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28446 Likewise.
28447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28448 Likewise.
28449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28450 Likewise.
28451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28452 Likewise.
28453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28454 Likewise.
28455
fb1ae1ee
JM
28456 [BZ #14821]
28457 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28458 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28459 for copies of such integer values.
28460 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28461 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28462
2c1adbcb
AJ
284632012-11-09 Andreas Jaeger <aj@suse.de>
28464
28465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28466 definitions and declarations that are provided by
28467 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28468
d0f8457e
AK
284692012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28470
3a235abb 28471 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
28472 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28473 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28474 definition.
28475
57241e26
MS
284762012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28477
28478 * elf/elf.h: Update comment before AArch64 relocations.
28479
60e8270d
DM
284802012-11-07 David S. Miller <davem@davemloft.net>
28481
28482 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28483 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28484 (__start_context): Declare.
28485 (__makecontext_ret): Delete.
28486 (__makecontext): Hook up __start_context instead of
28487 __makecontext_ret.
28488 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28489 (sysdep_routines): Add __start_context when in stdlib.
28490
0fbb0fbc
JM
284912012-11-07 Joseph Myers <joseph@codesourcery.com>
28492
28493 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28494 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28495 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28496 hardcoded "nm".
28497 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28498 (READELF): New variable. Use it instead of hardcoded "readelf".
28499
eb48db7e
L
285002012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28501
28502 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28503 * sysdeps/x86/Makefile: Here.
28504 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28505 * sysdeps/x86/tst-xmmymm.sh: This.
28506
05bcf62a
JM
285072012-11-07 Joseph Myers <joseph@codesourcery.com>
28508
c4b6cf53
JM
28509 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28510 expectations.
28511 [UNIX98] (pthread_barrier_t): Do not expect.
28512 [UNIX98] (pthread_barrierattr_t): Likewise.
28513 [UNIX98] (pthread_spinlock_t): Likewise.
28514 [UNIX98] (pthread_barrier_destroy): Likewise.
28515 [UNIX98] (pthread_barrier_init): Likewise.
28516 [UNIX98] (pthread_barrier_wait): Likewise.
28517 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28518 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28519 [UNIX98] (pthread_barrierattr_init): Likewise.
28520 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28521 [UNIX98] (pthread_getcpuclockid): Likewise.
28522 [UNIX98] (pthread_mutex_timedlock): Likewise.
28523 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28524 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28525 [UNIX98] (pthread_sigmask): Likewise.
28526 [UNIX98] (pthread_spin_destroy): Likewise.
28527 [UNIX98] (pthread_spin_init): Likewise.
28528 [UNIX98] (pthread_spin_lock): Likewise.
28529 [UNIX98] (pthread_spin_trylock): Likewise.
28530 [UNIX98] (pthread_spin_unlock): Likewise.
28531 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28532 Do not expect.
28533 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28534 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28535 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28536 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28537 [XPG3 || XPG4] (pthread_key_t): Likewise.
28538 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28539 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28540 [XPG3 || XPG4] (pthread_once_t): Likewise.
28541 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28542 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28543 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28544 [XPG3 || XPG4] (pthread_t): Likewise.
28545
cbe6e120
JM
28546 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28547 not expect.
28548 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28549
1b126443
JM
28550 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28551 Change function return type to int.
28552
b961a573
JM
28553 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28554 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28555 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28556 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28557 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28558 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28559 [!POSIX] (posix_madvise): Likewise.
28560 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28561 && !UNIX98].
28562 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28563 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28564 (mode_t): Likewise.
28565 (posix_mem_offset): Likewise.
28566 (posix_typed_mem_get_info): Likewise.
28567 (posix_typed_mem_open): Likewise.
28568
9e188909
JM
28569 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28570 Change condition to [XOPEN2K8].
28571
05bcf62a
JM
28572 * conform/conformtest.pl: Preprocess allow-header data with -x c
28573 instead of from stdin.
28574 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28575 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28576 [C99-based standards] (cerfc): Likewise.
28577 [C99-based standards] (cexp2): Likewise.
28578 [C99-based standards] (cexpm1): Likewise.
28579 [C99-based standards] (clog10): Likewise.
28580 [C99-based standards] (clog1p): Likewise.
28581 [C99-based standards] (clog2): Likewise.
28582 [C99-based standards] (clgamma): Likewise.
28583 [C99-based standards] (ctgamma): Likewise.
28584 [C99-based standards] (cerff): Likewise.
28585 [C99-based standards] (cerfcf): Likewise.
28586 [C99-based standards] (cexp2f): Likewise.
28587 [C99-based standards] (cexpm1f): Likewise.
28588 [C99-based standards] (clog10f): Likewise.
28589 [C99-based standards] (clog1pf): Likewise.
28590 [C99-based standards] (clog2f): Likewise.
28591 [C99-based standards] (clgammaf): Likewise.
28592 [C99-based standards] (ctgammaf): Likewise.
28593 [C99-based standards] (cerfl): Likewise.
28594 [C99-based standards] (cerfcl): Likewise.
28595 [C99-based standards] (cexp2l): Likewise.
28596 [C99-based standards] (cexpm1l): Likewise.
28597 [C99-based standards] (clog10l): Likewise.
28598 [C99-based standards] (clog1pl): Likewise.
28599 [C99-based standards] (clog2l): Likewise.
28600 [C99-based standards] (clgammal): Likewise.
28601 [C99-based standards] (ctgammal): Likewise.
28602 * conform/data/inttypes.h-data [C99-based standards]: Include
28603 stdint.h-data. Remove all expectations for stdint.h contents.
28604 [C99-based standards] (PRI*): Do not allow.
28605 [C99-based standards] (SCN*): Likewise.
28606 [C99-based standards] (*_t): Likewise.
28607 [C99-based-standards] (PRId8): Expect macro.
28608 [C99-based-standards] (PRIi8): Likewise.
28609 [C99-based-standards] (PRIo8): Likewise.
28610 [C99-based-standards] (PRIu8): Likewise.
28611 [C99-based-standards] (PRIx8): Likewise.
28612 [C99-based-standards] (PRIX8): Likewise.
28613 [C99-based-standards] (SCNd8): Likewise.
28614 [C99-based-standards] (SCNi8): Likewise.
28615 [C99-based-standards] (SCNo8): Likewise.
28616 [C99-based-standards] (SCNu8): Likewise.
28617 [C99-based-standards] (SCNx8): Likewise.
28618 [C99-based-standards] (PRIdLEAST8): Likewise.
28619 [C99-based-standards] (PRIiLEAST8): Likewise.
28620 [C99-based-standards] (PRIoLEAST8): Likewise.
28621 [C99-based-standards] (PRIuLEAST8): Likewise.
28622 [C99-based-standards] (PRIxLEAST8): Likewise.
28623 [C99-based-standards] (PRIXLEAST8): Likewise.
28624 [C99-based-standards] (SCNdLEAST8): Likewise.
28625 [C99-based-standards] (SCNiLEAST8): Likewise.
28626 [C99-based-standards] (SCNoLEAST8): Likewise.
28627 [C99-based-standards] (SCNuLEAST8): Likewise.
28628 [C99-based-standards] (SCNxLEAST8): Likewise.
28629 [C99-based-standards] (PRIdFAST8): Likewise.
28630 [C99-based-standards] (PRIiFAST8): Likewise.
28631 [C99-based-standards] (PRIoFAST8): Likewise.
28632 [C99-based-standards] (PRIuFAST8): Likewise.
28633 [C99-based-standards] (PRIxFAST8): Likewise.
28634 [C99-based-standards] (PRIXFAST8): Likewise.
28635 [C99-based-standards] (SCNdFAST8): Likewise.
28636 [C99-based-standards] (SCNiFAST8): Likewise.
28637 [C99-based-standards] (SCNoFAST8): Likewise.
28638 [C99-based-standards] (SCNuFAST8): Likewise.
28639 [C99-based-standards] (SCNxFAST8): Likewise.
28640 [C99-based-standards] (PRId16): Likewise.
28641 [C99-based-standards] (PRIi16): Likewise.
28642 [C99-based-standards] (PRIo16): Likewise.
28643 [C99-based-standards] (PRIu16): Likewise.
28644 [C99-based-standards] (PRIx16): Likewise.
28645 [C99-based-standards] (PRIX16): Likewise.
28646 [C99-based-standards] (SCNd16): Likewise.
28647 [C99-based-standards] (SCNi16): Likewise.
28648 [C99-based-standards] (SCNo16): Likewise.
28649 [C99-based-standards] (SCNu16): Likewise.
28650 [C99-based-standards] (SCNx16): Likewise.
28651 [C99-based-standards] (PRIdLEAST16): Likewise.
28652 [C99-based-standards] (PRIiLEAST16): Likewise.
28653 [C99-based-standards] (PRIoLEAST16): Likewise.
28654 [C99-based-standards] (PRIuLEAST16): Likewise.
28655 [C99-based-standards] (PRIxLEAST16): Likewise.
28656 [C99-based-standards] (PRIXLEAST16): Likewise.
28657 [C99-based-standards] (SCNdLEAST16): Likewise.
28658 [C99-based-standards] (SCNiLEAST16): Likewise.
28659 [C99-based-standards] (SCNoLEAST16): Likewise.
28660 [C99-based-standards] (SCNuLEAST16): Likewise.
28661 [C99-based-standards] (SCNxLEAST16): Likewise.
28662 [C99-based-standards] (PRIdFAST16): Likewise.
28663 [C99-based-standards] (PRIiFAST16): Likewise.
28664 [C99-based-standards] (PRIoFAST16): Likewise.
28665 [C99-based-standards] (PRIuFAST16): Likewise.
28666 [C99-based-standards] (PRIxFAST16): Likewise.
28667 [C99-based-standards] (PRIXFAST16): Likewise.
28668 [C99-based-standards] (SCNdFAST16): Likewise.
28669 [C99-based-standards] (SCNiFAST16): Likewise.
28670 [C99-based-standards] (SCNoFAST16): Likewise.
28671 [C99-based-standards] (SCNuFAST16): Likewise.
28672 [C99-based-standards] (SCNxFAST16): Likewise.
28673 [C99-based-standards] (PRId32): Likewise.
28674 [C99-based-standards] (PRIi32): Likewise.
28675 [C99-based-standards] (PRIo32): Likewise.
28676 [C99-based-standards] (PRIu32): Likewise.
28677 [C99-based-standards] (PRIx32): Likewise.
28678 [C99-based-standards] (PRIX32): Likewise.
28679 [C99-based-standards] (SCNd32): Likewise.
28680 [C99-based-standards] (SCNi32): Likewise.
28681 [C99-based-standards] (SCNo32): Likewise.
28682 [C99-based-standards] (SCNu32): Likewise.
28683 [C99-based-standards] (SCNx32): Likewise.
28684 [C99-based-standards] (PRIdLEAST32): Likewise.
28685 [C99-based-standards] (PRIiLEAST32): Likewise.
28686 [C99-based-standards] (PRIoLEAST32): Likewise.
28687 [C99-based-standards] (PRIuLEAST32): Likewise.
28688 [C99-based-standards] (PRIxLEAST32): Likewise.
28689 [C99-based-standards] (PRIXLEAST32): Likewise.
28690 [C99-based-standards] (SCNdLEAST32): Likewise.
28691 [C99-based-standards] (SCNiLEAST32): Likewise.
28692 [C99-based-standards] (SCNoLEAST32): Likewise.
28693 [C99-based-standards] (SCNuLEAST32): Likewise.
28694 [C99-based-standards] (SCNxLEAST32): Likewise.
28695 [C99-based-standards] (PRIdFAST32): Likewise.
28696 [C99-based-standards] (PRIiFAST32): Likewise.
28697 [C99-based-standards] (PRIoFAST32): Likewise.
28698 [C99-based-standards] (PRIuFAST32): Likewise.
28699 [C99-based-standards] (PRIxFAST32): Likewise.
28700 [C99-based-standards] (PRIXFAST32): Likewise.
28701 [C99-based-standards] (SCNdFAST32): Likewise.
28702 [C99-based-standards] (SCNiFAST32): Likewise.
28703 [C99-based-standards] (SCNoFAST32): Likewise.
28704 [C99-based-standards] (SCNuFAST32): Likewise.
28705 [C99-based-standards] (SCNxFAST32): Likewise.
28706 [C99-based-standards] (PRId64): Likewise.
28707 [C99-based-standards] (PRIi64): Likewise.
28708 [C99-based-standards] (PRIo64): Likewise.
28709 [C99-based-standards] (PRIu64): Likewise.
28710 [C99-based-standards] (PRIx64): Likewise.
28711 [C99-based-standards] (PRIX64): Likewise.
28712 [C99-based-standards] (SCNd64): Likewise.
28713 [C99-based-standards] (SCNi64): Likewise.
28714 [C99-based-standards] (SCNo64): Likewise.
28715 [C99-based-standards] (SCNu64): Likewise.
28716 [C99-based-standards] (SCNx64): Likewise.
28717 [C99-based-standards] (PRIdLEAST64): Likewise.
28718 [C99-based-standards] (PRIiLEAST64): Likewise.
28719 [C99-based-standards] (PRIoLEAST64): Likewise.
28720 [C99-based-standards] (PRIuLEAST64): Likewise.
28721 [C99-based-standards] (PRIxLEAST64): Likewise.
28722 [C99-based-standards] (PRIXLEAST64): Likewise.
28723 [C99-based-standards] (SCNdLEAST64): Likewise.
28724 [C99-based-standards] (SCNiLEAST64): Likewise.
28725 [C99-based-standards] (SCNoLEAST64): Likewise.
28726 [C99-based-standards] (SCNuLEAST64): Likewise.
28727 [C99-based-standards] (SCNxLEAST64): Likewise.
28728 [C99-based-standards] (PRIdFAST64): Likewise.
28729 [C99-based-standards] (PRIiFAST64): Likewise.
28730 [C99-based-standards] (PRIoFAST64): Likewise.
28731 [C99-based-standards] (PRIuFAST64): Likewise.
28732 [C99-based-standards] (PRIxFAST64): Likewise.
28733 [C99-based-standards] (PRIXFAST64): Likewise.
28734 [C99-based-standards] (SCNdFAST64): Likewise.
28735 [C99-based-standards] (SCNiFAST64): Likewise.
28736 [C99-based-standards] (SCNoFAST64): Likewise.
28737 [C99-based-standards] (SCNuFAST64): Likewise.
28738 [C99-based-standards] (SCNxFAST64): Likewise.
28739 [C99-based-standards] (PRIdMAX): Likewise.
28740 [C99-based-standards] (PRIiMAX): Likewise.
28741 [C99-based-standards] (PRIoMAX): Likewise.
28742 [C99-based-standards] (PRIuMAX): Likewise.
28743 [C99-based-standards] (PRIxMAX): Likewise.
28744 [C99-based-standards] (PRIXMAX): Likewise.
28745 [C99-based-standards] (SCNdMAX): Likewise.
28746 [C99-based-standards] (SCNiMAX): Likewise.
28747 [C99-based-standards] (SCNoMAX): Likewise.
28748 [C99-based-standards] (SCNuMAX): Likewise.
28749 [C99-based-standards] (SCNxMAX): Likewise.
28750 [C99-based-standards] (PRIdPTR): Likewise.
28751 [C99-based-standards] (PRIiPTR): Likewise.
28752 [C99-based-standards] (PRIoPTR): Likewise.
28753 [C99-based-standards] (PRIuPTR): Likewise.
28754 [C99-based-standards] (PRIxPTR): Likewise.
28755 [C99-based-standards] (PRIXPTR): Likewise.
28756 [C99-based-standards] (SCNdPTR): Likewise.
28757 [C99-based-standards] (SCNiPTR): Likewise.
28758 [C99-based-standards] (SCNoPTR): Likewise.
28759 [C99-based-standards] (SCNuPTR): Likewise.
28760 [C99-based-standards] (SCNxPTR): Likewise.
28761 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28762 allow.
28763 * conform/data/stdint.h-data: Update comments to clarify
28764 requirements.
28765 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28766 type.
28767 [C99-based standards] (INT8_MAX): Likewise.
28768 [C99-based standards] (INT16_MIN): Likewise.
28769 [C99-based standards] (INT16_MAX): Likewise.
28770 [C99-based standards] (INT32_MIN): Likewise.
28771 [C99-based standards] (INT32_MAX): Likewise.
28772 [C99-based standards] (INT64_MIN): Likewise.
28773 [C99-based standards] (INT64_MAX): Likewise.
28774 [C99-based standards] (UINT8_MAX): Likewise.
28775 [C99-based standards] (UINT16_MAX): Likewise.
28776 [C99-based standards] (UINT32_MAX): Likewise.
28777 [C99-based standards] (UINT64_MAX): Likewise.
28778 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28779 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28780 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28781 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28782 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28783 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28784 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28785 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28786 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28787 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28788 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28789 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28790 [C99-based standards] (INT_FAST8_MIN): Likewise.
28791 [C99-based standards] (INT_FAST8_MAX): Likewise.
28792 [C99-based standards] (INT_FAST16_MIN): Likewise.
28793 [C99-based standards] (INT_FAST16_MAX): Likewise.
28794 [C99-based standards] (INT_FAST32_MIN): Likewise.
28795 [C99-based standards] (INT_FAST32_MAX): Likewise.
28796 [C99-based standards] (INT_FAST64_MIN): Likewise.
28797 [C99-based standards] (INT_FAST64_MAX): Likewise.
28798 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28799 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28800 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28801 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28802 [C99-based standards] (INTPTR_MIN): Likewise.
28803 [C99-based standards] (INTPTR_MAX): Likewise.
28804 [C99-based standards] (UINTPTR_MAX): Likewise.
28805 [C99-based standards] (INTMAX_MIN): Likewise.
28806 [C99-based standards] (INTMAX_MAX): Likewise.
28807 [C99-based standards] (UINTMAX_MAX): Likewise.
28808 [C99-based standards] (PTRDIFF_MIN): Likewise.
28809 [C99-based standards] (PTRDIFF_MAX): Likewise.
28810 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28811 [C99-based standards] (SIZE_MAX): Likewise.
28812 [C99-based standards] (WCHAR_MAX): Likewise.
28813 [C99-based standards] (WINT_MAX): Likewise.
28814 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28815 constraint on value.
28816 [C99-based standards] (WCHAR_MIN): Likewise.
28817 [C99-based standards] (WINT_MIN): Likewise.
28818 [C99-based standards] (*_t): Allow.
28819 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28820 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28821 Include math.h-data and complex.h-data. Remove all expectations
28822 of math.h and complex.h contents.
28823 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28824 at end of line.
28825 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28826 (struct tm): Expect tag.
28827 [C99-based-standards] (wcstof): Expect function.
28828 [C99-based-standards] (wcstold): Likewise.
28829 [C99-based-standards] (wcstoll): Likewise.
28830 [C99-based-standards] (wcstoull): Likewise.
28831 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28832 macro-int-constant. Specify type.
28833 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28834 constraint on value.
28835 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28836 Specify type.
28837 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28838 Specify value.
28839 [ISO C standards]: Do not allow headers.
28840 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28841 wcs[abcdefghijklmnopqrstuvwxyz]*.
28842 [ISO C standards] (*_t): Do not allow.
28843 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28844 Expect function.
28845 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28846 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28847 Specify type.
28848 [ISO C standards]: Do not allow headers.
28849 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28850 is[abcdefghijklmnopqrstuvwxyz]*.
28851 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28852 to[abcdefghijklmnopqrstuvwxyz]*.
28853 [ISO C standards] (*_t): Do not allow.
28854 * conform/data/stdalign.h-data: New file.
28855 * conform/data/stdbool.h-data: Likewise.
28856 * conform/data/stdnoreturn.h-data: Likewise.
28857
7514feb8
RM
288582012-11-07 Roland McGrath <roland@hack.frob.com>
28859
28860 [BZ #14815]
28861 * manual/filesys.texi (Directory Entries): Typo fix.
28862 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28863
19b2ecfc
MS
288642012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28865
28866 * elf/elf.h (EM_AARCH64): New macro.
28867 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28868 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28869 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28870 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28871 (R_AARCH64_TLSDESC): Likewise.
28872 (NT_ARM_TLS): Likewise.
28873 (NT_ARM_HW_BREAK): Likewise.
28874 (NT_ARM_HW_WATCH): Likewise.
28875
60e235ee
JM
288762012-11-07 Joseph Myers <joseph@codesourcery.com>
28877
28878 [BZ #14811]
28879 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28880 (__ieee754_powl): Saturate nonzero exponents with absolute value
28881 below 0x1p-79 to +/- 0x1p-79.
28882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28883 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28884 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28885 nonzero exponents with absolute value below 0x1p-32 to +/-
28886 0x1p-32.
28887 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28888 (__ieee754_powl): Saturate nonzero exponents with absolute value
28889 below 0x1p-79 to +/- 0x1p-79.
28890 * math/libm-test.inc (pow_test): Add more tests.
28891
0ab234b7
AK
288922012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28893
28894 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28895 _dl_s390_cap_flags with kernel. Increase string length.
28896 (_dl_s390_platforms): Add z196 and zEC12.
28897
45832f74
JM
288982012-11-07 Joseph Myers <joseph@codesourcery.com>
28899
28900 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28901 Change XOPEN21K to XOPEN2K.
28902
19218757
MK
289032012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28904
28905 * string/memmove.c: Use memcpy when possible.
28906
c5f45721
AJ
289072012-11-06 Andreas Jaeger <aj@suse.de>
28908
28909 * po/eo.po: Update from translation team.
28910
82477c28
JM
289112012-11-06 Joseph Myers <joseph@codesourcery.com>
28912
28913 [BZ #14793]
28914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28915 exponent and small x and y exponents, scale x or y up. Increase
28916 by 2 the exponent used in scaling up.
28917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28919 * math/libm-test.inc (fma_test): Add more tests.
28920 (fma_test_towardzero): Likewise.
28921 (fma_test_downward): Likewise.
28922 (fma_test_upward): Likewise.
28923
99252c8c
JM
289242012-11-05 Joseph Myers <joseph@codesourcery.com>
28925
acfa885f
JM
28926 [BZ #14805]
28927 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28928 fenv_t *.
28929
99252c8c
JM
28930 [BZ #14801]
28931 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28932 namespace for names of struct fields.
28933 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28934 fenv_t fields.
28935 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28936 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28937
d6d98dea
ST
289382012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28939
28940 [BZ #3665]
28941 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28942
e10bb107
TS
289432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28944
28945 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28946 PTR_DEMANGLE.
28947
28948 [BZ #5246]
28949 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28950 PTR_DEMANGLE.
28951
a0c2940d
JM
289522012-11-04 Joseph Myers <joseph@codesourcery.com>
28953
28954 [BZ #14797]
28955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28956 definitely overflow as x * y not x * y + z.
28957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28959 * math/libm-test.inc (fma_test): Add more tests.
28960 (fma_test_towardzero): Likewise.
28961 (fma_test_downward): Likewise.
28962 (fma_test_upward): Likewise.
28963
b830319d
TS
289642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28965
28966 [BZ #157]
28967
28968 * include/stub-tag.h: Remove file.
28969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28970 '#include' of it.
28971 * manual/maint.texi (Porting): Don't reference it.
28972 * Makerules ($(objpfx)stubs): Likewise.
28973 * dirent/closedir.c: Don't include <stub-tag.h>.
28974 * dirent/dirfd.c: Likewise.
28975 * dirent/fdopendir.c: Likewise.
28976 * dirent/getdents.c: Likewise.
28977 * dirent/getdents64.c: Likewise.
28978 * dirent/opendir.c: Likewise.
28979 * dirent/readdir.c: Likewise.
28980 * dirent/readdir64.c: Likewise.
28981 * dirent/readdir64_r.c: Likewise.
28982 * dirent/readdir_r.c: Likewise.
28983 * dirent/rewinddir.c: Likewise.
28984 * dirent/seekdir.c: Likewise.
28985 * dirent/telldir.c: Likewise.
28986 * gmon/profil.c: Likewise.
28987 * grp/setgroups.c: Likewise.
28988 * inet/if_index.c: Likewise.
28989 * io/access.c: Likewise.
28990 * io/chdir.c: Likewise.
28991 * io/chmod.c: Likewise.
28992 * io/chown.c: Likewise.
28993 * io/close.c: Likewise.
28994 * io/dup.c: Likewise.
28995 * io/dup2.c: Likewise.
28996 * io/dup3.c: Likewise.
28997 * io/euidaccess.c: Likewise.
28998 * io/faccessat.c: Likewise.
28999 * io/fchdir.c: Likewise.
29000 * io/fchmod.c: Likewise.
29001 * io/fchmodat.c: Likewise.
29002 * io/fchown.c: Likewise.
29003 * io/fchownat.c: Likewise.
29004 * io/fcntl.c: Likewise.
29005 * io/flock.c: Likewise.
29006 * io/fstatfs.c: Likewise.
29007 * io/fstatfs64.c: Likewise.
29008 * io/fstatvfs.c: Likewise.
29009 * io/fstatvfs64.c: Likewise.
29010 * io/futimens.c: Likewise.
29011 * io/fxstat.c: Likewise.
29012 * io/fxstat64.c: Likewise.
29013 * io/fxstatat.c: Likewise.
29014 * io/fxstatat64.c: Likewise.
29015 * io/getcwd.c: Likewise.
29016 * io/isatty.c: Likewise.
29017 * io/lchmod.c: Likewise.
29018 * io/lchown.c: Likewise.
29019 * io/link.c: Likewise.
29020 * io/linkat.c: Likewise.
29021 * io/lseek.c: Likewise.
29022 * io/lseek64.c: Likewise.
29023 * io/lxstat64.c: Likewise.
29024 * io/mkdir.c: Likewise.
29025 * io/mkdirat.c: Likewise.
29026 * io/mkfifo.c: Likewise.
29027 * io/mkfifoat.c: Likewise.
29028 * io/open.c: Likewise.
29029 * io/open64.c: Likewise.
29030 * io/openat.c: Likewise.
29031 * io/openat64.c: Likewise.
29032 * io/pipe.c: Likewise.
29033 * io/pipe2.c: Likewise.
29034 * io/poll.c: Likewise.
29035 * io/posix_fadvise.c: Likewise.
29036 * io/posix_fadvise64.c: Likewise.
29037 * io/posix_fallocate.c: Likewise.
29038 * io/posix_fallocate64.c: Likewise.
29039 * io/read.c: Likewise.
29040 * io/readlink.c: Likewise.
29041 * io/readlinkat.c: Likewise.
29042 * io/rmdir.c: Likewise.
29043 * io/sendfile.c: Likewise.
29044 * io/sendfile64.c: Likewise.
29045 * io/statfs.c: Likewise.
29046 * io/statfs64.c: Likewise.
29047 * io/statvfs.c: Likewise.
29048 * io/statvfs64.c: Likewise.
29049 * io/symlink.c: Likewise.
29050 * io/symlinkat.c: Likewise.
29051 * io/ttyname.c: Likewise.
29052 * io/ttyname_r.c: Likewise.
29053 * io/umask.c: Likewise.
29054 * io/unlink.c: Likewise.
29055 * io/unlinkat.c: Likewise.
29056 * io/utime.c: Likewise.
29057 * io/utimensat.c: Likewise.
29058 * io/write.c: Likewise.
29059 * io/xmknod.c: Likewise.
29060 * io/xmknodat.c: Likewise.
29061 * io/xstat.c: Likewise.
29062 * io/xstat64.c: Likewise.
29063 * login/getpt.c: Likewise.
29064 * login/grantpt.c: Likewise.
29065 * login/unlockpt.c: Likewise.
29066 * math/e_acoshl.c: Likewise.
29067 * math/e_acosl.c: Likewise.
29068 * math/e_asinl.c: Likewise.
29069 * math/e_atan2l.c: Likewise.
29070 * math/e_atanhl.c: Likewise.
29071 * math/e_coshl.c: Likewise.
29072 * math/e_expl.c: Likewise.
29073 * math/e_fmodl.c: Likewise.
29074 * math/e_gammal_r.c: Likewise.
29075 * math/e_hypotl.c: Likewise.
29076 * math/e_j0l.c: Likewise.
29077 * math/e_j1l.c: Likewise.
29078 * math/e_jnl.c: Likewise.
29079 * math/e_lgammal_r.c: Likewise.
29080 * math/e_log10l.c: Likewise.
29081 * math/e_log2l.c: Likewise.
29082 * math/e_logl.c: Likewise.
29083 * math/e_powl.c: Likewise.
29084 * math/e_rem_pio2l.c: Likewise.
29085 * math/e_sinhl.c: Likewise.
29086 * math/e_sqrtl.c: Likewise.
29087 * math/fclrexcpt.c: Likewise.
29088 * math/fedisblxcpt.c: Likewise.
29089 * math/feenablxcpt.c: Likewise.
29090 * math/fegetenv.c: Likewise.
29091 * math/fegetexcept.c: Likewise.
29092 * math/fegetround.c: Likewise.
29093 * math/feholdexcpt.c: Likewise.
29094 * math/fesetenv.c: Likewise.
29095 * math/fesetround.c: Likewise.
29096 * math/feupdateenv.c: Likewise.
29097 * math/fgetexcptflg.c: Likewise.
29098 * math/fraiseexcpt.c: Likewise.
29099 * math/fsetexcptflg.c: Likewise.
29100 * math/ftestexcept.c: Likewise.
29101 * math/k_cosl.c: Likewise.
29102 * math/k_rem_pio2l.c: Likewise.
29103 * math/k_sinl.c: Likewise.
29104 * math/k_tanl.c: Likewise.
29105 * math/s_asinhl.c: Likewise.
29106 * math/s_atanl.c: Likewise.
29107 * math/s_cbrtl.c: Likewise.
29108 * math/s_erfl.c: Likewise.
29109 * math/s_expm1l.c: Likewise.
29110 * math/s_log1pl.c: Likewise.
29111 * math/s_tanhl.c: Likewise.
29112 * misc/acct.c: Likewise.
29113 * misc/brk.c: Likewise.
29114 * misc/chflags.c: Likewise.
29115 * misc/chroot.c: Likewise.
29116 * misc/fchflags.c: Likewise.
29117 * misc/fgetxattr.c: Likewise.
29118 * misc/flistxattr.c: Likewise.
29119 * misc/fremovexattr.c: Likewise.
29120 * misc/fsetxattr.c: Likewise.
29121 * misc/fsync.c: Likewise.
29122 * misc/ftruncate.c: Likewise.
29123 * misc/futimes.c: Likewise.
29124 * misc/futimesat.c: Likewise.
29125 * misc/getdomain.c: Likewise.
29126 * misc/getdtsz.c: Likewise.
29127 * misc/gethostid.c: Likewise.
29128 * misc/gethostname.c: Likewise.
29129 * misc/getloadavg.c: Likewise.
29130 * misc/getpagesize.c: Likewise.
29131 * misc/getsysstats.c: Likewise.
29132 * misc/getxattr.c: Likewise.
29133 * misc/gtty.c: Likewise.
29134 * misc/ioctl.c: Likewise.
29135 * misc/lgetxattr.c: Likewise.
29136 * misc/listxattr.c: Likewise.
29137 * misc/llistxattr.c: Likewise.
29138 * misc/lremovexattr.c: Likewise.
29139 * misc/lsetxattr.c: Likewise.
29140 * misc/lutimes.c: Likewise.
29141 * misc/madvise.c: Likewise.
29142 * misc/mincore.c: Likewise.
29143 * misc/mlock.c: Likewise.
29144 * misc/mlockall.c: Likewise.
29145 * misc/mmap.c: Likewise.
29146 * misc/mprotect.c: Likewise.
29147 * misc/msync.c: Likewise.
29148 * misc/munlock.c: Likewise.
29149 * misc/munlockall.c: Likewise.
29150 * misc/munmap.c: Likewise.
29151 * misc/preadv.c: Likewise.
29152 * misc/preadv64.c: Likewise.
29153 * misc/ptrace.c: Likewise.
29154 * misc/pwritev.c: Likewise.
29155 * misc/pwritev64.c: Likewise.
29156 * misc/readv.c: Likewise.
29157 * misc/reboot.c: Likewise.
29158 * misc/remap_file_pages.c: Likewise.
29159 * misc/removexattr.c: Likewise.
29160 * misc/revoke.c: Likewise.
29161 * misc/select.c: Likewise.
29162 * misc/setdomain.c: Likewise.
29163 * misc/setegid.c: Likewise.
29164 * misc/seteuid.c: Likewise.
29165 * misc/sethostid.c: Likewise.
29166 * misc/sethostname.c: Likewise.
29167 * misc/setregid.c: Likewise.
29168 * misc/setreuid.c: Likewise.
29169 * misc/setxattr.c: Likewise.
29170 * misc/sstk.c: Likewise.
29171 * misc/stty.c: Likewise.
29172 * misc/swapoff.c: Likewise.
29173 * misc/swapon.c: Likewise.
29174 * misc/sync.c: Likewise.
29175 * misc/syncfs.c: Likewise.
29176 * misc/syscall.c: Likewise.
29177 * misc/truncate.c: Likewise.
29178 * misc/ualarm.c: Likewise.
29179 * misc/usleep.c: Likewise.
29180 * misc/ustat.c: Likewise.
29181 * misc/utimes.c: Likewise.
29182 * misc/vhangup.c: Likewise.
29183 * misc/writev.c: Likewise.
29184 * posix/_exit.c: Likewise.
29185 * posix/alarm.c: Likewise.
29186 * posix/execve.c: Likewise.
29187 * posix/fexecve.c: Likewise.
29188 * posix/fork.c: Likewise.
29189 * posix/fpathconf.c: Likewise.
29190 * posix/getaddrinfo.c: Likewise.
29191 * posix/getegid.c: Likewise.
29192 * posix/geteuid.c: Likewise.
29193 * posix/getgid.c: Likewise.
29194 * posix/getgroups.c: Likewise.
29195 * posix/getlogin.c: Likewise.
29196 * posix/getlogin_r.c: Likewise.
29197 * posix/getpgid.c: Likewise.
29198 * posix/getpid.c: Likewise.
29199 * posix/getppid.c: Likewise.
29200 * posix/getresgid.c: Likewise.
29201 * posix/getresuid.c: Likewise.
29202 * posix/getsid.c: Likewise.
29203 * posix/getuid.c: Likewise.
29204 * posix/glob64.c: Likewise.
29205 * posix/nanosleep.c: Likewise.
29206 * posix/pathconf.c: Likewise.
29207 * posix/pause.c: Likewise.
29208 * posix/posix_madvise.c: Likewise.
29209 * posix/pread.c: Likewise.
29210 * posix/pread64.c: Likewise.
29211 * posix/pwrite.c: Likewise.
29212 * posix/pwrite64.c: Likewise.
29213 * posix/sched_getaffinity.c: Likewise.
29214 * posix/sched_getp.c: Likewise.
29215 * posix/sched_gets.c: Likewise.
29216 * posix/sched_primax.c: Likewise.
29217 * posix/sched_primin.c: Likewise.
29218 * posix/sched_rr_gi.c: Likewise.
29219 * posix/sched_setaffinity.c: Likewise.
29220 * posix/sched_setp.c: Likewise.
29221 * posix/sched_sets.c: Likewise.
29222 * posix/sched_yield.c: Likewise.
29223 * posix/setgid.c: Likewise.
29224 * posix/setlogin.c: Likewise.
29225 * posix/setpgid.c: Likewise.
29226 * posix/setresgid.c: Likewise.
29227 * posix/setresuid.c: Likewise.
29228 * posix/setsid.c: Likewise.
29229 * posix/setuid.c: Likewise.
29230 * posix/sleep.c: Likewise.
29231 * posix/spawni.c: Likewise.
29232 * posix/sysconf.c: Likewise.
29233 * posix/times.c: Likewise.
29234 * posix/wait.c: Likewise.
29235 * posix/wait3.c: Likewise.
29236 * posix/wait4.c: Likewise.
29237 * posix/waitpid.c: Likewise.
29238 * resolv/gai_sigqueue.c: Likewise.
29239 * resource/getpriority.c: Likewise.
29240 * resource/getrlimit.c: Likewise.
29241 * resource/getrusage.c: Likewise.
29242 * resource/nice.c: Likewise.
29243 * resource/setpriority.c: Likewise.
29244 * resource/setrlimit.c: Likewise.
29245 * resource/ulimit.c: Likewise.
29246 * rt/aio_cancel.c: Likewise.
29247 * rt/aio_fsync.c: Likewise.
29248 * rt/aio_read.c: Likewise.
29249 * rt/aio_sigqueue.c: Likewise.
29250 * rt/aio_suspend.c: Likewise.
29251 * rt/aio_write.c: Likewise.
29252 * rt/clock_getres.c: Likewise.
29253 * rt/clock_gettime.c: Likewise.
29254 * rt/clock_nanosleep.c: Likewise.
29255 * rt/clock_settime.c: Likewise.
29256 * rt/lio_listio.c: Likewise.
29257 * rt/mq_close.c: Likewise.
29258 * rt/mq_getattr.c: Likewise.
29259 * rt/mq_notify.c: Likewise.
29260 * rt/mq_open.c: Likewise.
29261 * rt/mq_receive.c: Likewise.
29262 * rt/mq_send.c: Likewise.
29263 * rt/mq_setattr.c: Likewise.
29264 * rt/mq_timedreceive.c: Likewise.
29265 * rt/mq_timedsend.c: Likewise.
29266 * rt/mq_unlink.c: Likewise.
29267 * rt/shm_open.c: Likewise.
29268 * rt/shm_unlink.c: Likewise.
29269 * rt/timer_create.c: Likewise.
29270 * rt/timer_delete.c: Likewise.
29271 * rt/timer_getoverr.c: Likewise.
29272 * rt/timer_gettime.c: Likewise.
29273 * rt/timer_settime.c: Likewise.
29274 * setjmp/__longjmp.c: Likewise.
29275 * setjmp/setjmp.c: Likewise.
29276 * signal/kill.c: Likewise.
29277 * signal/killpg.c: Likewise.
29278 * signal/raise.c: Likewise.
29279 * signal/sigaction.c: Likewise.
29280 * signal/sigaltstack.c: Likewise.
29281 * signal/sigblock.c: Likewise.
29282 * signal/sigignore.c: Likewise.
29283 * signal/sigintr.c: Likewise.
29284 * signal/signal.c: Likewise.
29285 * signal/sigpause.c: Likewise.
29286 * signal/sigpending.c: Likewise.
29287 * signal/sigqueue.c: Likewise.
29288 * signal/sigreturn.c: Likewise.
29289 * signal/sigset.c: Likewise.
29290 * signal/sigsetmask.c: Likewise.
29291 * signal/sigstack.c: Likewise.
29292 * signal/sigsuspend.c: Likewise.
29293 * signal/sigtimedwait.c: Likewise.
29294 * signal/sigvec.c: Likewise.
29295 * signal/sigwait.c: Likewise.
29296 * signal/sigwaitinfo.c: Likewise.
29297 * signal/sysv_signal.c: Likewise.
29298 * socket/accept.c: Likewise.
29299 * socket/accept4.c: Likewise.
29300 * socket/bind.c: Likewise.
29301 * socket/connect.c: Likewise.
29302 * socket/getpeername.c: Likewise.
29303 * socket/getsockname.c: Likewise.
29304 * socket/getsockopt.c: Likewise.
29305 * socket/isfdtype.c: Likewise.
29306 * socket/listen.c: Likewise.
29307 * socket/recv.c: Likewise.
29308 * socket/recvfrom.c: Likewise.
29309 * socket/recvmsg.c: Likewise.
29310 * socket/send.c: Likewise.
29311 * socket/sendmsg.c: Likewise.
29312 * socket/sendto.c: Likewise.
29313 * socket/setsockopt.c: Likewise.
29314 * socket/shutdown.c: Likewise.
29315 * socket/sockatmark.c: Likewise.
29316 * socket/socket.c: Likewise.
29317 * socket/socketpair.c: Likewise.
29318 * stdio-common/ctermid.c: Likewise.
29319 * stdio-common/cuserid.c: Likewise.
29320 * stdio-common/remove.c: Likewise.
29321 * stdio-common/rename.c: Likewise.
29322 * stdio-common/renameat.c: Likewise.
29323 * stdio-common/tempname.c: Likewise.
29324 * stdlib/getcontext.c: Likewise.
29325 * stdlib/makecontext.c: Likewise.
29326 * stdlib/setcontext.c: Likewise.
29327 * stdlib/swapcontext.c: Likewise.
29328 * stdlib/system.c: Likewise.
29329 * streams/fattach.c: Likewise.
29330 * streams/fdetach.c: Likewise.
29331 * streams/getmsg.c: Likewise.
29332 * streams/getpmsg.c: Likewise.
29333 * streams/putmsg.c: Likewise.
29334 * streams/putpmsg.c: Likewise.
29335 * sysdeps/unix/bsd/getpt.c: Likewise.
29336 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29337 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29338 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29340 Likewise.
29341 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29342 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29343 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29344 * sysvipc/msgctl.c: Likewise.
29345 * sysvipc/msgget.c: Likewise.
29346 * sysvipc/msgrcv.c: Likewise.
29347 * sysvipc/msgsnd.c: Likewise.
29348 * sysvipc/semctl.c: Likewise.
29349 * sysvipc/semget.c: Likewise.
29350 * sysvipc/semop.c: Likewise.
29351 * sysvipc/semtimedop.c: Likewise.
29352 * sysvipc/shmat.c: Likewise.
29353 * sysvipc/shmctl.c: Likewise.
29354 * sysvipc/shmdt.c: Likewise.
29355 * sysvipc/shmget.c: Likewise.
29356 * termios/tcdrain.c: Likewise.
29357 * termios/tcflow.c: Likewise.
29358 * termios/tcflush.c: Likewise.
29359 * termios/tcgetattr.c: Likewise.
29360 * termios/tcgetpgrp.c: Likewise.
29361 * termios/tcsendbrk.c: Likewise.
29362 * termios/tcsetattr.c: Likewise.
29363 * termios/tcsetpgrp.c: Likewise.
29364 * time/adjtime.c: Likewise.
29365 * time/clock.c: Likewise.
29366 * time/getitimer.c: Likewise.
29367 * time/gettimeofday.c: Likewise.
29368 * time/setitimer.c: Likewise.
29369 * time/settimeofday.c: Likewise.
29370 * time/stime.c: Likewise.
29371 * time/time.c: Likewise.
29372
293732012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29374
a20492cf
PT
29375 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29376 /usr/old/bin.
29377
72e182e3
PT
29378 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29379 instead of spaces.
29380 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29381
fbeafede
JM
293822012-11-03 Joseph Myers <joseph@codesourcery.com>
29383
5b5b04d6
JM
29384 [BZ #14796]
29385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29386 FE_TONEAREST before applying Dekker multiplication and Knuth
29387 addition. Clear inexact exceptions and check for exact zero
29388 results afterwards.
29389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29390 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29392 * math/libm-test.inc (fma_test): Add more tests.
29393 (fma_test_towardzero): Likewise.
29394 (fma_test_downward): Likewise.
29395 (fma_test_upward): Likewise.
29396 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29397 function.
29398 (libc_fesetround): New macro.
29399 (libc_fesetroundf): Likewise.
29400 (libc_fesetroundl): Likewise.
29401 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29402 function.
29403 (libc_fesetround_387): Likewise.
29404 (libc_fesetroundf): New macro.
29405 (libc_fesetround): Likewise.
29406 (libc_fesetroundl): Likewise.
29407 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29408 function.
29409 (libc_fesetroundf): New macro.
29410 (libc_fesetround): Likewise.
29411 (libc_fesetroundl): Likewise.
29412 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29413 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29414 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29415 libm_hidden_ver.
29416 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29417 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29418 libm_hidden_def.
29419 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29420 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29421 libm_hidden_ver.
29422 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29423 libm_hidden_def.
29424
fbeafede
JM
29425 [BZ #3439]
29426 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29427 integer constant usable in #if and use that to give value to enum
29428 constant.
29429 (FE_DIVBYZERO): Likewise.
29430 (FE_UNDERFLOW): Likewise.
29431 (FE_OVERFLOW): Likewise.
29432 (FE_INVALID): Likewise.
29433 (FE_INVALID_SNAN): Likewise.
29434 (FE_INVALID_ISI): Likewise.
29435 (FE_INVALID_IDI): Likewise.
29436 (FE_INVALID_ZDZ): Likewise.
29437 (FE_INVALID_IMZ): Likewise.
29438 (FE_INVALID_COMPARE): Likewise.
29439 (FE_INVALID_SOFTWARE): Likewise.
29440 (FE_INVALID_SQRT): Likewise.
29441 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29442 (FE_TONEAREST): Likewise.
29443 (FE_TOWARDZERO): Likewise.
29444 (FE_UPWARD): Likewise.
29445 (FE_DOWNWARD): Likewise.
29446 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29447 (FE_DIVBYZERO): Likewise.
29448 (FE_OVERFLOW): Likewise.
29449 (FE_UNDERFLOW): Likewise.
29450 (FE_INEXACT): Likewise.
29451 (FE_TONEAREST): Likewise.
29452 (FE_DOWNWARD): Likewise.
29453 (FE_UPWARD): Likewise.
29454 (FE_TOWARDZERO): Likewise.
29455 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29456 (FE_UNDERFLOW): Likewise.
29457 (FE_OVERFLOW): Likewise.
29458 (FE_DIVBYZERO): Likewise.
29459 (FE_INVALID): Likewise.
29460 (FE_TONEAREST): Likewise.
29461 (FE_TOWARDZERO): Likewise.
29462 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29463 (FE_OVERFLOW): Likewise.
29464 (FE_UNDERFLOW): Likewise.
29465 (FE_DIVBYZERO): Likewise.
29466 (FE_INEXACT): Likewise.
29467 (FE_TONEAREST): Likewise.
29468 (FE_TOWARDZERO): Likewise.
29469 (FE_UPWARD): Likewise.
29470 (FE_DOWNWARD): Likewise.
29471 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29472 (FE_DIVBYZERO): Likewise.
29473 (FE_OVERFLOW): Likewise.
29474 (FE_UNDERFLOW): Likewise.
29475 (FE_INEXACT): Likewise.
29476 (FE_TONEAREST): Likewise.
29477 (FE_DOWNWARD): Likewise.
29478 (FE_UPWARD): Likewise.
29479 (FE_TOWARDZERO): Likewise.
29480
105ca950
CM
294812012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29482
29483 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29484
a542b389
AS
294852012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29486
29487 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29488 commands. Quote $PWD.
29489 (blacklist_exports): Don't use remove_newlines. Replace "declare
29490 -x" by "export".
29491 (remove_newlines): Remove.
29492
f62c8abc
L
294932012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29494
29495 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29496 * stdlib/stdlib.h (atof): Moved to ...
29497 * include/bits/stdlib-float.h: Here. New file.
29498 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29499 * stdlib/bits/stdlib-float.h: New file.
29500 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29501 -mno-sse -mno-mmx.
29502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29503 <xmmintrin.h>.
29504
0155d5b2
JM
295052012-11-02 Joseph Myers <joseph@codesourcery.com>
29506
a68d0680
JM
29507 * conform/conformtest.pl (@headers): Add fenv.h.
29508 * conform/data/fenv.h-data: New file.
29509 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29510 include of <math/fenv.h>.
29511
caf7f573
JM
29512 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29513 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29514 && !UNIX98]. Enables tests for XOPEN2K8.
29515 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29516 POSIX2008]: Likewise.
29517
6c073ad6
JM
29518 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29519 (struct rusage): Do not expect type or its members.
29520
0155d5b2
JM
29521 [BZ #3439]
29522 * math/math.h (FP_NAN): Define macro to integer constant usable in
29523 #if and use that to give value to enum constant.
29524 (FP_INFINITE): Likewise.
29525 (FP_ZERO): Likewise.
29526 (FP_SUBNORMAL): Likewise.
29527 (FP_NORMAL): Likewise.
29528
b5dcacb4
AS
295292012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29530
29531 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29532 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29533 arguments.
29534
f7934be8
RM
295352012-11-02 Roland McGrath <roland@hack.frob.com>
29536
29537 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29538 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29539 autoconf-time if not.
29540 * configure.in: Remove AC_PREREQ.
29541
d7d08bde
TMQMF
295422012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29543
29544 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29545 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29546 of the internal implementation.
29547
dcdae19a
JM
295482012-11-02 Joseph Myers <joseph@codesourcery.com>
29549
29550 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29551 except include of <misc/sys/syslog.h>.
29552
d6cffd3e
AS
295532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29554
29555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29556 function returns with a NULL context exit with zero.
29557
b3563932
TMQMF
295582012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29559
29560 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29561
b288a93d
L
295622012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29563
29564 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29565 (run_program_cmd): This.
29566 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29567 (tst_langinfo): New variable. Use it.
29568
a2421a68
SAS
295692012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29570
29571 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29572 floating point opcodes.
29573
6f796e1b
TS
295742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29575
7402596b
TS
29576 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29577 variable.
29578
d0d4f868
TS
29579 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29580
6f796e1b
TS
29581 * sysdeps/mach/hurd/powerpc: Remove directory.
29582 * sysdeps/mach/powerpc: Likewise.
29583
4da224a2
AS
295842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29585
29586 * scripts/check-local-headers.sh: Ignore c++ headers.
29587
341dd673
TS
295882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29589
29590 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29591 __libc_cleanup_region_start argument.
29592
473611b2
JM
295932012-11-01 Joseph Myers <joseph@codesourcery.com>
29594
29595 [BZ #14784]
29596 [BZ #14785]
29597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29598 x * y using scaling, not as x * y + z.
29599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29601 * math/libm-test.inc (fma_test): Add more tests.
29602 (fma_test_towardzero): Likewise.
29603 (fma_test_downward): Likewise.
29604 (fma_test_upward): Likewise.
29605
4078da3d
TS
296062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29607
29608 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29609
903252aa
JM
296102012-10-31 Joseph Myers <joseph@codesourcery.com>
29611
29612 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29613 New variable.
29614
cbc818d0
TS
296152012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29616
29617 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29618
5a03cb1e
AS
296192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29620
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29622 Fix sort order.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29624 Likewise.
29625
90aff2ff
TMQMF
296262012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29627
29628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29629 Fix the order of the list for glibc 2.17.
29630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29631 Likewise.
29632
1818fcb7
AS
296332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29634
29635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29636
ef82f4da
JM
296372012-10-31 Joseph Myers <joseph@codesourcery.com>
29638
16a0e2ec
JM
29639 [BZ #14610]
29640 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29641 for low part of x being zero before using __atanl (y).
29642 * math/libm-test.inc (atan2_test): Add another test.
29643
0eb69512
JM
29644 * manual/install.texi (Configuring and compiling): Document
29645 general use of test-wrapper and test-wrapper-env.
29646 * INSTALL: Regenerated.
29647
ef82f4da
JM
29648 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29649 (__fma): Do not extract and scale down low bits on after-rounding
29650 systems when result rounded to normal precision would have normal
29651 exponent.
29652 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29653 (__fmal): Do not extract and scale down low bits on after-rounding
29654 systems when result rounded to normal precision would have normal
29655 exponent.
29656 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29657 (__fmal): Do not extract and scale down low bits on after-rounding
29658 systems when result rounded to normal precision would have normal
29659 exponent.
29660 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29661 macro.
29662 (fma_test): Add more tests.
29663 (fma_test_towardzero): Likewise.
29664 (fma_test_downward): Likewise.
29665 (fma_test_upward): Likewise.
29666
954ef0d9
L
296672012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29668
29669 * sysdeps/i386/tininess.h: Renamed to ...
29670 * sysdeps/x86/tininess.h: This.
29671 * sysdeps/x86_64/tininess.h: Removed.
29672
df61ffb2
JM
296732012-10-30 Joseph Myers <joseph@codesourcery.com>
29674
29675 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29676 input. Use $(build-program-cmd).
29677 ($(objpfx)tst-array1-static.out): Likewise.
29678 ($(objpfx)tst-array2.out): Likewise.
29679 ($(objpfx)tst-array3.out): Likewise.
29680 ($(objpfx)tst-array4.out): Likewise.
29681 ($(objpfx)tst-array5.out): Likewise.
29682 ($(objpfx)tst-array5-static.out): Likewise.
29683
01767843
CM
296842012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29685
47cc1490
CM
29686 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29687 if defined.
29688
01767843
CM
29689 * nss/nsswitch.h (nss_interface_function): Provide new
29690 macro for use with NSS functions.
29691 * grp/initgroups.c: Use new macro.
29692 * nss/getXXbyYY.c: Likewise.
29693 * nss/getXXbyYY_r.c: Likewise.
29694 * nss/getXXent.c: Likewise.
29695 * nss/getXXent_r.c: Likewise.
29696 * sysdeps/posix/getaddrinfo.c: Likewise.
29697
8321aa97
AJ
296982012-10-30 Andreas Jaeger <aj@suse.de>
29699
29700 * po/ru.po: Update Russion translation from translation project.
29701
2a27fd6d
JM
297022012-10-30 Joseph Myers <joseph@codesourcery.com>
29703
8627a232
JM
29704 [BZ #14152]
29705 [BZ #14783]
29706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29707 result and shift together with sticky bit instead of replicating
29708 round-to-nearest rounding.
29709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29710 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29711 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29712 missing underflow exceptions.
29713 (fma_test_towardzero): Add more tests.
29714 (fma_test_downward): Likewise.
29715 (fma_test_upward): Likewise.
29716
2a27fd6d
JM
29717 [BZ #14047]
29718 * sysdeps/generic/tininess.h: New file.
29719 * sysdeps/i386/tininess.h: Likewise.
29720 * sysdeps/sh/tininess.h: Likewise.
29721 * sysdeps/x86_64/tininess.h: Likewise.
29722 * stdlib/tst-strtod-underflow.c: Likewise.
29723 * stdlib/tst-tininess.c: Likewise.
29724 * stdlib/strtod_l.c: Include <tininess.h>.
29725 (round_and_return): Do not set errno for exact underflow cases.
29726 Force an underflow exception when setting errno for underflow.
29727 Determine underflow based on rounding to normal precision if
29728 TININESS_AFTER_ROUNDING.
29729 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29730 ERANGE for exact underflow cases.
29731 * stdlib/Makefile (tests): Add tst-tininess and
29732 tst-strtod-underflow.
29733 ($(objpfx)tst-tininess): Use $(link-libm).
29734 ($(objpfx)tst-strtod-underflow): Likewise.
29735
e7170363
AJ
297362012-10-30 Andreas Jaeger <aj@suse.de>
29737
e5088dc6
AJ
29738 [BZ#14767]
29739 * elf/Makefile (tests): Remove conditional for have-initfini-array
29740 since this is now always required and the variable does not exist
29741 anymore.
29742 (tests-static): Likewise.
29743 (modules-names): Likewise.
29744
e7170363 29745 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
29746
29747 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29748 merged with constructor/destructor.
29749 (init_array): Likewise.
29750 * elf/tst-array2dep.c (fini_array): Likewise.
29751 (init_array): Likewise.
29752
60457d8a
MF
297532012-10-29 Mike Frysinger <vapier@gentoo.org>
29754
29755 * manual/message.texi: Delete @cartouche tags.
29756
8bece752
PT
297572012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29758
94ce799f
PT
29759 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29760 EOPNOTSUPP.
29761 * sysdeps/mach/hurd/fsync.c: Likewise.
29762
8bece752
PT
29763 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29764 [_POSIX_REALTIME_SIGNALS]: Change condition to
29765 [_POSIX_REALTIME_SIGNALS > 0].
29766
86ebe6b1
AJ
297672012-10-27 Andreas Jaeger <aj@suse.de>
29768
29769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29770 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29772 [__WORDSIZE != 64]: Likewise.
29773
54399c08
L
297742012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29775
29776 * iconvdata/tst-table.sh: Remove ${SHELL}.
29777 * iconvdata/tst-tables.sh: Likewise.
29778
e2211bed
DM
297792012-10-25 David S. Miller <davem@davemloft.net>
29780
29781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29782 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29783 of strtoull.
29784
f303f97c
DM
29785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29786 ifunc-impl-list.c
29787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29788 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29789 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29790 file.
29791
1e9d84cd
RM
297922012-10-25 Roland McGrath <roland@hack.frob.com>
29793
29794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29795 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29796 __getdirentries.
29797
df381762
JM
297982012-10-25 Joseph Myers <joseph@codesourcery.com>
29799 Jim Blandy <jimb@codesourcery.com>
29800
29801 * scripts/cross-test-ssh.sh: New file.
29802 * manual/install.texi (Configuring and compiling): Document use of
29803 cross-test-ssh.sh.
29804 * INSTALL: Regenerated.
29805
bff64913
PT
298062012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29807
29808 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29809 EOPNOTSUPP.
29810
25fe8932
JM
298112012-10-25 Joseph Myers <joseph@codesourcery.com>
29812
29813 * Makeconfig (run-program-prefix): Fix comment.
29814
cc1290d0
JM
298152012-10-24 Joseph Myers <joseph@codesourcery.com>
29816 Jim Blandy <jimb@codesourcery.com>
29817
29818 * Makeconfig (test-wrapper): New variable,
29819 (test-wrapper-env): Likewise.
29820 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29821 (run-built-tests): Define to yes.
29822 (run-program-prefix): Use $(test-wrapper).
29823 (built-program-cmd): Likewise.
29824 * Rules (make-test-out): Use $(test-wrapper-env) and
29825 $(host-built-program-cmd).
29826 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29827 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29828 tst-pathopt.sh.
29829 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29830 $(test-wrapper-env) to tst-rtld-load-self.sh.
29831 ($(objpfx)order2.out): Use $(test-wrapper).
29832 ($(objpfx)tst-initorder.out): Likewise.
29833 ($(objpfx)tst-initorder2.out): Likewise.
29834 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29835 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29836 (test_wrapper_env): New variable. Use it to run ld.so.
29837 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29838 Use it to run ld.so.
29839 (test_wrapper_env): Likewise.
29840 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29841 $(test-wrapper) to run-iconv-test.sh.
29842 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29843 (ICONV): Use $test_wrapper.
29844 * posix/Makefile ($(objpfx)globtest.out): Pass
29845 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29846 globtest.sh, not $(run-program-prefix).
29847 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29848 (test_wrapper): Likewise.
29849 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29850 set together with run_via_rtld_prefix.
29851 (run_program_prefix): Define in terms of test_wrapper and
29852 run_via_rtld_prefix.
29853
6e6249d0
RM
298542012-10-24 Roland McGrath <roland@hack.frob.com>
29855
29856 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29857 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29858 Targets removed.
29859
29860 [BZ #14743]
29861 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29862 Declare __clock_getres, __clock_gettime, __clock_settime,
29863 __clock_nanosleep, and __clock_getcpuclockid.
29864 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29865 Remove librt_hidden_def (clock_gettime).
29866 * sysdeps/unix/clock_gettime.c: Likewise.
29867 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29868 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29869 * rt/clock_getres.c: Define __clock_getres as an alias.
29870 * sysdeps/posix/clock_getres.c: Likewise.
29871 * rt/clock_settime.c: Define __clock_settime as an alias.
29872 * sysdeps/unix/clock_settime.c: Likewise.
29873 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29874 * sysdeps/unix/clock_nanosleep.c: Likewise.
29875 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29876 * rt/clock-compat.c: New file.
29877 * rt/Makefile (librt-routines): Add clock-compat and move
29878 $(clock-routines) to ...
29879 (routines): ... here, new variable.
29880 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29881 Don't add get_clockfreq here.
29882 * rt/Versions (libc: GLIBC_2.17): New version set.
29883 Add clock_* symbols here.
29884 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29885 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29886 (GLIBC_2.17): Add clock_* symbols.
29887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29891 Likewise.
29892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29893 Likewise.
29894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29898 * NEWS: Mention the move.
29899
29900 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29901 Use __open, __read, __close rather than their public counterparts.
29902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29903 (__get_clockfreq_via_cpuinfo): Likewise.
29904 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29905 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29906
29907 * config.h.in (HAVE_IFUNC): New #undef.
29908 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29909 was successful.
29910 * configure: Regenerated.
29911
0cae3f4b
MF
299122012-10-24 Mike Frysinger <vapier@gentoo.org>
29913
29914 * configure.in: Move READELF check to start of file.
29915 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29916 libc_cv_asm_gnu_indirect_function in the process.
29917 * configure: Regenerated.
29918
8175a253
MF
299192012-10-24 Mike Frysinger <vapier@gentoo.org>
29920
29921 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29922 send the output to /dev/null.
29923 (libc_cv_cc_with_libunwind): Likewise.
29924 (libc_cv_as_noexecstack): Likewise.
29925 * configure: Regenerate.
29926
0708a7d1
JM
299272012-10-24 Joseph Myers <joseph@codesourcery.com>
29928
10b40d85
JM
29929 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29930
0708a7d1
JM
29931 * posix/globtest.sh (TMPDIR): Do not set.
29932 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29933 (testout): Likewise.
29934
9fddec1a
AJ
299352012-10-24 Andreas Jaeger <aj@suse.de>
29936
3a8db22f
AJ
29937 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29938 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29939 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29940 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29941 posix_fadvise64, posix_fallocate64.
29942
9fddec1a
AJ
29943 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29944 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29945 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29946 Likewise.
29947 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29948 Likewise.
29949 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29950
29951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29952 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29953 <bits/fcntl-linux.h>.
29954 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29955
29956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29957 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29958 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29959 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29960 [__WORDSIZE != 64]: Likewise.
29961
ebfd1bbd
JM
299622012-10-23 Joseph Myers <joseph@codesourcery.com>
29963
03ac099f
JM
29964 * Makeconfig (run-built-tests): New variable.
29965 * Rules [$(cross-compiling) = yes]: Change condition to
29966 [$(run-built-tests) = no].
29967 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29968 to [$(run-built-tests) = yes].
29969 * elf/Makefile [$(cross-compiling) = no]: Likewise
29970 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29971 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29972 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29973 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29974 * io/Makefile [$(cross-compiling) = no]: Likewise.
29975 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29976 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29977 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29978 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29979 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29980 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29981 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29982 * string/Makefile [$(cross-compiling) = no]: Likewise.
29983
ebfd1bbd
JM
29984 * posix/Makefile ($(objpfx)globtest.out): Pass
29985 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29986 $(rtld-installed-name).
29987 * posix/globtest.sh (elf_objpfx): Remove variable.
29988 (rtld_installed_name): Likewise.
29989 (library_path): Likewise.
29990 (run_program_prefix): New variable. Use for running globtest
29991 binary.
29992
166bca24
JB
299932012-10-23 Jim Blandy <jimb@codesourcery.com>
29994 Joseph Myers <joseph@codesourcery.com>
29995
29996 * Makeconfig (host-built-program-cmd): New variable.
29997 * elf/Makefile (tst-stackguard1-ARGS): Use
29998 $(host-built-program-cmd).
29999 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30000 (tst-spawn-ARGS): Likewise.
30001 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30002
88866099
JM
300032012-10-23 Joseph Myers <joseph@codesourcery.com>
30004 Jim Blandy <jimb@codesourcery.com>
30005
30006 * Makeconfig (run-via-rtld-prefix): New variable.
30007 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30008 (built-program-cmd): Likewise.
30009
b4b4c296
AJ
300102012-10-22 Andreas Jaeger <aj@suse.de>
30011
30012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30013 __O_RSYNC if it exists, otherwise to O_SYNC.
30014
6fb54a22
JB
300152012-10-22 Jim Blandy <jimb@codesourcery.com>
30016 Joseph Myers <joseph@codesourcery.com>
30017
30018 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30019 /dev/null.
30020 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30021 from /dev/null
30022 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30023 /dev/null.
30024
481b90b9
AJ
300252012-10-22 Andreas Jaeger <aj@suse.de>
30026
2a0e2669
AJ
30027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30028 Define always.
30029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30030
76e38f9a
AJ
30031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30032 bits/fcntl-linux.h.
30033
7cd37b43
AJ
30034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30035 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30036
481b90b9
AJ
30037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30038 to __O_LARGEFILE.
30039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30040 to __O_LARGEFILE.
30041
aba75984
JB
300422012-10-21 Jim Blandy <jimb@codesourcery.com>
30043 Joseph Myers <joseph@codesourcery.com>
30044
30045 * config.make.in (NM): New variable.
30046
88d4247f
AJ
300472012-10-21 Andreas Jaeger <aj@suse.de>
30048
30049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30050 definitions and declarations that are provided by
30051 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30052
f2eed205
L
300532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30054
30055 [BZ #14683]
30056 * elf/Makefile (tests-static): Add tst-leaks1-static.
30057 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30058 ($(objpfx)tst-leaks1-static): New rule.
30059 ($(objpfx)tst-leaks1-static-mem): Likewise.
30060 (tst-leaks1-static-ENV): New macro.
30061 * elf/dl-open.c (dl_open_worker): Check the main application
30062 only if SHARED is defined.
30063 * elf/tst-leaks1-static.c: New file.
30064
335e6931
AJ
300652012-10-20 Andreas Jaeger <aj@suse.de>
30066
30067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30068 generic values for Linux.
30069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30070 and declarations that are provided by <bits/fcntl-linux.h> and
30071 include <bits/fcntl-linux.h>.
30072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30074
ac5c94d3
RM
300752012-10-20 Roland McGrath <roland@hack.frob.com>
30076
30077 * io/fcntl.h: Move include of <bits/types.h> to the top and
30078 include it unconditionally.
30079
de54b33a
L
300802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30081
228cfb01
L
30082 * wcsmbs/Makefile (tests-ifunc): New variable.
30083 (tests): Add $(tests-ifunc).
30084 * wcsmbs/test-wcschr-ifunc.c: New file.
30085 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30086 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30087 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30088 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30089 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30090
69f07e5f
L
30091 * string/Makefile (tests-ifunc): New variable.
30092 (tests): Add $(tests-ifunc).
30093 * string/test-memccpy.c (TEST_NAME): New macro.
30094 * string/test-memchr.c (TEST_NAME): Likewise.
30095 * string/test-memcmp.c (TEST_NAME): Likewise.
30096 * string/test-memcpy.c (TEST_NAME): Likewise.
30097 * string/test-memmem.c (TEST_NAME): Likewise.
30098 * string/test-memmove.c (TEST_NAME): Likewise.
30099 * string/test-memset.c (TEST_NAME): Likewise.
30100 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30101 * string/test-stpcpy.c (TEST_NAME): Likewise.
30102 * string/test-stpncpy.c (TEST_NAME): Likewise.
30103 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30104 * string/test-strcasestr.c (TEST_NAME): Likewise.
30105 * string/test-strcat.c (TEST_NAME): Likewise.
30106 * string/test-strchr.c (TEST_NAME): Likewise.
30107 * string/test-strcmp.c(TEST_NAME): Likewise.
30108 * string/test-strcpy.c (TEST_NAME): Likewise.
30109 * string/test-strcspn.c (TEST_NAME): Likewise.
30110 * string/test-strlen.c (TEST_NAME): Likewise.
30111 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30112 * string/test-strncmp.c (TEST_NAME): Likewise.
30113 * string/test-strncpy.c (TEST_NAME): Likewise.
30114 * string/test-strnlen.c (TEST_NAME): Likewise.
30115 * string/test-strpbrk.c (TEST_NAME): Likewise.
30116 * string/test-strrchr.c (TEST_NAME): Likewise.
30117 * string/test-strspn.c (TEST_NAME): Likewise.
30118 * string/test-strstr.c (TEST_NAME): Likewise.
30119 * string/test-bcopy-ifunc.c: New file.
30120 * string/test-bzero-ifunc.c: Likewise.
30121 * string/test-memccpy-ifunc.c: Likewise.
30122 * string/test-memchr-ifunc.c: Likewise.
30123 * string/test-memcmp-ifunc.c: Likewise.
30124 * string/test-memcpy-ifunc.c: Likewise.
30125 * string/test-memmem-ifunc.c: Likewise.
30126 * string/test-memmove-ifunc.c: Likewise.
30127 * string/test-mempcpy-ifunc.c: Likewise.
30128 * string/test-memset-ifunc.c: Likewise.
30129 * string/test-rawmemchr-ifunc.c: Likewise.
30130 * string/test-stpcpy-ifunc.c: Likewise.
30131 * string/test-stpncpy-ifunc.c: Likewise.
30132 * string/test-strcasecmp-ifunc.c: Likewise.
30133 * string/test-strcasestr-ifunc.c: Likewise.
30134 * string/test-strcat-ifunc.c: Likewise.
30135 * string/test-strchr-ifunc.c: Likewise.
30136 * string/test-strchrnul-ifunc.c: Likewise.
30137 * string/test-strcmp-ifunc.c: Likewise.
30138 * string/test-strcpy-ifunc.c: Likewise.
30139 * string/test-strcspn-ifunc.c: Likewise.
30140 * string/test-strlen-ifunc.c: Likewise.
30141 * string/test-strncasecmp-ifunc.c: Likewise.
30142 * string/test-strncat-ifunc.c: Likewise.
30143 * string/test-strncmp-ifunc.c: Likewise.
30144 * string/test-strncpy-ifunc.c: Likewise.
30145 * string/test-strnlen-ifunc.c: Likewise.
30146 * string/test-strpbrk-ifunc.c: Likewise.
30147 * string/test-strrchr-ifunc.c: Likewise.
30148 * string/test-strspn-ifunc.c: Likewise.
30149 * string/test-strstr-ifunc.c: Likewise.
30150
de54b33a
L
30151 * debug/Makefile (tests-ifunc): New variable.
30152 (tests): Add $(tests-ifunc).
30153 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30154 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30155 * debug/test-stpcpy_chk-ifunc.c: New file.
30156 * debug/test-strcpy_chk-ifunc.c: Likewise.
30157
88481c16
SP
301582012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30159
30160 [BZ #13601]
30161 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30162 header is not read in.
30163
135948bd
JM
301642012-10-19 Joseph Myers <joseph@codesourcery.com>
30165
89f1c388
JM
30166 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30167 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30168 directly. Pass built executable to script as
30169 $(built-program-cmd).
30170 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30171 $testprogram without using LD_LIBRARY_PATH and $ldso.
30172
e40a0d21
JM
30173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30174 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30175 $(rtld-installed-name).
30176 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30177 (rtld_installed_name): Likewise.
30178 (library_path): Likewise.
30179 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30180 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30181 $(run-program-prefix) to tst-tables.sh.
30182 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30183 it to run tst-table-from and tst-table-to.
30184 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30185 Pass it to tst-table.sh.
30186 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30187 $(run-program-prefix) to tst-gettext.sh.
30188 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30189 tst-translit.sh.
30190 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30191 tst-gettext2.sh.
30192 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30193 to run tst-gettext.
30194 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30195 to run tst-gettext2.
30196 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30197 to run tst-translit.
30198 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30199 $(run-program-prefix) to tst-mtrace.sh.
30200 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30201 to run tst-mtrace.
30202 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30203 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30204 $(rtld-installed-name).
30205 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30206 (rtld_installed_name): Likewise.
30207 (run_program_prefix): New variable. Use it to run wordexp-test.
30208
728e272a
JM
30209 * Makeconfig (ARCH): Remove all definitions.
30210 (machine): Likewise.
30211 [ARCH]: Remove conditional code.
30212 [!objdir]: Give error.
30213 [!objdir] (objpfx): Remove.
30214 [!objdir] (common-objpfx): Likewise.
30215 [!objdir] (common-objdir): Likewise.
30216 * configure.in (config_makefile): Remove. Hardcode Makefile in
30217 AC_CONFIG_FILES call.
30218 * configure: Regenerated.
30219
d528cdcf
JM
30220 [BZ #13888]
30221 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30222 or TMPDIR.
30223 (testout): Likewise.
30224
135948bd
JM
30225 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30226 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30227 $(rtld-installed-name).
30228 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30229 (rtld_installed_name): Likwise.
30230 (runit): Remove function.
30231 (run_getconf): New variable, Use it for running getconf binary.
30232
38c78296
L
302332012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30234
30235 [BZ #14716]
30236 * string/test-memmem.c (check_result): New function.
30237 (do_one_test): Use it.
30238 (check1): New function.
30239 (test_main): Use it.
30240
d077f65f
MT
302412012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30242
30243 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30244
ced52c71
JM
302452012-10-18 Joseph Myers <joseph@codesourcery.com>
30246
30247 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30248 (_G_LSEEK64): Likewise.
30249 (_G_MMAP64): Likewise.
30250 (_G_FSTAT64): Likewise.
30251 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30252 (_G_LSEEK64): Likewise.
30253 (_G_MMAP64): Likewise.
30254 (_G_FSTAT64): Likewise.
30255 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30256 unconditional. Call __mmap64 directly.
30257 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30258 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30259 __lseek64 directly.
30260 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30261 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30262 __mmap64 directly.
30263 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30264 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30265 __lseek64 directly.
30266 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30267 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30268 __lseek64 directly.
30269 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30270 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30271 __lseek64 directly.
30272 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30273 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30274 __fxstat64 directly.
30275 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30276 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30277 unconditional.
30278 (freopen64) [!_G_OPEN64]: Remove conditional code.
30279 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30280 unconditional.
30281 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30282 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30283 unconditional.
30284 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30285 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30286 unconditional.
30287 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30288 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30289 unconditional.
30290 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30291 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30292 unconditional.
30293 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30294 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30295 unconditional.
30296 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30297 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30298 unconditional.
30299 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30300
b741de23
SP
303012012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30302
30303 [BZ #12140]
30304 * manual/memory.texi (Malloc Tunable Parameters): Add note
30305 about free list pointers overwriting some perturb bytes.
30306 Wording suggested by Roland McGrath.
30307
f9b9d9c9
JM
303082012-10-17 Joseph Myers <joseph@codesourcery.com>
30309
30310 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30311 (lgamma_test): Likewise.
30312 (tgamma_test): Likewise.
30313
172a631a
FW
303142012-10-16 Florian Weimer <fweimer@redhat.com>
30315
30316 [BZ #14700]
30317 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30318 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30319
e9f37252
MK
303202012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30321
30322 * NEWS: Mention BZ #14716.
30323 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30324 when removing AVAILABLE1_USES_J macro.
30325
d394eb74
L
303262012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30327
30328 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30329 (__bswap_64): __uint64_t for unsigned 64-bit int.
30330
ca38dc17
AS
303312012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30332
30333 * include/string.h (memmem): Declare libc hidden alias.
30334 * string/memmem.c (memmem): Define libc hidden alias.
30335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30336 __read, __close instead of open, read, close.
30337
9a387d1f
L
303382012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30339
ac49ecaf
L
30340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30341 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30342 global and hidden.
30343 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30344 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30345 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30346 Likewise.
30347 (__rawmemchr_sse2): Likewise.
30348 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30349 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30350 (__strchr_sse2): Likewise.
30351 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30352 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30353 (__strcasecmp_sse2): Likewise.
30354 (__strncasecmp_sse2): Likewise.
30355 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30356 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30357 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30358 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30359 (__strrchr_sse2): Likewise.
30360 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30361 ifunc-impl-list.c.
30362 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30363 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30364 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30365 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30366 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30367 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30368 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30369 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30370 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30371 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30372 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30373 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30374 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30375 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30376 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30377 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30378 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30379 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30380 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30381 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30382 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30383 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30384 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30385 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30386 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30387 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30388 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30389 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30390 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30391 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30392
b090e8ea
L
30393 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30394 global and hidden.
30395 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30396 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30397 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30398 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30399 Likewise.
30400 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30401 Likewise.
30402 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30403 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30404 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30405 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30406 ifunc-impl-list.c.
30407 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30408 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30409 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30410 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30411 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30412 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30413 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30414 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30415 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30416 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30417 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30418 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30419 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30420 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30421 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30422 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30424 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30425 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30426 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30427 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30428 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30429 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30430 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30431 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30432 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30433 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30434 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30435 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30436 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30437 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30438 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30439 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30440 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30441 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30442 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30445 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30448
11dd4af6
L
30449 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30450 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30451 * include/ifunc-impl-list.h: New file.
30452 * misc/ifunc-impl-list.c: Likewise.
30453 * misc/Makefile (routines): Add ifunc-impl-list.
30454 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30455 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
30456 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30457 TEST_NAME]: New variables.
11dd4af6
L
30458 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30459 are defined.
30460 (test_init): Call __libc_ifunc_impl_list to initialize
30461 func_list if TEST_IFUNC and TEST_NAME are defined.
30462
9a387d1f
L
30463 * string/Makefile (strop-tests): Add bcopy and bzero.
30464 * string/test-bcopy.c: New file.
30465 * string/test-bzero.c: Likewise.
30466 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30467 defined.
30468 * string/test-memset.c: Support bzero test if TEST_BZERO is
30469 defined.
30470 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30471 __libc_memmove.
30472 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30473 __libc_memset.
30474 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30475 of memset.
30476
472371b9
JM
304772012-10-10 Joseph Myers <joseph@codesourcery.com>
30478
1e4a9536
JM
30479 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30480 * configure: Regenerated.
30481
d173d12e
JM
30482 * Makeconfig (+link-static-before-libc): Don't include
30483 $(link-static-libc).
30484
472371b9
JM
30485 * libio/libio.h (_IO_pos_t): Remove.
30486
89a3ad0b
AO
304872012-10-10 Alexandre Oliva <aoliva@redhat.com>
30488
30489 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30490 McGrath.
30491
e7451425
AO
304922012-10-10 Alexandre Oliva <aoliva@redhat.com>
30493
30494 * crypt/crypt-entry.c: Include fips-private.h.
30495 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30496 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30497 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30498 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30499
4ba74a35
AO
305002012-10-10 Alexandre Oliva <aoliva@redhat.com>
30501
30502 * crypt/crypt-private.h: Include stdbool.h.
30503 (_ufc_setup_salt_r): Return bool.
30504 * crypt/crypt-entry.c: Include errno.h.
30505 (__crypt_r): Return NULL with EINVAL for bad salt.
30506 * crypt/crypt_util.c (bad_for_salt): New.
30507 (_ufc_setup_salt_r): Check that salt is long enough and within
30508 the specified alphabet.
30509 * crypt/badsalttest.c: New file.
30510 * crypt/Makefile (tests): Add it.
30511 ($(objpfx)badsalttest): New.
30512
f96f1242
MK
305132012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30514
30515 * NEWS: Add entry for BZ #14602.
30516
0e8e0c1c
JM
305172012-10-09 Joseph Myers <joseph@codesourcery.com>
30518
30519 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30520 type-generic.
30521 * math/libm-test.inc: Update comment listing what functions and
30522 macros are tested.
30523 (isgreater_test): New function.
30524 (isgreaterequal_test): Likewise.
30525 (isless_test): Likewise.
30526 (islessequal_test): Likewise.
30527 (islessgreater_test): Likewise.
30528 (isunordered_test): Likewise.
30529 (main): Call the new functions.
30530
273edc5e
RM
305312012-10-09 Roland McGrath <roland@hack.frob.com>
30532
b8493de0
RM
30533 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30534 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30535 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30536 * sysdeps/i386/configure: Regenerated.
30537 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30538 * sysdeps/mach/configure: Regenerated.
30539 * sysdeps/mach/hurd/configure: Regenerated.
30540 * sysdeps/powerpc/configure: Regenerated.
30541 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30542 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30543 * sysdeps/s390/s390-32/configure: Regenerated.
30544 * sysdeps/s390/s390-64/configure: Regenerated.
30545 * sysdeps/sh/configure: Regenerated.
30546 * sysdeps/sparc/configure: Regenerated.
30547 * sysdeps/unix/sysv/linux/configure: Regenerated.
30548 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30549 * sysdeps/x86_64/configure: Regenerated.
30550
273edc5e
RM
30551 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30552 defined. Don't check if MAP is NULL.
30553
c8450f70
JM
305542012-10-09 Joseph Myers <joseph@codesourcery.com>
30555
30556 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30557 (_G_stat64): Likewise.
30558 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30559 (_G_stat64): Likewise.
30560 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30561 instead of struct _G_stat64.
30562 * libio/fileops.c (mmap_remap_check): Likewise.
30563 (decide_maybe_mmap): Likewise.
30564 (_IO_new_file_seekoff): Likewise.
30565 (_IO_file_stat): Likewise.
30566 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30567 _G_off64_t.
30568 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30569 instead of struct _G_stat64.
30570 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30571
57e605ba
MK
305722012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30573
30574 [BZ #14602]
30575 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30576 Replace with ...
30577 (CHECK_EOL): New macro.
30578 (two_way_short_needle): Check beginning of haystack for EOL. Use
30579 CHECK_EOL.
30580 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30581 Replace with CHECK_EOL.
30582 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30583 Replace with CHECK_EOL.
30584
ef1bb361
JM
305852012-10-08 Joseph Myers <joseph@codesourcery.com>
30586
30587 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30588 type-generic.
30589 * math/libm-test.inc: Update comment listing what functions and
30590 macros are tested.
30591 (finite_test): New function.
30592 (isinf_test): Likewise.
30593 (isnan_test): Likewise.
30594 (fpclassify_test): Test subnormal input.
30595 (isfinite_test): Likewise.
30596 (isnormal_test): Likewise.
30597 (main): Call the new functions.
30598
55f11534
JN
305992012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30600
30601 [BZ #14660]
30602 * Makerules (%.dynsym): Force C locale when running
30603 $(OBJDUMP) --dynamic-syms.
30604
1ab29350
AS
306052012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30606
30607 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30608 <stdint.h>.
30609
f1ecb7ef
DM
306102012-10-06 David S. Miller <davem@davemloft.net>
30611
30612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30613 upper 32-bits of the length value in %o2 since we use branch-on-register
30614 tests which consider the entire 64-bit register.
30615
5d41d91a
L
306162012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30617
30618 * string/test-strstr.c (check2): Add a test for page boundary.
30619
3baddb72
DM
306202012-10-05 David S. Miller <davem@davemloft.net>
30621
30622 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30623 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30624 file.
30625 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30626 sysdep_routines.
30627 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30628 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30629 and bzero when HWCAP_SPARC_CRYPTO is present.
30630
9cee5585
L
306312012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30632
d7e0dab9
L
30633 [BZ #14602]
30634 * string/test-strstr.c (check2): New function.
30635 (test_main): Call check2.
30636
03759f47
L
30637 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30638 and bug-strchr1.
30639 * string/bug-strcasestr1.c (do_test): Moved to ...
30640 * string/test-strcasestr.c (check1): Here. New function.
30641 (do_one_test): Break out result checking code into ...
30642 (check_result): This. New function.
30643 (do_one_test): Call check_result.
30644 (test_main): Call check1.
30645 * string/bug-strchr1.c (do_test): Moved to ...
30646 * string/test-strchr.c (check1): Here. New function.
30647 (do_one_test): Break out result checking code into ...
30648 (check_result): This. New function.
30649 (do_one_test): Call check_result.
30650 (test_main): Call check1.
30651 * string/bug-strstr1.c (main): Moved to ...
046f153e 30652 * string/test-strstr.c (check1): Here. New function.
03759f47
L
30653 (do_one_test): Break out result checking code into ...
30654 (check_result): This. New function.
30655 (do_one_test): Call check_result.
30656 (test_main): Call check1.
30657 * string/bug-strcasestr1.c: Removed.
30658 * string/bug-strchr1.c: Likewise.
30659 * string/bug-strstr1.c: Likewise.
30660
53cea63e
L
30661 * elf/Makefile (dl-routines): Add hwcaps.
30662 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30663 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30664 (_dl_important_hwcaps): Moved to ...
30665 * elf/dl-hwcaps.c: Here. New file.
30666 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30667
9cee5585 30668 [BZ #14557]
bb859b06
L
30669 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30670 if IS_IN_rtld isn't defined.
30671
9cee5585
L
30672 * elf/dl-support.c (_dl_sysinfo_map): New.
30673 Include "get-dynamic-info.h" and "setup-vdso.h".
30674 (_dl_non_dynamic_init): Call setup_vdso.
30675 * elf/dynamic-link.h: Don't include <assert.h>.
30676 (elf_get_dynamic_info): Moved to ...
30677 * elf/get-dynamic-info.h: Here. New file.
30678 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30679 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30680 * elf/setup-vdso.h: Here. New file.
30681 * elf/rtld.c: Include "setup-vdso.h".
30682 (dl_main): Call setup_vdso.
30683
23c31b76
JM
306842012-10-05 Joseph Myers <joseph@codesourcery.com>
30685
28234b07
JM
30686 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30687 creal in comment listing functions tested. List finite, isinf,
30688 isnan, isless, islessequal, isgreater, isgreaterequal,
30689 islessgreater, isunordered, lgamma_r and pow10 as functions and
30690 macros not tested. Mention which functions not tested are aliases
30691 for other functions. Fix typo. Note that signs of NaNs are not
30692 tested.
30693
23c31b76
JM
30694 * scripts/config.guess: Update from config.git.
30695 * scripts/config.sub: Likewise.
30696
9043e228
RM
306972012-10-04 Roland McGrath <roland@hack.frob.com>
30698
30699 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30700 * misc/madvise.c (madvise): Renamed to __madvise.
30701 Make madvise a weak alias.
30702 * include/sys/mman.h: Declare __madvise.
30703 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30704 * sysdeps/unix/syscalls.list
30705 (madvise): Make __madvise the strong name, and madvise a weak alias.
30706 * sysdeps/unix/sysv/linux/syscalls.list
30707 (madvise, mmap): Remove redundant entries.
30708 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30709 * malloc/malloc.c (mtrim): Likewise.
30710 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30711
f57f8055
RM
307122012-10-03 Roland McGrath <roland@hack.frob.com>
30713
30714 * sysdeps/mach/hurd/dl-cache.c: File removed.
30715 * config.h.in (USE_LDCONFIG): New #undef.
30716 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30717 * configure: Regenerated.
30718 * elf/Makefile (dl-routines): Add dl-cache only under
30719 [$(use-ldconfig) = yes].
30720 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30721 cache on [USE_LDCONFIG].
30722 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30723 [USE_LDCONFIG].
30724 * elf/rtld.c (dl_main): Likewise.
30725
5bb0c10a
PT
307262012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30727
30728 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30729 _SC_LEVEL4_CACHE_LINESIZE.
30730
010188c6
RM
307312012-10-03 Roland McGrath <roland@hack.frob.com>
30732
30733 * sysdeps/unix/bsd/confstr.h: File removed.
30734
b6c5ec07
AO
307352012-10-02 Alexandre Oliva <aoliva@redhat.com>
30736
30737 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30738 sys/sdt-config.h.
30739
408223d4
RM
307402012-10-02 Roland McGrath <roland@hack.frob.com>
30741
30742 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30743 Make 'mapoff' field ElfW(Off) rather than off_t.
30744
bb9510dc
DL
307452012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30746
fc997c6e
DL
30747 * nscd/Makefile: Remove nscd-cflags and all its users.
30748 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30749 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30750
bb9510dc
DL
30751 [BZ #10631]
30752 * malloc.c (malloc_printerr): Clarify error message.
30753
05699367
L
307542012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30755
30756 [BZ #14648]
30757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30758 Set bit_FMA_Usable if FMA is supported.
30759 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30760 macro.
30761 (bit_FMA4_Usable): Updated.
30762 (index_FMA_Usable): New macro.
30763 (CPUID_FMA): Likewise
30764 (HAS_FMA): Defined with bit_FMA_Usable.
30765
51367701
RM
307662012-10-01 Roland McGrath <roland@hack.frob.com>
30767
30768 * bits/types.h (__swblk_t): Type removed.
30769 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30770 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30772 (__SWBLK_T_TYPE): Likewise.
30773 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30774 (__SWBLK_T_TYPE): Likewise.
30775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30776 (__SWBLK_T_TYPE): Likewise.
30777 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30778 (__SWBLK_T_TYPE): Likewise.
30779
4d57bf63 307802012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30781 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30782
30783 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30784 (xdr_mapname): Use YPMAXMAP as maxsize.
30785 (xdr_peername): Use YPMAXPEER as maxsize.
30786 (xdr_keydat): Use YPAXRECORD as maxsize.
30787 (xdr_valdat): Use YPMAXRECORD as maxsize.
30788
93c65d43
RM
307892012-10-01 Roland McGrath <roland@hack.frob.com>
30790
497a03d6
RM
30791 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30792
93c65d43
RM
30793 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30794 * csu/init-first.c: ... here.
30795 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30796 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30797 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30798 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30799 * sysdeps/i386/init-first.c: File removed.
30800 * sysdeps/sh/init-first.c: File removed.
30801
bec749fd
JM
308022012-10-01 Joseph Myers <joseph@codesourcery.com>
30803
30804 [BZ #14645]
30805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30806 if x * y might underflow to zero and z is zero.
30807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30809 * math/libm-test.inc (min_subnorm_value): New variable.
30810 (fma_test): Add more tests.
30811 (fma_test_towardzero): Likewise.
30812 (fma_test_downward): Likewise
30813 (fma_test_upward): Likewise.
30814 (initialize): Set min_subnorm_value.
30815
8ec5b013
JM
308162012-09-29 Joseph Myers <joseph@codesourcery.com>
30817
30818 [BZ #14638]
30819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30820 0 + 0.
30821 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30822 mode for addition resulting in exact zero.
30823 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30825 exact 0 + 0.
30826 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30828 * math/libm-test.inc (fma_test): Add more tests.
30829 (fma_test_towardzero): New function.
30830 (fma_test_downward): Likewise.
30831 (fma_test_upward): Likewise.
30832 (main): Call the new functions.
30833
b1fa802e
DM
308342012-09-28 David S. Miller <davem@davemloft.net>
30835
30836 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30837
d3b9fd9e
RM
308382012-09-28 Roland McGrath <roland@hack.frob.com>
30839
ea4d37b3
RM
30840 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30841 instead of SIGALRM.
30842
ac51c949
RM
30843 * sysdeps/gnu/_G_config.h: Moved to ...
30844 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30845 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30846 * sysdeps/generic/_G_config.h: ... here.
30847
28c195f7
RM
30848 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30849
848917f9
RM
30850 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30851
6bacf05b
RM
30852 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30853 Conditionalize target on [libnss_test1.so-version].
30854
91363dbb
RM
30855 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30856
cc87f7d8
RM
30857 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30858 (elfobjdir): Move out of conditionals.
30859
b1c608fe
RM
30860 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30861 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30862 (__nss_lookup_function): Conditionalize label remove_from_tree on
30863 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30864
1d9a6d96
DM
308652012-09-28 David S. Miller <davem@davemloft.net>
30866
30867 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30868 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30869 file.
30870 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30871 sysdep_routines.
30872 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30874 when HWCAP_SPARC_CRYPTO is present.
30875
72581615
PT
308762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30877
30878 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30879
715a900c
JL
308802012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30881
30882 [BZ #6530]
30883 * stdio-common/vfprintf.c (process_string_arg): Revert
30884 2000-07-22 change.
30885
308862011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30887
30888 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30889 for testcase.
30890 * stdio-common/tst-sprintf.c: Include <locale.h>
30891 (main): Test sprintf's handling of incomplete multibyte
30892 characters.
30893
9bac1d86
L
308942012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30895
30896 * elf/dl-runtime.c (VERSYMIDX): Removed.
30897 * elf/dl-version.c (VERSYMIDX): Likewise.
30898 * elf/do-rel.h (VERSYMIDX): Likewise.
30899 (VALIDX): Likewise.
30900 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30901 * elf/rtld.c (VALIDX): Likewise.
30902 (ADDRIDX): Likewise.
9bac1d86
L
30903 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30904 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30905 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30906 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30907 (VALIDX): Likewise.
30908 (ADDRIDX): Likewise.
9bac1d86 30909
b31606c0
PT
309102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30911
30912 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30913
11541177
JL
309142012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30915
30916 [BZ #11438]
30917 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30918 to global scope.
30919 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30920 addresses are in the same scope as 192.0.2/24.
30921 * posix/gai.conf: Document new scope table defaults.
30922
adb26fae
SP
309232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30924
30925 [BZ #5298]
30926 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30927 for ftell. Compute offsets from write pointers instead.
30928 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30929
4573c6b0
SP
309302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30931
30932 [BZ #14543]
30933 * libio/Makefile (tests): New test case tst-fseek.
30934 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30935 combination works in wide mode.
30936 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30937 state when the external buffer state changes.
30938
aa9bbfe6
DM
309392012-09-27 David S. Miller <davem@davemloft.net>
30940
30941 [BZ #14376]
30942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30943 pass reloc->r_addend in as the 'high' argument to
30944 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30945
784421e7
DM
30946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30947
c39bc8b8
PT
309482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30949
30950 * rt/tst-aio2.c: Include <pthread.h>.
30951 * rt/tst-aio3.c: Likewise.
30952
1ccc2399
SE
309532012-09-27 Steve Ellcey <sellcey@mips.com>
30954
30955 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30956
31ed4153
L
309572012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30958
25f5f885
L
30959 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30960 contents on [SHARED].
31ed4153 30961
b7bfe116
MP
309622012-09-26 Marek Polacek <polacek@redhat.com>
30963
30964 [BZ #14530]
30965 [BZ #13741]
30966 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30967 for C++ and GCC <4.3 as well as for non GCC compilers.
30968
43c4edba
MT
309692012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30970
30971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30972
6a1bf82f
RM
309732012-09-25 Roland McGrath <roland@hack.frob.com>
30974
30975 * Makefile.in (all, install): Declare with .PHONY.
30976 Reported by Michael Hope <michael.hope@linaro.org>.
30977
8ad11b9a
TMQMF
309782012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30979
30980 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30981 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30982 system header.
30983 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30984 Likewise.
30985 (sydep_routines): Add the new and the internal functions.
30986 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30987 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30989 (GLIBC_2.17): Add the new function.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30991 (GLIBC_2.17): Likewise.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30993 (GLIBC_2.17): Likewise.
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30995 (GLIBC_2.17): Likewise.
30996 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30997
7e2fca8d
AM
309982012-09-25 Alan Modra <amodra@gmail.com>
30999
31000 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31001 Add release barrier before setting once_control to say
31002 initialisation is done. Add hints on lwarx. Use macro in
31003 place of isync.
31004 (clear_once_control): Add release barrier.
31005
b87c4b24
JM
310062012-09-25 Joseph Myers <joseph@codesourcery.com>
31007
d032e0d2
JM
31008 [BZ #13629]
31009 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31010 specially.
31011 * math/s_clog10.c (__clog10): Likewise.
31012 * math/s_clog10f.c (__clog10f): Likewise.
31013 * math/s_clog10l.c (__clog10l): Likewise.
31014 * math/s_clogf.c (__clogf): Likewise.
31015 * math/s_clogl.c (__clogl): Likewise.
31016 * math/Makefile (libm-calls): Add x2y2m1.
31017 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31018 (__x2y2m1): Likewise.
31019 (__x2y2m1l): Likewise.
31020 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31021 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31024 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31025 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31026 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31027 * sysdeps/i386/fpu/libm-test-ulps: Update.
31028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31029
b87c4b24
JM
31030 [BZ #14621]
31031 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31032 int as type of variable DEPTH.
31033 (glob): Use size_t instead of int as type of variables NEWCOUNT
31034 and OLD_PATHC.
31035
6d3bf199
LD
310362012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31037
22bf5c17
LD
31038 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31039 Add s_sincosf-sse2.
31040 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31041 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31042 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31043 macros for using routine as __sincosf_ia32.
31044 Use macro for function declaration and weak_alias.
31045 * sysdeps/i386/fpu/libm-test-ulps: Update.
31046
31047 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31049
31050 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
31051 subnormal argument.
31052 * math/s_cexpf.c (__cexpf): Likewise.
31053 * math/s_csinf.c (__csinf): Likewise.
31054 * math/s_csinhf.c (__csinhf): Likewise.
31055 * math/s_ctanf.c (__ctanf): Likewise.
31056 * math/s_ctanhf.c (__ctanhf): Likewise.
31057 * math/s_ccosh.c (__ccoshf): Likewise.
31058 * math/s_cexp.c (__cexpl): Likewise.
31059 * math/s_csin.c (__csin): Likewise.
31060 * math/s_csinh.c (__csinh): Likewise.
31061 * math/s_ctan.c (__ctan): Likewise.
31062 * math/s_ctanh.c (ctanh): Likewise.
31063 * math/s_ccoshl.c (__ccoshl): Likewise.
31064 * math/s_cexpl.c (__cexpl): Likewise.
31065 * math/s_csinl.c (__csinl): Likewise.
31066 * math/s_csinhl.c (__csinhl): Likewise.
31067 * math/s_ctanl.c (__ctanl): Likewise.
31068 * math/s_ctanhl.c (__ctanhl): Likewise.
31069
203e5603
JM
310702012-09-25 Joseph Myers <joseph@codesourcery.com>
31071
31072 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31073 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31074 (_IO_off_t): Define to __off_t, not _G_off_t.
31075 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31076 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31077 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31078 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31079 type of __dummy and __dummy2 fields.
31080 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31081 (_G_ssize_t): Likewise.
31082 (_G_off_t): Likewise.
31083 (_G_pid_t): Likewise.
31084 (_G_uid_t): Likewise.
31085 (_G_wchar_t): Likewise.
31086 (_G_wint_t): Likewise.
31087 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31088 (_G_ssize_t): Likewise.
31089 (_G_off_t): Likewise.
31090 (_G_pid_t): Likewise.
31091 (_G_uid_t): Likewise.
31092 (_G_wchar_t): Likewise.
31093 (_G_wint_t): Likewise.
31094 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31095 (_G_ssize_t): Likewise.
31096 (_G_off_t): Likewise.
31097 (_G_pid_t): Likewise.
31098 (_G_uid_t): Likewise.
31099 (_G_wchar_t): Likewise.
31100 (_G_wint_t): Likewise.
31101
9fab36eb
SP
311022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31103
31104 * malloc/arena.c: Include malloc-sysdep.h.
31105 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31106 is sufficient to shrink the heap or an unmap is needed.
31107 * sysdeps/generic/malloc-sysdep.h: New file. Define
31108 new function check_may_shrink_heap.
31109 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31110 new function check_may_shrink_heap.
31111
2b4f00d1
SP
311122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31113
31114 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31115 comments.
31116
9a9028b1
DL
311172012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31118
57c69bef
DL
31119 * catgets/test-gencat.sh: Add "set -e".
31120 * elf/tst-pathopt.sh: Likewise.
31121 * grp/tst_fgetgrent.sh: Likewise.
31122 * iconvdata/run-iconv-test.sh: Likewise.
31123 * intl/tst-gettext.sh: Likewise.
31124 * intl/tst-gettext2.sh: Likewise.
31125 * intl/tst-gettext4.sh: Likewise.
31126 * intl/tst-gettext6.sh: Likewise.
31127 * intl/tst-translit.sh: Likewise.
31128 * io/ftwtest-sh: Likewise.
31129 * libio/test-freopen.sh: Likewise.
31130 * malloc/tst-mtrace.sh: Likewise.
31131 * posix/globtest.sh: Likewise.
31132 * posix/tst-getconf.sh: Likewise.
31133 * posix/wordexp-tst.sh: Likewise.
31134 * stdio-common/tst-printf.sh: Likewise.
31135 * stdio-common/tst-unbputc.sh: Likewise.
31136 * stdlib/tst-fmtmsg.sh: Likewise.
31137 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31138 * catgets/Makefile: Do not specify -e option when running
31139 testsuite shell scripts.
31140 * elf/Makefile: Likewise.
31141 * grp/Makefile: Likewise.
31142 * iconvdata/Makefile: Likewise.
31143 * intl/Makefile: Likewise.
31144 * io/Makefile: Likewise.
31145 * libio/Makefile: Likewise.
31146 * malloc/Makefile: Likewise.
31147 * posix/Makefile: Likewise.
31148 * stdio-common/Makefile: Likewise.
31149 * stdlib/Makefile: Likewise.
31150 * sysdeps/x86_64/Makefile: Likewise.
31151
9a9028b1
DL
31152 * io/ftwtest-sh: Add copyright header.
31153 * posix/globtest.sh: Likewise.
31154 * posix/tst-getconf.sh: Likewise.
31155 * posix/wordexp-tst.sh: Likewise.
31156 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31157
ced6f16e
L
311582012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31159
94b32c39
L
31160 [BZ #13679]
31161 * Makeconfig (+link): Defined as $(+link-static) if
31162 $(build-shared) isn't yes.
31163 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31164 isn't yes.
31165 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31166
189e935b
L
31167 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31168
ced6f16e
L
31169 [BZ #14562]
31170 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31171 new chunk size with MALLOC_ALIGN_MASK.
31172
a9f8e53a
JM
311732012-09-24 Joseph Myers <joseph@codesourcery.com>
31174
31175 [BZ #5044]
31176 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31177 <rounding-mode.h>.
31178 (__printf_fphex): Determine rounding using get_rounding_mode and
31179 round_away.
31180 * stdio-common/tst-printf-round.c (struct hex_test): New
31181 structure.
31182 (hex_tests): New variable.
31183 (test_hex_in_one_mode): New function.
31184 (do_test): Also run tests for hex float output.
31185
43153109
JM
311862012-09-21 Joseph Myers <joseph@codesourcery.com>
31187
31188 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31189 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31190 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31191 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31192 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31193 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31194 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31196
8a26625d
JM
311972012-09-20 Joseph Myers <joseph@codesourcery.com>
31198
31199 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31200 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31201 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31202 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31203
f3fd569c
DL
312042012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31205
31206 [BZ #14579]
31207 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31208 mode only.
31209 * elf/tst-rtld-load-self.sh: New test.
31210 * elf/Makefile: Run it.
31211
63bbedd4
JM
312122012-09-18 Joseph Myers <joseph@codesourcery.com>
31213
31214 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31215 (tst-writev-ENV): Remove.
31216 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31217
626f8b6a
CM
312182012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31219
31220 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31221
b7aaa4d6
JM
312222012-09-17 Joseph Myers <joseph@codesourcery.com>
31223
31224 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31225 unconditional.
31226 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31227 Likewise.
31228 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31229 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31230 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31231 Likewise.
31232
65513990
L
312332012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31234
31235 [BZ #14587]
31236 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31237 * config.make.in (have-cpp-asm-debuginfo): Removed.
31238 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31239 * configure: Regenerated.
31240
784761be
JM
312412012-09-14 Joseph Myers <joseph@codesourcery.com>
31242
31243 [BZ #5044]
31244 * stdio-common/printf_fp.c: Include <stdbool.h> and
31245 <rounding-mode.h>.
31246 (___printf_fp): Determine rounding using get_rounding_mode and
31247 round_away.
31248 * stdio-common/tst-printf-round.c: New file.
31249 * stdio-common/Makefile (tests): Add tst-printf-round.
31250 (link-libm): New variable.
31251 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31252
9503345f
L
312532012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31254
31255 [BZ #14576]
31256 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31257 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31258 Likewise.
31259 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31260 Likewise.
31261
ad35fc00
JM
312622012-09-13 Joseph Myers <joseph@codesourcery.com>
31263
31264 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31265 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31266 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31268
6c9b0f68
JM
312692012-09-12 Joseph Myers <joseph@codesourcery.com>
31270
31271 [BZ #14518]
31272 * include/rounding-mode.h: New file.
31273 * sysdeps/generic/get-rounding-mode.h: Likewise.
31274 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31275 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31276 (MAX_VALUE): New macro.
31277 (MIN_VALUE): Likewise.
31278 (overflow_value): New function.
31279 (underflow_value): Likewise.
31280 (round_and_return): Use overflow_value and underflow_value to
31281 determine return values in overflow and underflow cases. Use
31282 round_away to determine rounding depending on rounding mode.
31283 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31284 determine return values in overflow and underflow cases.
31285 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31286 (struct test_results): New structure.
31287 (struct test): Use struct test_results to store expected results
31288 for all rounding modes.
31289 (TEST): Include expected results for all rounding modes.
31290 (test_in_one_mode): New function.
31291 (do_test): Use test_in_one_mode to compute and check results.
31292 Check results for all rounding modes.
31293 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31294 $(link-libm).
31295
19fcedd5
AM
312962012-12-09 Allan McRae <allan@archlinux.org>
31297
1e9d84cd 31298 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31299
8bbfd2f1
JM
313002012-09-11 Joseph Myers <joseph@codesourcery.com>
31301
31302 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31303 (_G_int32_t): Likewise.
31304 (_G_uint16_t): Likewise.
31305 (_G_uint32_t): Likewise.
31306 (_G_HAVE_BOOL): Likewise.
31307 (_G_HAVE_ATEXIT): Likewise.
31308 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31309 (_G_HAVE_IO_FILE_OPEN): Likewise.
31310 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31311 (_G_int32_t): Likewise.
31312 (_G_uint16_t): Likewise.
31313 (_G_uint32_t): Likewise.
31314 (_G_HAVE_BOOL): Likewise.
31315 (_G_HAVE_ATEXIT): Likewise.
31316 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31317 (_G_HAVE_IO_FILE_OPEN): Likewise.
31318 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31319 (_G_int32_t): Likewise.
31320 (_G_uint16_t): Likewise.
31321 (_G_uint32_t): Likewise.
31322 (_G_HAVE_BOOL): Likewise.
31323 (_G_HAVE_ATEXIT): Likewise.
31324 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31325 (_G_HAVE_IO_FILE_OPEN): Likewise.
31326
b1dc5912
L
313272012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31328
31329 * csu/libc-tls.c: Update copyright years.
31330
0e886ef9
JM
313312012-09-10 Joseph Myers <joseph@codesourcery.com>
31332
28361c5e
JM
31333 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31334 [!_G_USING_THUNKS]: Remove conditional code.
31335 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31336 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31337
0e886ef9
JM
31338 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31339 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31340 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31341 (_G_VTABLE_LABEL_PREFIX): Likewise.
31342 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31343 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31344 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31345 (_G_VTABLE_LABEL_PREFIX): Likewise.
31346 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31347 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31348 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31349 (_G_VTABLE_LABEL_PREFIX): Likewise.
31350 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31351
bcba7aa2
L
313522012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31353
31354 * libio/Makefile: Include ../Makeconfig before tests.
31355 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31356 only if $(build-shared) is yes.
31357
06585ee8
L
31358 * iconv/gconv_db.c: Update copyright years.
31359
80ccd52c
LD
313602012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31361
31362 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31363 unwind info if defined PIC. Fix special cases description.
31364 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31365
31366 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31367 DP_HI_MASK entry.
31368 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31369
691bc9c1
L
313702012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31371
3d9b46b3
L
31372 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31373
de2139a9
L
31374 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31375 is NULL.
31376
5ca78dd0
L
31377 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31378 (LDLIBS-tst-chk4): This.
31379 (LDFLAGS-tst-chk5): Renamed to ...
31380 (LDLIBS-tst-chk5): This.
31381 (LDFLAGS-tst-chk6): Renamed to ...
31382 (LDLIBS-tst-chk6): This.
31383 (LDFLAGS-tst-lfschk4): Renamed to ...
31384 (LDLIBS-tst-lfschk4): This.
31385 (LDFLAGS-tst-lfschk5): Renamed to ...
31386 (LDLIBS-tst-lfschk5): This.
31387 (LDFLAGS-tst-lfschk6): Renamed to ...
31388 (LDLIBS-tst-lfschk6): This.
31389
691bc9c1
L
31390 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31391 on $(common-objpfx)soversions.mk.
31392
65cafb1c
JM
313932012-09-07 Joseph Myers <joseph@codesourcery.com>
31394
31395 [BZ #10014]
31396 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31397 example host name.
31398
c78ab094
SP
313992012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31400
31401 * malloc/arena.c (arena_get_retry): New function that gets
31402 another arena for the caller to try its request on.
31403 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31404 current arena cannot fulfill the request.
31405 (__libc_memalign): Likewise.
31406 (__libc_memalign): Likewise.
31407 (__libc_pvalloc): Likewise.
31408 (__libc_calloc): Likewise.
31409
01f49f59
JT
314102012-09-05 John Tobey <john.tobey@gmail.com>
31411
31412 [BZ #13542]
31413 * manual/arith.texi (Operations on Complex): Fix description
31414 of carg branch cut.
31415
4c23fed5
JM
314162012-09-06 Joseph Myers <joseph@codesourcery.com>
31417
1d3c8572
JM
31418 [BZ #10014]
31419 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31420 host name.
31421
4c23fed5
JM
31422 [BZ #10038]
31423 * manual/memory.texi (Memory): Make order of menu items match
31424 order of sections.
31425
04570aaa
L
314262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31427
31428 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31429 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31430 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31431
b80af2f4
L
314322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31433
31434 * csu/libc-tls.c (static_dtv): Renamed to ...
31435 (_dl_static_dtv): This. Make it global.
31436 (_dl_initial_dtv): Removed.
31437 (__libc_setup_tls): Updated.
31438 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31439 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31440 DL_INITIAL_DTV.
31441
2abe9f15
PM
314422012-09-06 Petr Machata <pmachata@redhat.com>
31443
31444 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31445 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31446 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31447 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31448
0948c3af
L
314492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31450
31451 [BZ #14545]
31452 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31453 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31454 freeing dtv[-1].
31455
a5055ad1
L
314562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31457
31458 [BZ #14544]
31459 * Makeconfig (link-static-before-libc): Replace $(+prector)
31460 with $(+prectorT).
31461 (link-static-after-libc): Replace $(+postctor) with
31462 $(+postctorT).
31463 (link-bounded): Replace $(+prector)/$(+postctor) with
31464 $(+prectorT)/$(+postctorT).
31465 (+prectorT): New macro.
31466 (+postctorT): Likewise.
31467
ed8c2ecd
JM
314682012-09-06 Joseph Myers <joseph@codesourcery.com>
31469
31470 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31471 (round_str): Handle values above the maximum for IBM long double
31472 as inexact.
31473 * stdlib/tst-strtod-round.c (tests): Regenerated.
31474
14c996c8
AK
314752012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31476
31477 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31478 assembler flag.
31479 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31480 zarch_nohighgprs around the zarch optimized routines.
31481 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31482 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31484 for zarch.
31485
430d6ce6
DM
314862012-09-05 David S. Miller <davem@davemloft.net>
31487
31488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31489
57f41c40
AS
31490 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31491 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
31492 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31493 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31494 entries.
31495
24d4e01b
AO
314962012-09-05 Alexandre Oliva <aoliva@redhat.com>
31497
31498 * malloc/arena.c: Fold copyright years.
31499 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31500
61d58174
AO
315012012-09-05 Alexandre Oliva <aoliva@redhat.com>
31502
31503 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31504
20196a5e
AO
315052012-09-05 Alexandre Oliva <aoliva@redhat.com>
31506
31507 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31508
5c447383
AO
315092012-09-05 Alexandre Oliva <aoliva@redhat.com>
31510
31511 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31512 change internal state upon failure.
31513
fad64255
AO
315142012-09-05 Alexandre Oliva <aoliva@redhat.com>
31515
31516 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31517 * malloc/memusage.c (mmap): Likewise.
31518 (mmap64, mremap): Likewise. Adjust name in comment.
31519
1ffb8c90
SP
315202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31521
31522 * libio/fileops.c: Fix typos in comments.
31523 * libio/oldfileops.c: Likewise.
31524 * libio/wfileops.c: Likewise.
31525
6ef9cc37
SP
315262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31527
31528 [BZ #1349]
31529 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31530 (tst-malloc-usable-ENV): Set environment for test case.
31531 * malloc/hooks.c (malloc_check_get_size): New function to get
31532 requested size.
31533 * malloc/malloc.c (musable): Use malloc_check_get_size.
31534 * malloc/tst-malloc-usable.c: New test case.
31535
4d038ae3
AS
315362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31537
31538 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31539
c4e85184
AM
315402012-09-05 Allan McRae <allan@archlinux.org>
31541
b9dafc56 31542 [BZ #13966]
c4e85184
AM
31543 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31544 determine header location.
31545 * configure: Regenerated.
31546
e1343020
AS
315472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31548
31549 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31550 float format.
31551 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
31552 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31553 format.
e1343020
AS
31554 (test): Regenerate.
31555
0a9f1987
DM
315562012-09-04 David S. Miller <davem@davemloft.net>
31557
31558 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31559 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31560 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31561
29237804
FW
315622012-09-04 Florian Weimer <fweimer@redhat.com>
31563
31564 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31565 failures.
31566
edb3cb88
FW
31567 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31568
60160d83
JM
315692012-09-04 Joseph Myers <joseph@codesourcery.com>
31570
31571 [BZ #9914]
31572 * libio/iogetdelim.c: Include <limits.h>.
31573 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31574 + len + 1 would overflow.
31575
bcd6c8dc
AJ
315762012-09-03 Andreas Jaeger <aj@suse.de>
31577
31578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31579 * sysdeps/i386/fpu/libm-test-ulps: Update.
31580
4ffffbd2
LD
315812012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31582
31583 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31584 Add s_sinf-sse2, s_conf-sse2.
31585
31586 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31587 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31588 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31589 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31590
31591 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31592 for using routine as __sinf_ia32.
31593 Use macro for function declaration and weak_alias.
31594 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31595 for using routine as __cosf_ia32.
31596 Use macro for function declaration and weak_alias.
31597
31598 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31599 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31600
31601 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31602 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31604
31605 * math/libm-test.inc (cos_test): Add more test cases.
31606 (sin_test): Likewise.
31607 (sincos_test): Likewise.
31608
511fa286
AK
316092012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31610
31611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31612 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31613 hidden.
31614 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31615
5f30cfec
L
316162012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 [BZ #14538]
31619 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31620 first element of the GOT.
31621 (elf_machine_load_address): Return the difference between
31622 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31623
0786794f
AM
316242012-09-01 Allan McRae <allan@archlinux.org>
31625
5f30cfec
L
31626 [BZ #13412]
31627 * configure.in (AWK): Require gawk version 3.0 or later.
31628 * configure: Regenerated.
0786794f 31629
26889eac
JM
316302012-09-01 Joseph Myers <joseph@codesourcery.com>
31631
31632 * sysdeps/unix/sysv/linux/kernel-features.h
31633 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31635 [__NR_clock_getres]: Make code unconditional.
31636 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31637 (clock_getcpuclockid): Remove code left unreachable by removal of
31638 conditionals.
31639 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31640 code unconditional.
31641 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31642 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31643 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31644 Make code unconditional.
31645 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31646 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31647 * sysdeps/unix/sysv/linux/clock_settime.c
31648 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31649 conditional code.
31650 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31651 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31652
d22e28b0
L
316532012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31654
31655 [BZ #14476]
31656 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31657 scripts/test-installation.pl.
31658
31659 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31660 and $ld_so_version if it is set.
31661
050af9c4
SP
316622012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31663
31664 [BZ #14516]
31665 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31666 failure if reading from procfs failed.
31667 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31668
ad845c0b
JM
316692012-08-27 Joseph Myers <joseph@codesourcery.com>
31670
31671 * sysdeps/unix/sysv/linux/kernel-features.h
31672 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31673 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31674 Remove conditional code.
31675 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31676 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31677 Remove conditional code.
31678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31679 * sysdeps/unix/sysv/linux/i386/fxstat.c
31680 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31681 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31682 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31683 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31684 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31685 * sysdeps/unix/sysv/linux/i386/lxstat.c
31686 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31687 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31688 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31689 Remove conditional code.
31690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31691 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31692 Remove conditional code.
31693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31694 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31695 <kernel-features.h>.
31696 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31697 Remove.
31698 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31699 Remove conditional code.
31700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31701 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31702 Remove conditional.
31703
5dbf56af
MF
317042012-08-27 Mike Frysinger <vapier@gentoo.org>
31705
31706 [BZ #5400]
31707 * NEWS: Add fixed bug number.
31708
d6e70f43
JM
317092012-08-27 Joseph Myers <joseph@codesourcery.com>
31710
7efb4737
JM
31711 [BZ #14519]
31712 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31713 underflowing exponent in case of negative sign.
31714 * stdlib/tst-strtod-round-data: Add more tests.
31715 * stdlib/tst-strtod-round.c (tests): Regenerated.
31716
af92131a
JM
31717 [BZ #3479]
31718 * stdlib/strtod_l.c (NDIG): Remove.
31719 (HEXNDIG): Likewise.
31720 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31721 smallest representable value.
31722 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31723 lie within an exact representation of 1/2 ulp of the result.
31724 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31725 unconditionally.
31726 (TENS_P9_IDX): Define unconditionally.
31727 (TENS_P9_SIZE): Likewise.
31728 (TENS_P10_IDX): Likewise.
31729 (TENS_P10_SIZE): Likewise.
31730 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31731 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31732 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31733 entries for 10^2^13 and 10^2^14.
31734 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31735 (TENS_P13_IDX): Define.
31736 (TENS_P13_SIZE): Likewise.
31737 (TENS_P14_IDX): Likewise.
31738 (TENS_P14_SIZE): Likewise.
31739 (_fpioconst_pow10): Change array size to
31740 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31741 unconditional.
31742 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31743 1024]: Add entries for 10^2^13 and 10^2^14.
31744 [LAST_POW10 > _LAST_POW10]: Remove #error.
31745 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31746 (_fpioconst_pow10): Change array size to
31747 FPIOCONST_POW10_ARRAY_SIZE.
31748 * stdlib/gen-fpioconst.c: New file.
31749 * stdlib/gen-tst-strtod-round.c: Likewise.
31750 * stdlib/tst-strtod-round-data: Likewise.
31751 * stdlib/tst-strtod-round.c: Likewise.
31752 * stdlib/Makefile (tests): Add tst-strtod-round.
31753
d6e70f43
JM
31754 [BZ #14459]
31755 * stdlib/strtod_l.c: Include <stdint.h>.
31756 (NDEBUG): Do not define.
31757 (round_and_return): Change EXPONENT parameter to type intmax_t.
31758 Rearrange calculations to avoid internal overflow possibilities.
31759 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31760 Rearrange calculations to avoid internal overflow possibilities.
31761 Assert that number fits inside MPNSIZE limbs.
31762 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31763 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31764 calculations and add assertions to avoid internal overflow
31765 possibilities. Add casts to avoid signed/unsigned operations.
31766 * stdlib/tst-strtod-overflow.c: New file.
31767 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31768
1f529f7d
MP
317692012-08-25 Marek Polacek <polacek@redhat.com>
31770
31771 * time/time.h: Fix some typos in comments.
31772
59a629f1
RM
317732012-08-23 Roland McGrath <roland@hack.frob.com>
31774
31775 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31776 * posix/tst-rfc3484-2.c: Likewise.
31777 * posix/tst-rfc3484-3.c: Likewise.
31778
d3bafbc9
SM
317792012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31780
31781 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31782 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31783
4efcc022
JM
317842012-08-23 Joseph Myers <joseph@codesourcery.com>
31785
31786 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31787 #include of fxstatat64.c.
31788
3cc3ef96
RM
317892012-08-22 Roland McGrath <roland@hack.frob.com>
31790
f04e2132
RM
31791 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31792 * shadow/getspent_r.c: Likewise.
31793 * shadow/getspnam.c: Likewise.
31794 * shadow/getspnam_r.c: Likewise.
31795 * gshadow/getsgent.c: Likewise.
31796 * gshadow/getsgent_r.c: Likewise.
31797 * gshadow/getsgnam.c: Likewise.
31798 * gshadow/getsgnam_r.c: Likewise.
31799 * inet/getnetbyad.c: Likewise.
31800 * inet/getnetbyad_r.c: Likewise.
31801 * inet/getnetbynm.c: Likewise.
31802 * inet/getnetbynm_r.c: Likewise.
31803 * inet/getnetent.c: Likewise.
31804 * inet/getnetent_r.c: Likewise.
31805 * inet/getproto.c: Likewise.
31806 * inet/getproto_r.c: Likewise.
31807 * inet/getprtent.c: Likewise.
31808 * inet/getprtent_r.c: Likewise.
31809 * inet/getprtname.c: Likewise.
31810 * inet/getprtname_r.c: Likewise.
31811 * inet/getrpcbyname.c: Likewise.
31812 * inet/getrpcbyname_r.c: Likewise.
31813 * inet/getrpcbynumber.c: Likewise.
31814 * inet/getrpcbynumber_r.c: Likewise.
31815 * inet/getrpcent.c: Likewise.
31816 * inet/getrpcent_r.c: Likewise.
31817 * inet/getaliasent.c: Likewise.
31818 * inet/getaliasent_r.c: Likewise.
31819 * inet/getaliasname.c: Likewise.
31820 * inet/getaliasname_r.c: Likewise.
31821 * nscd/getgrgid_r.c: Likewise.
31822 * nscd/getgrnam_r.c: Likewise.
31823 * nscd/gethstbyad_r.c: Likewise.
31824 * nscd/gethstbynm3_r.c: Likewise.
31825 * nscd/getpwnam_r.c: Likewise.
31826 * nscd/getpwuid_r.c: Likewise.
31827 * nscd/getsrvbynm_r.c: Likewise.
31828 * nscd/getsrvbypt_r.c: Likewise.
31829 * nscd/gai.c: Likewise.
31830
c53d909c
RM
31831 * configure.in (build_nscd): New substituted variable, set
31832 by --disable-build-nscd and defaults to $use_nscd.
31833 * configure: Regenerated.
31834 * config.make.in (build-nscd): New substituted variable.
31835 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31836 Change conditional to require [$(build-nscd) = yes] as well.
31837 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31838
3cc3ef96
RM
31839 [BZ# 13696]
31840 * configure.in (use_nscd): New substituted variable, set by
31841 --disable-nscd. If enabled, define USE_NSCD.
31842 * configure: Regenerated.
31843 * config.h.in: Add USE_NSCD.
31844 * config.make.in (use-nscd): New substituted variable.
31845 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31846 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31847 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31848 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31849 (CFLAGS-getgrnam_r.c): Likewise.
31850 (CFLAGS-initgroups.c): Likewise.
31851 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31852 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31853 Variables removed.
31854 * inet/getnetgrent_r.c
31855 (nscd_setnetgrent): New function, broken out of ...
31856 (setnetgrent): ... here. Call it.
31857 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31858 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31859 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31860 * nscd/Makefile (routines, aux): Move definitions after include of
31861 Makeconfig. Conditionalize on [$(use-nscd) != no].
31862 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31863 Conditionalize on [USE_NSCD].
31864 (is_nscd, nscd_init_cb): Likewise.
31865 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31866 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31867 * nss/nss_db/db-init.c: Likewise.
31868 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31869 [USE_NSCD].
31870 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31871 (make_request): Use it.
31872 (cache_valid_p): New function.
31873 (__check_pf): Use it.
31874 * NEWS: Add item for --disable-nscd.
31875
07e51550
DL
318762012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31877
31878 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31879 to support sed >= 4.2.1-20-ga9bf076.
31880 * configure: Regenerated.
31881
35a5b08b
RM
318822012-08-22 Roland McGrath <roland@hack.frob.com>
31883
31884 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31885 Conditionalize whole body on [IREL].
31886
8479f23a
JL
318872012-08-22 Jeff Law <law@redhat.com>
31888
31889 [BZ #14505]
31890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31891 if the family is PF_UNSPEC.
31892
48da0b21
MF
318932012-08-22 Mike Frysinger <vapier@gentoo.org>
31894
31895 * Makerules (lib-version): Rename from V.
31896 (install-lib-nosubdir): Change V to lib-version.
31897
15d0da8c
WS
318982012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31899
31900 [BZ #14252]
31901 * powerpc32/power6/wcschr.c: New file.
31902 * powerpc32/power6/wcscpy.c: New file.
31903 * powerpc32/power6/wcsrchr.c: New file.
31904 * powerpc64/power6/wcschr.c: New file.
31905 * powerpc64/power6/wcscpy.c: New file.
31906 * powerpc64/power6/wcsrchr.c: New file.
31907
bcca0895
MK
319082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31909
31910 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31911 (two_way_short_needle): Use it.
5a4aaa33
RM
31912 * string/strstr.c (AVAILABLE1_USES_J): Define.
31913 * string/strcasestr.c: Likewise.
99677e57
MK
31914
31915 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31916 array references.
31917 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31918
400726de
MK
31919 [BZ #11607]
31920 * NEWS: Add an entry.
31921 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31922 define their defaults.
31923 (two_way_short_needle): Detect end-of-string on-the-fly.
31924 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31925 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31926 * string/bug-strcasestr1.c: New test.
31927 * string/Makefile: Run it.
31928
20a71f2c
MK
319292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31930
31931 [BZ #11607]
31932 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31933 the first character.
31934
21ad0558
RM
319352012-08-21 Roland McGrath <roland@hack.frob.com>
31936
31937 * csu/elf-init.c (__libc_csu_irel): Function removed.
31938 * csu/libc-start.c (apply_irel): New function.
31939 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31940
0e1d9911
JM
319412012-08-21 Joseph Myers <joseph@codesourcery.com>
31942
31943 * sysdeps/unix/sysv/linux/kernel-features.h
31944 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31945 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31946 <kernel-features.h>.
31947 [__NR_fadvise64_64]: Make code unconditional.
31948 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31949 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31950 !__NR_fadvise64_64)]: Likewise.
31951 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31952 !__NR_fadvise64_64))]: Likewise.
31953 [__NR_fadvise64]: Make code unconditional.
31954 [!__NR_fadvise64]: Remove conditional code.
31955 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31956 <kernel-features.h>.
31957 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31958 unconditional.
31959 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31960 conditional code.
31961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31962 not include <kernel-features.h>.
31963 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31964 unconditional.
31965 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31966 conditional code.
31967 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31968 include <kernel-features.h>.
31969 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31970 unconditional.
31971 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31972 conditional code.
31973
14a50c9d
WS
319742012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31975
31976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31977 slight instruction rearrangements per scrollpipe analysis.
31978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31979
c0f4faf0
RM
319802012-08-20 Roland McGrath <roland@hack.frob.com>
31981
696da859
RM
31982 * manual/syslog.texi (syslog; vsyslog, closelog):
31983 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31984 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31985
c0f4faf0
RM
31986 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31987 DSOCAPS to match condition on defining it.
31988
348363b2
JM
319892012-08-20 Joseph Myers <joseph@codesourcery.com>
31990
a35cbf28
JM
31991 * sysdeps/unix/sysv/linux/kernel-features.h
31992 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31994 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31995 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31997 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31998 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32000 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32001 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32002
445f7ecd
JM
32003 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32004 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32005
348363b2
JM
32006 * sysdeps/unix/sysv/linux/kernel-features.h
32007 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32008 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32009 unconditional.
32010 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32011 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32012 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32013 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32014 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32015 Make code unconditional.
32016 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32017 (__mmap64) [!__NR_mmap2]: Likewise.
32018 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32019 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32020 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32021 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32022 [__NR_mmap2]: Make code unconditional.
32023 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32024 (__mmap64) [!__NR_mmap2]: Likewise.
32025
bc5bc0e5
AK
320262012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32027
32028 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32029
88d506de
AJ
320302012-08-18 Andreas Jaeger <aj@suse.de>
32031
32032 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32033
493387d2
MF
320342012-08-18 Mike Frysinger <vapier@gentoo.org>
32035
32036 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32037 * include/unistd.h (__have_sock_cloexec): Likewise.
32038 (__have_pipe2): Likewise.
32039 (__have_dup3): Likewise.
32040
a277af22
MF
320412012-08-18 Mike Frysinger <vapier@gentoo.org>
32042
32043 [BZ #9685]
32044 * include/unistd.h (__have_pipe2): Change define into an extern int.
32045 (__have_dup3): Likewise.
32046 * socket/have_sock_cloexec.c: Include fcntl.h.
32047 (__have_pipe2): New variable.
32048 (__have_dup3): Likewise.
32049
fdab8fd3
MF
320502012-08-17 Mike Frysinger <vapier@gentoo.org>
32051
32052 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32053
31035e80
MP
320542012-08-17 Marek Polacek <polacek@redhat.com>
32055
32056 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32057 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32058
3bd9e993
RM
320592012-08-17 Roland McGrath <roland@hack.frob.com>
32060
c91c505f
RM
32061 * configure.in: Add AC_SUBST for sysheaders.
32062 * configure: Regenerated.
32063 * config.make.in (sysheaders): New substituted variable.
32064
7c6f9d53
RM
32065 * sysdeps/unix/mkfifo.c: Moved ...
32066 * sysdeps/posix/mkfifo.c: ... here.
32067 * sysdeps/unix/mkfifoat.c: Moved ...
32068 * sysdeps/posix/mkfifoat.c: ... here.
32069
32070 * sysdeps/unix/utime.c: Moved ...
32071 * sysdeps/posix/utime.c: ... here.
32072
32073 * sysdeps/unix/time.c: Moved ...
32074 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
32075 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32076 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
32077
32078 * sysdeps/unix/nice.c: Moved ...
32079 * sysdeps/posix/nice.c: ... here.
32080
32081 * sysdeps/unix/alarm.c: Moved ...
32082 * sysdeps/posix/alarm.c: ... here.
32083
3bd9e993
RM
32084 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32085
d1f09384
JL
320862012-08-17 Jeff Law <law@redhat.com>
32087
32088 * intl/Makefile (codeset_mo): New variable.
32089 ($(codeset_mo)): New target.
32090 (tst-codeset.out): Depend on that. Remove explicit rule.
32091 (tst-gettext3.out, tst-gettext5.out): Likewise.
32092 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32093 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32094 * intl/tst-codeset.sh: Remove.
32095 * intl/tst-gettext3.sh: Likewise.
32096 * intl/tst-gettext5.sh: Likewise.
32097
2ae1ae5c
RM
320982012-08-17 Roland McGrath <roland@hack.frob.com>
32099
c31fdb83
RM
32100 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32101 * sysdeps/unix/syscalls.list: ... here.
32102
a0844057
RM
32103 * sysdeps/posix/getaddrinfo.c
32104 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32105 (gaiconf_init, gaiconf_reload): Use them.
32106 [!_STATBUF_ST_NSEC]
32107 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32108 Define using time_t rather than struct timespec.
32109
750c1f2a
RM
32110 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32111 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32112 Macros removed.
32113 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32114 [!NO_THREADS].
32115 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32116 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32117 Likewise.
32118
2ae1ae5c
RM
32119 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32120 __libc_cleanup_push argument.
32121
e66a42f5
RM
32122 * bits/param.h: New file.
32123 * misc/sys/param.h: New file.
32124 * include/sys/param.h: New file.
32125 * misc/Makefile (headers): Add bits/param.h.
32126 * sysdeps/generic/sys/param.h: File removed.
32127 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32128 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32129 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 32130 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 32131
b7c08a66
RM
32132 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32133 last change.
32134
b2e1c562
RM
32135 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32136 [_IO_MTSAFE_IO].
32137 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32138 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32139 New macros.
32140
c75ccd4c
RM
32141 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32142 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32143 rather than -D_IO_MTSAFE_IO conditionally.
32144 * stdio-common/Makefile (CPPFLAGS): Likewise.
32145 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32146 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32147 Use $(libio-mtsafe).
32148 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32149 of -D_IO_MTSAFE_IO.
32150 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32151 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32152 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32153 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32154 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32155 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32156 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32157 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32158 (CFLAGS-fread_u_chk.c): Likewise.
32159 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32160 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32161 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32162 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32163 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32164 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32165 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32166 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32167 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32168
32169 * libio/Makefile: Test [$(libc-reentrant) = yes]
32170 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32171
32172 * Makeconfig
32173 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32174 * sysdeps/pthread/configure: File removed.
32175 * sysdeps/pthread/Makeconfig: New file.
32176 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32177 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32178
d9195db8
GB
321792012-08-16 Gary Benson <gbenson@redhat.com>
32180
32181 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32182 unmapping the first object in a namespace.
32183
86466cd9
RM
321842012-08-16 Roland McGrath <roland@hack.frob.com>
32185
32186 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32187 (__internal_setnetgrent): ... this. Add internal_function to
32188 definition. Add libc_hidden_def.
32189 (setnetgrent): Update caller.
32190 (internal_endnetgrent): Renamed to ...
32191 (__internal_endnetgrent): ... this. Add internal_function to
32192 definition. Add libc_hidden_def.
32193 (endnetgrent): Update caller.
32194 (internal_getnetgrent_r): Renamed to ...
32195 (__internal_getnetgrent_r): ... this. Add internal_function to
32196 definition. Add libc_hidden_def.
32197 (__getnetgrent_r): Update caller.
32198 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32199
c3c8283c
JM
322002012-08-16 Joseph Myers <joseph@codesourcery.com>
32201
32202 * stdlib/longlong.h: Update from GCC.
32203
db1ee0a8
RM
322042012-08-16 Roland McGrath <roland@hack.frob.com>
32205
32206 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32207 on _QL, which is set by umul_ppmm but never used.
32208 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32209 variables, which are set by GMP macros but never used.
32210 * stdio-common/_itowa.c (_itowa): Likewise.
32211 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32212 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32213
30f69637
CD
322142012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32215
32216 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32217 struct La_sh_regs is not constant.
32218 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32219 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32220 and struct La_sparc64_regs are not constant.
32221
93a78ac4
JM
322222012-08-16 Joseph Myers <joseph@codesourcery.com>
32223
32224 * sysdeps/unix/sysv/linux/kernel-features.h
32225 (__ASSUME_POSIX_TIMERS): Remove.
32226 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32227 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32228 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32229 Make code unconditional.
32230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32231 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32232 Make code unconditional.
32233 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32234 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32235 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32236 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32237 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32238 Make code unconditional.
32239 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32240 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32241 (__libc_missing_posix_timers): Remove.
32242
dd924cd7
RM
322432012-08-15 Roland McGrath <roland@hack.frob.com>
32244
4b4f2771
RM
32245 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32246 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32247
601c888b
RM
32248 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32249
176790a7
RM
32250 * elf/dl-sym.c: Include <stdlib.h>.
32251
329bc018
RM
32252 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32253 constants, which avoids warnings in 32-bit builds.
32254
e04e272d
RM
32255 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32256 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32257
952bf94a
RM
32258 * misc/lseek.c: File moved to ...
32259 * io/lseek.c: ... here.
32260
7c99b50a
RM
32261 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32262
dd924cd7
RM
32263 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32264 shifting LEN more than 31 bits at once.
32265
b3f479a8
LD
322662012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32267
32268 [BZ #14195]
8c4ae0d4
RM
32269 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32270 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32271 * string/test-strncasecmp.c (check1): Renamed to...
32272 (bz12205): ...this.
32273 (bz14195): Add new testcase for two empty input strings and N > 0.
32274 (test_main): Call new testcase, adapt for renamed function.
32275
9c55864e
AJ
322762012-08-15 Andreas Jaeger <aj@suse.de>
32277
32278 [BZ #14090]
32279 * crypt/md5test2.c: New test, based on test supplied by Serge
32280 Belyshev <belyshev@depni.sinp.msu.ru>.
32281 * crypt/Makefile (xtests): Add md5test-giant..
32282 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32283
02dcb6c5
PE
322842012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32285
32286 [BZ #14090]
32287 * crypt/md5.c (md5_process_block): Don't assume the buffer
32288 length is less than 2**32.
32289 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32290 length is less than 2**64.
32291
a3f95dcc
RM
322922012-08-15 Roland McGrath <roland@hack.frob.com>
32293
be75d758
RM
32294 * string/str-two-way.h: Include <sys/param.h>.
32295 (MAX): Macro removed.
32296
7312ca90
RM
32297 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32298 Move #define and #undef of memmove to just before and after
32299 including <string.h>.
32300
9a0a5486
RM
32301 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32302 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32303 and after including <string.h>. Move declarations of
32304 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32305 to before #include "string/memmove.c".
32306
67cc348d
RM
32307 * include/dirent.h: Declare __getdirentries.
32308
a3f95dcc
RM
32309 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32310 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32311
ca98e171
MF
323122012-08-14 Mike Frysinger <vapier@gentoo.org>
32313
32314 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32315 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32316 * sysdeps/i386/configure: Regenerated.
32317 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32318 STABS_CURRENT_FILE, and STABS_FUN.
32319 (END): Remove call to STABS_FUN_END.
32320 (STABS_CURRENT_FILE1): Delete.
32321 (STABS_CURRENT_FILE): Likewise.
32322 (STABS_FUN): Likewise.
32323 (STABS_FUN_END): Likewise.
32324 (STABS_FUN2): Likewise.
32325 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32326 * sysdeps/x86_64/configure: Regenerated.
32327
5908bf46
RM
323282012-08-14 Roland McGrath <roland@hack.frob.com>
32329
32330 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32331 * elf/dl-lookup.c: Likewise.
5908bf46 32332
f2c05b9e
JM
323332012-08-14 Joseph Myers <joseph@codesourcery.com>
32334
32335 * sysdeps/unix/sysv/linux/kernel-features.h
32336 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32337 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32338 unconditionally.
32339 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32340 unconditionally.
32341 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32342 condition on __ASSUME_CLONE_THREAD_FLAGS.
32343
e11f5155
AJ
323442012-08-14 Andreas Jaeger <aj@suse.de>
32345
32346 * sysdeps/i386/fpu/libm-test-ulps: Update.
32347
51a9ba86
MK
323482012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32349
2fdd4f78
AJ
32350 * include/atomic.h (atomic_exchange_and_add): Split into ...
32351 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32352 New atomic macros.
51a9ba86 32353
ba6cba9e
MT
323542012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32355
32356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32357
42443a47
JL
323582012-08-13 Jeff Law <law@redhat.com>
32359
32360 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32361 null byte in the output string.
32362
121dce05
JM
323632012-08-10 Joseph Myers <joseph@codesourcery.com>
32364
32365 * sysdeps/unix/sysv/linux/kernel-features.h
32366 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32367 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32368 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32369 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32370 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32371 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32372 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32373
bf51f568
JL
323742012-08-09 Jeff Law <law@redhat.com>
32375
32376 [BZ #13939]
32377 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32378 When avoid_arena is set, don't retry in the that arena. Pick the
32379 next one, whatever it might be.
32380 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32381 (arena_lock): Pass in new parameter to arena_get2.
32382 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32383 arena_get2.
32384 (__libc_malloc): Unify retrying after main arena failure with
32385 __libc_memalign version.
32386 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32387
f85fa270
L
323882012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32389
32390 [BZ #14166]
32391 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32392 to __redirect_strstr.
32393 (__strstr_sse42): Use typeof __redirect_strstr.
32394 (__strstr_ia32): Likewise.
32395 (__libc_strstr): New prototype.
32396 (strstr): Renamed to ...
32397 (__libc_strstr): This.
32398 (strstr): New strong alias of __libc_strstr.
32399 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32400 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32401 __redirect_time.
32402 Include <time.h>.
32403 (__libc_time): New prototype.
32404 (time_ifunc): Replace time with __libc_time.
32405 (time): New strong alias and hidden definition of __libc_time.
32406 (__GI_time): Remove strong alias.
32407 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32408 Include <stddef.h>.
32409 (memmove): Redefined to __redirect_memmove.
32410 (__memmove_sse2): Use typeof __redirect_memmove.
32411 (__memmove_ssse3): Likewise.
32412 (__memmove_ssse3_back): Likewise.
32413 (__libc_memmove): New prototype.
32414 (memmove): Renamed to ...
32415 (__libc_memmove): This.
32416 (memmove): New strong alias of __libc_memmove.
32417
33b4a91e
MS
324182012-08-08 Mark Salter <msalter@redhat.com>
32419
32420 * elf/elf.h
32421 (R_MN10300_TLS_GD): Define.
32422 (R_MN10300_TLS_LD): Likewise.
32423 (R_MN10300_TLS_LDO): Likewise.
32424 (R_MN10300_TLS_GOTIE): Likewise.
32425 (R_MN10300_TLS_IE): Likewise.
32426 (R_MN10300_TLS_LE): Likewise.
32427 (R_MN10300_TLS_DTPMOD): Likewise.
32428 (R_MN10300_TLS_DTPOFF): Likewise.
32429 (R_MN10300_TLS_TPOFF): Likewise.
32430 (R_MN10300_SYM_DIFF): Likewise.
32431 (R_MN10300_ALIGN): Likewise.
32432 (R_MN10300_NUM): Update.
32433
b36137f1
JM
324342012-08-08 Joseph Myers <joseph@codesourcery.com>
32435
32436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32437 Remove.
32438
cdd915fd
RM
324392012-08-08 Roland McGrath <roland@hack.frob.com>
32440
a2433aac
RM
32441 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32442
cdd915fd
RM
32443 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32444 sysdeps/unix -> sysdeps/posix move.
32445 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32446
bf9b740a
AM
324472012-08-07 Allan McRae <allan@archlinux.org>
32448
32449 [BZ #14303]
32450 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32451 (SUNOS_CPP): Likewise.
32452 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32453 not found.
32454 (open_input): Call CPP using execvp.
32455
93df14ee
JM
324562012-08-07 Joseph Myers <joseph@codesourcery.com>
32457
32458 * sysdeps/unix/sysv/linux/kernel-features.h
32459 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32460 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32461 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32462 (__ASSUME_WAITID_SYSCALL): Likewise.
32463 * sysdeps/unix/sysv/linux/dl-execstack.c
32464 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32465 code unconditional.
32466 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32467 conditional code.
32468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32469 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32470 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32471 code.
32472 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32473 unconditional.
32474 [__ASSUME_WAITID_SYSCALL]: Likewise.
32475 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32476
d34689de
RM
324772012-08-07 Roland McGrath <roland@hack.frob.com>
32478
a281decc
RM
32479 * sysdeps/unix/closedir.c: Renamed to ...
32480 * sysdeps/posix/closedir.c: ... here.
32481 * sysdeps/unix/dirfd.c: Renamed to ...
32482 * sysdeps/posix/dirfd.c: ... here.
32483 * sysdeps/unix/dirstream.h: Renamed to ...
32484 * sysdeps/posix/dirstream.h: ... here.
32485 * sysdeps/unix/fdopendir.c: Renamed to ...
32486 * sysdeps/posix/fdopendir.c: ... here.
32487 * sysdeps/unix/opendir.c: Renamed to ...
32488 * sysdeps/posix/opendir.c: ... here.
32489 * sysdeps/unix/readdir.c: Renamed to ...
32490 * sysdeps/posix/readdir.c: ... here.
32491 * sysdeps/unix/readdir_r.c: Renamed to ...
32492 * sysdeps/posix/readdir_r.c: ... here.
32493 * sysdeps/unix/rewinddir.c: Renamed to ...
32494 * sysdeps/posix/rewinddir.c: ... here.
32495 * sysdeps/unix/seekdir.c: Renamed to ...
32496 * sysdeps/posix/seekdir.c: ... here.
32497 * sysdeps/unix/telldir.c: Renamed to ...
32498 * sysdeps/posix/telldir.c: ... here.
32499 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32500 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32501 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32502 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32503
22895b47
RM
32504 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32505 * bits/fcntl.h: ... here.
32506
707a53b6
RM
32507 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32508 not 0.
32509 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32510 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32511 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32512 (struct flock): Move l_start, l_len to the beginning.
32513 Use __pid_t for l_pid.
32514 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32515 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32516 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32517 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32518 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32519 [__USE_LARGEFILE64] (struct flock64): New type.
32520 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32521
f0bd3e25
RM
32522 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32523 * bits/dirent.h: ... here.
32524
d34689de
RM
32525 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32526 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32527
6dad2c06
JM
325282012-08-07 Joseph Myers <joseph@codesourcery.com>
32529
32530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32531 Change from 2.6.0 to 2.6.16.
32532 * sysdeps/unix/sysv/linux/configure: Regenerated.
32533 * sysdeps/unix/sysv/linux/kernel-features.h
32534 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32535 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32536 version.
32537 (__ASSUME_UTIMES): Likewise.
32538 (__ASSUME_CLONE_STOPPED): Remove.
32539 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32540 architectures, not kernel version.
32541 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32544 (__ASSUME_WAITID_SYSCALL): Likewise.
32545 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32546 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32547 * README: State 2.6.16 as minimum Linux kernel version. Do not
32548 refer to older versions.
32549
03af9520
RM
325502012-08-06 Roland McGrath <roland@hack.frob.com>
32551
8e49df1d
RM
32552 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32553 Define alphasort64 as an alias.
32554 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32555 Define versionsort64 as an alias.
32556 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32557 Define scandir64 as an alias.
32558 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32559 Define scandirat64 as an alias.
32560 * dirent/alphasort64.c (alphasort64):
32561 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32562 * dirent/versionsort64.c: Likewise.
32563 * dirent/scandir64.c: Likewise.
32564 * dirent/scandirat64.c: Likewise.
32565 * sysdeps/wordsize-64/alphasort.c: File removed.
32566 * sysdeps/wordsize-64/alphasort64.c: File removed.
32567 * sysdeps/wordsize-64/scandir.c: File removed.
32568 * sysdeps/wordsize-64/scandir64.c: File removed.
32569 * sysdeps/wordsize-64/scandirat.c: File removed.
32570 * sysdeps/wordsize-64/scandirat64.c: File removed.
32571 * sysdeps/wordsize-64/versionsort.c: File removed.
32572 * sysdeps/wordsize-64/versionsort64.c: File removed.
32573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32574 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32576 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32578 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32580 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32581
32582 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32584 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32586 [defined __arch64__ || defined __sparcv9]
32587 (__INO_T_MATCHES_INO64_T): New macro.
32588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32589 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32590 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32591 * sysdeps/unix/sysv/linux/bits/dirent.h
32592 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32593 (_DIRENT_MATCHES_DIRENT64): New macro.
32594
03af9520
RM
32595 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32596 Define lockf64 as an alias.
32597 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32598 Define fseeko64 as an alias.
32599 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32600 Define ftello64 as an alias.
32601 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32602 Define _IO_fgetpos64 and fgetpos64 as aliases.
32603 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32604 Define _IO_fsetpos64 and fsetpos64 as aliases.
32605 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32606 Conditionalize body on this.
32607 * libio/fseeko64.c: Likewise.
32608 * libio/ftello64.c: Likewise.
32609 * libio/iofgetpos64.c: Likewise.
32610 * libio/iofsetpos64.c: Likewise.
32611 * sysdeps/wordsize-64/lockf.c: File removed.
32612 * sysdeps/wordsize-64/lockf64.c: File removed.
32613 * sysdeps/wordsize-64/fseeko.c: File removed.
32614 * sysdeps/wordsize-64/fseeko64.c: File removed.
32615 * sysdeps/wordsize-64/ftello.c: File removed.
32616 * sysdeps/wordsize-64/ftello64.c: File removed.
32617 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32618 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32619 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32620 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32622 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32627 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32628 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32629 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32630 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32631
32632 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32634 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32635 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32636 [defined __arch64__ || defined __sparcv9]
32637 (__OFF_T_MATCHES_OFF64_T): New macro.
32638 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32639 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32641 (__OFF_T_MATCHES_OFF64_T): New macro.
32642
c5757acd
L
326432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32644
32645 * stdlib/secure-getenv.c (__secure_getenv): Replace
32646 GLIBC_2_16 with GLIBC_2_17.
32647
3a31811e
L
326482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32649
32650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32652
faa2bccb
DM
326532012-08-03 David S. Miller <davem@davemloft.net>
32654
32655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32656
85fe1997
JM
326572012-08-03 Joseph Myers <joseph@codesourcery.com>
32658
32659 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32660 Remove.
32661 (__ASSUME_CORRECT_SI_PID): Likewise.
32662 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32663 (__ASSUME_TMPFS_NAME): Likewise.
32664 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32665 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32666 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32667 (HAVE_AUX_SECURE): Make definition unconditional.
32668 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32669 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32670
4f75b7a0
RM
326712012-08-03 Roland McGrath <roland@hack.frob.com>
32672
32673 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32674 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32675 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32676 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32677 __eloop_threshold instead of SYMLOOP_MAX.
32678
32679 * sysdeps/generic/eloop-threshold.h: New file.
32680 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32681 of MAXSYMLINKS.
32682 * elf/chroot_canon.c (chroot_canon): Likewise.
32683
7aab07e4
JM
326842012-08-03 Joseph Myers <joseph@codesourcery.com>
32685
32686 [BZ #13717]
32687 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32688 Change to 2.6.0 everywhere.
32689 * sysdeps/unix/sysv/linux/configure: Regenerated.
32690 * sysdeps/unix/sysv/linux/kernel-features.h
32691 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32692 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32693 kernel versions.
32694 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32695 (__ASSUME_FUTEX_REQUEUE): Remove.
32696 (__ASSUME_STATFS64): Define unconditionally.
32697 (__ASSUME_AT_SECURE): Likewise.
32698 (__ASSUME_CORRECT_SI_PID): Likewise.
32699 (__ASSUME_TGKILL): Define without depending on kernel version for
32700 i386.
32701 (__ASSUME_UTIMES): Likewise.
32702 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32703 kernel version.
32704 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32705 (__ASSUME_TMPFS_NAME): Likewise.
32706 * README: Update reference to Linux kernel versions.
32707
b67e9372
MP
327082012-08-02 Marek Polacek <polacek@redhat.com>
32709
1f529f7d 32710 [BZ# 14150]
b67e9372
MP
32711 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32712 libc_cv_asm_type_prefix with %.
32713 * configure: Regenerated.
d2441631
RM
32714 * include/libc-symbols.h: Remove comment about
32715 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
32716 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32717 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32718 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32719 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32720 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32721 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32722 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32723 * elf/tst-unique2mod1.c: Likewise.
32724 * elf/tst-unique1mod2.c: Likewise.
32725 * elf/tst-unique1mod1.c: Likewise.
32726 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32727 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32728 Replace ASM_TYPE_DIRECTIVE with .type.
32729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32730 * sysdeps/i386/sysdep.h: Likewise.
32731 * sysdeps/x86_64/sysdep.h: Likewise.
32732 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
32733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32734 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 32735 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
32736 * sysdeps/powerpc/powerpc32/sysdep.h:
32737 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
32738 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32739 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32740 * sysdeps/i386/fpu/e_powf.S: Likewise.
32741 * sysdeps/i386/fpu/e_expl.S: Likewise.
32742 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32744 * sysdeps/i386/fpu/e_pow.S: Likewise.
32745 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32746 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32747 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32748 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32749 * sysdeps/i386/fpu/e_log2.S: Likewise.
32750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32752 * sysdeps/i386/fpu/e_powl.S: Likewise.
32753 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32754 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32755 * sysdeps/i386/fpu/e_logl.S: Likewise.
32756 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32757 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32758 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32759 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32761 * sysdeps/i386/fpu/e_log.S: Likewise.
32762 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32763 * sysdeps/i386/fpu/e_logf.S: Likewise.
32764 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32765 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32766 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32767 * sysdeps/i386/fpu/e_log10.S: Likewise.
32768 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32769 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32770 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32771 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32772 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32773 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32774 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32775 * sysdeps/i386/i686/strtok.S: Likewise.
32776 * sysdeps/i386/i386-mcount.S: Likewise.
32777 * sysdeps/i386/strtok.S: Likewise.
32778 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32781 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32782 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32783 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32784 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32785 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32786 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32787 * sysdeps/x86_64/_mcount.S: Likewise.
32788 * sysdeps/x86_64/strtok.S: Likewise.
32789 * sysdeps/sh/_mcount.S: Likewise.
32790
2747bf9a
RM
327912012-08-01 Roland McGrath <roland@hack.frob.com>
32792
32793 * libio/iofopen.c: Include <fcntl.h>.
32794 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32795 (_IO_fopen64, fopen64): Define as aliases.
32796 * libio/iofopen64.c: Include <fcntl.h>.
32797 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32798 Conditionalize body on this.
32799 * sysdeps/wordsize-64/iofopen.c: File removed.
32800 * sysdeps/wordsize-64/iofopen64.c: File removed.
32801
3fb791b8
MP
328022012-08-01 Marek Polacek <polacek@redhat.com>
32803
32804 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32805 Use dlfcn directly instead of a variable.
32806 (binfmt-subdir): Do not define.
32807 (dlfcn): Likewise.
32808
a9f1039f
JM
328092012-08-01 Joseph Myers <joseph@codesourcery.com>
32810
23bddc06
JM
32811 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32812 Remove all definitions.
32813 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32814 <kernel-features.h>.
32815 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32816 (miss_F_GETOWN_EX): Remove all definitions.
32817 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32818 macro definition.
32819 [!__ASSUME_FCNTL64]: Remove conditional code.
32820 [__ASSUME_FCNTL64]: Make code unconditional.
32821 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32822 <kernel-features.h>.
32823 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32824 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32825 (lockf64) [__NR_fcntl64]: Make code unconditional.
32826 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32827
a9f1039f
JM
32828 * sysdeps/unix/sysv/linux/kernel-features.h
32829 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32830 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32831 Make code unconditional.
32832 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32833 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32835 [__NR_vfork]: Make code unconditional.
32836 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32837 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32839 [__NR_vfork]: Make code unconditional.
32840 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32841 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32842
09c0ee5f
RM
328432012-08-01 Roland McGrath <roland@hack.frob.com>
32844
48aec5b9
RM
32845 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32846 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32847
cd97c966
RM
32848 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32849 Define mkstemp64 as an alias.
3f55550c
RM
32850 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32851 Define mkstemps64 as an alias.
cd97c966
RM
32852 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32853 Define mkostemp64 as an alias.
b8625cfc
RM
32854 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32855 Define mkostemps64 as an alias.
cd97c966
RM
32856 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32857 Conditionalize body on this.
32858 * misc/mkostemp64.c: Likewise.
b8625cfc 32859 * misc/mkostemps64.c: Likewise.
3f55550c 32860 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32861 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32862 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32863 * sysdeps/wordsize-64/mkostemp.c: File removed.
32864 * sysdeps/wordsize-64/mkstemp.c: File removed.
32865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32866 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32867 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32868 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32869
09c0ee5f
RM
32870 [BZ #14138]
32871 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32872 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32873 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32874 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32875
32876 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32877 compat_symbol macros from <shlib-compat.h> rather than the underlying
32878 default_symbol_version and symbol_version macros, so that DEFAULT
32879 lines in shlib-versions are respected.
32880 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32881
7e66ee51
FW
328822012-08-01 Florian Weimer <fweimer@redhat.com>
32883
32884 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32885 Declare with warn_unused_result.
32886 (setgid, setregid, setegid, setresgid): Likewise.
32887 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32888 Likewise.
32889 * WUR-REPORT: Remove set*id functions.
32890
d2a54255
PT
328912012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32892
32893 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32894
7ecdb005
RM
328952012-07-31 Roland McGrath <roland@hack.frob.com>
32896
b4180a5e 32897 [BZ #10191]
789bd351
RM
32898 * include/sys/socket.h (__libc_accept, __libc_accept4):
32899 Add attribute_hidden.
32900 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32901
40ce302d
RM
32902 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32903 use of PTR_MANGLE.
32904 * inet/getnetgrent_r.c (setup): Likewise.
32905
7ecdb005
RM
32906 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32907
e2eabb2c
DM
329082012-07-31 David S. Miller <davem@davemloft.net>
32909
32910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32911
d0419dbf
JM
329122012-07-31 Joseph Myers <joseph@codesourcery.com>
32913
32914 [BZ #13629]
32915 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32916 value between 1.0 and 2.0 and smaller part has absolute value less
32917 than 1.0.
32918 * math/s_clog10.c (__clog10): Likewise.
32919 * math/s_clog10f.c (__clog10f): Likewise.
32920 * math/s_clog10l.c (__clog10l): Likewise.
32921 * math/s_clogf.c (__clogf): Likewise.
32922 * math/s_clogl.c (__clogl): Likewise.
32923 * math/libm-test.inc (clog_test): Add more tests.
32924 (clog10_test): Likewise.
32925 * sysdeps/i386/fpu/libm-test-ulps: Update.
32926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32927
2bc13872
FW
329282012-07-31 Florian Weimer <fweimer@redhat.com>
32929
32930 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32931 Exit with zero in case no suitable GID is found, and write a
32932 message to standard error.
32933
bea9b193
RM
329342012-07-30 Roland McGrath <roland@hack.frob.com>
32935
32936 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32937 rather than to 1.
32938 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32939 (MAXPATHLEN): Removed.
32940 (NOGROUP, NODEV): New macros.
32941 (setbit, clrbit, isset, isclr): New macros.
32942 (howmany, roundup, powerof2): New macros.
32943 (DEV_BSIZE): New macro.
32944
32945 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32946 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32947
32948 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32949 definition on [!__NO_LONG_DOUBLE_MATH].
32950
32951 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32952 PTR_MANGLE and PTR_DEMANGLE.
32953
32954 * socket/accept4.c (accept4): Rename to __libc_accept4.
32955 Define accept4 as a weak alias.
32956
32957 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32958 on [_DIRENT_HAVE_D_TYPE].
32959 * io/ftw.c (ftw_dir): Likewise.
32960
32961 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32962
32963 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32964
32965 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32966 Use the BSD numbers rather than the arbitrary ones we had.
32967 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32968 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32969 (SIGXCPU, SIGXFSZ): New macros.
32970 (_NSIG): Now 32.
32971
32972 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32973 initializer on [_LIBC_REENTRANT].
32974
32975 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32976 definitions inside [_POSIX_MAPPED_FILES].
32977
32978 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32979
32980 * dirent/opendir.c: Include <fcntl.h>.
32981
32982 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32983 (__libc_getspecific): Likewise.
32984 (__libc_key_create): Likewise.
32985
32986 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32987 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32988 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32989 (tmpfile64): Define as alias.
32990 * sysdeps/wordsize-64/tmpfile.c: File removed.
32991 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32993 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32994
32995 * stdio-common/vfscanf.c: Include <stdbool.h>.
32996 * nss/makedb.c: Likewise.
32997 * stdio-common/_i18n_number.h: Likewise.
32998 * argp/argp-help.c: Likewise.
32999 * posix/wordexp.c: Likewise.
33000 * sysdeps/posix/spawni.c: Likewise.
33001 * nss/nss_files/files-initgroups.c: Likewise.
33002 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33003 * nss/nss_files/files-initgroups.c: Likewise.
33004 * nss/nss_db/db-netgrp.c: Likewise.
33005 * nss/nss_db/db-initgroups.c: Likewise.
33006 * io/fchmodat.c: Include <sys/stat.h>.
33007
33008 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33009 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33010
33011 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33012 [HAVE_MMAP].
33013
33014 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33015 Add multiple inclusion protection.
33016
e5abc686
DM
330172012-07-27 David S. Miller <davem@davemloft.net>
33018
33019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33020
815e6fa3
GB
330212012-07-27 Gary Benson <gbenson@redhat.com>
33022
33023 [BZ #14298]
33024 * elf/rtld.c: Include <stap-probe.h>.
33025 (dl_main): Added static probes "init_start" and "init_complete".
33026 * elf/dl-load.c: Include <stap-probe.h>.
33027 (lose): Take new parameter "nsid".
33028 Added static probe "map_failed".
33029 (_dl_map_object_from_fd): Pass namespace id to lose.
33030 Added static probe "map_start".
33031 (open_verify): Pass namespace id to lose.
33032 * elf/dl-open.c: Include <stap-probe.h>.
33033 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33034 and "reloc_complete".
33035 * elf/dl-close.c: Include <stap-probe.h>.
33036 (_dl_close_worker): Added static probes "unmap_start" and
33037 "unmap_complete".
33038 * elf/rtld-debugger-interface.txt: New file documenting the above.
33039
9f98c16c
RM
330402012-07-26 Roland McGrath <roland@hack.frob.com>
33041
33042 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33043 rather than a string variable.
33044 * sunrpc/rpc_main.c (h_output): Likewise.
33045 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33046
f3c22df3
PT
330472012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33048
33049 * inet/check_native.c: New file.
33050
3129cfc6
JM
330512012-07-26 Joseph Myers <joseph@codesourcery.com>
33052
da865e95
JM
33053 [BZ #13629]
33054 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33055 if larger part has absolute value 1.0.
33056 * math/s_clog10.c (__clog10): Likewise.
33057 * math/s_clog10f.c (__clog10f): Likewise.
33058 * math/s_clog10l.c (__clog10l): Likewise.
33059 * math/s_clogf.c (__clogf): Likewise.
33060 * math/s_clogl.c (__clogl): Likewise.
33061 * math/libm-test.inc (clog_test): Add more tests.
33062 (clog10_test): Likewise.
33063 * sysdeps/i386/fpu/libm-test-ulps: Update.
33064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33065
3129cfc6
JM
33066 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33067 (pltexit): Likewise.
33068 (La_regs): Likewise.
33069 (La_retval): Likewise.
33070 (int_retval): Likewise.
33071 Update #error for removed macros to refer only to definitions in
33072 tst-audit.h.
33073 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33074 macro.
33075 (pltexit): Likewise.
33076 (La_regs): Likewise.
33077 (La_retval): Likewise.
33078 (int_retval): Likewise.
33079 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33080 macro.
33081 (pltexit): Likewise.
33082 (La_regs): Likewise.
33083 (La_retval): Likewise.
33084 (int_retval): Likewise.
33085 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33086 macro.
33087 (pltexit): Likewise.
33088 (La_regs): Likewise.
33089 (La_retval): Likewise.
33090 (int_retval): Likewise.
33091 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33092 macro.
33093 (pltexit): Likewise.
33094 (La_regs): Likewise.
33095 (La_retval): Likewise.
33096 (int_retval): Likewise.
33097 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33098 macro.
33099 (pltexit): Likewise.
33100 (La_regs): Likewise.
33101 (La_retval): Likewise.
33102 (int_retval): Likewise.
33103 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33104 macro.
33105 (pltexit): Likewise.
33106 (La_regs): Likewise.
33107 (La_retval): Likewise.
33108 (int_retval): Likewise.
33109 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33110 macro definitions in tst-audit.h.
33111 * sysdeps/i386/tst-audit.h: New file.
33112 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33113 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33114 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33115 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33116 * sysdeps/sh/tst-audit.h: Likewise.
33117 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33118 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33119 * sysdeps/x86_64/tst-audit.h: Likewise.
33120
bfc07087
AJ
331212012-07-26 Andreas Jaeger <aj@suse.de>
33122
b1b2aaf8
AJ
33123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33124 ptrace.
33125
33126 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33127 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33128 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33129 PTRACE_O_MASK.
33130 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33131 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33132 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33133
bfc07087
AJ
33134 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33135 value.
33136
33137 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33138 _sigsys.
33139 (si_call_addr, si_syscall, si_arch): Define new macro.
33140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33141 _sigsys.
33142 (si_call_addr, si_syscall, si_arch): Define new marcro.
33143 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33144 _sigsys.
33145 (si_call_addr, si_syscall, si_arch): Define new macro.
33146 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33147 _sigsys.
33148 (si_call_addr, si_syscall, si_arch): Define new macro.
33149
89b4b02f
JM
331502012-07-25 Joseph Myers <joseph@codesourcery.com>
33151
33152 [BZ #13717]
33153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33154 Change to 2.4.21 where previously 2.4.1.
33155 * sysdeps/unix/sysv/linux/configure: Regenerated.
33156 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33157 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33158 Linux kernel version.
33159 (__ASSUME_STD_AUXV): Remove.
33160 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33161 kernel version.
33162 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33163 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33164 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33165 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33166 (__ASSUME_NETLINK_SUPPORT): Likewise.
33167 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33168 (__no_netlink_support): Remove conditional definition.
33169 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33170 Remove.
33171 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33172 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33173 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33174 (if_nameindex_ioctl): Remove.
33175 (if_nameindex_netlink): Do not handle __no_netlink_support.
33176 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33177 code.
33178 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33179 Remove conditional code.
33180 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33181 code.
33182 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33183 unconditional.
33184 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33185 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33186 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33187 Remove.
33188 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33189 [!__ASSUME_STD_AUXV]: Remove conditional code.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33191 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33192 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33194 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33195 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33196 code.
33197 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33199 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33200 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33201 conditional code.
33202 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33204 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33205 code.
33206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33207 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33208 conditional code.
33209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33210 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33211 code unconditional.
33212 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33213 conditional code.
33214 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33215 unconditional.
33216 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33217 conditional code.
33218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33219 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33220 unconditional.
33221 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33222 conditional code.
33223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33224 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33225 code unconditional.
33226 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33227 conditional code.
33228 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33229 unconditional.
33230 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33231 conditional code.
33232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33233 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33234 code unconditional.
33235 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33236 conditional code.
33237 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33238 unconditional.
33239 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33240 conditional code.
33241
842a39cd
AS
332422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33243
33244 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33245 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33246 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33247 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33248 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33249 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33250 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33251 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33252 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33253 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33254 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33255 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33256 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33257 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33259 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33260 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33262 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33264 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33265 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33266 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33267
84b3fd84
FW
332682012-07-25 Florian Weimer <fweimer@redhat.com>
33269
33270 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33271 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33272 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33273 Introduce __libc_secure_getenv.
0c7936d5
FW
33274 * stdlib/Versions (2.17): Add secure_getenv
33275 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33276 * stdlib/secure-getenv.c: Rename __secure_getenv to
33277 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33278 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33279 * stdlib/tst-secure-getenv.c: New.
33280 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33281 * manual/startup.texi (Environment Access): Document
33282 secure_getenv.
84b3fd84
FW
33283 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33284 __libc_secure_getenv.
33285 * inet/ruserpass.c (ruserpass): Likewise.
33286 * malloc/mtrace.c (mtrace): Likewise.
33287 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33288 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33289 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33290 * sysdeps/posix/tempname.c: Likewise. Evaluate
33291 HAVE_SECURE_GETENV.
33292 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33293 __secure_getenv to __libc_secure_getenv.
84b3fd84 33294 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33296 Likewise.
33297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33298 Likewise.
33299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33306
56e49b71
JM
333072012-07-25 Joseph Myers <joseph@codesourcery.com>
33308
33309 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33310 (struct La_i86_retval): Likewise.
33311 (struct La_x86_64_regs): Likewise.
33312 (struct La_x86_64_retval): Likewise.
33313 (struct La_x32_regs): Likewise.
33314 (struct La_x32_retval): Likewise.
33315 (struct La_ppc32_regs): Likewise.
33316 (struct La_ppc32_retval): Likewise.
33317 (struct La_ppc64_regs): Likewise.
33318 (struct La_ppc64_retval): Likewise.
33319 (struct La_sh_regs): Likewise.
33320 (struct La_sh_retval): Likewise.
33321 (struct La_s390_32_regs): Likewise.
33322 (struct La_s390_32_retval): Likewise.
33323 (struct La_s390_64_regs): Likewise.
33324 (struct La_s390_64_retval): Likewise.
33325 (struct La_sparc32_regs): Likewise.
33326 (struct La_sparc32_retval): Likewise.
33327 (struct La_sparc64_regs): Likewise.
33328 (struct La_sparc64_retval): Likewise.
33329 (struct audit_ifaces): Remove architecture-specific pltenter and
33330 pltexit members.
33331 * sysdeps/i386/ldsodefs.h: New file.
33332 * sysdeps/powerpc/ldsodefs.h: Likewise.
33333 * sysdeps/s390/ldsodefs.h: Likewise.
33334 * sysdeps/sh/ldsodefs.h: Likewise.
33335 * sysdeps/sparc/ldsodefs.h: Likewise.
33336 * sysdeps/x86_64/ldsodefs.h: Likewise.
33337
354691b7
MP
333382012-07-25 Marek Polacek <polacek@redhat.com>
33339
33340 [BZ #6808]
33341 * math/libm-test.inc (yn_test): Add another test.
33342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33343 to ERANGE when the result is +-Inf.
33344 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33345 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33346 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33347 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33348
bf9e2071
JM
333492012-07-24 Joseph Myers <joseph@codesourcery.com>
33350
33351 * conform/data/time.h-data (NULL): Use macro-constant. Require
33352 equal to 0.
33353 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33354 clock_t.
33355 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33356
57633811
TS
333572012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33358
33359 * configure.in <sysdeps resolving>: Correct printing
33360 Implies_before.
33361 * configure: Regenerate.
33362
c23c33b0
TS
333632012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33364
33365 * math/w_ilogb.c: Include <limits.h>.
33366 * math/w_ilogbl.c: Likewise.
33367
b5982523
JM
333682012-07-20 Joseph Myers <joseph@codesourcery.com>
33369
33370 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33371 va_copy. Document allowing for unavailable va_copy only as
33372 pre-C99 compatibility.
33373 * manual/string.texi (Copying and Concatenation): Use va_copy
33374 instead of __va_copy in concat example.
33375
ac4ea442
PT
333762012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33377
33378 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33379 (__sendto): Use create_address_port. Initialize APORT and deallocate
33380 it if not null.
33381
f98eafbd
PT
33382 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33383 with O_NOLINK passed to __file_name_lookup.
33384
898c7aab
PT
33385 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33386 with O_NOLINK passed to __file_name_lookup.
33387
0ced335a
PT
33388 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33389 negative N or less than NGIDS.
33390
b3404dbd
PT
33391 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33392 type to string_t. Set ERANGE as errno and return it if NAME is not big
33393 enough. Use memcpy instead of strncpy.
33394
0f48659e
JM
333952012-07-20 Joseph Myers <joseph@codesourcery.com>
33396
33397 * elf/Makefile (check-data): Remove.
33398 (localplt.data): New vpath directive.
33399 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33400 instead of $(check-data).
33401 * scripts/data/localplt-generic.data: Move to ...
33402 * sysdeps/generic/localplt.data: ... here.
33403 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33404 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33405 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33407 ... here.
33408 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33410 ... here.
33411 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33413 ... here.
33414 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33416 ... here.
33417 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33419 ... here.
33420 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33422 ... here.
33423
d37cbdaa
AZ
334242012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33425
33426 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33427 PPC32 and PPC64 files.
33428 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33429 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33430
46f85fc2
AK
334312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33432
33433 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33434 __makecontext_ret to ...
33435 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33436 ... here and call exit if uc_link is NULL. New file.
33437 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33438 __makecontext_ret.S.
33439 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33440 __makecontext_ret to ...
33441 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33442 ... here and call exit if uc_link is NULL. New file.
33443 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33444 __makecontext_ret.S.
33445
08f43f9b
AK
334462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33447
33448 * elf/elf.h (R_390_IRELATIVE): New definition.
33449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33450 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33451 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33453 (elf_machine_lazy_rel): Likewise.
33454 * sysdeps/s390/dl-irel.h: New file.
33455 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33456 * sysdeps/s390/s390-64/memset.S: New asm code.
33457 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33458 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33459 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33460 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33461 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33462 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33463 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33464 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33465 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33466 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33467 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33468 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33469 * sysdeps/s390/s390-32/memset.S: New asm code.
33470 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33471
3b05db33
MP
334722012-07-17 Marek Polacek <polacek@redhat.com>
33473
33474 [BZ #14349]
33475 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33476 * sysdeps/s390/s390-64/configure.in: Likewise.
33477 * sysdeps/sparc/configure.in: Likewise.
33478 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33479 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33480 * sysdeps/i386/configure.in: Likewise.
33481 * sysdeps/x86_64/configure.in: Likewise.
33482 * sysdeps/sh/configure.in: Likewise.
33483 * sysdeps/s390/s390-32/configure: Regenerated.
33484 * sysdeps/s390/s390-64/configure: Likewise.
33485 * sysdeps/x86_64/configure: Likewise.
33486 * sysdeps/sh/configure: Likewise.
33487 * sysdeps/powerpc/powerpc64/configure: Likewise.
33488 * sysdeps/powerpc/powerpc32/configure: Likewise.
33489 * sysdeps/sparc/configure: Likwise.
33490 * sysdeps/i386/configure: Likewise.
33491
a66877c6
MP
33492 * elf/dl-open.c: Comment fixes.
33493
cfc82fd8
JM
334942012-07-17 Joseph Myers <joseph@codesourcery.com>
33495
bd29910a
JM
33496 * Makefile [CXX] (check-data): Remove.
33497 [CXX] (c++-types.data): New vpath directive.
33498 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33499 vpath. Do not allow for C++ type data being missing.
33500 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33501 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33502 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33503 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33504 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33505 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33506 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33508 ... here.
33509 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33511 ... here.
33512 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33514 ... here.
33515 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33517 ... here.
33518 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33520 ... here.
33521 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33523 ... here.
33524 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33526 ... here.
33527 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33529
cfc82fd8
JM
33530 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33531 definitions to architecture-specific files.
33532 (TLS_IE): Likewise.
33533 (TLS_LD): Likewise.
33534 (TLS_GD): Likewise.
33535 * sysdeps/i386/tls-macros.h: New file.
33536 * sysdeps/powerpc/tls-macros.h: Likewise.
33537 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33538 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33539 * sysdeps/sh/tls-macros.h: Likewise.
33540 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33541 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33542 * sysdeps/x86_64/tls-macros.h: Likewise.
33543
f7db3170
TS
335442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33545
07cbfc23
TS
33546 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33547 zero value for regular exit case.
33548
f7db3170
TS
33549 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33550 (__start_context): Preserve zero value for regular exit case.
33551
dc97c227
TS
335522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33553 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33554
33555 * manual/setjmp.texi (setcontext): Clarify normal process
33556 termination when uc_link is the null pointer.
33557 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33558 exit call.
33559
d0cd7d02
AS
335602012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33561
33562 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33563 preprocessor. Test for each exception mask separately.
33564
dd318934
AJ
335652012-07-16 Andreas Jaeger <aj@suse.de>
33566
33567 * po/ru.po: Update from translation team.
33568
8048311a
JM
335692012-07-15 Joseph Myers <joseph@codesourcery.com>
33570
33571 * conform/data/string.h-data (NULL): Use macro-constant. Require
33572 equal to 0.
33573 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33574 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33575 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33576 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33578
b637d46e
AJ
335792012-07-13 Andreas Jaeger <aj@suse.de>
33580
33581 * po/fr.po: Update from translation team.
33582
541428fe
MP
335832012-07-12 Marek Polacek <polacek@redhat.com>
33584
33585 [BZ #14173]
33586 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33587 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33588 loop condition.
33589
ec332e94
JM
335902012-07-12 Joseph Myers <joseph@codesourcery.com>
33591
33592 [BZ #13717]
33593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33594 Change to 2.4.1 where previously 2.4.0.
33595 * sysdeps/unix/sysv/linux/configure: Regenerated.
33596 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33597 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33598 version.
33599 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33600 (__ASSUME_AT_CLKTCK): Remove.
33601 (__ASSUME_AT_PAGESIZE): Likewise.
33602 (__ASSUME_AT_XID): Likewise.
33603 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33604 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33605 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33606 unconditionally.
33607 (HAVE_AUX_PAGESIZE): Likewise.
33608 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33609 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33610 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33611
7b6e99be
JB
336122012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33613
33614 [BZ #14307]
33615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33616 the temporary buffer used to invoke __gethostbyname2_r,
33617 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33618 host_data / struct gaih_addrtuple.
33619 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33620 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33621 header file nss/nsswitch.h.
33622 * nss/nsswitch.h (global scope): Add definition of implementation
33623 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33624 resolv/nss_dns/dns-host.c).
33625
608404eb
AJ
336262012-07-11 Andreas Jaeger <aj@suse.de>
33627
33628 * po/fr.po: Update from translation team.
33629
71220aca
AJ
33630 * po/sv.po: Update from translation team
33631 * po/fr.po: Another update from translation team.
33632
28cfe843
AZ
336332012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33634
33635 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33636 for subnormals or multiply small sinh result by itself.
33637 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33639
6b90f981
DM
336402012-07-11 David S. Miller <davem@davemloft.net>
33641
33642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33643
c6825772
AS
336442012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33645
33646 [BZ #14347]
33647 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33648 (INTERNAL_MARK): Shift it here.
33649
7b8e0d49
MP
336502012-07-10 Marek Polacek <polacek@redhat.com>
33651
33652 [BZ #14151]
33653 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33654 libc_cv_asm_global_directive with .globl.
33655 * configure: Regenerated.
33656 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33657 with .globl.
33658 * sysdeps/i386/configure: Regenerated.
33659 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33660 with .globl.
33661 * sysdeps/x86_64/configure: Regenerated.
33662 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33663 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33664 * elf/tst-unique2mod2.c: Likewise.
33665 * elf/tst-unique2mod1.c: Likewise.
33666 * elf/tst-unique1mod2.c: Likewise.
33667 * elf/tst-unique1mod1.c: Likewise.
33668 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33669 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33670 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33671 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33672 * sysdeps/mach/sysdep.h: Likewise.
33673 * sysdeps/i386/sysdep.h: Likewise.
33674 * sysdeps/i386/i386-mcount.S: Likewise.
33675 * sysdeps/x86_64/_mcount.S: Likewise.
33676 * sysdeps/x86_64/sysdep.h: Likewise.
33677 * sysdeps/sh/_mcount.S: Likewise.
33678 * sysdeps/sh/sysdep.h: Likewise.
33679 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33680 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33681 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33682 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33683 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33684 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33685 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33686 * locale/localeinfo.h: Likewise.
33687 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33688 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33689
6c55cda3
RM
336902012-07-09 Roland McGrath <roland@hack.frob.com>
33691
33692 [BZ #14336]
33693 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33694 system".
33695 * manual/message.texi (The Uniforum approach): Likewise.
33696 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33697 (glibc iconv Implementation): Likewise.
33698
638a572e
JM
336992012-07-09 Joseph Myers <joseph@codesourcery.com>
33700
33701 [BZ #14337]
33702 * math/s_clog.c (__clog): Avoid scaling a value down where that
33703 could result in underflow.
33704 * math/s_clog10.c (__clog10): Likewise.
33705 * math/s_clog10f.c (__clog10f): Likewise.
33706 * math/s_clog10l.c (__clog10l): Likewise.
33707 * math/s_clogf.c (__clogf): Likewise.
33708 * math/s_clogl.c (__clogl): Likewise.
33709 * math/libm-test.inc (clog_test): Add more tests.
33710 (clog10_test): Likewise.
33711 * sysdeps/i386/fpu/libm-test-ulps: Update.
33712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33713
261f4859
AS
337142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33715
0abaf3e4
AS
33716 [BZ #14283]
33717 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33718 by 7 not 8 to examine high bit of fractional part.
33719
261f4859
AS
33720 [BZ #14042]
33721 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33722 for call to __mcount_internal.
33723 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33724 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33725 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33726
f17ac40d
JM
337272012-07-06 Joseph Myers <joseph@codesourcery.com>
33728
9ad63c23
JM
33729 [BZ #14154]
33730 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33731 approximation for values within 0x1p-13f of an odd multiple of
33732 pi/4.
33733 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33734 exception. Add more tests.
33735 * sysdeps/i386/fpu/libm-test-ulps: Update.
33736
f17ac40d
JM
33737 [BZ #6778]
33738 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33739 inputs and return -1 for them. Do not check for +Inf in case not
33740 reachable for +Inf.
33741 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33742 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33743 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33744 and return -1 for them. Do not check for +Inf in case not
33745 reachable for +Inf.
33746 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33747 define.
33748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33749 and return -1 for them. Do not check for +Inf in case not
33750 reachable for +Inf.
33751 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33752 spurious underflow.
33753 * sysdeps/i386/fpu/libm-test-ulps: Update.
33754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33755
fb21f89b
MF
337562012-07-06 Mike Frysinger <vapier@gentoo.org>
33757
33758 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33759
cdfe2c5e
JM
337602012-07-05 Joseph Myers <joseph@codesourcery.com>
33761
33762 [BZ #14157]
33763 [BZ #14331]
33764 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33765 could result in spurious underflow. Scale down values above
33766 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33767 * math/s_csqrtf.c (__csqrtf): Likewise.
33768 * math/s_csqrtl.c (__csqrtl): Likewise.
33769 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33770 spurious underflow.
33771 * sysdeps/i386/fpu/libm-test-ulps: Update.
33772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33773
70d35b67
AS
337742012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33775
704bc459
AS
33776 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33777 xopen-msg.sed.
33778 * catgets/xopen-msg.awk: New file.
33779 * catgets/xopen-msg.sed: Removed.
33780
70d35b67
AS
33781 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33782 po2text.sed.
33783 * intl/po2test.awk: New file.
33784 * intl/po2test.sed: Removed.
33785
ca61cf32
JM
337862012-07-04 Joseph Myers <joseph@codesourcery.com>
33787
33788 [BZ #14328]
33789 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33790 or multiply small sinh result by itself.
33791 * math/s_ctanf.c (__ctanf): Likewise.
33792 * math/s_ctanh.c (__ctanh): Likewise.
33793 * math/s_ctanhf.c (__ctanhf): Likewise.
33794 * math/s_ctanhl.c (__ctanhl): Likewise.
33795 * math/s_ctanl.c (__ctanl): Likewise.
33796 * math/libm-test.inc (ctan_test_tonearest): New function.
33797 (ctan_test_towardzero): Likewise.
33798 (ctan_test_downward): Likewise.
33799 (ctan_test_upward): Likewise.
33800 (ctanh_test_tonearest): Likewise.
33801 (ctanh_test_towardzero): Likewise.
33802 (ctanh_test_downward): Likewise.
33803 (ctanh_test_upward): Likewise.
33804 (main): Call these new functions.
33805 * sysdeps/i386/fpu/libm-test-ulps: Update.
33806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33807
ca48a46a
MF
338082012-07-03 Mike Frysinger <vapier@gentoo.org>
33809
33810 * .gitignore: Delete /ports entry.
33811
9d63d37d
AJ
338122012-07-03 Andreas Jaeger <aj@suse.de>
33813
33814 * po/bg.po: Update from translation team.
33815 * po/cs.po: Likewise.
33816 * po/de.po: Likewise.
33817 * po/hr.po: Likewise.
33818 * po/nl.pl: Likewise.
33819 * po/pl.po: Likewise.
33820 * po/vi.po: Likewise.
33821
370ca3d2
JM
338222012-07-03 Joseph Myers <joseph@codesourcery.com>
33823
95f5a9a8
JM
33824 * Makeconfig [!+link] (+link-before-libc): New variable.
33825 [!+link] (+link-after-libc): Likewise.
33826 [!+link] (+link-tests): Likewise.
33827 [!+link] (+link): Define in terms of $(+link-before-libc) and
33828 $(+link-after-libc).
33829 [!+link-static] (+link-static-before-libc): New variable.
33830 [!+link-static] (+link-static-after-libc): Likewise.
33831 [!+link-static] (+link-static-tests): Likewise.
33832 [!+link-static] (+link-static): Define in terms of
33833 $(+link-static-before-libc) and $(+link-static-after-libc).
33834 [build-shared] (link-libc-before-gnulib): New variable.
33835 [build-shared] (link-libc-tests): Likewise.
33836 [build-shared] (link-libc): Define in terms of
33837 $(link-libc-before-gnulib).
33838 [!build-shared] (link-libc-tests): New variable.
33839 (link-libc-static-tests): New variable.
33840 [!gnulib] (gnulib-arch): New variable.
33841 [!gnulib] (gnulib-tests): Likewise.
33842 [!gnulib] (static-gnulib-arch): Likewise.
33843 [!gnulib] (static-gnulib-tests): Likewise.
33844 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33845 Define with "=" instead of ":=".
33846 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33847 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33848 * Rules (binaries-all-notests): New variable.
33849 (binaries-all-tests): Likewise.
33850 (binaries-static-notests): Likewise.
33851 (binaries-static-tests): Likewise.
33852 (binaries-all): Define using $(binaries-all-notests) and
33853 $(binaries-all-tests).
33854 (binaries-static): Define using $(binaries-static-notests) and
33855 $(binaries-static-tests).
33856 (binaries-shared-tests): New variable.
33857 (binaries-shared-notests): Likewise.
33858 (binaries-shared): Remove variable.
33859 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33860 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33861 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33862 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33863 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33864 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33865 * elf/Makefile (sln-modules): New variable.
33866 (extra-objs): Add $(sln-modules:=.o).
33867 (ldconfig-modules): Add static-stubs.
33868 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33869 * elf/static-stubs.c: New file.
33870
7a845b2c
JM
33871 [BZ #14283]
33872 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33873 by 7 not 8 to examine high bit of fractional part. Use volatile
33874 variables when splitting into final array of floats if
33875 __FLT_EVAL_METHOD__ != 0.
33876 * math/libm-test.inc (cos_test): Add another test.
33877 (sin_test): Likewise.
33878 * sysdeps/i386/fpu/libm-test-ulps: Update.
33879
e2283f38
JM
33880 [BZ #14273]
33881 * math/libm-test.inc (cosh_test): Add more tests.
33882
370ca3d2
JM
33883 * version.h (RELEASE): Set to "development".
33884 (VERSION): Set to "2.16.90".
33885
ee9247c3
CD
338862012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33887
33888 * NEWS: Update copyright. Remove last-updated date.
33889 Mention math library bug fixes and timezone data changes.
33890 * README: Mention GNU/Hurd, x32, and HPPA support status.
33891
4648c381
TS
338922012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33893
33894 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33895
aac78a43
AJ
338962012-06-27 Andreas Jaeger <aj@suse.de>
33897
33898 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33899
ed3dbfad
AJ
339002012-06-25 Andreas Jaeger <aj@suse.de>
33901
33902 * sysdeps/s390/fpu/libm-test-ulps: Update.
33903
4d0ee855
AS
339042012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33905 Thomas Schwinge <thomas@codesourcery.com>
33906
33907 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33908 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33910 fanotify_mark.
33911
af1bce34
TS
339122012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33913
a9fa33ba
TS
33914 * sysdeps/mach/start.c: Remove file.
33915 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33916 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33917 * sysdeps/sh/init-first.c: Likewise.
33918
58f902b8
TS
33919 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33920 registers for frame unwinding purposes, add CFI directives.
33921 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33922 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33923 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33924 Likewise.
33925
1518f58b
TS
33926 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33927 __fortify_fail returning.
33928 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33929
db9b5059
TS
33930 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33931 sysdeps/sh/____longjmp_chk.S.
33932 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33933 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33934 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33935 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33936
967705fe
TS
33937 * sysdeps/sh/abort-instr.h: New file.
33938 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33939 process in case exit returns.
33940
a9def8c4
TS
33941 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33942 initialize the GOT register before use.
33943
2a649725
TS
33944 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33945 calculation of ARGC > 4.
33946
af1bce34
TS
33947 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33948 meaningful names to some local labels.
33949
d230f50a
KK
339502012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33951 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33952
33953 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33954 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33955 (__arch_compare_and_exchange_val_16_acq): Likewise.
33956 (__arch_compare_and_exchange_val_32_acq): Likewise.
33957 (atomic_exchange_and_add): Fix gUSA sequence.
33958 (atomic_add): Likewise.
33959 (atomic_add_negative): Likewise.
33960 (atomic_add_zero): Likewise.
33961 (atomic_bit_test_set): Likewise.
33962
0479b305
AS
339632012-06-22 Andreas Schwab <schwab@redhat.com>
33964
33965 [BZ #13579]
33966 * include/link.h (struct link_map): Add l_free_initfini.
33967 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33968 l_initfini.
33969 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33970 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33971 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33972 set.
33973
0e3933b9
CD
339742012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33975
33976 * configure.in: Use AC_LANG_SOURCE.
33977 * configure: Regenerate.
33978
4248b1b1
RM
339792012-06-22 Roland McGrath <roland@hack.frob.com>
33980
33981 * configure.in (libc_cv_localstatedir): New substituted variable.
33982 * configure: Regenerated.
33983 * config.make.in (localstatedir): New variable, substituted from
33984 libc_cv_localstatedir.
33985 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33986 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33987 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33988 * sysdeps/gnu/configure: Regenerated.
33989
006dd861
JL
339902012-06-21 Jeff Law <law@redhat.com>
33991
33992 [BZ #14277]
33993 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33994 free. Simplify list management for _LIBC case.
33995
79662d42
JM
339962012-06-21 Joseph Myers <joseph@codesourcery.com>
33997
b7abb4bf
JM
33998 [BZ #14273]
33999 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34000 Clear sign bit of 64-bit integer value before comparing against
34001 overflow value.
34002
79662d42
JM
34003 * sysdeps/mach/configure: Regenerated.
34004
1f150908
L
340052012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34006
34007 [BZ #14278]
34008 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34009
28363bbf
JL
340102012-06-21 Jeff Law <law@redhat.com>
34011
34012 [BZ #13882]
34013 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34014 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34016 * elf/dl-open.c (dl_open_worker): Likewise.
34017
09615db4
CD
340182012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34019
34020 * scripts/list-sources.sh: Scan PORTS for translations.
34021 * po/libc.pot: Regenerated.
34022
2174c6dd
AJ
340232012-06-21 Andreas Jaeger <aj@suse.de>
34024
34025 [BZ #12194]
34026 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34027 warning.
34028 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34029 * bits/byteswap-16.h (__bswap_16): Likewise.
34030 * bits/byteswap.h (__bswap_constant_16): Likewise.
34031
3ee947b1
L
340322012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34033
34034 [BZ #14117]
a2f34833
L
34035 * sysdeps/i386/fpu_control.h: Removed.
34036 * sysdeps/x86_64/fpu_control.h: Moved to ...
34037 * sysdeps/x86/fpu_control.h: Here.
34038
3ee947b1
L
34039 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34040 (_FPU_SETCW): Likewise.
34041
ed1825f8
L
340422012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34043
25f1282a
L
34044 [BZ #14117]
34045 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34046 * sysdeps/x86/fpu/bits/mathinline.h: This.
34047 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34048
ed1825f8
L
34049 [BZ #14050]
34050 [BZ #14117]
34051 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34052 functions if __x86_64__ is defined.
34053
36d54b74
CLT
340542012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34055
34056 * string/endian.h: Add !__ASSEMBLER__ condition for including
34057 conversion interfaces.
34058
10285c21
JM
340592012-06-15 Joseph Myers <joseph@codesourcery.com>
34060
34061 [BZ #14241]
34062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34063 of ABS(x) in calculating zero to negative powers other than odd
34064 integers.
34065 * math/libm-test.inc (pow_test): Add more tests.
34066
06c5abbd
AJ
340672012-06-15 Andreas Jaeger <aj@suse.de>
34068
34069 * manual/contrib.texi (Contributors): Update entry of Liubov
34070 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34071 Machado Filho.
34072
a3aeac40
CH
340732012-06-15 Cyril Hrubis <metan@ucw.cz>
34074
34075 * string/string.h: Add __wur to GNU version of strerror_r.
34076
49bdf4c1
L
340772012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34078
34079 [BZ #14229]
34080 * string/Makefile (tests): Add tst-strtok_r.
34081 * string/tst-strtok_r.c: New file.
34082 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34083 RAX_LP/RDX_LP on SAVE_PTR.
34084
834f9b8d
RM
340852012-06-14 Roland McGrath <roland@hack.frob.com>
34086
34087 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34088
75fa1921
JM
340892012-06-14 Joseph Myers <joseph@codesourcery.com>
34090
34091 * libm_test.inc (csqrt_test): Allow more spurious underflow
34092 exceptions.
34093 (j0_test): Likewise.
34094 (j1_test): Likewise.
34095 (y0_test): Likewise.
34096 (y1_test): Likewise.
34097
771766df
CD
340982012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34099
34100 * po/Makefile (libc.pot): Use UTF-8 charset.
34101
ceb9e56b
PP
341022012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34103
34104 [BZ #14210]
34105 Suppress sign-conversion warning from FD_SET.
34106 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34107 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34108 not unsigned long int.
34109 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34110
ddb28975
L
341112012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34112
34113 [BZ #14050]
34114 [BZ #14117]
34115 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34116 __extern_always_inline instead of __extern_inline.
34117 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34118 (__signbit): Likewise.
34119 (__signbitl): Support C++ namespace.
34120 (lrintf): New inline function.
34121 (lrint): Likewise.
34122 (llrintf): Likewise.
34123 (llrint): Likewise.
34124 (fmaxf): Likewise.
34125 (fmax): Likewise.
34126 (fminf): Likewise.
34127 (fmin): Likewise.
34128 (rint): Likewise.
34129 (rintf): Likewise.
34130 (ceil): Likewise.
34131 (ceilf): Likewise.
34132 (floor): Likewise.
34133 (floorf): Likewise.
34134 (nearbyint): Likewise.
34135 (nearbyintf): Likewise.
34136
d7b4fb26
TS
341372012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34138
34139 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34140 non-default versions.
34141
eb55f5c2
RM
341422012-06-11 Roland McGrath <roland@hack.frob.com>
34143
34144 [BZ #14218]
34145 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34146
366af02c
TS
341472012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34148
99ff6e5c
TS
34149 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34150 (FE_UPWARD, FE_DOWNWARD): Don't define.
34151 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34152 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34153
366af02c
TS
34154 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34155 reading it.
34156 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34157 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34158
793ea851
KK
341592012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34160
34161 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34163 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34164 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34165
a728a38f
L
341662012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34167
34168 [BZ #14117]
c08010c7
L
34169 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34170 * sysdeps/i386/fpu/Implies: New file.
34171 * sysdeps/x86_64/fpu/Implies: Likewise.
34172 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34173 * sysdeps/x86/fpu/bits/fenv.h: This.
34174
a728a38f
L
34175 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34176 __SSE_MATH__.
34177
6e230d11
SP
341782012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34179
34180 [BZ #14134]
34181 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34182 character 0xffff that matches the last element of the
34183 conversion table.
34184
1b671feb
AZ
341852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34186
34187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34188 fmodl commit.
34189
6043738b
AZ
341902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34191
34192 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34193 values higher than 25.6283.
34194
34ae0b32
AZ
341952012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34196
34197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34198 subnormal exponent extraction and add some __builtin_expect.
34199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34200 Fix for subnormal mantissa calculation.
34201
1214ec8f
MF
342022012-06-04 Mike Frysinger <vapier@gentoo.org>
34203
34204 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34205 cpu2 is -1 and errno is not ENOSYS.
34206
f3d1f93c
L
342072012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34208
34209 [BZ #14117]
0e4a3cd7
L
34210 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34211 * sysdeps/x86/bits/string.h: This.
34212 * sysdeps/x86_64/bits/string.h: Removed.
34213
6704c645
L
34214 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34215 if not compiling for x86-64, but compiling for >= i486.
34216
48495318
L
34217 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34218 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34219
14adcbfc
L
34220 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34221 New macro from Linux kernel 3.4.0.
34222 (FP_XSTATE_MAGIC2): Likewise.
34223 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34224 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34225 (struct _fpx_sw_bytes): New struct.
34226 (struct _xsave_hdr): Likewise.
34227 (struct _ymmh_state): Likewise.
34228 (struct _xstate): Likewise.
34229
68e408ab
L
34230 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34231 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34233 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34234 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34235 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34236
f3d1f93c
L
34237 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34238 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34239 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34240 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34241 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34242 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34243
d9dc34cd
TMQMF
342442012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34245
34246 [BZ #13743]
34247 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34248 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34249 (sysdep_headers): Include sys/platform/ppc.h.
34250 * sysdeps/powerpc/test-gettimebase.c: Test for
34251 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34252 * manual/Makefile (appendices): Include platform.texi.
34253 * manual/contrib.texi (Contributors): Update @node pointers.
34254 * manual/maint.texi (Maintenance): Likewise.
34255 (Platform): New node.
34256 * manual/platform.texi: New file. Document the new features.
34257
4af3879c
SP
342582012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34259 Jakub Jelinek <jakub@redhat.com>
34260
34261 [BZ #14188]
34262 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34263 where __builtin_expect is unavailable.
34264
2fd6ff13
DM
342652012-06-03 David S. Miller <davem@davemloft.net>
34266
34267 * stdlib/longlong.h: Updated from GCC.
34268
173f7220
AS
342692012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34270
34271 [BZ #14042]
34272 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34273 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34274 __mcount_internal.
34275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34276 (GLIBC_2.16): Likewise.
34277
f34a1c6f
L
342782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34279
34280 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34281
88a4576f
JM
342822012-06-01 Joseph Myers <joseph@codesourcery.com>
34283
ea32bcdd
JM
34284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34285 (default-abi): New variable.
34286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34287 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34288 variable.
34289 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34290 Likewise.
34291 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34292 Likewise.
34293 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34294 Likewise.
34295
88a4576f
JM
34296 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34297 definition. Document in comment.
34298
402fe938
DM
342992012-06-01 David S. Miller <davem@davemloft.net>
34300
34301 * stdlib/longlong.h: Updated from GCC.
34302
3553723f
L
343032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34304
34305 [BZ #14117]
3bd872c4
L
34306 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34307 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34308 sys/debugreg.h sys/io.h here.
34309 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34310 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34311 sys/io.h.
34312 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34313 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34314 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34315 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34316 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34317 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34318
3553723f
L
34319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34320 Define only if __x86_64__ is defined.
34321
4842e4fe
JM
343222012-06-01 Joseph Myers <joseph@codesourcery.com>
34323
c5bfe3d5
JM
34324 [BZ #14048]
34325 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34326 Use int64_t for variable i.
34327 * math/libm-test.inc (fmod_test): Add more tests.
34328
4842e4fe
JM
34329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34330 z computation is not scheduled after fetestexcept.
34331 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34332 Use math_force_eval instead of asm to ensure calculation scheduled
34333 before exception test.
34334 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34335 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34336
efb73488
AJ
343372012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34338
34339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34340 computation is not scheduled after fetestexcept.
34341
29bcce7c
L
343422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34343
34344 [BZ #14117]
34345 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34346 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34347
73a68f94
AZ
343482012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34349
34350 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34351 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34352
67b6df78
L
343532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34354
edf2933a 34355 [BZ #14117]
ebc64a18
L
34356 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34357 <bits/wordsize.h>.
34358 (__WCHAR_MIN): Support __WORDSIZE == 64.
34359 (__WCHAR_MAX): Likewise.
34360
edf2933a
L
34361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34362 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34363
57c6cf40
L
34364 [BZ #14183]
34365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34366 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34367
67b6df78 34368 [BZ #14117]
8eb6281e
L
34369 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34370 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34371
aac639f4
L
34372 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34373 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34374
67b6df78
L
34375 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34376 Defined to 1 if __x86_64__ isn't defined.
34377 (_STAT_VER_LINUX_OLD): New.
34378 (st_atime): Remove duplicate.
34379 (st_mtime): Likewise.
34380 (st_ctime): Likewise.
34381
1c2cfe81
DM
343822012-05-31 David S. Miller <davem@davemloft.net>
34383
34384 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34385 entries.
34386
5be8418c
AS
343872012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34388
e7725326
AS
34389 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34390 gen-libm-test.pl.
34391
5be8418c
AS
34392 [BZ #14132]
34393 * elf/dl-reloc.c: Include <_itoa.h>.
34394 (_dl_reloc_bad_type): Remove use of INTUSE.
34395 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34396 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34397 * stdio-common/psiginfo.c (psiginfo): Likewise.
34398 * stdio-common/psignal.c (psignal): Likewise.
34399 * string/strsignal.c (strsignal): Likewise.
34400 * include/signal.h (_sys_siglist): Declare hidden proto.
34401 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34402 INTVARDEF with libc_hidden_data_def.
34403 * stdio-common/itoa-udigits.c: Likewise.
34404 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34405 (_itoa_lower_digits_internal): Remove declaration.
34406 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34407 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34408 (_sys_sigabbrev_internal): Remove aliases.
34409 (_sys_siglist): Define hidden alias.
34410
507352f1
MT
344112012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34412
34413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34414 bits/sysctl.h.
34415
42bbb1c3
L
344162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34417
34418 [BZ #14117]
6bd784b6
L
34419 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34420 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34421
8bca20f0
L
34422 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34423 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34424 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34425 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34427 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34428
f9e890a9
L
34429 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34430 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34431 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34432
471101a1
L
34433 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34434 with __addr.
34435 (insw): Likewise.
34436 (insl): Likewise.
34437 (outsb): Likewise.
34438 (outsw): Likewise.
34439 (outsl): Likewise.
34440
6451c862
L
34441 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34442 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34443 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34444
a254b8c9
L
34445 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34446 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34448 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34449 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34450 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34451
b8dfdd92
L
34452 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34453 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34454
578cd270
L
34455 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34456 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34457
de662f5f
L
34458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34461
25653439
L
34462 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34463 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34464 to ...
34465 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34466
6bad24a0
L
34467 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34468 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34469 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34470
42bbb1c3
L
34471 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34472 for x86-64.
34473 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34474
2d10d547
JM
344752012-05-31 Joseph Myers <joseph@codesourcery.com>
34476
34477 * math/math.h (M_El): Use two more decimal places.
34478 (M_LOG2El): Likewise.
34479 (M_LOG10El): Likewise.
34480 (M_LN2l): Likewise.
34481 (M_LN10l): Likewise.
34482 (M_PIl): Likewise.
34483 (M_PI_2l): Likewise.
34484 (M_PI_4l): Likewise.
34485 (M_1_PIl): Likewise.
34486 (M_2_PIl): Likewise.
34487 (M_2_SQRTPIl): Likewise.
34488 (M_SQRT2l): Likewise.
34489 (M_SQRT1_2l): Likewise.
34490
f230c29b
DM
344912012-05-31 David S. Miller <davem@davemloft.net>
34492
34493 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34494 values between float registers.
34495 * sysdeps/sparc/sparc64/memset.S: Likewise.
34496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34497
fed806c3
MF
344982012-05-31 Mike Frysinger <vapier@gentoo.org>
34499
34500 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34501 -D_FORTIFY_SOURCE=1.
34502 (CPPFLAGS-tst-longjmp_chk.c): Define.
34503 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34504 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34505 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34506 CFLAGS-tst-wchar-h.c.
34507
30917259
MP
345082012-05-31 Marek Polacek <polacek@redhat.com>
34509
34510 [BZ #14132]
34511 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34512 __endmntent_internal): Remove declaration.
34513 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34514 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34515 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34516
1c58d5dc
DM
345172012-05-30 David S. Miller <davem@davemloft.net>
34518
34519 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34520 (___Q_simulate_exceptions): Use real FP ops rather than writing
34521 into the %fsr.
34522 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34523 Likewise.
34524
7dc00e0d
L
345252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34526
34527 [BZ #14117]
0bd53985
L
34528 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34529 * sysdeps/x86/bits/xtitypes.h: This.
34530
3a257e66
L
34531 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34532 * sysdeps/x86/bits/wordsize.h: This.
34533
62f62904
L
34534 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34535 * sysdeps/x86/bits/huge_vall.h: This.
34536
404fe9d9
L
34537 * sysdeps/i386/bits/select.h: Removed.
34538 * sysdeps/x86_64/bits/select.h: Renamed to ...
34539 * sysdeps/x86/bits/select.h: This.
34540
d48d0446
L
34541 * sysdeps/i386/bits/setjmp.h: Removed.
34542 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34543 * sysdeps/x86/bits/setjmp.h: This.
34544
7dc00e0d
L
34545 * sysdeps/i386/bits/mathdef.h: Removed.
34546 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34547 * sysdeps/x86/bits/mathdef.h: This.
34548
03277f8f
AS
345492012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34550
34551 [BZ #14132]
34552 * include/sys/socket.h (__connect_internal)
34553 (__libc_sa_len_internal): Remove declaration.
34554 (__connect, __libc_sa_len): Declare hidden_proto.
34555 (SA_LEN): Remove use of INTUSE.
34556 * socket/connect.c: Add libc_hidden_def.
34557 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34558 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34559 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34560 alias.
34561 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34562 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34563 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34564 of adding _internal alias.
34565
13764867
L
345662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34567
34568 [BZ #14117]
6bd97696
L
34569 * sysdeps/i386/bits/link.h: Removed.
34570 * sysdeps/i386/bits/linkmap.h: Likewise.
34571 * sysdeps/x86_64/bits/link.h: Renamed to ...
34572 * sysdeps/x86/bits/link.h: This.
34573 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34574 * sysdeps/x86/bits/linkmap.h: This.
34575
f726f0bb
L
34576 * sysdeps/i386/bits/endian.h: Removed.
34577 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34578 * sysdeps/x86/bits/endian.h: This.
34579
13764867
L
34580 * sysdeps/i386/bits/byteswap.h: Removed.
34581 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34582 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34583 * sysdeps/x86/bits/byteswap.h: This.
34584 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34585 * sysdeps/x86/bits/byteswap-16.h: This.
34586 * sysdeps/i386/Implies: Add x86.
34587 * sysdeps/x86_64/Implies: Likewise.
34588
ae251b0b
DM
345892012-05-30 David S. Miller <davem@davemloft.net>
34590
34591 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34592 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34594 (FP_TRAPPING_EXCEPTIONS): Define.
34595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34596 (FP_TRAPPING_EXCEPTIONS): Define.
34597 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34598 subnormals only when inexact has been signalled or underflow
34599 exceptions are enabled.
34600 (_FP_PACK_CANONICAL): Likewise.
34601
d5c90867
L
346022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34603
34604 [BZ #14183]
34605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34606 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34607
63f1549e
RH
346082012-05-30 Richard Henderson <rth@twiddle.net>
34609
8d8f2279
RH
34610 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34611 with #ifndef NOT_IN_libc.
34612
63f1549e
RH
34613 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34614 marked to avoid plt entry.
34615
0ab0291b
L
346162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34617
34618 [BZ #14112]
34619 * Makeconfig (default-abi): New macro.
34620 (abi-includes): Likewise.
34621 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34622 $(abi-$(default-abi)-lib-soname) for soname if defined.
34623 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34624 abi-variants.
34625 * Makefile (installed-stubs): Likewise.
34626 * include/stubs-biarch.h: Removed.
34627 * scripts/lib-names.awk: Only handle one library at a time.
34628 * scripts/soversions.awk: Remove WORDSIZE support.
34629 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34630 entries.
34631 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34632 Removed.
34633 (syscall-list-default-condition): Likewise.
34634 (syscall-list-default-condition): Likewise.
34635 (syscall-list-includes): Likewise.
34636 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34637 syscall-list-* with abi-*. Handle undefined abi-variants.
34638 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34639 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34640 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34641 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34642 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34643 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34644 Removed.
34645 (syscall-list-32-options): Likewise.
34646 (syscall-list-32-condition): Likewise.
34647 (syscall-list-64-options): Likewise.
34648 (syscall-list-64-condition): Likewise.
34649 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34650 macro.
34651 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34652 Renamed to ...
34653 (abi-*): This.
34654 (abi-64-ld-soname): New macro.
34655 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34656 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34657 Renamed to ...
34658 (abi-*): This.
34659 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34660 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34661
4da0431d
JM
346622012-05-30 Joseph Myers <joseph@codesourcery.com>
34663
3a85279c
JM
34664 * sysdeps/unix/sysv/linux/kernel-features.h
34665 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34666 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34667 include <kernel-features.h>.
34668 [!__NR_ftruncate64]: Remove conditional code.
34669 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34670 [__NR_ftruncate64]: Make code unconditional.
34671 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34672 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34673 include <kernel-features.h>.
34674 [!__NR_ftruncate64]: Remove conditional code.
34675 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34676 [__NR_ftruncate64]: Make code unconditional.
34677 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34679 include <kernel-features.h>.
34680 [!__NR_ftruncate64]: Remove conditional code.
34681 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34682 [__NR_ftruncate64]: Make code unconditional.
34683 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34685 include <kernel-features.h>.
34686 [!__NR_ftruncate64]: Remove conditional code.
34687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34688 [__NR_ftruncate64]: Make code unconditional.
34689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34690
4da0431d
JM
34691 * configure.in (libc_cv_fpie): Weaken to a compile test using
34692 LIBC_TRY_CC_OPTION.
34693 * configure: Regenerated.
34694
11ef492c
AK
346952012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34696
34697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34701 Refreshed.
34702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34708 Refreshed.
34709
d66ef399
DM
347102012-05-27 David S. Miller <davem@davemloft.net>
34711
34712 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34713 (___Q_zero): New.
34714 (__Q_simulate_exceptions): Return void. Change to simulate
34715 exceptions by writing into the %fsr.
34716 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34717 (__Qp_handle_exceptions): Likewise.
34718 (numbers): Delete.
34719 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34720 __Qp_handle_exceptions.
34721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34722 __Qp_handle_exceptions.
34723 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34724 as unused and give dummy FP_RND_NEAREST initializer.
34725 (FP_INHIBIT_RESULTS): Define.
34726 (___Q_simulate_exceptions): Update declaration.
34727 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34728 formatting.
34729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34730 as unused and give dummy FP_RND_NEAREST initializer.
34731 (__Qp_handle_exceptions): Update declaration.
34732 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34733 formatting.
34734
04fb54b5
TS
347352012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34736
34737 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34738 the temporary FPU control word.
34739 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34740 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34742 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34743 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34744 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34745 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34746 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34747 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34748 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34749 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34750
3f99608f
KK
347512012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34752
34753 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34754 fields.
34755
65a4de4e
CLT
347562012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34757
34758 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34759 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34760 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34761 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34762 Likewise.
34763 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34764 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34765 Likewise.
34766
15749d40
UD
347672012-05-27 Ulrich Drepper <drepper@gmail.com>
34768
34769 * po/h.po: Update from translation team.
34770
25dbcb27
AS
347712012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34772
3d3f8e55
AS
34773 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34774
25dbcb27
AS
34775 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34776 handling of denormals.
34777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34778 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34779 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34780 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34784 Likewise.
34785
7ad47a80 347862012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34787
34788 [BZ #14152]
34789 * math/libm-test.inc (fma_test): Don't always expect underflow
34790 exception.
34791
9c6ea9fa
SP
347922012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34793
34794 [BZ #12416]
34795 * elf/tst-execstack.c: Include stackinfo.h.
34796 (do_test): Adjust test case to ensure that pthread_getattr_np
34797 behaviour remains the same after marking stack executable.
34798
a8239222
JM
347992012-05-25 Joseph Myers <joseph@codesourcery.com>
34800
34801 * sysdeps/unix/sysv/linux/kernel-features.h
34802 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34803 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34804 kernel-features.h.
34805 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34806 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34807 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34808 kernel-features.h.
34809 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34810 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34811
918b5606
L
348122012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34813
34814 * configure.in: Define the default includes to being none.
34815 * configure: Regenerated.
34816
3a097cc7
RM
348172012-05-25 Roland McGrath <roland@hack.frob.com>
34818
8422c9a5
RM
34819 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34820 * sysdeps/x86_64/setjmp.S: Likewise.
34821 * sysdeps/i386/bsd-setjmp.S: Likewise.
34822 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34823 * sysdeps/i386/setjmp.S: Likewise.
34824 * sysdeps/i386/__longjmp.S: Likewise.
34825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34826 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34827
3a097cc7
RM
34828 * include/stap-probe.h: New file.
34829 * configure.in: Handle --enable-systemtap.
34830 * configure: Regenerated.
34831 * config.h.in (USE_STAP_PROBE): New #undef.
34832 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34833 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34834 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34835
21708942
JM
348362012-05-25 Joseph Myers <joseph@codesourcery.com>
34837
34838 [BZ #13717]
34839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34840 to 2.4.0 where earlier.
34841 * sysdeps/unix/sysv/linux/configure: Regenerated.
34842 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34843 <kernel-features.h>.
34844 [__ASSUME_32BITUIDS]: Make code unconditional.
34845 [!__ASSUME_32BITUIDS]: Remove conditional code.
34846 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34847 <kernel-features.h>.
34848 [__ASSUME_32BITUIDS]: Make code unconditional.
34849 [!__ASSUME_32BITUIDS]: Remove conditional code.
34850 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34851 [__ASSUME_32BITUIDS]: Make code unconditional.
34852 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34853 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34854 <kernel-features.h>.
34855 [__ASSUME_32BITUIDS]: Make code unconditional.
34856 [!__ASSUME_32BITUIDS]: Remove conditional code.
34857 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34858 <kernel-features.h>.
34859 [__ASSUME_32BITUIDS]: Make code unconditional.
34860 [!__ASSUME_32BITUIDS]: Remove conditional code.
34861 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34862 <kernel-features.h>.
34863 [__ASSUME_32BITUIDS]: Make code unconditional.
34864 [!__ASSUME_32BITUIDS]: Remove conditional code.
34865 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34866 <kernel-features.h>.
34867 [__ASSUME_32BITUIDS]: Make code unconditional.
34868 [!__ASSUME_32BITUIDS]: Remove conditional code.
34869 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34870 <kernel-features.h>.
34871 [__ASSUME_32BITUIDS]: Make code unconditional.
34872 [!__ASSUME_32BITUIDS]: Remove conditional code.
34873 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34874 <kernel-features.h>.
34875 [__ASSUME_32BITUIDS]: Make code unconditional.
34876 [!__ASSUME_32BITUIDS]: Remove conditional code.
34877 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34878 <kernel-features.h>.
34879 [__ASSUME_32BITUIDS]: Make code unconditional.
34880 [!__ASSUME_32BITUIDS]: Remove conditional code.
34881 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34882 <kernel-features.h>.
34883 [__ASSUME_32BITUIDS]: Make code unconditional.
34884 [!__ASSUME_32BITUIDS]: Remove conditional code.
34885 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34886 <kernel-features.h>.
34887 [__ASSUME_32BITUIDS]: Make code unconditional.
34888 [!__ASSUME_32BITUIDS]: Remove conditional code.
34889 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34890 <kernel-features.h>.
34891 [__ASSUME_32BITUIDS]: Make code unconditional.
34892 [!__ASSUME_32BITUIDS]: Remove conditional code.
34893 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34894 <kernel-features.h>.
34895 [__NR_setresgid] (__setresgid): Do not declare.
34896 [__ASSUME_32BITUIDS]: Make code unconditional.
34897 [!__ASSUME_32BITUIDS]: Remove conditional code.
34898 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34899 <kernel-features.h>.
34900 [__NR_setresuid] (__setresuid): Do not declare.
34901 [__ASSUME_32BITUIDS]: Make code unconditional.
34902 [!__ASSUME_32BITUIDS]: Remove conditional code.
34903 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34904 <kernel-features.h>.
34905 [__ASSUME_32BITUIDS]: Make code unconditional.
34906 [!__ASSUME_32BITUIDS]: Remove conditional code.
34907 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34908 <kernel-features.h>.
34909 [__ASSUME_32BITUIDS]: Make code unconditional.
34910 [!__ASSUME_32BITUIDS]: Remove conditional code.
34911 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34912 <kernel-features.h>.
34913 [__ASSUME_32BITUIDS]: Make code unconditional.
34914 [!__ASSUME_32BITUIDS]: Remove conditional code.
34915 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34916 <kernel-features.h>.
34917 [__ASSUME_32BITUIDS]: Make code unconditional.
34918 [!__ASSUME_32BITUIDS]: Remove conditional code.
34919 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34920 <kernel-features.h>.
34921 [__ASSUME_32BITUIDS]: Make code unconditional.
34922 [!__ASSUME_32BITUIDS]: Remove conditional code.
34923 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34924 <kernel-features.h>.
34925 [__ASSUME_32BITUIDS]: Make code unconditional.
34926 [!__ASSUME_32BITUIDS]: Remove conditional code.
34927 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34928 <kernel-features.h>.
34929 [__ASSUME_32BITUIDS]: Make code unconditional.
34930 [!__ASSUME_32BITUIDS]: Remove conditional code.
34931 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34932 <kernel-features.h>.
34933 [__ASSUME_32BITUIDS]: Make code unconditional.
34934 [!__ASSUME_32BITUIDS]: Remove conditional code.
34935 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34936 <kernel-features.h>.
34937 [__ASSUME_32BITUIDS]: Make code unconditional.
34938 [!__ASSUME_32BITUIDS]: Remove conditional code.
34939 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34940 <kernel-features.h>.
34941 [__ASSUME_32BITUIDS]: Make code unconditional.
34942 [!__ASSUME_32BITUIDS]: Remove conditional code.
34943 * sysdeps/unix/sysv/linux/kernel-features.h
34944 (__ASSUME_SETRESUID_SYSCALL): Remove.
34945 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34946 (__ASSUME_32BITUIDS): Likewise.
34947 (__ASSUME_LDT_WORKS): Likewise.
34948 (__ASSUME_O_DIRECTORY): Likewise.
34949 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34950 architecture but not kernel version.
34951 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34952 (__ASSUME_MMAP2_SYSCALL): Likewise.
34953 (__ASSUME_STAT64_SYSCALL): Likewise.
34954 (__ASSUME_IPC64): Likewise.
34955 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34956 <kernel-features.h>.
34957 [__ASSUME_32BITUIDS]: Make code unconditional.
34958 [!__ASSUME_32BITUIDS]: Remove conditional code.
34959 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34960 <kernel-features.h>.
34961 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34962 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34963 132096]: Remove conditional code.
34964 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34965 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34966 <kernel-features.h>.
34967 [__ASSUME_32BITUIDS]: Make code unconditional.
34968 [!__ASSUME_32BITUIDS]: Remove conditional code.
34969 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34970 <kernel-features.h>.
34971 [__ASSUME_32BITUIDS]: Make code unconditional.
34972 [!__ASSUME_32BITUIDS]: Remove conditional code.
34973 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34974 <kernel-features.h>.
34975 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34976 unconditional.
34977 (__setresgid): Do not declare.
34978 [__ASSUME_32BITUIDS]: Make code unconditional.
34979 [!__ASSUME_32BITUIDS]: Remove conditional code.
34980 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34981 <kernel-features.h>.
34982 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34983 unconditional.
34984 (__setresuid): Do not declare.
34985 [__ASSUME_32BITUIDS]: Make code unconditional.
34986 [!__ASSUME_32BITUIDS]: Remove conditional code.
34987 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34988 <kernel-features.h>.
34989 [__ASSUME_32BITUIDS]: Make code unconditional.
34990 [!__ASSUME_32BITUIDS]: Remove conditional code.
34991 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34992 <kernel-features.h>.
34993 [__ASSUME_32BITUIDS]: Make code unconditional.
34994 [!__ASSUME_32BITUIDS]: Remove conditional code.
34995
a386f1cc
RH
349962012-05-25 Richard Henderson <rth@twiddle.net>
34997
34998 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34999 dl_hwcap to ifunc resolver.
35000 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35001 elf_ifunc_invoke.
35002 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35003 dl_hwcap to ifunc resolver.
35004 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35005
b6550497
JM
350062012-05-24 Joseph Myers <joseph@codesourcery.com>
35007
35008 [BZ #14153]
35009 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35010 for |x| <= 2**-26, not 2**-57.
35011 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35012 exception.
35013
b0bc23a1
JL
350142012-05-24 Jeff Law <law@redhat.com>
35015
35016 * stdio-common/Makefile (tests): Add bug25.
35017 * stdio-common/bug25.c: New test.
35018
347c92e9
L
350192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35020
35021 [BZ #13576]
35022 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35023 multiple of MALLOC_ALIGNMENT in size.
35024 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35025
6bcc8b3f
JM
350262012-05-24 Joseph Myers <joseph@codesourcery.com>
35027
35028 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35029 Require >= 256.
35030 (FILENAME_MAX): Use macro-int-constant.
35031 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35032 (_IOFBF): Use macro-int-constant.
35033 (_IOLBF): Likewise.
35034 (_IONBF): Likewise.
35035 (SEEK_CUR): Likewise.
35036 (SEEK_END): Likewise.
35037 (SEEK_SET): Likewise.
35038 (TMP_MAX): Likewise.
35039 (EOF): Use macro-int-constant. Require < 0.
35040 (NULL): Use macro-constant. Require == 0.
35041 (stdin): Require type to be FILE *.
35042 (stdout): Likewise.
35043 (stderr): Likewise.
35044 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35045 macro-int-constant.
35046 (EXIT_SUCCESS): Likewise.
35047 (NULL): Use macro-constant. Require == 0.
35048 (RAND_MAX): Use macro-int-constant.
35049 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35050 [C99-based standards] (strtof): Require function.
35051 [C99-based standards] (strtold): Likewise.
35052 [C99-based standards] (strtoll): Likewise.
35053 [C99-based standards] (strtoull): Likewise.
35054 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35055 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35056 [ISO || ISO99 || ISO11] (math.h): Likewise.
35057 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35058 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35060
d18ea0c5
AS
350612012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35062
35063 [BZ #14132]
56d25bb8
AS
35064 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35065 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35066 * intl/dgettext.c (DCGETTEXT): Likewise.
35067 * intl/gettext.c (DCGETTEXT): Likewise.
35068 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35069 * posix/regex_internal.h (gettext): Likewise.
35070 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35071 Remove declaration.
35072 * include/argz.h (__argz_count_internal)
35073 (__argz_stringify_internal): Remove declaration.
35074 (__argz_count, __argz_stringify): Declare hidden proto.
35075 * intl/dcgettext.c: Remove use of INTDEF.
35076 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35077 * string/argz-stringify.c: Likewise.
35078 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35079 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35080 Declare hidden proto.
d18ea0c5
AS
35081 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35082 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35083 Declare hidden proto.
35084 * include/stdio.h (__asprintf_internal): Don't declare.
35085 (__asprintf): Don't define as macro. Declare hidden proto.
35086 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35087 (__fsetlocking): Declare hidden proto.
35088 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35089 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35090 hidden proto.
35091 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35092 (_IO_setlinebuf): Remove use of INTUSE.
35093 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35094 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35095 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35096 Remove declaration.
35097 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35098 (_IO_do_flush): Remove use of INTUSE.
35099 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35100 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35101 (_IO_adjust_column, _IO_least_wmarker)
35102 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35103 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35104 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35105 (_IO_default_doallocate, _IO_wdefault_doallocate)
35106 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35107 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35108 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35109 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35110 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35111 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35112 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35113 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35114 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35115 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35116 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35117 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35118 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35119 proto.
35120 (_IO_flush_all_internal, _IO_adjust_column_internal)
35121 (_IO_default_uflow_internal, _IO_default_finish_internal)
35122 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35123 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35124 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35125 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35126 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35127 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35128 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35129 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35130 (_IO_file_close_internal, _IO_file_close_it_internal)
35131 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35132 (_IO_file_init_internal, _IO_file_attach_internal)
35133 (_IO_file_fopen_internal, _IO_file_read_internal)
35134 (_IO_file_sync_internal, _IO_file_seek_internal)
35135 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35136 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35137 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35138 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35139 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35140 (_IO_list_all_internal, _IO_link_in_internal)
35141 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35142 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35143 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35144 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35145 (_IO_do_write_internal, _IO_padn_internal)
35146 (_IO_getline_info_internal, _IO_getline_internal)
35147 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35148 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35149 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35150 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35151 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35152 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35153 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35154 with libc_hidden_ver, remove use of INTUSE.
35155 * libio/genops.c: Likewise.
35156 * libio/freopen.c: Likewise.
35157 * libio/freopen64.c: Likewise.
35158 * libio/iofclose.c: Likewise.
35159 * libio/iofdopen.c: Likewise.
35160 * libio/iofflush.c: Likewise.
35161 * libio/iofflush_u.c: Likewise.
35162 * libio/iofgets.c: Likewise.
35163 * libio/iofgets_u.c: Likewise.
35164 * libio/iofopen.c: Likewise.
35165 * libio/iofopncook.c: Likewise.
35166 * libio/iofread.c: Likewise.
35167 * libio/iofread_u.c: Likewise.
35168 * libio/ioftell.c: Likewise.
35169 * libio/iofwrite.c: Likewise.
35170 * libio/iogetline.c: Likewise.
35171 * libio/iogets.c: Likewise.
35172 * libio/iogetwline.c: Likewise.
35173 * libio/iopadn.c: Likewise.
35174 * libio/iopopen.c: Likewise.
35175 * libio/ioseekoff.c: Likewise.
35176 * libio/ioseekpos.c: Likewise.
35177 * libio/iosetbuffer.c: Likewise.
35178 * libio/iosetvbuf.c: Likewise.
35179 * libio/ioungetc.c: Likewise.
35180 * libio/ioungetwc.c: Likewise.
35181 * libio/iovdprintf.c: Likewise.
35182 * libio/iovsprintf.c: Likewise.
35183 * libio/iovsscanf.c: Likewise.
35184 * libio/memstream.c: Likewise.
35185 * libio/obprintf.c: Likewise.
35186 * libio/oldfileops.c: Likewise.
35187 * libio/oldiofclose.c: Likewise.
35188 * libio/oldiofdopen.c: Likewise.
35189 * libio/oldiofopen.c: Likewise.
35190 * libio/oldiopopen.c: Likewise.
35191 * libio/oldstdfiles.c: Likewise.
35192 * libio/putc.c: Likewise.
35193 * libio/setbuf.c: Likewise.
35194 * libio/setlinebuf.c: Likewise.
35195 * libio/stdfiles.c: Likewise.
35196 * libio/strops.c: Likewise.
35197 * libio/vasprintf.c: Likewise.
35198 * libio/vscanf.c: Likewise.
35199 * libio/vsnprintf.c: Likewise.
35200 * libio/vswprintf.c: Likewise.
35201 * libio/wfiledoalloc.c: Likewise.
35202 * libio/wfileops.c: Likewise.
35203 * libio/wgenops.c: Likewise.
35204 * libio/wmemstream.c: Likewise.
35205 * libio/wstrops.c: Likewise.
35206 * libio/__fpurge.c: Likewise.
35207 * libio/__fsetlocking.c: Likewise.
35208 * assert/assert.c: Likewise.
35209 * debug/fgets_chk.c: Likewise.
35210 * debug/fgets_u_chk.c: Likewise.
35211 * debug/fread_chk.c: Likewise.
35212 * debug/fread_u_chk.c: Likewise.
35213 * debug/gets_chk.c: Likewise.
35214 * debug/obprintf_chk.c: Likewise.
35215 * debug/vasprintf_chk.c: Likewise.
35216 * debug/vdprintf_chk.c: Likewise.
35217 * debug/vsnprintf_chk.c: Likewise.
35218 * debug/vsprintf_chk.c: Likewise.
35219 * malloc/mtrace.c: Likewise.
35220 * misc/error.c: Likewise.
35221 * misc/syslog.c: Likewise.
35222 * stdio-common/asprintf.c: Likewise.
35223 * stdio-common/fxprintf.c: Likewise.
35224 * stdio-common/getw.c: Likewise.
35225 * stdio-common/isoc99_fscanf.c: Likewise.
35226 * stdio-common/isoc99_scanf.c: Likewise.
35227 * stdio-common/isoc99_vfscanf.c: Likewise.
35228 * stdio-common/isoc99_vscanf.c: Likewise.
35229 * stdio-common/isoc99_vsscanf.c: Likewise.
35230 * stdio-common/printf-prs.c: Likewise.
35231 * stdio-common/printf_fp.c: Likewise.
35232 * stdio-common/printf_fphex.c: Likewise.
35233 * stdio-common/printf_size.c: Likewise.
35234 * stdio-common/putw.c: Likewise.
35235 * stdio-common/scanf.c: Likewise.
35236 * stdio-common/sprintf.c: Likewise.
35237 * stdio-common/tmpfile.c: Likewise.
35238 * stdio-common/vfprintf.c: Likewise.
35239 * stdio-common/vfscanf.c: Likewise.
35240 * stdlib/strfmon_l.c: Likewise.
35241 * sunrpc/openchild.c: Likewise.
35242 * sunrpc/xdr_stdio.c: Likewise.
35243 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35244 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35245
d6c33fda
RM
352462012-05-24 Roland McGrath <roland@hack.frob.com>
35247
c1487492
RM
35248 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35249
35250 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35251 in the third column, to generate for the shared library an IFUNC
35252 that uses _dl_vdso_vsym.
35253 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35254 * Makeconfig (object-suffixes-noshared): New variable.
35255
35256 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35257 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35258 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35259 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35260
d6c33fda
RM
35261 [BZ #14132]
35262 * include/sys/time.h (__gettimeofday): Remove macro.
35263 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35264 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35265 Remove INTDEF.
35266 (__gettimeofday): Add libc_hidden_def.
35267 (gettimeofday): Add libc_hidden_weak.
35268 * sysdeps/mach/gettimeofday.c: Likewise.
35269 * sysdeps/posix/gettimeofday.c: Likewise.
35270 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35271 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35273 (__gettimeofday_internal): Remove strong_alias.
35274 (__gettimeofday): Add libc_hidden_def.
35275 (gettimeofday): Add libc_hidden_weak.
35276 * sysdeps/unix/syscalls.list (gettimeofday):
35277 Remove __gettimeofday_internal alias.
35278
b5a2bbe6
L
352792012-05-24 Daniel Jacobowitz <drow@false.org>
35280 H.J. Lu <hongjiu.lu@intel.com>
35281
35282 [BZ #12495]
35283 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35284 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35285 (largebin_index_32_big): New.
35286 (largebin_index): Use it for 16-byte alignment.
35287 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35288 correction with front_misalign.
35289
cfba4fda
L
352902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35291
7f907421
L
35292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35294 Likewise.
35295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35296 Likewise.
35297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35298 Likewise.
35299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35300 Likewise.
35301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35302 Likewise.
35303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35304 Likewise.
35305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35306 Likewise.
35307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35308 Likewise.
35309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35310 Likewise.
35311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35312 Likewise.
35313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35314 Likewise.
35315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35316 Likewise.
35317
cfba4fda
L
35318 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35319 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35320
80bad0cc
JM
353212012-05-24 Joseph Myers <joseph@codesourcery.com>
35322
7a25eb06
JM
35323 [BZ #10846]
35324 [BZ #14036]
35325 * math/libm-test.inc (exp_test): Add test from bug 14036.
35326 (pow_test): Add test from bug 10846.
35327
795405f9
JM
35328 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35329 and other flags.
35330 (special_function): Do not include flags in test name.
35331 (parse_args): Likewise.
35332 * sysdeps/i386/fpu/libm-test-ulps: Update.
35333 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35334 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35335 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35337
80bad0cc
JM
35338 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35339 exceptions.
35340 * math/libm-test.inc ("Philosophy"): Update comment about
35341 exception testing.
35342 (UNDERFLOW_EXCEPTION): New macro.
35343 (UNDERFLOW_EXCEPTION_OK): Likewise.
35344 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35345 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35346 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35347 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35348 (INVALID_EXCEPTION_OK): Update value.
35349 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35350 (OVERFLOW_EXCEPTION_OK): Likewise.
35351 (IGNORE_ZERO_INF_SIGN): Likewise.
35352 (test_exceptions): Handle underflow exceptions.
35353 (acos_test): Update for underflow exception expectations.
35354 (cexp_test): Likewise.
35355 (clog_test): Likewise.
35356 (clog10_test): Likewise.
35357 (csqrt_test): Likewise.
35358 (ctan_test): Likewise.
35359 (ctanh_test): Likewise.
35360 (exp_test): Likewise.
35361 (exp10_test): Likewise.
35362 (exp2_test): Likewise.
35363 (expm1_test): Likewise.
35364 (fma_test): Likewise.
35365 (j0_test): Likewise.
35366 (jn_test): Likewise.
35367 (nexttoward_test): Likewise.
35368 (pow_test): Likewise.
35369 (scalbn_test): Likewise.
35370 (scalbln_test): Likewise.
35371 (tan_test): Likewise.
35372 (y1_test): Likewise.
35373 * sysdeps/i386/fpu/libm-test-ulps: Update.
35374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35375
9e0e3d0b
DM
353762012-05-23 David S. Miller <davem@davemloft.net>
35377
35378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35379 (__libc_sigaction): Remove unused local variables.
35380
ccd0a08f
L
353812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35382
35383 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35384
62bdf9a6
PE
353852012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35386
f8591f80
PE
35387 mktime: avoid signed integer overflow
35388 * time/mktime.c (__mktime_internal): Do not mishandle the case
35389 where diff == INT_MIN.
35390
94c7d826
PE
35391 mktime: simplify computation of average
35392 * time/mktime.c (ranged_convert): Use new time_t_avg function
35393 instead of rolling our own (probably-slower) code.
35394
ce73d683
PE
35395 mktime: do not assume signed right shift propagates sign bit
35396 * time/mktime.c (isdst_differ): New static function.
35397 (__mktime_internal): No need to normalize tm_isdst now.
35398 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35399 tm_isdst values.
35400
72a22e59
PE
35401 mktime: merge another wrapv change from gnulib
35402 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35403 from some compilers.
35404
68605433
PE
35405 mktime: remove incorrect attempt at unusual arithmetics
35406 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35407 The code didn't really work on such machines anyway.
35408 (TYPE_MINIMUM): Assume two's complement.
35409 (twos_complement_arithmetic): Verify that long_int and time_t
35410 are two's complement (or unsigned, in the latter case).
35411
03cf7fe3
PE
35412 mktime: check signed shifts on long_int and time_t, too
35413 * time/mktime.c (SHR): Check that shifts work as desired
35414 on the types long_int and time_t too, as SHR is used on
35415 such types.
35416
f04dfbc2
PE
35417 mktime: do not assume 'long' is wide enough
35418 * time/mktime.c (verify): Move decl up.
35419 (long_int): New type.
35420 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35421 to remove assumption in the code that 'long' is wide enough to
35422 store year values. This assumption is not true on x32 and on
35423 some non-glibc platforms.
35424
62bdf9a6
PE
35425 mktime: merge wrapv change from gnulib
35426 * time/mktime.c (WRAPV): New macro.
35427 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35428 (guess_time_tm, __mktime_internal): Do not assume that signed
35429 integer overflow wraps around; modern compilers generate code
35430 where this assumption is no longer valid.
35431
5e292e4f
L
354322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35433
35434 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35435 Replace "jmp L(pseudo_end)" with "ret".
35436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35437 Likewise.
35438
8caf8c87
AJ
354392012-05-23 Andreas Jaeger <aj@suse.de>
35440
35441 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35442 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35443
1a09dc56
AJ
354442012-05-23 Andreas Jaeger <aj@suse.de>
35445 Maximilian Attems <max@stro.at>
35446
35447 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35448 New macros.
35449
1c87aba0
L
354502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35451
35452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35453 code so that pseudo_end is just ret and the stack pointer is
35454 correct also for static library in error case.
35455
40e45bd5
JM
354562012-05-23 Joseph Myers <joseph@codesourcery.com>
35457
c2670533
JM
35458 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35459 move to syscalls.list.
35460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35464
40e45bd5
JM
35465 * manual/install.texi (Running make install): Do not mention Linux
35466 kernel version for which pt_chown is not needed.
35467 (Linux): Do not mention problems with nscd with 2.0 kernels.
35468 * INSTALL: Regenerated.
35469
be08eda5
AJ
354702012-05-23 Andreas Jaeger <aj@suse.de>
35471
35472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35473 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35474 macro.
35475 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35477 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35479 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35482 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35483 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35484 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35485 * sysdeps/unix/sysv/linux/bits/in.h
35486 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35487
a6a056bb
RM
354882012-05-22 Roland McGrath <roland@hack.frob.com>
35489
35490 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35491 (PREPARE_VERSION): Just use assert instead, it will be elided
35492 under [NDEBUG] anyway.
35493
c9009328
L
354942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35495
35496 * sysdeps/unix/sysv/linux/Makefile: Include
35497 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 35498 (sysdep_routines): Remove sysctl.
c9009328
L
35499 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35500 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35501 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35502 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35503 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35504
73338355
AJ
355052012-05-22 Andreas Jaeger <aj@suse.de>
35506
35507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35508 that pseudo_end is just ret and the stack pointer is correct also
35509 for static library in error case.
35510
d44638b0
PP
355112012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35512
35513 [BZ #14122]
35514 * nss/nsswitch.c (defconfig_entries): New variable.
35515 (__nss_database_lookup): Don't leak defconfig entries.
35516 (nss_parse_service_list): Don't leak on error paths.
35517 (free_database_entries): New function.
35518 (free_defconfig): New function.
35519 (free_mem): Move common code to free_database_entries.
35520
31a39bd8
L
355212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35522
da0331a8
L
35523 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35524 Add arch_prctl.
35525 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35526
31a39bd8
L
35527 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35528 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35530 New macro.
35531 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35532 (INTERNAL_SYSCALL_TYPES): Likewise.
35533 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35534 (LOAD_REGS_TYPES_[1-6]): Likewise.
35535 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35536 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35537
45470df3
AZ
355382012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35539
35540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35541 copysignl for GLIBC_2_0.
35542 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35543 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35545 logbl for GLIBC_2_0.
35546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35547 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35548
98a61bcb
L
355492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35550
a4f6e481
L
35551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35552 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35553
f63d5db6
L
35554 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35555 Use "neg %eax".
35556
98a61bcb
L
35557 * time/mktime.c: Update copyright years.
35558
95770f14
PE
355592012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35560
6226efbd
PE
35561 mktime: merge comment-quoting-style change from gnulib
35562 * time/mktime.c: Quote 'like this' in comments.
35563 The GNU coding standards suggest that we no longer quote `like this',
35564 as "`" and "'" are typically rendered asymmetrically nowadays.
35565 The typical gnulib style is to quote 'like this' when quoting
35566 code, and "like this" when quoting English.
35567
b99e4f78
PE
35568 * time/mktime.c (compile-command): Add "-I.".
35569
643e01e6
PE
35570 mktime: merge mktime-internal.h change from gnulib
35571 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35572
2554247d
PE
35573 mktime: merge time_r change from gnulib
35574 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35575
826dd0ab
PE
35576 mktime: merge DEBUG change from gnulib
35577 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35578 case system <time.h> has a #define.
35579
bd83aabe
PE
35580 mktime: merge <sys/types.h> change from gnulib
35581 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35582 since <time.t> is now guaranteed to define time_t.
35583
95770f14
PE
35584 mktime: merge HAVE_CONFIG_H change from gnulib
35585 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35586
5e1a27a9
L
355872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35588
0e44a77e
L
35589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35590 Use "neg %eax".
35591
5e1a27a9
L
35592 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35593 __rlim_t cast.
35594 (struct rusage): Use anonymous union to pad each field to
35595 __syscall_slong_t.
35596
46259bec
DM
355972012-05-21 David S. Miller <davem@davemloft.net>
35598
35599 * Makefules (o-iterator): Remove .s cases.
35600 (compile-command.s): Delete.
35601 (COMPILE.s): Delete.
35602 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35603
59f0c22e
JM
356042012-05-21 Joseph Myers <joseph@codesourcery.com>
35605
35606 * configure.in (libc_cv_predef_stack_protector): Only consider
35607 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35608 * configure: Regenerated.
35609
20c07380
L
356102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35611
bbb3154b
L
35612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35613 New macro. Use R*LP on int and pointer.
35614 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
35615 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35616 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
35617 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35618
20c07380
L
35619 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35620 [__WORDSIZE_TIME64_COMPAT32] instead of
35621 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35622 (struct utmp): Likewise.
35623 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35624 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35625 Renamed to ...
35626 (__WORDSIZE_TIME64_COMPAT32): This.
35627 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35628 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35629 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35630 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35631 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35632 (__WORDSIZE_TIME64_COMPAT32): New macro.
35633
d8d1017e
AJ
356342012-05-21 Andreas Jaeger <aj@suse.de>
35635
35636 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35637 only if [SHARED]. Add prototype for __wcschr_ia32.
35638
6c7fb145
RM
356392012-05-21 Roland McGrath <roland@hack.frob.com>
35640
35641 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35642 of %rbp unmolested in the jmp_buf while mangling the low bits.
35643 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35644 unmolested high bits of %rbp while demangling the low bits.
35645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35646
66274218
AJ
356472012-05-21 Andreas Jaeger <aj@suse.de>
35648
07c58f8f
AJ
35649 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35650 * sunrpc/svc_simple.c: Use it for registerrpc.
35651 * sunrpc/xcrypt.c: Use it for passwd2des.
35652
66274218
AJ
35653 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35654
61f65140
L
356552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35656
35657 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35658 Don't define if [__SYSCALL_WORDSIZE != 32].
35659 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35660 New macro.
35661
5fefb436
AJ
356622012-05-21 Bruno Haible <bruno@clisp.org>
35663 Andreas Jaeger <aj@suse.de>
35664
35665 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35666 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35667 inptr and inend for must_buffer_ch.
35668 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35669 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35670 * stdio-common/Makefile (tests): Remove bug15.
35671 (bug15-ENV): Remove macro.
35672 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35673 anymore.
35674
d8e272ab
AJ
356752012-05-19 Andreas Jaeger <aj@suse.de>
35676 Roland McGrath <roland@hack.frob.com>
35677
35678 * manual/contrib.texi: Completely rewritten. It contains now an
35679 alphabetical list of contributors and their contributions.
35680
4a56a162
RH
356812012-05-21 Richard Henderson <rth@twiddle.net>
35682
35683 * misc/getauxval.c (__getauxval): Use unsigned long int.
35684 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35685 (getauxval): Use unsigned long int.
35686
d024d23c
L
356872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35688
35689 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35690
cbc00a03
RM
356912012-05-21 Roland McGrath <roland@hack.frob.com>
35692
35693 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35694 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35695 __alignof__ (long double).
35696
478143fa
AZ
356972012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35698
35699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35700
c7683a6d
RH
357012012-05-20 Richard Henderson <rth@twiddle.net>
35702
35703 * misc/getauxval.c: New file.
35704 * misc/sys/auxv.h: New file.
35705 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35706 (routines): Add getauxval.
35707 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35708 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35709 * elf/dl-sysdep.c (_dl_auxv): Remove.
35710 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35711 * elf/dl-support.c (_dl_auxv): New variable.
35712 (_dl_aux_init): Initialize it.
35713 * manual/startup.texi (Auxiliary Vector): New node.
35714 * sysdeps/generic/bits/hwcap.h: New file.
35715 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35716 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35717 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35718 * sysdeps/sparc/sysdep.h: ... here. Include it.
35719 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
35721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35722 Update.
c7683a6d
RH
35723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35731
a6f1845d
AZ
357322012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35733
35734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35735
cbcbe830
DM
357362012-05-19 David S. Miller <davem@davemloft.net>
35737
35738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35739
e0b16cc2
JM
357402012-05-19 Joseph Myers <joseph@codesourcery.com>
35741
35742 [BZ #14123]
35743 * math/s_ccosh.c: Include <float.h>
35744 (__ccosh): Avoid internal overflow calculating sinh and cosh
35745 values before multiplying by sin and cos values.
35746 * math/s_ccoshf.c: Likewise.
35747 * math/s_ccoshl.c: Likewise.
35748 * math/s_csin.c: Likewise.
35749 * math/s_csinf.c: Likewise.
35750 * math/s_csinl.c: Likewise.
35751 * math/s_csinh.c: Likewise.
35752 * math/s_csinhf.c: Likewise.
35753 * math/s_csinhl.c: Likewise.
35754 * math/libm-test.inc (ccos_test): Add more tests.
35755 (ccosh_test): Likewise.
35756 (csin_test): Likewise.
35757 (csinh_test): Likewise.
35758 * sysdeps/i386/fpu/libm-test-ulps: Update.
35759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35760
6ad13e08
L
357612012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35762
f66f0ce8
L
35763 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35764 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35765
6ad13e08
L
35766 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35767
b1d072a7
JM
357682012-05-19 Joseph Myers <joseph@codesourcery.com>
35769
35770 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35771 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35772 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35773 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35774 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35775 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35776 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35777 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35778 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35779 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35780 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35781 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35782 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35783 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35784 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35785 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35786 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35787 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35788 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35789 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35790 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35791 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35792 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35793 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35794 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35795 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35796 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35797 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35798 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35799 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35800 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35801
9eae47cb
AJ
358022012-05-18 Andreas Jaeger <aj@suse.de>
35803
35804 * csu/.gitignore: Delete.
35805
bb07f69f
L
358062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35807
35808 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35809 (timex): Use __syscall_slong_t.
35810
e6bdb741
AJ
358112012-05-18 Andreas Jaeger <aj@suse.de>
35812 Carlos O'Donell <carlos_odonell@mentor.com>
35813
35814 * manual/install.texi (Configuring and compiling): Update
35815 description about files modified in the source directory.
d6c33fda 35816 * INSTALL: Regenerated.
e6bdb741 35817
1b74487e
L
358182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35819
35820 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35821 value. Use "or" to set return value to -1.
35822 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35823 negate return value.
35824
a88b64b9
TMQMF
358252012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35826
57f41c40
AS
35827 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35828 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35829 failure if the compiler has Graphite support disabled.
35830 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35831 Likewise.
57f41c40
AS
35832 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35833 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35834 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35835 Likewise.
35836
3707636e
L
358372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35838
610b8622
L
35839 * sysdeps/x86_64/x32/_itoa.h: New file.
35840
7cd195df
L
35841 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35842 getdents system call only if kernel and user dirents have the
35843 same d_ino and d_off.
35844
94b07d20
L
35845 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35846 LLONG_MAX != LONG_MAX.
35847 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35848 (_fitoa_word): Likewise.
35849
18298070
L
35850 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35851 years.
35852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35853 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35854 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35855
553c7ea4
L
35856 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35857 include <bits/wordsize.h>. Check __x86_64__ instead of
35858 __WORDSIZE.
35859 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35860 if __x86_64__ is defined. Use anonymous union on fpstate.
35861
3707636e
L
35862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35863 anonymous union.
35864
b53ef01a
AS
358652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35866
37fb1dc0
AS
35867 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35868 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35869 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35870 Refer to _rtld_local_ro instead of _rtld_global_ro.
35871 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35872 Likewise.
35873 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35874 Likewise.
35875 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35876 Likewise.
35877 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35878 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35879 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35880
b53ef01a
AS
35881 * sysdeps/powerpc/powerpc32/dl-machine.c
35882 (__elf_machine_runtime_setup) [PROF]: Don't reference
35883 _dl_prof_resolve.
35884
7a185db2
AJ
358852012-05-18 Andreas Jaeger <aj@suse.de>
35886
35887 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35888 function only available for GCCs before 3.4 since GCC 3.4
35889 introduced a builtin.
35890 (lrint): Likewise.
35891 (llrintf): Likewise.
35892 (llrint): Likewise.
35893 (fmaxf): Likewise.
35894 (fmax): Likewise.
35895 (fminf): Likewise.
35896 (fmin): Likewise.
35897 (rint): Likewise.
35898 (rintf): Likewise.
35899 (nearbyint): Likewise.
35900 (nearbyintf): Likewise.
35901 (ceil): Likewise.
35902 (ceilf): Likewise.
35903 (floor): Likewise.
35904 (floorf): Likewise.
35905
3e5aef87
L
359062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35907
428bd707
L
35908 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35909 on both fields and cast pointer to __syscall_ulong_t.
35910
3e5aef87
L
35911 * bits/types.h (__fsword_t): New type.
35912 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35913 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35915 (__FSWORD_T_TYPE): Likewise.
35916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35917 (__FSWORD_T_TYPE): Likewise.
35918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35919 (__FSWORD_T_TYPE): Likewise.
35920 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35921 (__FSWORD_T_TYPE): Likewise.
35922 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35923 __SWORD_TYPE with __fsword_t.
35924 (statfs64): Likewise.
35925
1ba7c3dc
DM
359262012-05-17 David S. Miller <davem@davemloft.net>
35927
35928 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35929
59910343
AJ
359302012-05-17 Andreas Jaeger <aj@suse.de>
35931
35932 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35933 warning.
35934
2e4c1e9e
L
359352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35936
35937 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35938
de7f5ce7
AJ
359392012-05-17 Andreas Jaeger <aj@suse.de>
35940
35941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35942 when it is used.
35943
286abc3d
CM
359442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35945
35946 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35947
477cc68e
L
359482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35949
35950 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35951 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35952
1a0994f5
CD
359532012-05-17 Andreas Jaeger <aj@suse.de>
35954 Carlos O'Donell <carlos_odonell@mentor.com>
35955
35956 [BZ #14059]
35957 * sysdeps/x86_64/multiarch/init-arch.h
35958 (bit_YMM_Usable): Rename to...
35959 (bit_AVX_Usable): ... this.
35960 (bit_FMA4_Usable): New macro.
35961 (bit_XMM_state): New macro.
35962 (bit_YMM_state): New macro.
35963 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35964 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35965 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35966 (CPUID_OSXSAVE): New macro.
35967 (CPUID_AVX): New macro.
35968 (CPUID_FMA4): New macro.
35969 (index_YMM_Usable): Rename to...
35970 (index_AVX_Usable): ... this.
35971 (HAS_AVX): Use HAS_ARCH_FEATURE.
35972 (HAS_FMA4): Likewise.
35973 (HAS_YMM_USABLE): Remove.
35974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35975 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35976 are present.
35977 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35978 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35979 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35980 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35981 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35982
0af797de
CM
359832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35984
35985 * math/libm-test.c: Support platforms without multiple rounding modes.
35986 * math/bug-nextafter.c: Support platforms without FP exceptions.
35987 * math/bug-nexttoward.c: Likewise.
35988 * math/test-fenv.c: Likewise.
35989 * math/test-misc.c: Likewise.
35990 * stdlib/bug-getcontext.c: Likewise.
35991
e39745ff
AJ
359922012-05-17 Andreas Jaeger <aj@suse.de>
35993
35994 * manual/examples/search.c (critter_cmp): Change signature to
35995 avoid warnings.
35996 * manual/string.texi (Collation Functions): Likewise.
35997
48970aba
L
359982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35999
36000 * bits/types.h: Fold copyright years.
36001 * bits/typesizes.h: Likewise.
36002 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36006 * time/time.h: Likewise.
36007
bedee953
PP
360082012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36009
36010 [BZ #208]
36011 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36012 in instead of returning them. Return void.
36013 (__libc_mallinfo): Accumulate over all arenas.
36014 (__malloc_stats): Adjust for change in int_mallinfo interface.
36015
61653dfb
RM
360162012-05-16 Roland McGrath <roland@hack.frob.com>
36017
30b99d79
RM
36018 [BZ #10375]
36019 * configure.in (NM): Add AC_CHECK_TOOL for it.
36020 (libc_extra_cflags): New substituted variable.
36021 Check for -fstack-protector being used implicitly.
36022 * configure: Regenerated.
36023 * config.make.in (config-extra-cflags): New variable,
36024 gets @libc_extra_cflags@.
36025 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36026
61653dfb
RM
36027 [BZ #10375]
36028 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36029 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36030 * configure: Regenerated.
36031 * config.make.in (CPPUNDEFS): New substituted variable.
36032 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36033 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36034 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36035
661768bb
L
360362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36037
36038 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36039 (mq_attr): Use __syscall_slong_t.
36040
d4261567
L
360412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36042
36043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36044 Check __x86_64__ instead of __WORDSIZE.
36045 (_STAT_VER_LINUX): Likewise.
36046 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36047 __syscall_ulong_t and __syscall_slong_t.
36048 (stat64): Likewise.
36049
cf3ff365
L
360502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36051
36052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36053
76cf3e4d
L
360542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36055
36056 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36057
a637753a
L
360582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36059
36060 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36061 __syscall_ulong_t.
36062
d5e05119
L
36063 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36064 include <bits/wordsize.h>. Check __x86_64__ instead of
36065 __WORDSIZE.
36066 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36067 defined.
36068 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36069
f62ee380
L
36070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36071 include <bits/wordsize.h>. Check __x86_64__ instead of
36072 __WORDSIZE.
36073 (user_regs_struct): Use "__extension__ unsigned long long"
36074 instead of "unsigned long" if __x86_64__ is defined.
36075 (user): Likewise. Pad after pointer field if __ILP32__ is
36076 defined.
36077
4e124ced
JM
360782012-05-16 Joseph Myers <joseph@codesourcery.com>
36079
6a3951a0
JM
36080 * configure.in (makeinfo): Require version 4.5 or later. Allow
36081 versions 5 to 9.
36082 * configure: Regenerated.
36083 * manual/install.texi (texinfo): Increase version requirement to
36084 4.5 or later.
36085 * INSTALL: Regenerated.
36086
4e124ced
JM
36087 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36088
953ca31a
L
360892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36090
36091 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36092
617aca05
L
36093 * sysdeps/x86_64/x32/ffs.c: New file.
36094
5762f7ae
L
36095 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36096 __syscall_ulong_t.
36097 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36098 defined. Use __syscall_ulong_t.
36099 (shminfo): Use __syscall_ulong_t.
36100 (shm_info): Likewise.
36101
a26b6856
L
36102 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36103 __syscall_ulong_t.
36104
cb2b9ef7
L
36105 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36106 <bits/wordsize.h>.
36107 (msgqnum_t): Use __syscall_ulong_t.
36108 (msglen_t): Likewise.
36109 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36110 __syscall_ulong_t.
36111
34683bb0
L
36112 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36113 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36114
84a68786
L
36115 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36116
48baa5f1
L
36117 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36118 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36119
180be88b
L
36120 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36121 __syscall_slong_t.
36122
5e90c8ad
L
36123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36124 include <bits/wordsize.h>. Check __x86_64__ instead of
36125 __WORDSIZE.
36126
23dfb58b
L
36127 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36128 "unsigned long long int" if __x86_64__ is defined.
36129 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36130
ce5d54b0
L
36131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36132 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36133 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36134
13dc9eac
L
36135 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36136 <stdint.h>.
36137 (GET_PC): Cast to uintptr_t first.
36138 (GET_FRAME): Likewise.
36139 (GET_STACK): Likewise.
36140
a7895d15
L
36141 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36142 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36144 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36146 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36147 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36148 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36149 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36151 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36152 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36153 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36154 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36155 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36156 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36157 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36158 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36159 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36160 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36162 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36163 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36164 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36165 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36166 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36167 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36168 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36169 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36170
656416c9
AS
361712012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36172
5bd66283
AS
36173 * Makerules (+depfiles): Also collect depfiles from .oS in
36174 $(extra-objs).
36175 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36176 .oS, $(libnldbl-routines)).
36177
656416c9
AS
36178 * Makerules (native-compile-mkdep-flags): Define.
36179 * sunrpc/Makefile (extra-objs): Add $(addprefix
36180 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36181 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36182 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36183 calling $(make-target-directory).
36184
a46f2169
L
361852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36186
36187 * bits/types.h (__snseconds_t): Removed.
36188 * time/time.h (struct timespec): Replace __snseconds_t with
36189 __syscall_slong_t.
36190 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36191 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36192 Likewise.
36193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36194 (__SNSECONDS_T_TYPE): Likewise.
36195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36196 (__SNSECONDS_T_TYPE): Likewise.
36197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36198 (__SNSECONDS_T_TYPE): Likewise.
36199
6af6528b
L
362002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36201
36202 * sysdeps/mach/hurd/bits/typesizes.h
36203 (__SYSCALL_SLONG_TYPE): New macro.
36204 (__SYSCALL_ULONG_TYPE): Likewise.
36205
de986b56
L
362062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36207
36208 * bits/types.h (__syscall_slong_t): New type.
36209 (__syscall_ulong_t): Likewise.
36210
36211 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36212 (__SYSCALL_ULONG_TYPE): Likewise.
36213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36214 (__SYSCALL_SLONG_TYPE): Likewise.
36215 (__SYSCALL_ULONG_TYPE): Likewise.
36216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36217 (__SYSCALL_SLONG_TYPE): Likewise.
36218 (__SYSCALL_ULONG_TYPE): Likewise.
36219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36220 (__SYSCALL_SLONG_TYPE): Likewise.
36221 (__SYSCALL_ULONG_TYPE): Likewise.
36222
85736dc7
L
362232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36224
36225 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36226 Add sigaltstack-offsets.sym.
36227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36228 <sigaltstack-offsets.h>.
36229 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36230 longjmp_msg pointer.
36231 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36232 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36233 signal stack.
36234 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36235
cc03b296
JM
362362012-05-15 Joseph Myers <joseph@codesourcery.com>
36237
a9538892
JM
36238 * elf/stackguard-macros.h: Remove file.
36239 * sysdeps/generic/stackguard-macros.h: New file.
36240 * sysdeps/i386/stackguard-macros.h: Likewise.
36241 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36242 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36243 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36244 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36245 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36246 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36247 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36248 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36249 <elf/stackguard-macros.h>.
36250
cc03b296
JM
36251 [BZ #14109]
36252 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36253 __aligned__ in attribute.
36254 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36255 (gregset_t): Likewise.
36256
93171016
L
362572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36258
36259 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36260 * sysdeps/x86_64/64/Implies-after: Here. New file.
36261 * sysdeps/x86_64/x32/Implies-after: New file.
36262
d86813a0
L
362632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36264
36265 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36266 and access return value for _dl_profile_fixup. Use R10_LP to
36267 load frame size.
36268
2953ec75
L
362692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36270
36271 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36272
3b550e9e
L
362732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36274
36275 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36276 * sysdeps/x86_64/x32/sysdep.h: New file.
36277
eda41706
L
362782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36279
36280 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36281 * sysdeps/x86_64/setjmp.S: Likewise.
36282
9ea01d93
AZ
362832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36284
36285 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36287 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36288 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36289 remove unused global constant.
36290
02a91938
CM
362912012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36292
36293 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36294 include of <not-cancel.h>.
36295
6540185f
RM
362962012-05-15 Roland McGrath <roland@hack.frob.com>
36297
36298 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36299
509072a0
AJ
363002012-05-15 Jeff Law <law@redhat.com>
36301 Andreas Jaeger <aj@suse.de>
36302
36303 [BZ #13594]
36304 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36305 out from...
36306 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36307 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36308 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36309 code changing __hst_map_handle.map.
36310
ba75122d
RM
363112012-05-15 Roland McGrath <roland@hack.frob.com>
36312
36313 * configure.in (sysnames): Look for Implies-before and Implies-after
36314 files.
36315 * configure: Regenerated.
36316
890d8bd8
L
363172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36318
36319 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36320 8-byte data alignment with LP_SIZE alignment.
36321
f6ee6623
L
363222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36323
36324 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36325 into R10_LP.
36326
ea2626f6
L
363272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36328
36329 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36330
085f715e
L
363312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36332
36333 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36334 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36335 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36336 Likewise.
36337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36338
be8498fc
L
363392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36340
36341 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36342 (stackinfo_sub_sp): Likewise.
36343
70bc83b9
L
363442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36345
36346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36347 RAX_LP.
36348
9bc0b730
L
363492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36350
36351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36352 into R*_LP.
36353
6d2850e7
L
363542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36355
36356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36357 sizes into R*_LP.
36358
3cb84561
L
363592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36360
36361 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36362
54e2ed81
L
363632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36364
36365 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36366 into R11_LP and load __x86_64_shared_cache_size_half into
36367 R8_LP.
36368
8a17f349
L
363692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36370
36371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36372 R8_LP.
36373
777b1eea
AZ
363742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36375
36376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36377 logb for POWER7.
36378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36379 logbf for POWER7.
36380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36381 logbl for POWER7.
36382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36383 powerpc32/power7/fpu/s_logb.c via #include.
36384 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36385 powerpc32/power7/fpu/s_logbf.c via #include.
36386 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36387 powerpc32/power7/fpu/s_logbl.c via #include.
36388
d20d4ac2
JM
363892012-05-15 Joseph Myers <joseph@codesourcery.com>
36390
36391 * README.libm: Remove file.
36392
6cdef1ab
L
363932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36394
36395 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36396 count for x32. Use R*_LP and omit operand-size suffix.
36397
0b254d8f
L
363982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36399
36400 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36401 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36402 * sysdeps/x86_64/x32/shlib-versions: New file.
36403
ceb809dc
RM
364042012-05-14 Roland McGrath <roland@hack.frob.com>
36405
36406 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36407 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36408 Use _dl_fatal_printf instead.
36409
37f1abd4
JM
364102012-05-14 Joseph Myers <joseph@codesourcery.com>
36411
36412 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36413 set if not set by the user. Do not allow for being unset.
36414 * sysdeps/unix/sysv/linux/configure: Regenerated.
36415
11de3a33
L
364162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36417
36418 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36419 the `q' suffix from lea and replace .quad with ASM_ADDR.
36420
e02f153a
L
364212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36422
36423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36424 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36425 instead of $17.
36426 (PTR_DEMANGLE): Likewise.
36427
520ae0fd
L
364282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36429
36430 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36431 (LP_OP): Likewise.
36432 (ASM_ADDR): Likewise.
36433 (RAX_LP): Likewise.
36434 (RBP_LP): Likewise.
36435 (RBX_LP): Likewise.
36436 (RCX_LP): Likewise.
36437 (RDI_LP): Likewise.
36438 (RSI_LP): Likewise.
36439 (RSP_LP): Likewise.
36440 (R8_LP): Likewise.
36441 (R9_LP): Likewise.
36442 (R10_LP): Likewise.
36443 (R10_LP): Likewise.
36444 (R11_LP): Likewise.
36445 (R12_LP): Likewise.
36446 (R13_LP): Likewise.
36447 (R14_LP): Likewise.
36448 (R15_LP): Likewise.
36449
b985be81
L
364502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36451
36452 * sysdeps/x86_64/x32/dl-machine.h: New file.
36453
6a4888ff
AJ
364542012-05-14 Andreas Jaeger <aj@suse.de>
36455
36456 * manual/Makefile (subdir): Remove export of subdir.
36457 (all): Remove target.
36458 (.PHONY): Remove all from list.
36459 (mkinstalldirs): Remove.
36460 (.PHONY): Remove installdirs from list.
36461 ($(inst_infodir)/libc.info): Use make-target-directory.
36462 (installdirs): Remove.
36463 (subdir_%): Remove.
36464 (glibc-targets): Remove.
36465 (lib): Remove.
36466 (stubs): Remove.
36467 ($(objpfx)stubs ../po/manual.pot): Remove.
36468 ($(objpfx)stamp%): Remove.
36469 (make-target-directory): Remove.
36470 (subdir_install): Remove.
36471 (routines): Remove.
36472 (aux): Remove.
36473 (sources): Remove.
36474 (objects): Remove.
36475 (headers): Remove.
36476
36477 [BZ #13750]
36478 * manual/.gitignore: Remove, it's not needed anymore.
36479 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36480 all files in it.
36481 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36482 directory.
36483 (texis): Renamed to $(objpfx)texis.
36484 (texis-path): New, contains path to generated files.
36485 (chapters.%): Use texis-path for complete path, add extra argument
36486 libc-texinfo.sh.
36487 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36488 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36489 (summary,texi, stamp-summary): Use complete path of
36490 files. Generate files in build dir.
36491 (dir-add.texi): Build in build dir.
36492 (libm-err.texi,stamp-libm-err): Likewise.
36493 (version.texi, stamp-version): Likewise.
36494 (.%c.texi): Likewise.
36495 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36496 (mostlyclean): Remove target.
36497 (realclean): Remove target.
36498 (generated): Add new variable with contents from mostlyclean and
36499 realclean, remove entries duplicated in common-mostlyclean, add
36500 stamp-libm-err and stamp-version.
36501 (generated-dirs): Add libc directory.
36502 ($(inst_infodir)/libc.info): Install files from build dir.
36503
36504 * manual/install.texi (Configuring and compiling): Adjust since
36505 the info files are not part of the tar ball anymore.
36506
7ac77294
AJ
365072012-05-14 Andreas Jaeger <aj@suse.de>
36508
36509 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36510 variable.
36511
ffb7875d
JM
365122012-05-14 Joseph Myers <joseph@codesourcery.com>
36513
36514 [BZ #13717]
36515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36516 to 2.2.0 where earlier.
36517 * sysdeps/unix/sysv/linux/configure: Regenerated.
36518 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36519 Remove conditional code.
36520 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36521 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36522 Remove conditional code.
36523 [!__NR_lchown]: Likewise.
36524 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36525 [__NR_lchown]: Likewise.
36526 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36527 comment referencing __ASSUME_LCHOWN_SYSCALL.
36528 * sysdeps/unix/sysv/linux/i386/sigaction.c
36529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36531 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36532 Remove conditional code.
36533 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36534 (__protocol_available): Remove #if 0 code.
36535 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36536 conditional code.
36537 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36538 * sysdeps/unix/sysv/linux/kernel-features.h
36539 (__ASSUME_GETCWD_SYSCALL): Don't define.
36540 (__ASSUME_REALTIME_SIGNALS): Likewise.
36541 (__ASSUME_PREAD_SYSCALL): Likewise.
36542 (__ASSUME_PWRITE_SYSCALL): Likewise.
36543 (__ASSUME_POLL_SYSCALL): Likewise.
36544 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36545 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36546 non-SPARC.
36547 (__ASSUME_SIOCGIFNAME): Don't define.
36548 (__ASSUME_MSG_NOSIGNAL): Likewise.
36549 (__ASSUME_SENDFILE): Define unconditionally.
36550 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36551 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36552 conditional code.
36553 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36554 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36555 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36556 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36557 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36558 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36559 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36561 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36573 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36584 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36585 Remove conditional code.
36586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36587 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36588 Remove conditional code.
36589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36590 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36591 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36592 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36593 Remove conditional code.
36594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36595 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36596 Remove conditional code.
36597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36598 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36599 Remove conditional code.
36600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36601 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36602 Remove conditional code.
36603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36604 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36605 Remove conditional code.
36606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36607 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36610 * sysdeps/unix/sysv/linux/sigaction.c
36611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36613 * sysdeps/unix/sysv/linux/sigpending.c
36614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36616 * sysdeps/unix/sysv/linux/sigprocmask.c
36617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36619 * sysdeps/unix/sysv/linux/sigsuspend.c
36620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36622 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36623 (__libc_missing_rt_sigs): Remove.
36624 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36625 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36626 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36627 Remove conditional code.
36628 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36629 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36630 return 1.
36631 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36632 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36633 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36634 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36635
1bfb7291
AJ
366362012-05-14 Andreas Jaeger <aj@suse.de>
36637
caae5a81
AJ
36638 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36639 it's not used in glibc.
36640 (__coshm1): Likewise.
36641 (__acosh1p): Likewise.
36642 (__sgn): Likewise.
36643
1bfb7291
AJ
36644 * manual/string.texi (Copying and Concatenation): Add missing
36645 variable in concat example.
36646 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36647
c044d724
L
366482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36649
144c5467 36650 [BZ #14103]
c044d724
L
36651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36652 __builtin_clzl with __builtin_clzll.
36653
2523c62b
L
366542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36655
36656 [BZ #14104]
36657 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36658 libc_freeres_ptr.
36659
d7bb4c42
LD
366602012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36661
36662 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36663 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36664 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36665 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36666
9dc4e1fb
MF
366672012-05-14 Mike Frysinger <vapier@gentoo.org>
36668
36669 * NEWS: Update ia64 info.
36670
c7df0112
AS
366712012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36672
36673 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36674 used as bcopy.
36675
dc70356c
TS
366762012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36677
36678 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36679 * sysdeps/unix/syscalls.list (dup3): Likewise.
36680 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36681 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36682
9fb1a21f
L
366832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36684
36685 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36686 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36687
4822a2a5
L
366882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36689
36690 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36691 thread pointer.
36692 (TLS_IE): Use mov/add instead of movq/addq to load thread
36693 pointer.
36694 (TLS_GD_PREFIX): New.
36695 (TLS_GD): Use it.
36696
842b81d6
DM
366972012-05-11 David S. Miller <davem@davemloft.net>
36698
36699 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36700 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36701 (_FPU_SETCW): Likewise.
36702
1cf463cd
L
367032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36704
36705 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36706 is 32-byte aligned.
36707
60cc4a18
AS
367082012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36709
36710 [BZ #11837]
36711 * iconvdata/gb18030.c: Update tables.
36712 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36713 characters specially.
36714 (BODY for TO_LOOP): Add encoding of missing ranges.
36715
febb44a4
TS
367162012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36717
36718 [BZ #13673]
36719 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36720 * sysdeps/mach/hurd/dup3.c: Likewise.
36721 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36722 * sysdeps/powerpc/memmove.c:: Likewise.
36723
0a10fb9e
L
367242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36725
36726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36727 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36728
df8a552f
L
367292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36730
36731 * elf/elf.h (R_X86_64_RELATIVE64): New.
36732 (R_X86_64_NUM): Updated.
36733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36734 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36735 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36736 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36737 tst-quad1pie tst-quad2pie
36738 (modules-names): Add tst-quadmod1 tst-quadmod2.
36739 ($(objpfx)tst-quad1): New dependency.
36740 ($(objpfx)tst-quad2): Likewise.
36741 ($(objpfx)tst-quad1pie): Likewise.
36742 ($(objpfx)tst-quad2pie): Likewise.
36743 * sysdeps/x86_64/tst-quad1.c: New file.
36744 * sysdeps/x86_64/tst-quad1pie.c: New file.
36745 * sysdeps/x86_64/tst-quad2.c: Likewise.
36746 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36747 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36748 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36749 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36750 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36751
f34d6f84
ST
367522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36753
f42d41d1
ST
36754 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36755 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36756 * streams/stropts.h (t_scalar_t): Define type.
36757
3c3571fc
ST
36758 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36759 (_PATH_PRESERVE): Set to "/var/lib".
36760 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36761
61f06bd3
ST
36762 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36763 instead of int.
36764
918d4d71
ST
36765 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36766 if __dir_mkfile succeeded.
36767
f34d6f84
ST
36768 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36769 checking for _hurd_dtablesize. Unlock it right after having
36770 finished _hurd_dtable allocation.
36771
10589b4a
TS
367722012-05-10 Thomas Schwinge <thomas@schwinge.name>
36773
674cdbc7
TS
36774 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36775 * sysdeps/mach/hurd/configure: Regenerated.
36776 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36777 special-casing to...
36778 * sysdeps/gnu/configure.in: ... this new file.
36779 * sysdeps/unix/sysv/linux/configure: Regenerated.
36780 * sysdeps/gnu/configure: New generated file.
36781
8e41b99f
TS
36782 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36783 for Linux: use nsec instead of usec, as well as:
36784 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36785 members of type struct timespec.
36786 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36787 New macros.
36788 (struct stat64): Likewise.
36789 (_STATBUF_ST_NSEC): New macro.
36790 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36791
10589b4a
TS
36792 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36793 __strtoul_internal rather than strtoul.
36794
63643c85
PT
367952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36796
36797 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36798 and reject them.
36799
3faebe6a
ST
368002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36801
36802 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36803 which preserves existing values.
36804 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36805
c6474b07
PT
368062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36807
36808 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36809 TIMEOUT values. Return EINVAL for NFDS values either negative or
36810 greater than FD_SETSIZE.
36811
1043890b
ST
368122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36813
36814 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36815 allocated, call __vm_protect to finish enabling the existing space, and
36816 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36817 allocate the remainder.
36818
37ed8b9b
PT
368192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36820
36821 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36822 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36823
db653660
ST
368242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36825
37ed8b9b
PT
36826 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36827 sysdeps/mach/hurd/readlink.c.
b29d4053 36828
db653660
ST
36829 * posix/tst-sysconf.c (posix_options): Only use
36830 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36831 _POSIX_SYNCHRONIZED_IO when they are defined
36832 * sysdeps/mach/hurd/bits/posix_opt.h:
36833 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36834 (_XOPEN_REALTIME): Undefine macro.
36835 (_XOPEN_REALTIME_THREADS): Undefine macro.
36836 (_XOPEN_SHM): Undefine macro.
36837 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36838 macro to -1.
36839 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36840 macro to -1.
36841 (_POSIX_ASYNC_IO): Undefine macro.
36842 (_POSIX_PRIORITIZED_IO): Undefine macro.
36843 (_POSIX_SPIN_LOCKS): Define macro to -1.
36844
ee16e894
ST
36845 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36846 SA_NODEFER, SA_RESETHAND.
36847 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36848 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36849 F_DUPFD_CLOEXEC.
36850
6103ae3b
TS
368512012-05-10 Thomas Schwinge <thomas@schwinge.name>
36852
36853 * elf/Makefile (pldd-modules): Define unconditionally.
36854
80b4e5f3
TS
368552012-05-10 Thomas Schwinge <thomas@schwinge.name>
36856
36857 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36858
edadcbd6
ST
368592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36860
36861 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36862 Return ENOENT when name is empty.
36863 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36864
80694780
TS
368652012-05-10 Thomas Schwinge <thomas@schwinge.name>
36866
1792c087
TS
36867 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36868
80694780
TS
36869 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36870
6b645f0d
ST
368712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36872
80694780
TS
36873 Fix mlock in all cases except non-readable pages.
36874 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36875 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36876
6b645f0d
ST
36877 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36878 (__mkdir): When path is `/', just fail with EEXIST.
36879 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36880
e468f8a3
TS
368812012-05-10 Thomas Schwinge <thomas@schwinge.name>
36882
36883 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36884 <sys/uio.h> (for writev).
36885 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36886 and <sys/param.h> (for MIN).
36887
a4186cff
PT
368882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36889
36890 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36891 REQUESTED_TIME. Properly set the remaining time and return EINTR
36892 if interrupted.
36893
510bbf14
TS
368942012-05-10 Thomas Schwinge <thomas@schwinge.name>
36895
36896 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36897 Depend on against $(link-rpcuserlibs).
36898
5d5722e8
ST
368992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36900
a4186cff
PT
36901 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36902 (__libc_stack_end): Do not use attribute_relro.
36903 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36904 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36905 to libthread-provided value.
a4186cff
PT
36906 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36907 attribute_relro.
5d5722e8 36908
37233df9
TS
369092012-05-10 Thomas Schwinge <thomas@schwinge.name>
36910
be971a2b
TS
36911 [BZ #3748]
36912 * bits/libc-lock.h (__libc_once_get): New macro.
36913 * sysdeps/mach/bits/libc-lock.h: Likewise.
36914 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36915 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36916 instead of using implementation details.
36917
37233df9
TS
36918 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36919 * libio/freopen.c: Likewise.
36920 * libio/freopen64.c: Likewise.
36921 * misc/syslog.c: Likewise.
36922 * nscd/connections.c: Likewise.
36923 * nscd/netgroupcache.c: Likewise.
36924 * sysdeps/posix/getcwd.c: Likewise.
36925
38de94a5
RM
369262012-05-10 Roland McGrath <roland@hack.frob.com>
36927
36928 * math/w_ilogbf.c: Add #include <limits.h>.
36929
67530489
ST
369302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36931
a4186cff 36932 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36933 path instead of returning without unlocking.
36934
67530489
ST
36935 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36936 immediate-write ioctls.
36937 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36938
5aa3a74a
TS
369392012-05-10 Thomas Schwinge <thomas@schwinge.name>
36940
18bad2ae
TS
36941 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36942 __builtin_frame_address instead of making assumptions about the
36943 location of the return address relative to DATA. Force early load of
36944 the return address.
36945 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36946 __builtin_frame_address.
36947
5aa3a74a
TS
36948 dup3 for GNU Hurd.
36949 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36950 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36951 implement dup3 and do some further code clean-ups.
36952 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36954
ecd0de9a
ST
369552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36956
cd9fa985
ST
36957 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36958
a4186cff
PT
36959 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36960 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36961 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36962 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36963 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36964 d->port.lock.
802ca5a5 36965
a4186cff
PT
36966 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36967 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36968 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36969
bcf55240
TS
369702012-05-10 Thomas Schwinge <thomas@schwinge.name>
36971
6960eb42
TS
36972 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36973 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36974 definitions.
36975
eb43375f
TS
36976 accept4 for GNU Hurd.
36977 * include/sys/socket.h (__libc_accept4): New prototype.
36978 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36979 to implement __libc_accept4.
36980 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36981 __libc_accept4.
36982 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36983
bcf55240
TS
36984 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36985 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36986 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36987 signal-defines.sym.
36988
6178c55b
ST
369892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36990
a4186cff 36991 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36992
6f080c2f
TS
369932012-05-10 Thomas Schwinge <thomas@schwinge.name>
36994
36995 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36996 assertion on O_CLOEXEC flag.
36997 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36998 * hurd/intern-fd.c: Likewise.
36999 * hurd/port2fd.c: Likewise.
37000
bcfe3a54
ST
370012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37002
37003 [BZ #3906]
37004 * bits/in.h (IPV6_PKTINFO): Define new macro.
37005 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37006
89c9aa49
AZ
370072012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37008
37009 [BZ #13954]
37010 [BZ #13955]
37011 [BZ #13956]
37012 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37014 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37015 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37017 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37018 * math/libm-test.inc (logb_test) : Additional logb tests.
37019
021db4be
AJ
370202012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37021 Andreas Jaeger <aj@suse.de>
37022
37023 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37024 * configure: Regenerated.
37025 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37026 * config.make.in (link-obsolete-rpc): New substituted variable.
37027 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37028 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37029 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37030 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37031 so that libc.a contains the symbols.
37032 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37033 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37034 * sunrpc/auth_none.c: Likewise.
37035 * sunrpc/auth_unix.c: Likewise.
37036 * sunrpc/authdes_prot.c: Likewise.
37037 * sunrpc/authuxprot.c: Likewise.
37038 * sunrpc/clnt_gen.c: Likewise.
37039 * sunrpc/clnt_perr.c: Likewise.
37040 * sunrpc/clnt_raw.c: Likewise.
37041 * sunrpc/clnt_simp.c: Likewise.
37042 * sunrpc/clnt_tcp.c: Likewise.
37043 * sunrpc/clnt_udp.c: Likewise.
37044 * sunrpc/clnt_unix.c: Likewise.
37045 * sunrpc/des_crypt.c: Likewise.
37046 * sunrpc/des_soft.c: Likewise.
37047 * sunrpc/get_myaddr.c: Likewise.
37048 * sunrpc/key_call.c: Likewise.
37049 * sunrpc/key_prot.c: Likewise.
37050 * sunrpc/netname.c: Likewise.
37051 * sunrpc/pm_getmaps.c: Likewise.
37052 * sunrpc/pm_getport.c: Likewise.
37053 * sunrpc/pmap_clnt.c: Likewise.
37054 * sunrpc/pmap_prot.c: Likewise.
37055 * sunrpc/pmap_prot2.c: Likewise.
37056 * sunrpc/pmap_rmt.c: Likewise.
37057 * sunrpc/publickey.c: Likewise.
37058 * sunrpc/rpc_cmsg.c: Likewise.
37059 * sunrpc/rpc_common.c: Likewise.
37060 * sunrpc/rpc_dtable.c: Likewise.
37061 * sunrpc/rpc_prot.c: Likewise.
37062 * sunrpc/rpc_thread.c: Likewise.
37063 * sunrpc/rtime.c: Likewise.
37064 * sunrpc/svc.c: Likewise.
37065 * sunrpc/svc_auth.c: Likewise.
37066 * sunrpc/svc_raw.c: Likewise.
37067 * sunrpc/svc_run.c: Likewise.
37068 * sunrpc/svc_tcp.c: Likewise.
37069 * sunrpc/svc_udp.c: Likewise.
37070 * sunrpc/svc_unix.c: Likewise.
37071 * sunrpc/svcauth_des.c: Likewise.
37072 * sunrpc/xcrypt.c: Likewise.
37073 * sunrpc/xdr.c: Likewise.
37074 * sunrpc/xdr_array.c: Likewise.
37075 * sunrpc/xdr_float.c: Likewise.
37076 * sunrpc/xdr_intXX_t.c: Likewise.
37077 * sunrpc/xdr_mem.c: Likewise.
37078 * sunrpc/xdr_rec.c: Likewise.
37079 * sunrpc/xdr_ref.c: Likewise.
37080 * sunrpc/xdr_sizeof.c: Likewise.
37081 * sunrpc/xdr_stdio.c: Likewise.
37082
b5c086a2
RM
370832012-05-10 Roland McGrath <roland@hack.frob.com>
37084
37085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37086 change. Update copyright years.
37087
6d74dd09
JM
370882012-05-10 Joseph Myers <joseph@codesourcery.com>
37089
37090 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37091
28e72501
MK
370922012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37093 Joseph Myers <joseph@codesourcery.com>
37094 Paul Pluzhnikov <ppluzhnikov@google.com>
37095
37096 [BZ #14012]
37097 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37098 requiring rpcgen.
37099 [cross-compiling] (extra-libs): Likewise.
37100 [cross-compiling] (extra-libs-others): Likewise.
37101 [cross-compiling] (librpcsvc-routines): Likewise.
37102 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37103 [cross-compiling] (omit-deps): Likewise.
37104 (sunrpc-CPPFLAGS): New variable.
37105 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37106 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37107 (cross-rpcgen-objs): New variable.
37108 (extra-objs): Append $(cross-rpcgen-objs).
37109 ($(cross-rpcgen-objs)): New rule.
37110 ($(objpfx)cross-rpcgen): Likewise.
37111 (rpcgen-cmd): Define to use $(built-program-file). Expand
37112 comment.
37113 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37114 ($(objpfx)x%.stmp): Likewise.
37115 * sunrpc/proto.h [IS_IN_build] (_): Define.
37116 [IS_IN_build] (_libc_intl_domainname): Likewise.
37117
c8c59454
L
371182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37119
37120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37121 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37122 and R_X86_64_TPOFF64.
37123
6f27cd16
JM
371242012-05-10 Joseph Myers <joseph@codesourcery.com>
37125
37126 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37127 sysdeps/unix/sysv/syscalls.list.
37128 (stime): Likewise.
37129 (utime): Likewise.
37130 * sysdeps/unix/sysv/syscalls.list: Remove file.
37131
02467e1c
PE
371322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37133
37134 [BZ #3440]
37135 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37136 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37137 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37138 (__LC_IDENTIFICATION): Make these macros useful in #if
37139 expressions, as required by C99.
37140
da392631
AS
371412012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37142
37143 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37144 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37145 after this.
37146
8115f29b
L
371472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37148
37149 * stdlib/longlong.h: Updated from GCC.
37150
bdd74070
AJ
371512012-05-09 Andreas Jaeger <aj@suse.de>
37152
edfe0dbe
AJ
37153 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37154 default is first entry.
37155 (run_mode): Set type.
37156 (main): Remove informal message about syslog.
37157 (options): Fix typo.
37158
bcfe3a54
ST
37159 [BZ #14053]
37160 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37161 to asm.
bcfe3a54
ST
37162 (lrint): Likewise.
37163 (llrintf): Likewise.
37164 (llrint): Likewise.
37165 (rint): Likewise.
37166 (rintf): Likewise.
37167 (nearbyint): Likewise.
37168 (nearbyintf): Likewise.
bdd74070 37169
91d8d69e
AJ
371702012-05-09 Andreas Jaeger <aj@suse.de>
37171 Pedro Alves <palves@redhat.com>
37172
37173 * nscd/nscd.c (run_mode): Use enum.
37174 (main): Cleanup coding style issue.
37175
bb90b80b
AJ
371762012-05-09 Alexandre Oliva <aoliva@redhat.com>
37177 Andreas Jaeger <aj@suse.de>
37178
bcfe3a54
ST
37179 * nscd/nscd.c (go_background): Replaced with...
37180 (run_mode): ... this.
bb90b80b 37181 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37182 (options): Add -F --foreground.
37183 (main): Implement it.
37184 (parse_opt): Parse it.
bb90b80b 37185
1a4b75a1
AJ
371862012-05-09 Andreas Jaeger <aj@suse.de>
37187
37188 [BZ #14083]
37189 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37190 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37191 -Wconversion warning.
37192 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37193 Likewise.
37194
b1cc2472
JM
371952012-05-09 Joseph Myers <joseph@codesourcery.com>
37196
37197 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37198 == 0.
37199 (LC_ALL): Use macro-int-constant.
37200 (LC_COLLATE): Likewise.
37201 (LC_CTYPE): Likewise.
37202 (LC_MESSAGES): Likewise.
37203 (LC_MONETARY): Likewise.
37204 (LC_NUMERIC): Likewise.
37205 (LC_TIME): Likewise.
37206 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37207 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37209 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37210 Specify type.
37211 [C99-based standards] (float_t): Expect type.
37212 [C99-based standards] (double_t): Expect type.
37213 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37214 type.
37215 [C99-based standards] (HUGE_VALL): Likewise.
37216 [C99-based standards] (INFINITY): Likewise.
37217 [C99-based standards] (NAN): Likewise.
37218 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37219 [C99-based standards] (FP_NAN): Likewise.
37220 [C99-based standards] (FP_NORMAL): Likewise.
37221 [C99-based standards] (FP_SUBNORMAL): Likewise.
37222 [C99-based standards] (FP_ZERO): Likewise.
37223 [C99-based standards] (FP_FAST_FMA): Use
37224 optional-macro-int-constant. Specify type. Require == 1.
37225 [C99-based standards] (FP_FAST_FMAF): Likewise.
37226 [C99-based standards] (FP_FAST_FMAL): Likewise.
37227 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37228 [C99-based standards] (FP_ILOGBNAN): Likewise.
37229 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37230 Specify type.
37231 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37232 [C99-based standards] (math_errhandling): Specify type.
37233 [ISO99 || ISO11] (signgam): Do not allow.
37234 [non-C99-based standards] (copysignf): Do not allow.
37235 [non-C99-based standards] (exp2f): Likewise.
37236 [non-C99-based standards] (log2f): Likewise.
37237 [non-C99-based standards] (modff): Allow.
37238 [non-C99-based standards] (erff): Do not allow.
37239 [non-C99-based standards] (erfcf): Likewise.
37240 [non-C99-based standards] (gammaf): Likewise.
37241 [non-C99-based standards] (hypotf): Likewise.
37242 [non-C99-based standards] (j0f): Likewise.
37243 [non-C99-based standards] (j1f): Likewise.
37244 [non-C99-based standards] (jnf): Likewise.
37245 [non-C99-based standards] (lgammaf): Likewise.
37246 [non-C99-based standards] (tgammaf): Likewise.
37247 [non-C99-based standards] (y0f): Likewise.
37248 [non-C99-based standards] (y1f): Likewise.
37249 [non-C99-based standards] (ynf): Likewise.
37250 [non-C99-based standards] (isnanf): Likewise.
37251 [non-C99-based standards] (acoshf): Likewise.
37252 [non-C99-based standards] (asinhf): Likewise.
37253 [non-C99-based standards] (atanhf): Likewise.
37254 [non-C99-based standards] (cbrtf): Likewise.
37255 [non-C99-based standards] (expm1f): Likewise.
37256 [non-C99-based standards] (ilogbf): Likewise.
37257 [non-C99-based standards] (log1pf): Likewise.
37258 [non-C99-based standards] (logbf): Likewise.
37259 [non-C99-based standards] (nextafterf): Likewise.
37260 [non-C99-based standards] (remainderf): Likewise.
37261 [non-C99-based standards] (rintf): Likewise.
37262 [non-C99-based standards] (scalbf): Likewise.
37263 [non-C99-based standards] (copysignl): Likewise.
37264 [non-C99-based standards] (exp2l): Likewise.
37265 [non-C99-based standards] (log2l): Likewise.
37266 [non-C99-based standards] (modfl): Allow.
37267 [non-C99-based standards] (erfl): Do not allow.
37268 [non-C99-based standards] (erfcl): Likewise.
37269 [non-C99-based standards] (gammal): Likewise.
37270 [non-C99-based standards] (hypotl): Likewise.
37271 [non-C99-based standards] (j0l): Likewise.
37272 [non-C99-based standards] (j1l): Likewise.
37273 [non-C99-based standards] (jnl): Likewise.
37274 [non-C99-based standards] (lgammal): Likewise.
37275 [non-C99-based standards] (tgammal): Likewise.
37276 [non-C99-based standards] (y0l): Likewise.
37277 [non-C99-based standards] (y1l): Likewise.
37278 [non-C99-based standards] (ynl): Likewise.
37279 [non-C99-based standards] (isnanl): Likewise.
37280 [non-C99-based standards] (acoshl): Likewise.
37281 [non-C99-based standards] (asinhl): Likewise.
37282 [non-C99-based standards] (atanhl): Likewise.
37283 [non-C99-based standards] (cbrtl): Likewise.
37284 [non-C99-based standards] (expm1l): Likewise.
37285 [non-C99-based standards] (ilogbl): Likewise.
37286 [non-C99-based standards] (log1pl): Likewise.
37287 [non-C99-based standards] (logbl): Likewise.
37288 [non-C99-based standards] (nextafterl): Likewise.
37289 [non-C99-based standards] (remainderl): Likewise.
37290 [non-C99-based standards] (rintl): Likewise.
37291 [non-C99-based standards] (scalbl): Likewise.
37292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37293 [non-C99-based standards] (FP_*): Do not allow.
37294 [C99-based standards] (FP_*): Change to
37295 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37296 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37297 allow.
37298 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37299 (SIG_ERR): Likewise.
37300 [X/Open-based standards] (SIG_HOLD): Likewise.
37301 (SIG_IGN): Likewise.
37302 (SIGABRT): Use macro-int-constant. Specify type. Require
37303 positive value.
37304 (SIGFPE): Likewise.
37305 (SIGILL): Likewise.
37306 (SIGINT): Likewise.
37307 (SIGSEGV): Likewise.
37308 (SIGTER): Likewise.
37309 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37310 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37311 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37312 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37313 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37314 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37315 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37316 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37317 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37318 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37319 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37320 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37321 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37322 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37323 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37324 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37325 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37326 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37327 [X/Open-based standards] (SIGTRAP): Likewise.
37328 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37329 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37330 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37331 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37332 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37333 allow.
37334
b9f1922d
IW
373352012-05-08 Ian Wienand <ianw@vmware.com>
37336
37337 [BZ #14080]
37338 * time/tzset.c (__tzset_parse_tz): Update default rules for
37339 daylight time changes in the Energy Policy Act of 2005.
37340
1db86e88
AJ
373412012-05-09 Andreas Jaeger <aj@suse.de>
37342
37343 [BZ #13983]
37344 * elf/ldconfig.c (parse_conf): Change string to make clear that
37345 ldconfig only issued a warning if ld.so.conf does not exist.
37346
dee4a4e3
DM
373472012-05-08 David S. Miller <davem@davemloft.net>
37348
ee0db190
DM
37349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37350 movxtod instead of popping the value on the stack.
37351
dee4a4e3
DM
37352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37353
6a43ec98
CD
373542012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37355
37356 * config.h.in: Add HAVE_ARM_PCS_VFP.
37357
05c2c961
RMG
373582012-05-08 Roland Mc Grath <roland@hack.frob.com>
37359
bcfe3a54
ST
37360 [BZ #13979]
37361 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37362 checking but the checks are disabled for any reason.
05c2c961 37363
4b30f61a
L
373642012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37365
37366 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37367 and ELF64_R_TYPE with ELFW(R_TYPE).
37368
eee2bc67
JM
373692012-05-08 Joseph Myers <joseph@codesourcery.com>
37370
7ea5391a
JM
37371 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37372 (ulimit): Likewise.
37373
eee2bc67
JM
37374 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37375 (settimeofday): Likewise.
37376
abb66a67
MF
373772012-05-08 Mike Frysinger <vapier@gentoo.org>
37378
37379 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37380 a struct th_u2 inside the union, and move tu_block/tu_code into
37381 a new th_u3 union of tu_block/tu_code inside of that. Move
37382 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37383 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37384 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37385 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37386 (th_stuff): Change to th_u1.tu_stuff.
37387 (th_data): Define.
37388 (th_msg): Change to th_u1.th_u2.tu_data.
37389
7f18b530
DM
373902012-05-07 David S. Miller <davem@davemloft.net>
37391
05760585
DM
37392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37393
7f18b530
DM
37394 [BZ #14074]
37395 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37396 (SETUP_PIC_REG): Use it.
37397 (SETUP_PIC_REG_LEAF): Use it.
37398
495fd99f
JM
373992012-05-07 Joseph Myers <joseph@codesourcery.com>
37400
37401 [BZ #13885]
37402 [BZ #13923]
37403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37404 USE_AS_EXPM1L.
37405 (EXPL_FINITE): Likewise.
37406 (FLDLOG): Likewise.
37407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37408 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37409 e_expl.S.
37410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37411 USE_AS_EXPM1L.
37412 (EXPL_FINITE): Likewise.
37413 (FLDLOG): Likewise.
37414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37415 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37416 e_expl.S.
37417 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37418 test of -max_value argument for long double.
37419 * sysdeps/i386/fpu/libm-test-ulps: Update.
37420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37421
6693d694
DM
374222012-05-06 David S. Miller <davem@davemloft.net>
37423
37424 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37425 quad soft-float symbols whose references which are compiler
37426 generated.
37427 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37428
6c23e11c
JM
374292012-05-06 Joseph Myers <joseph@codesourcery.com>
37430
d8b82cad
JM
37431 [BZ #13884]
37432 [BZ #13914]
37433 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37434 USE_AS_EXP10L.
37435 (EXPL_FINITE): Likewise.
37436 (FLDLOG): Likewise.
37437 (c0): Likewise.
37438 (c1): Likewise.
37439 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37440 Adjust comments for base varying.
37441 (__expl_finite): Change alias to EXPL_FINITE.
37442 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37443 e_expl.S.
37444 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37445 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37446 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37447 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37448 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37449 USE_AS_EXP10L.
37450 (EXPL_FINITE): Likewise.
37451 (FLDLOG): Likewise.
37452 (c0): Likewise.
37453 (c1): Likewise.
37454 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37455 Adjust comments for base varying.
37456 (__expl_finite): Change alias to EXPL_FINITE.
37457 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37458 tests for bugs.
37459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37460
6c23e11c
JM
37461 [BZ #14064]
37462 * math/libm-test.inc (check_float_internal): Correct ulp
37463 calculation for subnormal expected results.
37464
29ba805c
AJ
374652012-05-06 Andreas Jaeger <aj@suse.de>
37466
37467 * Makeconfig (+math-flags): New, set to -frounding-math.
37468 (+cflags): Add +math-flags so that all of glibc gets compiled with
37469 it.
37470
37471 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37472
7b17aeda
JM
374732012-05-05 Joseph Myers <joseph@codesourcery.com>
37474
5779f134
JM
37475 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37476 Disable one test.
37477
41498f4d
JM
37478 [BZ #13787]
37479 [BZ #13922]
37480 [BZ #14036]
37481 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37482 (__ieee754_expl): Allow for and saturate large arguments.
37483 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37484 (u_threshold): Likewise.
37485 (__exp): Call __ieee754_exp before checking for overflow and
37486 underflow.
37487 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37488 (u_threshold): Likewise.
37489 (__expf): Call __ieee754_expf before checking for overflow and
37490 underflow.
37491 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37492 (u_threshold): Likewise.
37493 (__expl): Call __ieee754_expl before checking for overflow and
37494 underflow.
37495 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37496 (__ieee754_expl): Allow for and saturate large arguments.
37497 * math/libm-test.inc (exp_test): Add another test. Do not allow
37498 missing overflow exception on overflow.
37499 (expm1_test): Do not allow missing overflow exception on overflow.
37500
6698b8bf
JM
37501 * sysdeps/i386/fpu/e_expl.c: Move to ...
37502 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37503 rather than using inline asm.
37504 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37505 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37506 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37507
7b17aeda
JM
37508 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37509 (nice): Likewise.
37510 (poll): Likewise.
37511 (signal): Likewise.
37512 (time): Likewise.
37513 (times): Likewise.
37514
f7c85819
JM
375152012-05-04 Joseph Myers <joseph@codesourcery.com>
37516
37517 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37518 sysdeps/unix/common/syscalls.list.
37519 (fchmod): Likewise.
37520 (fchown): Likewise.
37521 (ftruncate): Likewise.
37522 (getrusage): Likewise.
37523 (gettimeofday): Likewise.
37524 (setpgid): Likewise.
37525 (setregid): Likewise.
37526 (setreuid): Likewise.
37527 (sigaction): Likewise.
37528 (truncate): Likewise.
37529 (vhangup): Likewise.
37530 * sysdeps/unix/common/syscalls.list: Remove file.
37531 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37532 * sysdeps/unix/sysv/linux/Implies: Likewise.
37533
336270d0
L
375342012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37535
37536 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37538 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37539 Moved to ...
37540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37541 Here.
37542 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37543 to ...
37544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37545 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37546 to ...
37547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37548 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37549 to ...
37550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37552 to ...
37553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37554 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37555 to ...
37556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37557 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37558 to ...
37559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37560 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37561 to ...
37562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37563 Here.
37564 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37565 to ...
37566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37567 Here.
37568 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37569 to ...
37570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37571 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37572 Moved to ...
37573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37574 Here.
37575 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37576 to ...
37577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37578
d128e450
JM
375792012-05-04 Joseph Myers <joseph@codesourcery.com>
37580
fa8ee516
JM
37581 * sysdeps/unix/common/bits/dirent.h: Remove file.
37582 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37583
d128e450
JM
37584 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37585 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37586 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37587 * sysdeps/unix/bsd/isatty.c: Likewise.
37588 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37589 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37590 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37591
ff8faaf0 375922012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 37593
62881be4 37594 [BZ #13563]
31dc8730
AZ
37595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37596 long double comparison inaccuracies.
37597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37599
6fef930c
AS
376002012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37601
37602 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37604
8f203e6c
JM
376052012-05-04 Joseph Myers <joseph@codesourcery.com>
37606
37607 [BZ #14049]
37608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37609 nonzero digits before rounding a hex value.
37610 * stdlib/tst-strtod.c (tests): Add another test.
37611
5197d9c2
AK
376122012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37613
37614 * sysdeps/s390/fpu/libm-test-ulps: Update.
37615
f0c1dedf
AJ
376162012-05-03 Andreas Jaeger <aj@suse.de>
37617
37618 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37619 does not get optimized out.
37620 (malloc_opt_barrier): New.
37621
a65ef2ae 376222012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 37623 Roland McGrath <roland@hack.frob.com>
a65ef2ae 37624
2b942cb7 37625 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 37626 intermediate file deletion.
2b942cb7 37627 (generated): Add .symlist files.
a65ef2ae 37628
54b71e02
JM
376292012-05-03 Joseph Myers <joseph@codesourcery.com>
37630
37631 [BZ #13775]
37632 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37633 Redirect under this condition.
37634 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37635 [__USE_GNU] (__dprintf_chk): Not under this condition.
37636 [__USE_GNU] (__vdprintf_chk): Likewise.
37637 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37638 under this condition.
37639 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37640 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37641 [__USE_XOPEN2K8] (vdprintf): Likewise.
37642 [__USE_GNU] (__dprintf_chk): Not under this condition.
37643 [__USE_GNU] (__vdprintf_chk): Likewise.
37644 [__USE_GNU] (dprintf): Likewise.
37645 [__USE_GNU] (vdprintf): Likewise.
37646
d3dfcc41
RM
376472012-05-03 Roland McGrath <roland@hack.frob.com>
37648
37649 * elf/Makefile (common-generated): Set this instead of generated for
37650 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37651 $(all-built-dso)-derived lists.
37652
7ac30cc5
AJ
376532012-05-03 Andreas Jaeger <aj@suse.de>
37654
0c51e550
AJ
37655 * sysdeps/i386/fpu/libm-test-ulps: Update.
37656
7ac30cc5
AJ
37657 * FAQ: Removed.
37658 * FAQ.in: Likewise.
37659 * scripts/gen-FAQ.pl: Likewise.
37660 * manual/install.texi (Installation): Point to online location of
37661 FAQ.
37662 * Makefile (files-for-dist): Remove FAQ.
37663 (FAQ): Remove.
37664
d4c2917f
AM
376652012-05-02 Allan McRae <allan@archlinux.org>
37666
37667 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37668 (LDFLAGS-reldepmod5.so): Likewise.
37669 (LDFLAGS-reldep6mod1.so): Likewise.
37670 (LDFLAGS-reldep6mod4.so): Likewise.
37671 (LDFLAGS-reldep8mod3.so): Likewise.
37672 (LDFLAGS-unload4mod1.so): Likewise.
37673 (LDFLAGS-unload4mod2.so): Likewise.
37674 (LDFLAGS-tst-initorder): Likewise.
37675 (LDFLAGS-tst-initordera2.so): Likewise.
37676 (LDFLAGS-tst-initordera3.so): Likewise.
37677 (LDFLAGS-tst-initordera4.so): Likewise.
37678 (LDFLAGS-tst-initorderb2.so): Likewise.
37679 (LDFLAGS-noload): Likewise.
37680 (LDFLAGS-next): Likewise.
37681 (LDFLAGS-order2mod1.so): Likewise.
37682 (LDFLAGS-order2mod2.so): Likewise.
37683 (LDFLAGS-tst-initorder2): Likewise.
37684 (LDFLAGS-tst-initorder2a.so): Likewise.
37685 (LDFLAGS-tst-initorder2b.so): Likewise.
37686 (LDFLAGS-tst-initorder2c.so): Likewise.
37687 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37688
d77f993f
DM
376892012-05-02 David S. Miller <davem@davemloft.net>
37690
37691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37692
171a70b4
PP
376932012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37694
37695 [BZ #14055]
37696 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37697
0be196ad
AJ
376982012-05-02 Andreas Jaeger <aj@suse.de>
37699
37700 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37701 since we manipulate rounding mode.
37702 (CPPFLAGS-test-idouble.c): Likewise.
37703 (CPPFLAGS-test-ifloat.c): Likewise.
37704 (CFLAGS-test-ldouble.c): Likewise.
37705 (CFLAGS-test-double.c): Likewise.
37706 (CFLAGS-test-float.c): Likewise.
37707 (CFLAGS-test-misc.c): Likewise.
37708 (CFLAGS-test-test-fenv.c): Likewise.
37709
4f9d04aa
AZ
377102012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37711
2b942cb7
RM
37712 [BZ #2550]
37713 [BZ #2570]
37714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37715 comparisons to determine direction to adjust input.
4f9d04aa 37716
82a79e7d
RM
377172012-05-01 Roland McGrath <roland@hack.frob.com>
37718
f5a01ca9
RM
37719 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37720 output to the target.
37721
90fe4186
RM
37722 * scripts/localplt.awk: New file.
37723 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37724 (check-localplt-CFLAGS): Variable removed.
37725 ($(all-built-dso:=.jmprel)): New static pattern rule.
37726 (generated): Add those targets.
37727 (localplt-built-dso): New variable.
37728 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37729
37730 * elf/check-localplt.c: File removed.
37731
82397ed6
RM
37732 * scripts/check-execstack.awk: New file.
37733 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37734 (check-execstack-CFLAGS): Variable removed.
37735 ($(objpfx)check-execstack.h): Target removed.
37736 ($(objpfx)execstack-default): New target.
37737 (generated): Add that instead of check-execstack.h.
37738 ($(all-built-dso:=.phdr)): New static pattern rule.
37739 (generated): Add those targets.
37740 * elf/check-execstack.c: File removed.
37741
82a79e7d
RM
37742 * scripts/check-textrel.awk: New file.
37743 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37744 (check-textrel-CFLAGS): Variable removed.
37745 (all-built-dso): Use := to define.o
37746 ($(all-built-dso:=.dyn)): New static pattern rule.
37747 (generated): Add those targets.
37748 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37749 * config.make.in (READELF): New substituted variable.
37750 * elf/check-textrel.c: File removed.
37751
62fde54f 377522012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 37753
615605c9
JM
37754 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37755 allow.
37756 * conform/data/ctype.h-data [C99-based standards] (isblank):
37757 Expect function.
37758 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37759 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37761 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37762 Specify type. Require positive value.
37763 (EILSEQ): Likewise.
37764 (ERANGE): Likewise.
37765 [ISO || POSIX] (EILSEQ): Do not expect.
37766 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37767 Specify type. Require positive value.
37768 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37769 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37770 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37771 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37772 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37773 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37774 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37775 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37776 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37777 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37778 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37779 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37780 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37781 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37782 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37783 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37784 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37785 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37786 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37787 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37788 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37789 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37790 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37791 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37792 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37793 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37794 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37795 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37796 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37797 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37798 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37799 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37800 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37801 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37802 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37803 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37804 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37805 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37806 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37807 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37808 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37809 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37810 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37811 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37812 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37813 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37814 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37815 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37816 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37817 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37818 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37819 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37820 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37821 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37822 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37823 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37824 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37825 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37826 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37827 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37828 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37829 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37830 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37831 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37832 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37833 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37834 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37835 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37836 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37837 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37838 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37839 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37840 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37841 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37842 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37843 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37844 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37845 Require >= 2.
37846 (FLT_ROUNDS): Expect as macro, not constant.
37847 (FLT_MANT_DIG): Use macro-int-constant.
37848 (DBL_MANT_DIG): Likewise.
37849 (LDBL_MANT_DIG): Likewise.
37850 (FLT_DIG): Likewise.
37851 (DBL_DIG): Likewise.
37852 (LDBL_DIG): Likewise.
37853 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37854 (DBL_MIN_EXP): Likewise.
37855 (LDBL_MIN_EXP): Likewise.
37856 (FLT_MAX_EXP): Use macro-int-constant.
37857 (DBL_MAX_EXP): Likewise.
37858 (LDBL_MAX_EXP): Likewise.
37859 (FLT_MAX_10_EXP): Likewise.
37860 (DBL_MAX_10_EXP): Likewise.
37861 (LDBL_MAX_10_EXP): Likewise.
37862 (FLT_MAX): Use macro-constant.
37863 (DBL_MAX): Likewise.
37864 (LDBL_MAX): Likewise.
37865 (FLT_EPSILON): Use macro-constant. Give upper bound.
37866 (DBL_EPSILON): Likewise.
37867 (LDBL_EPSILON): Likewise.
37868 (FLT_MIN): Likewise.
37869 (DBL_MIN): Likewise.
37870 (LDBL_MIN): Likewise.
37871 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37872 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37873 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37874 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37875 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37876 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37877 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37878 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37879 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37880 [ISO11] (FLT_TRUE_MIN): Likewise.
37881 [ISO11] (LDBL_TRUE_MIN): Likewise.
37882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37883 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37884 (SCHAR_MIN): Use macro-int-constant. Specify type.
37885 (SCHAR_MAX): Likewise.
37886 (UCHAR_MAX): Likewise.
37887 (CHAR_MIN): Likewise.
37888 (CHAR_MAX): Likewise.
37889 (MB_LEN_MAX): Use macro-int-constant.
37890 (SHRT_MIN): Use macro-int-constant. Specify type.
37891 (SHRT_MAX): Likewise.
37892 (USHRT_MAX): Likewise.
37893 (INT_MAX): Likewise.
37894 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37895 bound negative.
37896 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37897 bound with "U".
37898 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37899 bound with "L".
37900 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37901 bound negative. Suffix upper bound with "L".
37902 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37903 bound with "UL".
37904 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37905 Specify type.
37906 [C99-based standards] (LLONG_MAX): Likewise.
37907 [C99-based standards] (ULLONG_MAX): Likewise.
37908 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37909 == 0.
37910 [ISO11] (max_align_t): Require type.
37911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37912
c9140a62
JM
37913 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37914 from $CFLAGS, without defining away __attribute__ calls.
37915 (checknamespace): Use $CFLAGS_namespace.
37916
9af0bf29
JM
37917 * conform/conformtest.pl (@keywords): Only include C99 keywords
37918 for standards based on C99 or C11.
37919
343222a2
JM
37920 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37921 Disable tests.
37922 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37923 UNIX98]: Likewise.
37924
661f8cf0
JM
37925 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37926 usability of symbols in #if.
37927
ee74b9cb
JM
37928 * conform/conformtest.pl: If macro or constant types start
37929 "promoted:", expect the symbol to be of the following type
37930 promoted by the integer promotions.
62fde54f 37931
aafc49b3
JM
37932 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37933 in one place. Also handle "macro-constant".
37934
fefdf574
JM
37935 * conform/conformtest.pl: Only accept expected macro values with
37936 "==". Parse all "macro" lines in one place.
37937 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37938
f2d922fe
JM
37939 * conform/conformtest.pl: Handle braced types on "constant" lines
37940 instead of handling "typed-constant".
37941 * conform/data/signal.h-data: Use "constant" instead of
37942 "typed-constant".
37943
d22956c9
JM
37944 * conform/conformtest.pl: Handle "optional-" at start of lines in
37945 one place rather than duplicating several cases. Handle each
37946 format of "macro" line with initial "optional-".
37947
028e2e38
JM
37948 * conform/conformtest.pl: Only accept expected constant or
37949 optional-constant values with "==". Parse all "constant" lines in
37950 one place. Parse all "optional-constant" lines in one place.
37951 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37952 * conform/data/fmtmsg.h-data: Likewise.
37953 * conform/data/netinet/in.h-data: Likewise.
37954 * conform/data/tar.h-data: Likewise.
37955 * conform/data/limits.h-data: Use "==" form on "constant" and
37956 "optional-constant" lines.
37957
1b8f2850
JM
37958 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37959 Use -std=c99 for XOPEN2K.
37960 (@knownproblems): Remove.
37961 (newtoken): Don't check %isknown.
37962
a05a144b
JM
37963 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37964 Do not expect macro.
37965 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37977 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37978 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37981 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37982 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37983 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37984 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37985 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37986 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37987 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37988 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37989 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37992 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37993 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37995 [XPG3] (acosh): Likewise.
37996 [XPG3] (asinh): Likewise.
37997 [XPG3] (atanh): Likewise.
37998 [XPG3] (cbrt): Likewise.
37999 [XPG3] (expm1): Likewise.
38000 [XPG3] (ilogb): Likewise.
38001 [XPG3] (log1p): Likewise.
38002 [XPG3] (logb): Likewise.
38003 [XPG3] (nextafter): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38006 [XPG3] (remainder): Likewise.
38007 [XPG3] (rint): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38015 [UNIX98 || XOPEN2K] (scalb): Expect.
38016 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38017 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38018 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38019 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38020 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38021 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38022 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38023 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38024 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38025 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38026 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38027 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38028 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38029 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38030 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38031 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38032 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38033 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38034 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38035 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38036 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38037 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38038 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38039 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38040 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38041 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38042 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38043 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38044 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38045 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38046 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38047 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38048 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38049 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38050 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38051 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38052 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38053 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38054 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38055 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38056 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38057 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38058 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38059 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38060 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38061 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38062 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38063 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38064 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38065 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38066 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38067 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38068 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38069 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38070 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38071 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38072 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38073 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38074 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38075 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38076 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38077 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38078 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38079 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38080 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38081 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38082 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38083 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38084 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38085 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38086 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38087 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38088 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38089 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38090 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38091 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38092 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38093 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38094 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38095 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38096 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38097 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38098 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38099 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38100 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38101 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38102 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38103 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38104 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38105 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38106 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38107 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38108 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38109 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38110 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38111 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38112 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38113 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38114 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38115 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38116 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38117 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38118 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38119 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38120 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38121 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38122 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38123 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38124 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38125 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38126 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38127 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38128 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38129 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38130 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38131 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38132 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38133 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38134 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38135 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38136 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38137 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38138 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38139 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38140 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38141 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38142 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38143 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38144 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38145 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38146 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38147 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38148 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38149 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38150 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38151 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38152 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38153
73c5ebe3
JM
38154 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38155 _XOPEN_SOURCE_EXTENDED for XPG4.
38156
39c33b6c
JM
38157 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38158
62fde54f
JM
38159 * Makeconfig (localtime): Remove variable.
38160 (inst_localtime-file): Likewise.
38161
0741d64c
AS
381622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38163
38164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38165 Update.
38166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38167 Update.
38168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38169 Update.
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38171 Update.
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38173 Update.
38174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38175 Update.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38177 Update.
38178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38179 Update.
38180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38181 Update.
38182
7cb029ee
JM
381832012-05-01 Joseph Myers <joseph@codesourcery.com>
38184
38185 [BZ #2550]
38186 [BZ #2570]
38187 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38188 comparisons to determine direction to adjust input.
38189 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38190 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38192 Likewise.
38193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38194 Likewise.
38195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38196 Likewise.
38197 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38198 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38199 Likewise.
38200 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38201 Likewise.
38202 * math/libm-test.inc (nexttoward_test): Add more tests.
38203
412bd966
AS
382042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38205
38206 [BZ #14040]
38207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38208 in version GLIBC_2.1, not GLIBC_2.0.
38209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38210 Likewise.
38211
9568c0c2
JM
382122012-04-30 Joseph Myers <joseph@codesourcery.com>
38213
adfbc8ac
JM
38214 [BZ #13942]
38215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38216 (1 - x) * (1 + x).
38217 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38218 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38219 * math/libm-test.inc (acos_test): Add more tests.
38220 (asin_test): Likewise.
38221 * sysdeps/i386/fpu/libm-test-ulps: Update.
38222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38223
5ba3cc69
JM
38224 [BZ #14034]
38225 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38226 of square root.
38227 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38228 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38229 * math/libm-test.inc (acos_test_tonearest): New function.
38230 (acos_test_towardzero): Likewise.
38231 (acos_test_downward): Likewise.
38232 (acos_test_upward): Likewise.
38233 (asin_test_tonearest): Likewise.
38234 (asin_test_towardzero): Likewise.
38235 (asin_test_downward): Likewise.
38236 (asin_test_upward): Likewise.
38237 (main): Call the new functions.
38238 * sysdeps/i386/fpu/libm-test-ulps: Update.
38239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38240
9568c0c2
JM
38241 [BZ #13884]
38242 [BZ #13924]
38243 * math/e_exp10.c: Include <float.h>.
38244 (__ieee754_exp10): Handle underflow here rather than multiplying
38245 large negative argument by M_LN10.
38246 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38247 of __ieee754_expf.
38248 * math/e_exp10l.c: Include <float.h>.
38249 (__ieee754_exp10l): Handle underflow here rather than multiplying
38250 large negative argument by M_LN10l.
38251 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38252 spurious overflow exception on underflow.
38253
5ac3ea17
MP
382542012-04-29 Marek Polacek <polacek@redhat.com>
38255
38256 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38257 (__fortify_function): New macro.
38258 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38259 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38260 __extern_always_inline.
38261 * libio/bits/stdio2.h: Likewise.
38262 * libio/bits/stdio.h: Likewise.
38263 * string/string.h: Likewise.
38264 * string/bits/string3.h: Likewise.
38265 * include/stdio.h: Likewise.
38266 * stdlib/bits/stdlib.h: Likewise.
38267 * stdlib/stdlib.h: Likewise.
38268 * rt/bits/mqueue2.h: Likewise.
38269 * rt/mqueue.h: Likewise.
38270 * posix/bits/unistd.h: Likewise.
38271 * posix/unistd.h: Likewise.
38272 * io/bits/poll2.h: Likewise.
38273 * io/bits/fcntl2.h: Likewise.
38274 * io/fcntl.h: Likewise.
38275 * io/sys/poll.h: Likewise.
38276 * misc/bits/syslog.h: Likewise.
38277 * misc/bits/syslog-ldbl.h: Likewise.
38278 * misc/sys/syslog.h: Likewise.
38279 * socket/bits/socket2.h: Likewise.
38280 * socket/sys/socket.h: Likewise.
38281 * debug/tst-chk1.c: Likewise.
38282 * wcsmbs/bits/wchar2.h: Likewise.
38283 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38284 * wcsmbs/wchar.h: Likewise.
38285
ecf0ebfb
AJ
382862012-04-29 Andreas Jaeger <aj@suse.de>
38287
38288 * Makerules (tests): Remove enable-check-abi protection.
38289 (check-abi-warn): Remove.
38290 (check-abi-%): Remove check-abi-warn usage.
38291
38292 * configure.in: Remove check-abi configure option.
38293 * configure: Regenerated.
38294 * config.make.in (enable-check-abi): Remove.
38295
6d5c57fa
AS
382962012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38297
24c5d07e 38298 [BZ #14033]
ded5180a
AS
38299 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38300 double functions to double *_finite functions.
38301
7e0d315d
AS
38302 [BZ #13941]
38303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38304 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38305 LDBL_MIN_EXP.
38306 * stdio-common/Makefile (tests): Add tst-sprintf3.
38307 * stdio-common/tst-sprintf3.c: New file.
38308
6d5c57fa
AS
38309 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38310 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38311
0749ff8b
JM
383122012-04-28 Joseph Myers <joseph@codesourcery.com>
38313
38314 * conform/conformtest.pl: Remove duplicate typed-constant
38315 handling.
38316
8dbd5d7b
DM
383172012-04-28 David S. Miller <davem@davemloft.net>
38318
38319 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38320 (check-abi-%): Remove AWK script prerequisite and explicit
38321 abilist directory.
38322 (check-abi): Rewrite to just diff the symlist with the abilist.
38323 (config-tls, config-abi-config): Delete, no longer used.
38324 (update-abi-%): Remove AWK script and explicit abilist directory.
38325 (update-abi): Rewrite to simply compare and conditionally copy the
38326 symlist and the sysdep abilist file. Remove update-abi-config
38327 checks.
38328 * abilist/ld.abilist: Remove.
38329 * abilist/libBrokenLocale.abilist: Remove.
38330 * abilist/libanl.abilist: Remove.
38331 * abilist/libcrypt.abilist: Remove.
38332 * abilist/libdl.abilist: Remove.
38333 * abilist/librt.abilist: Remove.
38334 * abilist/libthread_db.abilist: Remove.
38335 * abilist/libutil.abilist: Remove.
38336 * scripts/extract-abilist.awk: Remove.
38337 * scripts/merge-abilist.awk: Remove.
38338 * sysdeps/generic/libcidn.abilist: New file.
38339 * sysdeps/generic/libnss_compat.abilist: New file.
38340 * sysdeps/generic/libnss_db.abilist: New file.
38341 * sysdeps/generic/libnss_dns.abilist: New file.
38342 * sysdeps/generic/libnss_files.abilist: New file.
38343 * sysdeps/generic/libnss_hesiod.abilist: New file.
38344 * sysdeps/generic/libnss_nis.abilist: New file.
38345 * sysdeps/generic/libnss_nisplus.abilist: New file.
38346 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38347 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38348 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38349 file.
38350 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38351 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38352 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38353 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38354 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38355 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38356 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38357 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38358 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38359 file.
38360 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38362 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38364 file.
38365 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38366 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38367 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38368 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38369 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38370 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38371 file.
38372 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38373 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38374 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38375 file.
38376 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38378 New file.
38379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38380 New file.
38381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38382 New file.
38383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38384 New file.
38385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38386 New file.
38387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38388 New file.
38389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38390 New file.
38391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38392 New file.
38393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38394 New file.
38395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38396 New file.
38397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38398 New file.
38399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38400 New file.
38401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38402 New file.
38403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38404 file.
38405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38406 New file.
38407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38408 New file.
38409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38410 file.
38411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38412 New file.
38413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38414 New file.
38415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38416 file.
38417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38418 New file.
38419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38420 New file.
38421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38422 New file.
38423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38424 New file.
38425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38426 New file.
38427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38428 New file.
38429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38431 file.
38432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38433 New file.
38434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38435 file.
38436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38437 file.
38438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38439 file.
38440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38441 file.
38442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38443 file.
38444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38445 New file.
38446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38447 file.
38448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38449 file.
38450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38451 New file.
38452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38453 file.
38454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38456 file.
38457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38458 New file.
38459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38460 file.
38461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38462 file.
38463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38464 file.
38465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38466 file.
38467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38468 file.
38469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38470 New file.
38471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38472 file.
38473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38474 file.
38475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38476 New file.
38477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38478 file.
38479 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38480 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38481 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38482 file.
38483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38484 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38485 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38486 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38487 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38488 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38489 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38490 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38491 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38492 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38495 file.
38496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38497 New file.
38498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38499 file.
38500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38501 file.
38502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38503 file.
38504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38505 file.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38507 file.
38508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38509 New file.
38510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38511 New file.
38512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38513 file.
38514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38515 New file.
38516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38517 file.
38518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38520 file.
38521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38522 New file.
38523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38524 file.
38525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38526 file.
38527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38528 file.
38529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38530 file.
38531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38532 file.
38533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38534 New file.
38535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38536 New file.
38537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38538 file.
38539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38540 New file.
38541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38542 file.
38543
41d73a1b
JM
385442012-04-28 Joseph Myers <joseph@codesourcery.com>
38545
38546 * conform/conformtest.pl: Fix typo in handling typed-constant from
38547 allow-header.
38548
28aeeda4
JM
385492012-04-27 Joseph Myers <joseph@codesourcery.com>
38550
adae8f5e
JM
38551 * README: Cut down references to pre-2.6 Linux kernels and
38552 Linuxthreads. Update lists of configurations in libc and ports
38553 and sort alphabetically. Say "or newer" with Linux kernel version
38554 requirements.
38555
28aeeda4
JM
38556 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38557
a462cb63
RA
385582012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38559
38560 [BZ #887]
38561 * math/libm-test.inc (logb_test_downward): New test to expose
38562 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38563 rounding mode.
38564
6ad3493e
JM
385652012-04-27 Joseph Myers <joseph@codesourcery.com>
38566
38567 [BZ #14027]
38568 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38569 to be done.
38570 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38571 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38572
2ce4f015
JM
385732012-04-26 Joseph Myers <joseph@codesourcery.com>
38574
5aeb141a
JM
38575 * sysdeps/unix/i386/brk.S: Remove file.
38576 * sysdeps/unix/i386/dl-brk.S: Likewise.
38577 * sysdeps/unix/i386/pipe.S: Likewise.
38578 * sysdeps/unix/i386/sigreturn.S: Likewise.
38579 * sysdeps/unix/i386/syscall.S: Likewise.
38580 * sysdeps/unix/i386/vfork.S: Likewise.
38581 * sysdeps/unix/i386/wait.S: Likewise.
38582
7143acae
JM
38583 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38584 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38585
2ce4f015
JM
38586 * configure.in (arm*-none*): Do not allow without
38587 --enable-hacker-mode.
38588 (netbsd*): Remove case setting base_os.
38589 (386bsd*): Likewise.
38590 (freebsd*): Likewise.
38591 (bsdi*): Likewise.
38592 (osf*): Likewise.
38593 (sunos*): Likewise.
38594 (ultrix*): Likewise.
38595 (newsos*): Likewise.
38596 (dynix*): Likewise.
38597 (*bsd*): Likewise.
38598 (sysv*): Likewise.
38599 (isc*): Likewise.
38600 (esix*): Likewise.
38601 (sco*): Likewise.
38602 (minix*): Likewise.
38603 (irix4*): Likewise.
38604 (irix6*): Likewise.
38605 (solaris[2-9]*): Likewise.
38606 (none): Likewise.
38607 * configure: Regenerated.
38608
0ac229c8
AZ
386092012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38610
38611 [BZ #11521]
38612 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38613 overflow or cancellation in calculating denominator.
38614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38615 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38616 down expression to avoid unexpected rounding in newer GCCs.
38617 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38618
33f244f4
DM
386192012-04-26 David S. Miller <davem@davemloft.net>
38620
38621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38622 long-double compat symbols.
38623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38636
cfa1f3e8
DM
386372012-04-25 David S. Miller <davem@davemloft.net>
38638
38639 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38640 HWCAP_* values only after the memory barriers have been defined.
38641 (atomic_full_barrier): Define.
38642 (atomic_read_barrier): Define.
38643 (atomic_write_barrier): Define.
38644
6e236b92
SP
386452012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38646
38647 * shlib-versions: Add libgcc_s version information.
38648 * sysdeps/generic/libgcc_s.h: Remove.
38649 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38650 libgcc_s.h.
38651 * sysdeps/gnu/unwind-resume.c: Likewise.
38652 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38653
aab39a09
DM
386542012-04-25 David S. Miller <davem@davemloft.net>
38655
38656 * sysdeps/unix/sparc/brk.S: Delete.
38657 * sysdeps/unix/sparc/dl-brk.S: Delete.
38658 * sysdeps/unix/sparc/pipe.S: Delete.
38659 * sysdeps/unix/sparc/sysdep.S: Delete.
38660 * sysdeps/unix/sparc/sysdep.h: Delete.
38661 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
38662 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38663 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38664 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38665 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
38666 (JUMPTARGET): Remove.
38667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38668 sysdeps/unix/sparc/sysdep.h
38669 (ENTRY, END): Remove.
38670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38671
a3cc4f48
JM
386722012-04-25 Joseph Myers <joseph@codesourcery.com>
38673
2ed8cda2
JM
38674 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38675 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38676 -DIS_IN_build.
38677
35d76d59
JM
38678 * timezone/README: Update upstream location and email address for
38679 tzcode and tzdata.
38680 * timezone/zdump.c: Update from tzcode 2012b.
38681 * timezone/zic.c: Likewise.
38682
a3cc4f48
JM
38683 * configure.in (libc_cv_as_needed): Remove test.
38684 * configure: Regenerated.
38685 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38686 conditional definition.
38687 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38688 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38689 * config.make.in (have-as-needed): Remove variable.
38690
ceab42c3
SP
386912012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38692 Paul Pluzhnikov <ppluzhnikov@google.com>
38693
38694 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38695 strings correctly.
38696
3ce2865f
CLT
386972012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38698
38699 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38700 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38701 * sysdeps/sh/strlen.S: Likewise.
38702
f37e0d68
JM
387032012-04-24 Joseph Myers <joseph@codesourcery.com>
38704
ae186e9a
JM
38705 * sysdeps/unix/fork.S: Remove file.
38706 * sysdeps/unix/i386/fork.S: Likewise.
38707 * sysdeps/unix/sparc/fork.S: Likewise.
38708
b96914af
JM
38709 * sysdeps/unix/system.c: Remove file.
38710 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38711
f37e0d68
JM
38712 * sysdeps/unix/getegid.S: Remove file.
38713 * sysdeps/unix/geteuid.S: Likewise.
38714
87ef29ca
RM
387152012-04-24 Roland McGrath <roland@hack.frob.com>
38716
83bcd236
RM
38717 * scripts/check-localplt.awk: New file.
38718 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38719 of diff.
38720 * scripts/data/localplt-generic.data: Add a comment.
38721
87ef29ca
RM
38722 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38723 NODE when __dir_mkfile failed.
38724 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38725 Reported by Ludovic Courtès <ludo@gnu.org>.
38726
e5a6e567
AJ
387272012-04-24 Andreas Jaeger <aj@suse.de>
38728
38729 * Makerules (common-clean): Also remove gen-as-const-headers
38730 files.
38731
c1820385
JM
387322012-04-24 Joseph Myers <joseph@codesourcery.com>
38733
38734 * Makerules (native-compile): Do not change working directory for
38735 build. Use $(OUTPUT_OPTION) in command.
38736 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38737
94e02fc4
AZ
387382012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38739
38740 [BZ #13886]
38741 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38742 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38743 * math/libm-test.inc (floor_test): Add more tests.
38744 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38745
3a533ca3
JM
387462012-04-24 Joseph Myers <joseph@codesourcery.com>
38747
940ab4b3
JM
38748 * sysdeps/unix/getdents.c: Remove file.
38749 * sysdeps/unix/sysv/getdents.c: Likewise.
38750 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38751
90e037bd
JM
38752 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38753 sysdeps/unix/mman/syscalls.list.
38754 (mmap): Likewise.
38755 (mprotect): Likewise.
38756 (msync): Likewise.
38757 (munmap): Likewise.
38758 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38759 * sysdeps/unix/mman/syscalls.list: Remove.
38760 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38761
3a533ca3
JM
38762 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38763 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38764 * configure: Regenerated.
38765 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38766 $(libgcc_s_suffix).
38767 * config.make.in (libgcc_s_suffix): Remove variable.
38768
1ad743de
JM
387692012-04-23 Joseph Myers <joseph@codesourcery.com>
38770
4ad451e2
JM
38771 * sysdeps/unix/sysv/gethostname.c: Move to ...
38772 * sysdeps/posix/gethostname.c: ... here.
38773
5e37ce39
JM
38774 * sysdeps/unix/execve.S: Remove file.
38775
1ad743de
JM
38776 * sysdeps/unix/_exit.S: Remove file.
38777
4e681b5b
AJ
387782012-04-23 Andreas Jaeger <aj@suse.de>
38779
38780 [BZ #13739]
38781 * manual/Makefile: Remove make dist support, there's no
38782 need for a stand-alone documentation tar ball.
38783 (TEXI2DVI): Define always, it's not in Makeconfig.
38784 (dist): Removed.
38785 (tar-it): Removed.
38786 (edition): Removed.
38787 (glibc-doc-$(edition).tar): Removed
38788 (%.Z): Removed.
38789 (%.gz): Removed.
38790 (%.uu): Removed.
38791 (ETAGS): Remove, it's in Makeconfig.
38792 (move-if-change): Remove, it's in Makeconfig.
38793
38686a03 387942012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38795
38796 [BZ #13970]
38797 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38798 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38799 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38800 (strtod_l, strtof_l, strtold_l): Remove __wur.
38801 It is not necessarily an error to ignore strtol's return value.
38802 One can reliably look at the stored endptr to decide whether
38803 the number had valid syntax.
38804
7c0616fa
AJ
388052012-04-21 Andreas Jaeger <aj@suse.de>
38806
803cb6b7 38807 [BZ #13739]
7c0616fa
AJ
38808 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38809
b0fe253f
JM
388102012-04-21 Joseph Myers <joseph@codesourcery.com>
38811
38812 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38813 * sysdeps/unix/sysv/Versions: Remove file.
38814
8280f22d
MT
388152012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38816
38817 [BZ #13927]
38818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38819
75ce411f 388202012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38821
38822 [BZ #7064]
38823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38824 version from __vm86.
38825
097d59fa
JM
388262012-04-20 Joseph Myers <joseph@codesourcery.com>
38827
a90f3bcb
JM
38828 * sysdeps/unix/common/lxstat.c: Remove file.
38829 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38830
edc7ea78
JM
38831 * sysdeps/unix/sysv/Makefile: Remove file.
38832
cb78c221
JM
38833 * sysdeps/unix/sysv/direct.h: Remove file.
38834
efa6a45f
JM
38835 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38836 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38837 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38838 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38839 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38840 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38841 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38842
9c9f2d0c
JM
38843 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38844
4541c83b
JM
38845 * sysdeps/unix/xmknod.c: Remove file.
38846 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38847
f5d153a0
JM
38848 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38849
aa746595
JM
38850 * sysdeps/unix/sysv/i386/time.S: Remove file.
38851
cce5905e
JM
38852 * sysdeps/unix/fxstat.c: Remove file.
38853 * sysdeps/unix/xstat.c: Likewise.
38854 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38855
37fa3841
JM
38856 * sysdeps/unix/sysv/sigaction.c: Remove file.
38857
ff1962a3
JM
38858 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38859 (sysdep_headers): Remove variable.
38860 [termio.h not in sysdep_headers] (generated): Likewise.
38861 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38862 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38863 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38864 * sysdeps/unix/sysv/tcflow.c: Likewise.
38865 * sysdeps/unix/sysv/tcflush.c: Likewise.
38866 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38867 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38868 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38869 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38870 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38871
e7740d31
JM
38872 * sysdeps/unix/siglist.c: Remove file.
38873
ee06f18b
JM
38874 * sysdeps/unix/getppid.S: Remove file.
38875
097d59fa
JM
38876 * sysdeps/unix/mkdir.c: Remove file.
38877 * sysdeps/unix/rmdir.c: Likewise.
38878
ff3d51ec
AS
388792012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38880
38881 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38882 ERR_MAX value.
38883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38884 errlist-compat value.
38885
50f81fd7
DM
388862012-04-18 David S. Miller <davem@davemloft.net>
38887
38888 * sysdeps/generic/memcopy.h (reg_char): Delete.
38889 * debug/strcat_chk.c: Use char, not reg_char.
38890 * debug/strcpy_chk.c: Likewise.
38891 * debug/strncat_chk.c: Likewise.
38892 * debug/strncpy_chk.c: Likewise.
38893 * string/memchr.c: Likewise.
38894 * string/memrchr.c: Likewise.
38895 * string/rawmemchr.c: Likewise.
38896 * string/strcat.c: Likewise.
38897 * string/strchr.c: Likewise.
38898 * string/strchrnul.c: Likewise.
38899 * string/strcmp.c: Likewise.
38900 * string/strcpy.c: Likewise.
38901 * string/strncat.c: Likewise.
38902 * string/strncmp.c: Likewise.
38903 * string/strncpy.c: Likewise.
38904
8ff41c46
WS
389052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38906
38907 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38908 __builtin_memcopy is called when src and dest ranges are known to not
38909 overlap.
38910
6b652f46
WS
389112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38912
38913 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38914 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38915 fwd_align_merge macro call.
38916 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38917 bwd_align_merge macro call.
38918 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38919
b282631e
WS
389202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38921
38922 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38923 bwd_align_merge macros.
38924 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38925 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38926 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38927
95aa737c
DM
389282012-04-18 David S. Miller <davem@davemloft.net>
38929
38930 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38931
7a99a614
AJ
389322012-04-18 Andreas Jaeger <aj@suse.de>
38933
38934 [BZ# 6794]
38935 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38936 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38937 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38938
38939 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38940 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38941 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38942
38943 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38944 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38945 Adjust for changed ldbl-128 files.
38946
38947 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38948 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38949 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38950
e5270c23
DM
389512012-04-17 David S. Miller <davem@davemloft.net>
38952
38953 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38954
fb5e92c9
AS
389552012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38956
38957 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38958 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38959 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38960 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38961 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38962 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38963
76da7265
AZ
389642012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38965
38966 [BZ #6794]
38967 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38968 * math/libm-test.inc: Add ilogb errno and exception tests.
38969 * math/w_ilogb.c: New file: ilogb wrapper.
38970 * math/w_ilogbf.c: New file: ilogbf wrapper.
38971 * math/w_ilogbl.c: New file: ilogbl wrapper.
38972 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38973 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38974 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38975 exception being thrown with 0.0 as argument.
38976 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38977 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38978 exception being thrown with 0.0 as argument.
38979 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38980 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38981 exception being thrown with 0.0 as argument.
38982 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38983 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38984 exception being thrown with 0.0 as argument.
38985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38986 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38988 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38989 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38990 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38991 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38992 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38993 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38994
0396e69d
PB
389952012-04-17 Petr Baudis <pasky@ucw.cz>
38996
38997 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38998 with altivec.
38999
750b5926
MP
390002012-04-16 Marek Polacek <polacek@redhat.com>
39001
39002 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39003
751728a1
MP
390042012-04-16 Marek Polacek <polacek@redhat.com>
39005
39006 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39007 operands of fdivp instruction.
39008
34a27407
L
390092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39010
39011 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39012 * elf/tst-auditmod3b.c: Likewise.
39013 * elf/tst-auditmod4b.c: Likewise.
39014 * elf/tst-auditmod5b.c: Likewise.
39015 * elf/tst-auditmod6b.c: Likewise.
39016 * elf/tst-auditmod6c.c: Likewise.
39017 * elf/tst-auditmod7b.c: Likewise.
39018 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39019 * sysdeps/x86_64/preconfigure.in: Likewise.
39020 * sysdeps/x86_64/preconfigure: Regenerated.
39021
7e73e17d
L
390222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39023
39024 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39025 __ILP32__.
39026
c7a6ab72
AB
390272012-04-13 Antoine Balestrat <merkil33@gmail.com>
39028
39029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39030 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39031
a9e8e0e0
CL
390322012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39033
39034 [BZ #13973]
39035 * locale/iso-639.def: Fix gl language name. Spotted by
39036 Yaron Shahrabani.
39037
ec98af7d
RM
390382012-04-12 Roland McGrath <roland@hack.frob.com>
39039
39040 [BZ #2074]
39041 * libio/libio.h (__io_write_fn): Update comment.
39042
247c3ede
PB
390432012-04-12 Petr Baudis <pasky@ucw.cz>
39044
39045 [BZ #2074]
39046 * stdio.texi (Hook Functions): The user provided writer function
39047 is not allowed to return -1.
39048
55939d6d
DM
390492012-04-11 David S. Miller <davem@davemloft.net>
39050
39051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39052
90020f5a
MF
390532012-04-11 Mike Frysinger <vapier@gentoo.org>
39054
39055 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39056 Add a leading slash to rtkaio.
39057
288f9098
JM
390582012-04-11 Jim Meyering <meyering@redhat.com>
39059
90020f5a
MF
39060 [BZ #11959]
39061 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39062 It is not necessarily an error to ignore fwrite's return
39063 value. One can reliably use ferror to test for errors after
39064 the fact.
288f9098 39065
4be2b570
L
390662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39067
39068 * bits/types.h (__snseconds_t): New type.
39069 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39070
39071 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39073 (__SNSECONDS_T_TYPE): Likewise.
39074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39075 (__SNSECONDS_T_TYPE): Likewise.
39076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39077 (__SNSECONDS_T_TYPE): Likewise.
39078
288f9098 390792012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
39080
39081 [BZ #2636]
39082 * manual/time.texi (Processor Time): Return type of times is
39083 elapsed real time since an arbitrary point in the past.
39084 (CPU Time): Move CLK_TCK from here...
39085 (Processor Time): ...to here. Correct description.
39086 * manual/conf.texi (Constants for Sysconf): Correct description of
39087 _SC_CLK_TCK.
39088
d7dd4413
DM
390892012-04-10 David S. Miller <davem@davemloft.net>
39090
39091 [BZ #13967]
39092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39093 where the is a gap between DT_REL(A) and DT_JMPREL.
39094
b46068fc
L
390952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39096
39097 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39098 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39099 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39100
73d65cc3
SP
391012012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39102
39103 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39104 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39105 (dl_main): Handle --inhibit-cache.
39106 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39107 _dl_inhibit_cache.
39108 * elf/dl-load.c (_dl_map_object): Use it.
39109 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39110
bcc8d661
JM
391112012-04-09 Joseph Myers <joseph@codesourcery.com>
39112
8f9a2fae
JM
39113 [BZ #13872]
39114 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39115 (__ieee754_powl): Saturate large exponents rather than testing for
39116 overflow of y*log2(x).
39117 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39118 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39119 exceptions.
39120
bcc8d661
JM
39121 [BZ #11521]
39122 * math/s_ctan.c: Include <float.h>.
39123 (__ctan): Avoid internal overflow or cancellation in calculating
39124 denominator.
39125 * math/s_ctanf.c: Likewise.
39126 * math/s_ctanl.c: Likewise.
39127 * math/s_ctanh.c: Likewise.
39128 * math/s_ctanhf.c: Likewise.
39129 * math/s_ctanhl.c: Likewise.
39130 * math/libm-test.inc (ctan_test): Add more tests.
39131 (ctanh_test): Likewise.
39132 * sysdeps/i386/fpu/libm-test-ulps: Update.
39133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39134
823fbbb4
AJ
391352012-04-09 Andreas Jaeger <aj@suse.de>
39136
03879793
AJ
39137 [BZ #6894]
39138 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39139 is an optional BSD extension.
39140
823fbbb4
AJ
39141 [BZ #10254]
39142 * manual/stdio.texi (Opening Streams): Document additional fopen
39143 parameters.
39144
8de131cb
RM
391452012-04-09 Roland McGrath <roland@hack.frob.com>
39146
39147 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39148 %eax without telling the compiler.
39149
c0ed9d7d
CD
391502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39151
39152 [BZ # 13963]
39153 * manual/install.texi: Use sourceware.org.
39154
c483f6b4
JM
391552012-04-09 Joseph Myers <joseph@codesourcery.com>
39156
d7dd9453
JM
39157 [BZ #13873]
39158 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39159 (__ieee754_pow): Generate overflow and underflow using huge*huge
39160 and tiny*tiny rather than just returning constant infinity or zero
39161 for large exponents.
39162 * math/libm-test.inc (pow_test): Require overflow exceptions for
39163 applicable cases of large exponents.
39164
c483f6b4
JM
39165 [BZ #706]
39166 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39167 (__ieee754_pow): Use iterative multiplication algorithm only for
39168 integer exponents with absolute value below 1024. Check for odd
39169 integer exponents when using algorithm for real exponents.
39170 * math/libm-test.inc (pow_test): Add more tests.
39171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39172
d2de7579
JM
391732012-04-08 Joseph Myers <joseph@codesourcery.com>
39174
39175 [BZ #13705]
39176 * math/libm-test.inc (exp_test): Do not allow overflow exception
39177 on underflow test.
39178
f77f1232
AJ
391792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39180
39181 [BZ #13705]
39182 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39183 instead of __kernel_standard_f.
39184
3884932b
MF
391852012-04-08 Mike Frysinger <vapier@gentoo.org>
39186
39187 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39188 * sysdeps/x86_64/memset_chk.S: Likewise.
39189
54472e9c
AJ
391902012-04-08 Andreas Jaeger <aj@suse.de>
39191
6ab0fbfc
AJ
39192 [BZ #10153]
39193 * manual/startup.texi (Environment Access): Describe return value
39194 for putenv and setenv.
39195
61efba8c
AJ
39196 [BZ #6895]
39197 * manual/filesys.texi (Directory Entries): Add description for
39198 DT_LNK.
39199
95c3f29a
AJ
39200 [BZ #6890]
39201 * manual/filesys.texi (Directory Entries): Clarify that it's file
39202 system not operating system in the description of DT_UNKNOWN.
39203
54472e9c
AJ
39204 [BZ #6578]
39205 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39206
624254b1
SC
392072012-04-08 Stephen Compall <s11@member.fsf.org>
39208
39209 [BZ #6649]
39210 * manual/llio.texi (Opening and Closing Files): Add cross
39211 reference to explain mode argument.
39212
1e4920e0
MF
392132012-04-07 Mike Frysinger <vapier@gentoo.org>
39214
39215 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39216 * sysdeps/x86_64/memset_chk.S: Likewise.
39217
5ed848f3
DM
392182012-04-07 David S. Miller <davem@davemloft.net>
39219
39220 * elf/elf.h (R_SPARC_WDISP10): Define.
39221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39222 R_SPARC_SIZE32.
39223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39224 R_SPARC_SIZE64 and R_SPARC_H34.
39225
96154cd8
CD
392262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39227
39228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39229 conditions and remove no longer applicable assertion.
39230
9904dc47
L
392312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39232
39233 * bits/byteswap.h: Include <features.h>.
39234 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39235 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39236
f8887d0a
L
392372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39238
39239 * bits/byteswap.h (__bswap_16): Removed.
39240 Include <bits/byteswap-16.h> to get __bswap_16.
39241 * sysdeps/i386/bits/byteswap.h: Likewise.
39242 * sysdeps/s390/bits/byteswap.h: Likewise.
39243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39244 * bits/byteswap-16.h: New file.
39245 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39246 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39247 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39248 * string/Makefile (headers): Add bits/byteswap-16.h.
39249
62470f60
PP
392502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39251
39252 [BZ #13895]
39253 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39254 extra indirection.
39255 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39256 * nss/tst-nss-static.c: New.
39257
4dad7bab
RM
392582012-04-06 Robert Millan <rmh@gnu.org>
39259
39260 [BZ #6486]
39261 * manual/llio.texi (File Position Primitive): lseek
39262 refers to WHENCE when it really means OFFSET.
39263
e9142a17
AJ
392642012-04-06 Andreas Jaeger <aj@suse.de>
39265
2c040eff
AJ
39266 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39267 strncmp declarations.
39268
e9142a17
AJ
39269 * abilist/libc.abilist: Add __poll and __ppoll.
39270
ff9f1c5f
DM
392712012-04-05 David S. Miller <davem@davemloft.net>
39272
dcd2ae90
DM
39273 * scripts/check-local-headers.sh: Accept a host triplet in the
39274 path matched by the exclude regexp.
39275
993eb054
DM
39276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39277 definition.
39278 * sysdeps/powerpc/powerpc32/dl-machine.h
39279 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39280 * sysdeps/s390/s390-32/dl-machine.h
39281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39282 * sysdeps/sparc/sparc32/dl-machine.h
39283 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39284 * sysdeps/sparc/sparc64/dl-machine.h
39285 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39286
ff9f1c5f
DM
39287 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39288 lazy binding.
48e2e132 39289 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39290 undefined symbol errors.
39291
48e2e132 39292 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39293 DT_NEEDED entries.
39294
e80d6f94
MM
392952012-04-05 Michael Matz <matz@suse.de>
39296
39297 [BZ #13592]
39298 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39299
349fa79f
AJ
393002012-04-05 Andreas Jaeger <aj@suse.de>
39301
39302 [BZ #13908]
39303 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39304 comment.
39305
f402708f
KK
393062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39307
39308 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39309 which ROUND is no valid rounding mode.
39310
2ecccfc9
KK
393112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39312
39313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39314 read again.
39315 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39316
8a53f50f
KK
393172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39318
39319 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39320 an exception using FPU order intentionally.
39321
393222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39323
39324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39325 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39326 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39327 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39328
d653abb7
SJ
393292012-04-05 Simon Josefsson <simon@josefsson.org>
39330
39331 [BZ #12340]
39332 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39333 EINVAL when BUFLEN is too smal.
39334
c3b1bf7d
TS
393352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39336
39337 [BZ #13553]
39338 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39339 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39340
b1aa60f3
AJ
393412012-04-03 Andreas Jaeger <aj@suse.de>
39342
c3b1bf7d 39343 [BZ #13938]
67f60a26
AJ
39344 * manual/setjmp.texi (System V contexts): Fix sentence.
39345
b1aa60f3
AJ
39346 [BZ #13926]
39347 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39348 New macro for this case.
39349 [!__GNUC__] (__bswap_64): New inline function for this case.
39350 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39351 * bits/byteswap.h: Likewise.
39352 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39353 ull, guard with __GLIBC_HAVE_LONG_LONG.
39354
39355 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39356 __GLIBC_HAVE_LONG_LONG.
39357
39358 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39359 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39360
39c59c35
TMQMF
393612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39362
39363 [BZ #13691]
39364 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39365 inptr and inend, rather than using last_ch.
39366
135ffda8
DM
393672012-04-02 David S. Miller <davem@davemloft.net>
39368
39369 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39370 * stdio-common/printf-parse.h (read_int): Change return type to
39371 'int', return -1 on INT_MAX overflow.
39372 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39373 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39374 overflows INT_MAX. Check for overflow of in-format-string precision
39375 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39376 SIZE_MAX not INT_MAX for integer overflow test.
39377 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39378 skip the construct in the format string but do not record anything.
39379 * stdio-common/bug22.c: Adjust to test both width/prevision
39380 INT_MAX overflow as well as total length INT_MAX overflow. Check
39381 explicitly for proper errno values.
39382
228c019e
TS
393832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39384
302cadd3
TS
39385 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39386 CHAR_MAX.
39387 * string/test-strcmp.c [! WIDE]: Likewise.
39388 * time/tst-mktime2.c: Likewise for INT_MAX.
39389 * string/test-string.h: #include <sys/param.h> for MIN.
39390
228c019e
TS
39391 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39392 * sysdeps/i386/init-first.c (init): Likewise.
39393 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39394 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39395 * sysdeps/sh/init-first.c (init): Likewise.
39396
cfa633f5
UD
393972012-04-01 Ulrich Drepper <drepper@gmail.com>
39398
39399 * po/ru.po: Update from translation team.
d1635ef8 39400 * po/vi.po: Likewise.
cfa633f5 39401
6cd0a5ea
SP
394022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39403
39404 * resolv/nss_dns/dns-host.c: Merge copyright years.
39405
4b43400f
LD
394062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39407
39408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39409 Optimize memcpy with prefetch if
39410 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39411 src, dst pointers have unequal 16 byte alignments.
39412
48c41d04
SP
394132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39414
39415 [BZ #13928]
39416 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39417 from a CNAME entry and return the minimum ttl for the query.
39418 (gaih_getanswer_slice): Likewise.
39419
b8dc394d
JL
394202012-03-30 Jeff Law <law@redhat.com>
39421
39422 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39423 due to long keys.
39424 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39425 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39426
2f5a5ed0
JL
39427 * resolv/nss_dns/dns-host.c: Update copyright year.
39428
1d39e359
UD
394292012-03-30 Ulrich Drepper <drepper@gmail.com>
39430
c030f70c 39431 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 39432 requests to save a system call. Fix check that all bytes are sent.
c030f70c 39433
1d39e359
UD
39434 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39435 comments for sendmmsg.
39436
394372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
39438
39439 [BZ #13691]
39440 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39441 with only 1 character between 0x0041 and 0x01b0.
39442 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39443 * wcsmbs/tst-mbsnrtowcs.c: New file.
39444
20fde227
DM
394452012-03-29 David S. Miller <davem@davemloft.net>
39446
39447 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39448 small copies by hand.
39449
984a4237
JL
394502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39451
39452 [BZ #13761]
57f41c40
AS
39453 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39454 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39455 group memberships.
984a4237 39456
18c9d62b
DM
394572012-03-28 David S. Miller <davem@davemloft.net>
39458
88d85d4f
DM
39459 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39460 that branches into memcpy.
39461 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39463 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39464 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39466 bits.
39467 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39468 implementation too.
39469 * sysdeps/sparc/mempcpy.S: New file.
39470
e5aa83e1
DM
39471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39472 the IFUNC routine in the libc case.
39473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39474
88570753
DM
39475 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39476 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39477 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39478 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39479 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39480 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39481 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39482 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39483
249d7567
DM
39484 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39485 loop to 256 bytes instead of 64 bytes and fix test signedness.
39486
18c9d62b
DM
39487 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39488 * sysdeps/sparc/sparc32/Makefile: rather than here...
39489 * sysdeps/sparc/sparc64/Makefile: and here.
39490
05f3d1f6
UD
394912012-03-28 Ulrich Drepper <drepper@gmail.com>
39492
39493 * malloc/mallocbug.c: Avoid warnings about unused variables.
39494
86ae07a8
JL
394952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39496
39497 [BZ #13760]
39498 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39499 in the right place. Discard and retry query if response is
39500 larger than input buffer size.
39501
41bf21a1
JM
395022012-03-28 Joseph Myers <joseph@codesourcery.com>
39503
d6270972
JM
39504 [BZ #369]
39505 [BZ #2678]
39506 [BZ #3866]
39507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39508 x for large integer exponent.
39509 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39510 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39511 sign of result as needed afterwards.
39512 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39513 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39514 result for underflowing pow the same as for overflow.
39515 (__kernel_standard_l): Handle powl overflow and underflow here
39516 rather than calling __kernel_standard.
39517 * math/libm-test.inc (pow_test): Add more tests.
39518
414fca03 39519 [BZ #3868]
41bf21a1
JM
39520 [BZ #13879]
39521 [BZ #13910]
39522 [BZ #13911]
39523 [BZ #13912]
39524 [BZ #13913]
39525 [BZ #13915]
39526 [BZ #13916]
39527 [BZ #13917]
39528 [BZ #13918]
39529 [BZ #13919]
39530 [BZ #13920]
39531 [BZ #13921]
39532 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39533 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39534 (__kernel_standard_l): New function.
39535 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39536 __kernel_standard.
39537 * math/w_acosl.c (__acosl): Likewise.
39538 * math/w_asinl.c (__asinl): Likewise.
39539 * math/w_atan2l.c (__atan2l): Likewise.
39540 * math/w_atanhl.c (__atanhl): Likewise.
39541 * math/w_coshl.c (__coshl): Likewise.
39542 * math/w_exp10l.c (__exp10l): Likewise.
39543 * math/w_exp2l.c (__exp2l): Likewise.
39544 * math/w_fmodl.c (__fmodl): Likewise.
39545 * math/w_hypotl.c (__hypotl): Likewise.
39546 * math/w_j0l.c (__j0l, __y0l): Likewise.
39547 * math/w_j1l.c (__j1l, __y1l): Likewise.
39548 * math/w_jnl.c (__jnl, __ynl): Likewise.
39549 * math/w_lgammal.c (__lgammal): Likewise.
39550 * math/w_log10l.c (__log10l): Likewise.
39551 * math/w_log2l.c (__log2l): Likewise.
39552 * math/w_logl.c (__logl): Likewise.
39553 * math/w_powl.c (__powl): Likewise.
39554 * math/w_remainderl.c (__remainderl): Likewise.
39555 * math/w_scalbl.c (sysv_scalbl): Likewise.
39556 * math/w_sinhl.c (__sinhl): Likewise.
39557 * math/w_sqrtl.c (__sqrtl): Likewise.
39558 * math/w_tgammal.c (__tgammal): Likewise.
39559 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39560 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39561 * math/libm-test.inc (acos_test): Add more tests.
39562 (acosh_test): Likewise.
39563 (asin_test): Likewise.
39564 (atanh_test): Likewise.
39565 (exp_test): Likewise.
39566 (exp10_test): Likewise.
39567 (exp2_test): Likewise.
39568 (expm1_test): Likewise.
39569 (lgamma_test): Likewise.
39570 (log_test): Likewise.
39571 (log10_test): Likewise.
39572 (log1p_test): Likewise.
39573 (log2_test): Likewise.
39574 (pow_test): Do not allow some spurious overflow exceptions.
39575 (sqrt_test): Add more tests.
39576 (tgamma_test): Likewise.
39577 (y0_test): Likewise.
39578 (y1_test): Likewise.
39579 (yn_test): Likewise.
39580
dd62fda6
AB
395812012-03-27 Anton Blanchard <anton@samba.org>
39582
39583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39584 MAP_HUGETLB.
39585 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39588
1e3cdfda
AJ
395892012-03-27 David S. Miller <davem@davemloft.net>
39590
b855ab85
DM
39591 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39592
1e3cdfda
AJ
39593 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39594 have-as-vis3 check.
39595
395962012-03-27 Andreas Jaeger <aj@suse.de>
39597
39598 * sysdeps/x86_64/elf/configure.in: Moved to ...
39599 * sysdeps/x86_64/configure.in: ... here.
39600 * sysdeps/x86_64/elf/start.S: Moved to ...
39601 * sysdeps/x86_64/start.S: ... here.
39602 * sysdeps/x86_64/elf/configure: Delete.
39603
39604 * sysdeps/x86_64/configure.in: Merge contents from
39605 sysdeps/i386/configure.in (without i686 check).
39606
39607 * sysdeps/i386/elf/Versions: Merge into ...
39608 * sysdeps/i386/Versions: ... this.
39609 * sysdeps/i386/elf/Versions: Delete file.
39610 * sysdeps/i386/elf/start.S: Moved to ...
39611 * sysdeps/i386/start.S: ...here.
39612 * sysdeps/i386/elf/configure.in: Merge into...
39613 * sysdeps/i386/configure.in: ...here.
39614 * sysdeps/i386/elf/configure.in: Delete file.
39615 * sysdeps/i386/elf/configure: Delete file.
39616
39617 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39618 * debug/backtracesyms.c: ... here.
39619 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39620 * debug/backtracesymsfd.c: ... here.
39621 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39622 * sysdeps/generic/ifunc-sel.h: ... here.
39623
39624 * sysdeps/unix/i386/start.c: Delete file.
39625 * sysdeps/unix/sparc/start.c: Delete file.
39626 * sysdeps/unix/start.c: Delete file.
39627
39628 * sysdeps/sh/elf/configure.in: Moved to ...
39629 * sysdeps/sh/configure.in: ... here.
39630 * sysdeps/sh/elf/start.S: Moved to ...
39631 * sysdeps/sh/start.S: ... here.
39632 * sysdeps/sh/elf/configure: Delete file.
39633
39634 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39635 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39636 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39637 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39638 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39639 * sysdeps/powerpc/powerpc64/start.S: here.
39640 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39641 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39642 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39643 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39644 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39645
39646 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39647 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39648 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39649 * sysdeps/powerpc/powerpc32/start.S: ... here.
39650 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39651 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39652 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39653
39654 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39655 * sysdeps/powerpc/ifunc-sel.h: ... here.
39656 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39657 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39658
39659 * sysdeps/sparc/elf/configure.in: Moved to ...
39660 * sysdeps/sparc/configure.in: ... here.
39661 * sysdeps/sparc/elf/configure: Delete file.
39662 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39663 * sysdeps/sparc/sparc32/start.S: ... here.
39664 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39665 * sysdeps/sparc/sparc64/start.S: ... here.
39666 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39667 * sysdeps/sparc/sparc32/Makefile: ... this.
39668 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39669 * sysdeps/sparc/sparc64/Makefile: ... this.
39670
39671 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39672 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39673 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39674 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39675 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39676 * sysdeps/s390/s390-32/setjmp.S: ... here.
39677 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39678 * sysdeps/s390/s390-32/configure.in: ... here.
39679 * sysdeps/s390/s390-32/elf/configure: Delete file.
39680 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39681 * sysdeps/s390/s390-32/start.S: ... here.
39682
39683 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39684 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39685 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39686 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39687 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39688 * sysdeps/s390/s390-64/setjmp.S: ... here.
39689 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39690 * sysdeps/s390/s390-64/configure.in: ... here
39691 * sysdeps/s390/s390-64/elf/configure: Delete file.
39692 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39693 * sysdeps/s390/s390-64/start.S: ... here.
39694 * sysdeps/s390/s390-64/elf/configure: Delete.
39695
39696 * configure.in: Remove support for elf directories in sysdeps.
39697
39698 * configure: Regenerated.
39699 * sysdeps/i386/configure: Regenerated.
39700 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39701 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39702 * sysdeps/s390/s390-32/configure: Regenerated.
39703 * sysdeps/s390/s390-64/configure: Regenerated.
39704 * sysdeps/sh/configure: Regenerated.
39705 * sysdeps/sparc/configure: Regenerated.
39706 * sysdeps/x86_64/configure: Regenerated.
39707
a3f61311
AS
397082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39709
c876e002
AS
39710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39711
a3f61311
AS
39712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39713 denormal result into account.
39714
ac4c54f0
RM
397152012-03-25 Roland McGrath <roland@hack.frob.com>
39716
39717 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39718 Reported by Allan McRae <allan@archlinux.org>.
39719
6a9b9c02
JL
397202012-03-23 Jeff Law <law@redhat.com>
39721
39722 * nss/getnssent.c (__nss_getent): Fix typo.
39723
4c42a0c1
DM
397242012-03-23 David S. Miller <davem@davemloft.net>
39725
39726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39727
1532c7ac
L
397282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39729
39730 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39731 to pad to uint64_t for each field.
39732 (dl_tls_index): Replace unsigned long with uint64_t.
39733
3ff42526
PP
397342012-03-23 Daniel Jacobowitz <dmj@google.com>
39735 Paul Pluzhnikov <ppluzhnikov@google.com>
39736
39737 [BZ #6528]
39738 * grp/Makefile (otherlibs): Don't set it.
39739 * inet/Makefile (otherlibs): Likewise.
39740 * login/Makefile (otherlibs): Likewise.
39741 * nscd/Makefile (otherlibs): Likewise.
39742 * posix/Makefile (otherlibs): Likewise.
39743 * pwd/Makefile (otherlibs): Likewise.
39744 * rt/Makefile (otherlibs): Likewise.
39745 * sunrpc/Makefile (otherlibs): Likewise.
39746 * nss/Makefile (otherlibs): Likewise.
39747 Add libnss_files to routines and static-only-routines.
39748 ($(objpfx)getent): Remove rule.
39749 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39750 static-only-routines.
39751
7c69cd14
JM
397522012-03-22 Joseph Myers <joseph@codesourcery.com>
39753
39754 [BZ #13892]
39755 * math/s_cexp.c: Include <float.h>.
39756 (__cexp): Handle exp result overflowing not necessarily
39757 overflowing both real and imaginary parts of result.
39758 * math/s_cexpf.c: Likewise.
39759 * math/s_cexpl.c: Likewise.
39760 * math/libm-test.inc (cexp_test): Add more tests.
39761 * sysdeps/i386/fpu/libm-test-ulps: Update.
39762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39763
81b035fe
L
397642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39765
39766 * include/link.h (ELFW): New macro.
39767 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39768 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39769
1da7940c
L
397702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39771
39772 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39773 with uint64_t.
39774
b749dbb9
L
397752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39776
39777 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39778 declaration.
39779 (struct La_x32_retval): Likewise.
39780
2ff87f3f
L
397812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39782
39783 * sysdeps/x86_64/preconfigure.in: New file.
39784 * sysdeps/x86_64/preconfigure: New generated file.
39785
c0df8e69
JM
397862012-03-22 Joseph Myers <joseph@codesourcery.com>
39787
48e44791
JM
39788 [BZ #13824]
39789 * math/e_exp2l.c: Include <float.h>.
39790 (__ieee754_exp2l): Handle overflow and underflow cases
39791 separately. Only pass fractional part of argument to
39792 __ieee754_expl.
39793 * math/libm-test.inc (exp2_test): Add more tests.
39794
c0df8e69
JM
39795 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39796 negating x to take absolute value.
39797 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39798 Likewise.
39799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39801 Likewise.
39802 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39803 computing low part if x was negated.
39804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39805
c8e43ba7
L
398062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39807
39808 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39809 la_x32_gnu_pltexit.
39810 (pltexit): Cast int_retval to ptrdiff_t.
39811 * elf/tst-auditmod3b.c: Likewise.
39812 * elf/tst-auditmod4b.c: Likewise.
39813 * elf/tst-auditmod5b.c: Likewise.
39814 * elf/tst-auditmod6b.c: Likewise.
39815 * elf/tst-auditmod6c.c: Likewise.
39816 * elf/tst-auditmod7b.c: Likewise.
39817
39818 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39819 and x32_gnu_pltexit.
39820
39821 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39822 __ELF_NATIVE_CLASS.
39823 (La_x32_regs): New macro.
39824 (La_x32_retval): Likewise.
39825 (la_x32_gnu_pltenter): New function prototype.
39826 (la_x32_gnu_pltexit): Likewise.
39827
7998fa78
AS
398282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39829
dcb33988
AS
39830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39831 exponent.
39832
233fc563
AS
39833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39834
7998fa78
AS
39835 * configure.in (libc_cv_cc_nofma): Check for option to disable
39836 generation of FMA instructions.
39837 * configure: Regenerate.
39838 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39839 * sysdeps/ieee754/dbl-64/Makefile: New file.
39840 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39841 Remove brandred-fma4.
39842 (CFLAGS-brandred-fma4.c): Remove.
39843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39845 define.
39846 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39847 define.
39848
8e95c99a
L
398492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39850
39851 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39852 LLONG_MAX != LONG_MAX.
39853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39854 (_fitoa_word): Likewise.
39855 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39856 LLONG_MAX != LONG_MAX.
39857 * stdio-common/_itowa.h: Include <_itoa.h>.
39858 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39859 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39860 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39861 only if not defined.
39862 (_ITOA_WORD_TYPE): Likewise.
39863 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39864 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39865
6f4db457
DM
398662012-03-21 David S. Miller <davem@davemloft.net>
39867
39868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39869
7785fe5a
L
398702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39871
39872 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39873 of x86_64 when setting libc_cv_slibdir, libdir and
39874 libc_cv_localedir.
39875 * sysdeps/unix/sysv/linux/configure: Regenerated.
39876
4535cd55
JM
398772012-03-21 Joseph Myers <joseph@codesourcery.com>
39878
39879 * manual/lang.texi (Old Varargs): Remove section.
39880 (How Variadic): Update menu.
39881 (va_start): Do not mention varargs.h.
39882
17228132
TS
398832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39884 Joseph Myers <joseph@codesourcery.com>
39885
39886 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39887 link test.
39888 * configure: Regenerated.
39889
8149f976
TS
398902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39891
05f3d1f6
UD
39892 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39893 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39894 conformtest.pl
8149f976 39895
1a4ac776
JM
398962012-03-21 Joseph Myers <joseph@codesourcery.com>
39897
be22ce65
JM
39898 * NOTES: Remove.
39899 * Makefile (files-for-dist): Remove NOTES.
39900 (NOTES): Remove rule.
39901 * README: Don't refer to NOTES.
39902 * manual/creature.texi: Don't include macros.texi.
39903 * manual/intro.texi (creature.texi): Remove comment referring to
39904 NOTES.
39905
40b601fb
JM
39906 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39907 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39908 * configure: Regenerated.
39909 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39910 LIBC_TRY_CC_OPTION.
39911 (libc_cv_as_i686): Likewise.
39912 (libc_cv_cc_avx): Likewise.
39913 (libc_cv_cc_sse2avx): Likewise.
39914 (libc_cv_cc_fma4): Likewise.
39915 (libc_cv_cc_novzeroupper): Likewise.
39916 * sysdeps/i386/configure: Regenerated.
39917
1a4ac776
JM
39918 [BZ #13883]
39919 * sysdeps/i386/fpu/s_cexp.S: Remove.
39920 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39921 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39922 * math/libm-test.inc (cexp_test): Add more tests.
39923 * sysdeps/i386/fpu/libm-test-ulps: Update.
39924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39925
a458e7fe
AM
399262012-03-21 Allan McRae <allan@archlinux.org>
39927
39928 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39929
0cb7efc5
JM
399302012-03-21 Joseph Myers <joseph@codesourcery.com>
39931
39932 [BZ #13871]
39933 * math/w_exp2.c: Do not include <float.h>.
39934 (o_threshold, u_threshold): Remove.
39935 (__exp2): Calculate result before checking finiteness and calling
39936 __kernel_standard.
39937 * math/w_exp2f.c: Likewise.
39938 * math/w_exp2l.c: Likewise.
39939 * math/libm-test.inc (exp2_test): Require overflow exception for
39940 1e6 input.
2460d3aa
JM
39941
39942 [BZ #3866]
39943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39944 range of signed 64-bit integers before using fistpll. Remove
39945 checks for whether integers fit in mantissa bits.
39946 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39947 the range of signed 32-bit integers before using fistpl. Remove
39948 checks for whether integers fit in mantissa bits.
39949 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39950 (__ieee754_powl): Test for y outside the range of signed 64-bit
39951 integers before using fistpll. Reduce 64-bit values to 63-bit
39952 ones as needed.
39953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39954 divide-by-zero is raised for zero to large negative powers.
39955 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39956 (__ieee754_powl): Test for y outside the range of signed 64-bit
39957 integers before using fistpll. Reduce 64-bit values to 63-bit
39958 ones as needed.
39959 * math/libm-test.inc (pow_test): Add more tests.
39960
eb96ffb0
L
399612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39962
39963 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39964 <stdio-common/_itoa.h>.
39965 * debug/segfault.c: Likewise.
39966 * elf/dl-cache.c: Likewise.
39967 * elf/dl-minimal.c: Likewise.
39968 * elf/dl-misc.c: Likewise.
39969 * elf/dl-sysdep.c: Likewise.
39970 * elf/dl-version.c: Likewise.
39971 * elf/rtld.c: Likewise.
39972 * hurd/hurdsock.c: Likewise.
39973 * hurd/lookup-retry.c: Likewise.
39974 * malloc/malloc.c: Likewise.
39975 * malloc/mtrace.c: Likewise.
39976 * nscd/nscd_getgr_r.c: Likewise.
39977 * nscd/nscd_getpw_r.c: Likewise.
39978 * nscd/nscd_getserv_r.c: Likewise.
39979 * posix/getopt_init.c: Likewise.
39980 * posix/wordexp.c: Likewise.
39981 * stdio-common/_itoa.c: Likewise.
39982 * stdio-common/printf_fphex.c: Likewise.
39983 * stdio-common/vfprintf.c: Likewise.
39984 * string/_strerror.c: Likewise.
39985 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39986 * sysdeps/i386/i686/hp-timing.h: Likewise.
39987 * sysdeps/mach/_strerror.c: Likewise.
39988 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39989 * sysdeps/mach/hurd/sethostid.c: Likewise.
39990 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39991 * sysdeps/mach/xpg-strerror.c: Likewise.
39992 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39994 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39995 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39996 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39997 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39999 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40000 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40001 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40002 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40003 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40004 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40005 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40006 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40007 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40008 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40009 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40010 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40011 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40012 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40013
40014 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40015
40016 * stdio-common/_itoa.h: Moved to ...
40017 * sysdeps/generic/_itoa.h: Here.
40018
40019 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40020
40021 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40022 instead of "_itoa.h" and "_itowa.h".
40023 * stdio-common/vfprintf.: Likewise.
40024
d1af992d
L
400252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40026
40027 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40028 <bits/wordsize.h>.
40029 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40030 (__signbit): Likwise.
40031 (llrintf): Likwise.
40032 (llrint): Likwise.
40033
114883e0
L
400342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40035
40036 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40037 __WORDSIZE != 64.
40038
c135cc1b
JM
400392012-03-20 Joseph Myers <joseph@codesourcery.com>
40040
40041 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40042 OVERFLOW_EXCEPTION_OK.
40043 * math/libm-test.inc ("Philosophy"): Update comment about
40044 exception testing.
40045 (OVERFLOW_EXCEPTION): Define.
40046 (OVERFLOW_EXCEPTION_OK): Likewise.
40047 (INVALID_EXCEPTION_OK): Renumber.
40048 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40049 (IGNORE_ZERO_INF_SIGN): Likewise.
40050 (test_exceptions): Handle FE_OVERFLOW.
40051 (exp10_test): Expect overflow exceptions.
40052 (exp2_test): Likewise.
40053 (expm1_test): Likewise.
40054 (nextafter_test): Likewise.
40055 (pow_test): Likewise.
40056 (scalbn_test): Likewise.
40057 (scalbln_test): Likewise.
40058
95443d88
L
400592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40060
40061 * sysdeps/x86_64/bits/atomic.h
40062 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40063 64bit integer.
40064 (atomic_exchange_acq): Likewise.
40065 (__arch_exchange_and_add_body): Likewise.
40066 (__arch_add_body): Likewise.
40067 (atomic_add_negative): Likewise.
40068 (atomic_add_zero): Likewise.
40069
490df6c4
L
400702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40071
c2722551 40072 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
40073 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40074
5e52b189
L
400752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40076
40077 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40078 Check __x86_64__ instead of __WORDSIZE.
40079
a9879d4c
L
400802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40081
40082 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40083
5df98260
DM
400842012-03-19 David S. Miller <davem@davemloft.net>
40085
e1497744
DM
40086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40087
5df98260
DM
40088 * sysdeps/sparc/fpu/fenv_private.h: New file.
40089 * sysdeps/sparc/fpu/math_private.h: Use it.
40090 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40091 Remove.
57f41c40 40092 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
40093 (libc_feholdexcept_setroundl): Remove.
40094 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40095 Remove.
40096 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40097 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40098
b4c35121
L
400992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40100
40101 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40102 int64_t instead of long int.
40103 (INSERT_WORDS64): Likwise.
40104
56965fd7
L
401052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40106
40107 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40108 _Unwind_GetCFA return to _Unwind_Ptr first.
40109
83d1aec8
JM
401102012-03-19 Joseph Myers <joseph@codesourcery.com>
40111
1897ad44
JM
40112 [BZ #13629]
40113 * math/s_clog.c: Include <float.h>.
40114 (__clog): Scale large or subnormal inputs.
40115 * math/s_clogf.c: Likewise.
40116 * math/s_clogl.c: Likewise.
40117 * math/s_clog10.c: Include <float.h>.
40118 (M_LOG10_2): Define.
40119 (__clog10): Scale large or subnormal inputs.
40120 * math/s_clog10f.c: Likewise.
40121 * math/s_clog10l.c: Likewise.
40122 * math/libm-test.inc (clog_test): Add more tests.
40123 (clog10_test): Likewise.
40124 * sysdeps/i386/fpu/libm-test-ulps: Update.
40125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40126
7726d6a9
JM
40127 [BZ #11451]
40128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40129 x and y.
40130 * math/libm-test.inc (atan2_test): Add another test.
40131
83d1aec8
JM
40132 * Makerules (common-objdir-compile): Remove.
40133 * sysdeps/unix/Makefile (config-generated): Do not add
40134 $(unix-generated) to variable.
40135 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40136 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40137 Remove rule.
40138 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40139 Likewise.
40140 [generic bits/local_lim.h] (before-compile): Do not append to
40141 variable.
40142 [generic bits/local_lim.h] (common-generated): Likewise.
40143 [generic sys/param.h] (before-compile): Do not append to variable.
40144 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40145 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40146 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40147 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40148 include.
40149 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40150 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40151 [generic sys/param.h] ($(addprefix
40152 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40153 [generic sys/param.h] (common-generated): Do not append to
40154 variable.
40155 [generic sys/param.h] (sysdep_headers): Likewise.
40156 [generic bits/errno.h] (before-compile): Do not append to
40157 variable.
40158 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40159 rule.
40160 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40161 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40162 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40163 [generic bits/errno.h] (common-generated): Do not append to
40164 variable.
40165 [generic bits/ioctls.h] (before-compile): Do not append to
40166 variable.
40167 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40168 rule.
40169 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40170 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40171 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40172 rule.
40173 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40174 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40175 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40176 [generic bits/ioctls.h] (common-generated): Do not append to
40177 variable.
40178 [generic sys/syscall.h] (syscall.h): Remove variable.
40179 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40180 rule.
40181 [generic sys/syscall.h] (before-compile): Do not append to
40182 variable.
40183 [generic sys/syscall.h] (common-generated): Likewise.
40184 * sysdeps/unix/errnos-tmpl.c: Remove file.
40185 * sysdeps/unix/errnos.awk: Likewise.
40186 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40187 * sysdeps/unix/ioctls.awk: Likewise.
40188 * sysdeps/unix/mk-local_lim.c: Likewise.
40189 * sysdeps/unix/snarf-ioctls: Likewise.
40190
4851a949
RH
401912012-03-19 Richard Henderson <rth@twiddle.net>
40192
bd37f2ee
RH
40193 * sysdeps/i386/fpu/fenv_private.h: New file.
40194 * sysdeps/i386/fpu/math_private.h: Use it.
40195 (math_opt_barrier, math_force_eval): Remove.
40196 (libc_feholdexcept_setround_53bit): Remove.
40197 (libc_feupdateenv_53bit): Remove.
40198 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40199 (math_opt_barrier, math_force_eval): Remove.
40200 (libc_feholdexcept): Remove.
40201 (libc_feholdexcept_setround): Remove.
40202 (libc_fetestexcept, libc_fesetenv): Remove.
40203 (libc_feupdateenv_test): Remove.
40204 (libc_feupdateenv, libc_feholdsetround): Remove.
40205 (libc_feresetround): Remove.
40206
d0adc922
RH
40207 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40208 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40209
0fe0f1f8
RH
40210 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40211 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40212 (libc_feupdateenv_testl): New.
40213 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40214 (libc_feupdateenv_testf): New.
40215 (libc_feupdateenv): Use libc_feupdateenv_test.
40216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40217 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40218
eb92c487
RH
40219 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40220 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40221 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40222 (libc_feresetround_noex): New.
40223 (libc_feresetround_noexf): New.
40224 (libc_feresetround_noexl): New.
40225 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40226 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40227 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40228 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40229 SET_RESTORE_ROUND.
40230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40232 (__cos): Likewise.
40233 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40234 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40235 SET_RESTORE_ROUND_NOEX.
40236 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40237 SET_RESTORE_ROUND_NOEXF.
40238 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40239 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40240 (libc_feholdsetroundf): New.
40241 (libc_feresetround, libc_feresetroundf): New.
40242
7d2e8012
RH
40243 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40244 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40245 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40246
b4dabbb4
RH
40247 * sysdeps/generic/math_private.h: Include <fenv.h>.
40248 (default_libc_feholdexcept): New.
40249 (default_libc_feholdexcept_setround): New.
40250 (default_libc_fesetenv, default_libc_feupdateenv): New.
40251 (libc_feholdexcept): Only define if undefined.
40252 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40253 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40254 (libc_feholdexcept_setroundl): Likewise.
40255 (libc_feholdexcept_setround_53bit): Likewise.
40256 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40257 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40258 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40259 (libc_feupdateenv_53bit): Likewise.
40260 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40261 (libc_feholdexcept): Convert from macro to inline function.
40262 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40263 (libc_fesetenv, libc_feupdateenv): Likewise.
40264
4851a949
RH
40265 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40266 not previously defined.
40267 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40268 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40269 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40270 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40271 * sysdeps/ieee754/flt-32/math_private.h: New file.
40272 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40273 math_private.h below SET_FLOAT_WORD.
40274 (__isnan, __isinf_ns, __finite): Remove.
40275 (__isnanf, __isinf_nsf, __finitef): Remove.
40276
e79d442e
AS
402772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40278
40279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40280
90b80344
DM
402812012-03-17 David S. Miller <davem@davemloft.net>
40282
40283 [BZ #6471]
40284 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40285 for 2.16.
40286
edc21804
DM
402872012-03-16 David S. Miller <davem@davemloft.net>
40288
77e927af
DM
40289 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40290 warnings.
40291
374976dd
DM
40292 [BZ #6471]
40293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40294 properly.
40295 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40296 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40297 sysdep_routines when subdir is sysvipc.
40298 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40299 __getshmlba helper.
40300
edc21804
DM
40301 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40302
473c3ef3
L
403032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40304
40305 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40306 [__LP64__].
40307
eb0f39b6
L
403082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40309
40310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40311 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40312 (__lround): Renamed to ...
40313 (__llround): This. Replace long int with long long int.
40314 Define lround functions as aliases of llround functions.
40315 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40316
6b6cd74b
L
403172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40318
40319 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40320 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40321 adresses to uintptr_t. Replace "long int" and "unsigned long
40322 int" with "greg_t" on va_arg.
40323
f1a77b01
L
403242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40325
40326 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40327 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40328
40329 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40330 Move e_machine check before EI_CLASS check. Handle x32
40331 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40332 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40333 SKIP_EM_IA_64 and include
40334 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40335
40336 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40337 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40338 (add_system_dir): New macro.
40339
40340 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40341 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40342
11b90b9f
JM
403432012-03-16 Joseph Myers <joseph@codesourcery.com>
40344
c36e1d23
JM
40345 [BZ #2551]
40346 [BZ #2552]
40347 [BZ #2553]
40348 [BZ #2554]
40349 [BZ #2562]
40350 [BZ #2563]
40351 [BZ #2565]
40352 [BZ #2566]
40353 [BZ #2576]
40354 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40355 (y0): Likewise.
40356 * math/w_j0f.c (j0f): Likewise.
40357 (y0f): Likewise.
40358 * math/w_j0l.c (__j0l): Likewise.
40359 (__y0l): Likewise.
40360 * math/w_j1.c (j1): Likewise.
40361 (y1): Likewise.
40362 * math/w_j1f.c (j1f): Likewise.
40363 (y1f): Likewise.
40364 * math/w_j1l.c (__j1l): Likewise.
40365 (__y1l): Likewise.
40366 * math/w_jn.c (jn): Likewise.
40367 (yn): Likewise.
40368 * math/w_jnf.c (jnf): Likewise.
40369 (ynf): Likewise.
40370 * math/w_jnl.c (__jnl): Likewise.
40371 (__ynl): Likewise.
40372 * math/libm-test.inc (j0_test): Add more tests.
40373 (j1_test): Likewise.
40374 (jn_test): Likewise. Add trailing semicolon to existing test.
40375 (y0_test): Likewise.
40376 (y1_test): Likewise.
40377 * sysdeps/i386/fpu/libm-test-ulps: Update.
40378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40379
11b90b9f
JM
40380 [BZ #13851]
40381 [BZ #13854]
40382 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40383 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40384 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40386 (__tanl): Set errno for infinite argument.
40387 * sysdeps/i386/fpu/mptan.c: Remove.
40388 * sysdeps/i386/fpu/s_tan.S: Likewise.
40389 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40390 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40391 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40392 * math/libm-test.inc (tan_test): Add more tests and enable more
40393 tests for double and long double.
40394 * sysdeps/i386/fpu/libm-test-ulps: Update.
40395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40396
6a1bd2a1
JK
403972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40398
40399 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40400 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40401
10a803e0
RM
404022012-03-16 Roland McGrath <roland@hack.frob.com>
40403
40404 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40405 * configure.in: Use it for both main tree and add-ons.
40406 * configure: Regenerated.
40407
f196c7f7
L
404082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40409
40410 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40411
8848d99d
JM
404122012-03-16 Joseph Myers <joseph@codesourcery.com>
40413
96cbe7f4
JM
40414 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40415 in comment.
40416
8848d99d
JM
40417 [BZ #13851]
40418 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40419 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40420 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40423 infinite argument.
40424 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40426 != 0 for prec == 2.
40427 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40428 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40429 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40430 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40431 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40432 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40433 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40434 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40435 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40436 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40437 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40438 * math/libm-test.inc (cos_test): Add more tests and enable more
40439 tests for long double.
40440 (sin_test): Likewise.
40441 (sincos_test): Likewise.
40442 * sysdeps/i386/fpu/libm-test-ulps: Update.
40443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40444
dd7f4703
DM
404452012-03-16 David S. Miller <davem@davemloft.net>
40446
40447 * sysdeps/sparc/fpu/math_private.h: New file.
40448
006f1daa
DM
404492012-03-15 David S. Miller <davem@davemloft.net>
40450
c0c83bc8
DM
40451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40452 file.
e6a62e18 40453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
40454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40455 file.
e6a62e18
DM
40456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40462 sysdep routines.
40463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40464
88cb87d9
DM
40465 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40466 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40467
006f1daa 40468 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
40469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40470 sparc-ifunc.h
006f1daa 40471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
40472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40473 Likewise.
40474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40475 Likewise.
006f1daa
DM
40476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
40479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40480 Likewise.
006f1daa
DM
40481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
40485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40486 Likewise.
40487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40488 Likewise.
006f1daa
DM
40489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40513
11e0098e
AS
405142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40515
40516 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40517 scaling.
40518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40519
e85b09d0
AJ
405202012-03-15 Andreas Jaeger <aj@suse.de>
40521
40522 [BZ #13852]
40523 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40524 ieee754/flt-32 implementation for sin, cos and sincos.
40525 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40526 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40527 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40528 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40529 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40530 ieee754/flt-32 implementation for tan.
40531
40532 * math/libm-test.inc (cos_test): Enable some large input tests for
40533 float as well
40534 (sin_test): Likewise.
40535 (sincos_test): Likewise.
40536 (tan_test): Add tests for large input.
40537
40538 * sysdeps/i386/fpu/libm-test-ulps: Update.
40539
81c64153
AJ
405402012-03-15 Andreas Jaeger <aj@suse.de>
40541
40542 [BZ #13658]
40543 * math/libm-test.inc (cos_test): Add more test cases.
40544 (sin_test): Likewise.
40545 (sincos_test): Likewise.
40546
7bbfa5c6
AJ
405472012-03-15 Andreas Jaeger <aj@suse.de>
40548
40549 [BZ #13837]
40550 * math/libm-test.inc (cos_test): Add a test case for large input
40551 value.
40552 (sin_test): Likewise.
40553 (sincos_test): Likewise.
40554
57f41c40
AS
405552012-03-15 Andreas Jaeger <aj@suse.de>
40556 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
40557
40558 [BZ #13658]
0671f479 40559 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
40560 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40561 * sysdeps/i386/fpu/branred.c: Likewise.
40562 * sysdeps/i386/fpu/dosincos.c: Likewise.
40563 * sysdeps/i386/fpu/mpa.c: Likewise.
40564 * sysdeps/i386/fpu/s_cos.S: Likewise.
40565 * sysdeps/i386/fpu/s_sin.S: Likewise.
40566 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40567 * sysdeps/i386/fpu/sincos32.c: Likewise.
40568
40569 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40570 Define.
40571 (libc_feupdateenv_53bit): Define.
40572 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40573 Define.
40574 (libc_feupdateenv_53bit): Define.
40575
40576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40577 53 bit (without extend i386 double precision).
40578
40579 * math/libm-test.inc (sincos_test): Add tests for large input.
40580 (sin): Likewise.
40581 (cos): Likewise.
40582
40583 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40584
9cad04ea
AS
405852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40586
40587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40588
f7062b9a
DM
405892012-03-15 David S. Miller <davem@davemloft.net>
40590
40591 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40592 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40593 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40594 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
40606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40607 file.
f7062b9a 40608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
40609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40610 file.
f7062b9a 40611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40613 file.
f7062b9a 40614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
40615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40616 file.
f7062b9a
DM
40617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40619 fmin/fmax sysdep routines.
40620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40621
7bd951ff
DM
406222012-03-14 David S. Miller <davem@davemloft.net>
40623
559398ab
DM
40624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40646 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40653 routines.
40654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40655 file.
559398ab 40656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
40657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40658 file.
559398ab 40659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
40660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40661 file.
559398ab 40662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
40663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40664 file.
559398ab 40665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
40666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40667 file.
559398ab 40668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
40669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40670 file.
40671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40672 file.
40673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40674 file.
40675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40676 file.
40677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40678 New file.
40679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40680 file.
40681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40682 file.
559398ab 40683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
40684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40685 file.
559398ab 40686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40688 file.
559398ab 40689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
40690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40691 file.
559398ab 40692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
40693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40694 VIS3 routines.
559398ab
DM
40695
40696 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40697 New file.
40698
5a1c1e32
DM
40699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40700
eae47a36
DM
40701 * sysdeps/sparc/configure.in: New file.
40702 * sysdeps/sparc/configure: Generate.
40703 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40704 * configure: Regenerate.
40705 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40706 * config.make.in (have-as-vis3): New.
40707 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40708 available use -Av9d instead of -Av9a.
40709 * sysdeps/sparc/sparc64/Makefile: Likewise.
40710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
40711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40712 New file.
40713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40714 file.
40715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40716 New file.
40717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40718 file.
eae47a36
DM
40719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40724
c0c83bc8
DM
40725 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40726 fzeros/fnegs to load 0x80000000 into a float register instead of
40727 using the stack.
7bd951ff
DM
40728 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40729
bd951ccb
JM
407302012-03-14 Joseph Myers <joseph@codesourcery.com>
40731
40732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40733 bits/syscall.h.
40734 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40735 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40736 ($(inst_includedir)/bits/syscall.h): Remove rule.
40737 ($(objpfx)bits/syscall.d): Include instead of
40738 $(objpfx)syscall-list.d.
40739 (generated): Change syscall-list.h and syscall-list.d to
40740 bits/syscall.h and bits/syscall.d.
40741
bb4e6db2
RM
407422012-03-14 Roland McGrath <roland@hack.frob.com>
40743
40744 [BZ #13846]
40745 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40746
aa4a2ae1
JM
407472012-03-14 Joseph Myers <joseph@codesourcery.com>
40748
e456826d
JM
40749 [BZ #13841]
40750 * math/s_csqrt.c: Include <float.h>.
40751 (__csqrt): Scale large or subnormal inputs.
40752 * math/s_csqrtf.c: Likewise.
40753 * math/s_csqrtl.c: Likewise.
40754 * math/libm-test.inc (csqrt_test): Add more tests.
40755 * sysdeps/i386/fpu/libm-test-ulps: Update.
40756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40757
aa4a2ae1
JM
40758 [BZ #13840]
40759 * math/libm-test.inc (hypot_test): Add more tests.
40760
7c10fd35
DM
407612012-03-13 David S. Miller <davem@davemloft.net>
40762
40763 [BZ #13840]
40764 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40765 double-precision for the calculation instead of scaling.
40766
f453b98b
JM
407672012-03-13 Joseph Myers <joseph@codesourcery.com>
40768
40769 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40770 manipulate bits before adding and subtracting TWO52[sx].
40771 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40772 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40773 Likewise.
40774 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40775
09a3453f
DM
407762012-03-13 David S. Miller <davem@davemloft.net>
40777
8e59da90
DM
40778 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40779 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40781 rtld-global-offsets.h
40782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40783
2a8ab7f2
DM
40784 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40785 large parameters.
40786
10f62770
DM
40787 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40788
5f0bdb18
DM
40789 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40790 'err' in the ifdef scope in which it is actually used.
40791
09a3453f
DM
40792 * nss/nss_db/db-init.c: Include string.h
40793
b4b2eb5e
DM
407942012-03-12 David S. Miller <davem@davemloft.net>
40795
98bb2f1c
DM
40796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40797 masking out of the most significant byte of random value used.
40798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40799 Fix coding style in previous change.
40800
b4b2eb5e
DM
40801 * sysdeps/unix/sysv/linux/kernel-features.h
40802 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40803 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40804 expression.
40805 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40806 later.
40807
6e226b09
DM
408082012-03-11 David S. Miller <davem@davemloft.net>
40809
a1bcbd40
DM
40810 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40811 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40813 for 'resultvar' otherwise things get truncated on 64-bit.
40814
cb9d6174
DM
40815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40816 Fix masking out of the most significant byte of random value used.
40817
6e226b09
DM
40818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40819
058c132d
AS
408202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40821
40822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40823
2d2cd515
DM
408242012-03-09 David S. Miller <davem@davemloft.net>
40825
40826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40827 variables with appropriate CPP guards.
57f41c40
AS
40828 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40829 from the frame pointer, not the stack pointer. Correct layout
40830 comments. Fix test on resulting framesize and the management of
40831 the outregs buffer for pltexit. Preserve floating point return
40832 values across _dl_call_pltexit call.
2d2cd515
DM
40833 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40834 framesize and the management of the outregs buffer for pltexit.
40835 Preserve floating point return values across _dl_call_pltexit
40836 call.
57f41c40
AS
40837 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40838 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40839 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40840 (print_exit): Fix format string for return register value.
40841
9a07f9d0
JM
408422012-03-10 Joseph Myers <joseph@codesourcery.com>
40843
40844 * sunrpc/Makefile (others): Add rpcgen.
40845 ($(objpfx)rpcgen): Remove special build rule and dependency on
40846 libc.
40847 * sunrpc/rpcgen.c: New file.
40848
547b5e30
PE
408492012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40850
c524201a
PE
40851 [BZ #13673]
40852 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40853 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40854 * sysdeps/i386/crti.S: Likewise.
40855 * sysdeps/i386/crtn.S: Likewise.
40856 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40857 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40858 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40859 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40860 * sysdeps/sh/crti.S: Likewise.
40861 * sysdeps/sh/crtn.S: Likewise.
40862 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40863
7b6235f2
PE
40864 [BZ #13673]
40865 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40866 with URL.
40867 * locale/programs/locfile-kw.gperf: Likewise.
40868 * locale/programs/charmap-kw.h: Regenerated.
40869 * locale/programs/locfile-kw.h: Likewise.
40870
547b5e30
PE
40871 [BZ #13673]
40872 * intl/plural.y: Replace FSF snail mail address with URL.
40873 * intl/plural.c: Regenerated.
40874
5f0a5dae
RH
408752012-03-09 Richard Henderson <rth@twiddle.net>
40876
40877 * include/math_private.h: Remove file.
40878 * math/math_private.h: Move file ...
40879 * sysdeps/generic/math_private.h: ... here.
40880
b8c03620
RH
40881 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40882 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40883 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40884
4e234f5d 40885 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40886 and <math_private.h>.
40887 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40888 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40889 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40890 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40891 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40895 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40912 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40913 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40919 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40920 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40921 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40923 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40925 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40927 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40928 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40933 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40940 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40943 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40945 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40961 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40965 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40967 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40968 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40971 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40974 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40975 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40976 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40977 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40978 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40979 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40980 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40981 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40982 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40983 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40984 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40985 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40986 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40987 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40988 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40989 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40990 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40991 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40992 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40993 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40994 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40995 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40997 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40998 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40999 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41000 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41001 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41003 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41004 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41005 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41006 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41007 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41008 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41009 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41010 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41011 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41012 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41013 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41014 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41015 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41016 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41017 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41018 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41019 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41020 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41021 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41022 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41023 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41025 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41026 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41027 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41028 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41029 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41030 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41031 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41032 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41033 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41034 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41035 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41036 * sysdeps/ieee754/k_standard.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41087 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41088 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41089 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41097 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41104 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41111 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41113 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41114 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41116 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41117 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41118 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41119 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41122 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41123 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41124 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41127 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41128 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41129 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41130 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41132 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41133 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41134 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41135 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41136 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41138 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41141 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41142 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41143 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41144 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41145 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41146 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41147 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41148 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41149 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41150 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41151 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41152 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41153 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41154 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41156 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41157 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41158 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41159 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41160 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41161 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41162 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41163 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41164 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41165 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41167 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41168 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41169 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41170 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41172 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41173 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41177 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41185 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41186 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41197 * sysdeps/ieee754/s_lib_version.c: Likewise.
41198 * sysdeps/ieee754/s_matherr.c: Likewise.
41199 * sysdeps/ieee754/s_signgam.c: Likewise.
41200 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41201 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41202 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41203 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41204 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41205 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41206 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41207 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41208 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41209 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41210 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41211 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41212 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41213 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41214 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41215 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41216 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41217 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41218 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41221
1991fa03
JM
412222012-03-09 Joseph Myers <joseph@codesourcery.com>
41223
41224 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41225 * sunrpc/rpc_main.c: Likewise.
41226 * sunrpc/rpc_svcout.c: Likewise.
41227
60d6f5a6
DM
412282012-03-09 David S. Miller <davem@davemloft.net>
41229
41230 * include/math_private.h: New file.
41231
4962050e
JM
412322012-03-09 Joseph Myers <joseph@codesourcery.com>
41233
02a6f887
JM
41234 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41235 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41236 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41237 from <bits/socket_type.h>.
41238 (enum __socket_type): Don't define here.
41239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41241 bits/socket_type.h.
41242
c6e013c1
JM
41243 [BZ #13566]
41244 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41245 checking __USE_GNU.
41246
4962050e
JM
41247 * Makerules ($(inst_includedir)/%.h): New rule.
41248 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41249 (install-others): Remove variable setting.
41250 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41251
38842f45
RH
412522012-03-08 Richard Henderson <rth@twiddle.net>
41253
67bb6da6
RH
41254 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41255 from macro to inline function; merge with the
41256 !__LIBC_INTERNAL_MATH_INLINES version.
41257 (__ieee754_sqrtf): Likewise.
41258
15194b4b
RH
41259 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41260 to inline function.
41261 (__rintf, __floor, __floorf): Likewise.
41262
64e21ede
RH
41263 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41264 macro to inline function.
41265 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41266
38842f45
RH
41267 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41268 not <math/math_private.h>.
41269
c64bf5fe
DM
412702012-03-08 David S. Miller <davem@davemloft.net>
41271
41272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41273 copyright year.
41274 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41275
82d86f28
TS
412762012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41277
41278 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41279 normalization.
41280 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41281 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41282
aea5d727
UD
412832012-03-08 Ulrich Drepper <drepper@gmail.com>
41284
41285 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41286 be defined individually, they must be defined as a block. Define
41287 S for printing a string instead of hidint the different by using a
41288 macro for adding the 'l'.
41289 * stdio-common/tst-fphex-wide.c: Adjust.
41290
70bca0a3
MP
412912012-03-07 Marek Polacek <polacek@redhat.com>
41292
41293 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41294
65b81130
MP
412952012-03-08 Marek Polacek <polacek@redhat.com>
41296
41297 [BZ #13806]
41298 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41299 * stdio-common/tst-fphex.c: Define a few macros to make the
41300 test reusable. Use them.
41301 * stdio-common/tst-fphex-wide.c: New file.
41302
07037eeb
JM
413032012-03-08 Joseph Myers <joseph@codesourcery.com>
41304
a7a93d50
JM
41305 [BZ #6911]
41306 * manual/macros.texi (gnusystems): New macro.
41307 (nongnusystems): Likewise.
41308 (gnulinuxhurdsystems): Likewise.
41309 (gnuhurdsystems): Likewise..
41310 (gnulinuxsystems): Likewise.
41311 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41312 variants of the GNU system, not "GNU system".
41313 * manual/conf.texi: Likewise.
41314 * manual/errno.texi: Likewise. Update example of errno macro
41315 expansion.
41316 * manual/filesys.texi: Likewise.
41317 (getumask): Document as specific to GNU/Hurd.
41318 * manual/install.texi: Likewise. Reword some references to
41319 GNU/Linux.
41320 * manual/intro.texi: Likewise.
41321 * manual/io.texi: Likewise.
41322 (File Name Portability): Detail which constraints are inapplicable
41323 to all GNU systems and which are only inapplicable to GNU/Hurd.
41324 * manual/job.texi: Likewise.
41325 * manual/llio.texi: Likewise.
41326 (O_NOCTTY): Document as present on GNU/Linux.
41327 * manual/maint.texi: Likewise.
41328 * manual/memory.texi: Likewise.
41329 * manual/pattern.texi: Likewise.
41330 * manual/pipe.texi: Likewise.
41331 * manual/process.texi: Likewise.
41332 * manual/resource.texi: Likewise.
41333 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41334 child on GNU/Hurd.
41335 * manual/setjmp.texi: Likewise.
41336 * manual/signal.texi: Likewise.
41337 * manual/startup.texi: Likewise.
41338 * manual/stdio.texi: Likewise.
41339 * manual/terminal.texi: Likewise.
41340 (ONLCR): Document as POSIX.
41341 (OXTABS): Document availability on GNU/Linux as XTABS.
41342 (ONOEOT): Document availability separately from other bits.
41343 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41344 * manual/time.texi: Likewise.
41345 * manual/users.texi: Likewise.
41346 * INSTALL: Regenerated.
41347 * sysdeps/gnu/errlist.c: Regenerated.
41348
07037eeb
JM
41349 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41350 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41351 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41352 puts.
41353 * configure: Regenerated.
41354
d1d3431a
JM
413552012-03-07 Joseph Myers <joseph@codesourcery.com>
41356
af6a1e37
JM
41357 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41358 default includes instead of AC_HEADER_CHECK.
41359 * sysdeps/i386/configure: Regenerated.
41360
d1d3431a
JM
41361 [BZ #10716]
41362 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41363 * math/s_cacoshf.c (__cacoshf): Likewise.
41364 * math/s_cacoshl.c (__cacoshl): Likewise.
41365 * math/s_casinh.c (__casinh): Set signs of result from argument.
41366 * math/s_casinhf.c (__casinhf): Likewise.
41367 * math/s_casinhl.c (__casinhl): Likewise.
41368 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41369 (casinh_test): Add more tests.
41370 * sysdeps/i386/fpu/libm-test-ulps: Update.
41371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41372
482ff4da
UD
413732012-03-07 Ulrich Drepper <drepper@gmail.com>
41374
872fda05
UD
41375 * po/zh_TW.po: Update from translation team.
41376
a4300c7a
UD
41377 * login/Makefile (distribute): Remove variable.
41378 * catgets/Makefile: Likewise.
41379 * mach/Makefile: Likewise.
41380 * malloc/Makefile: Likewise.
41381 * misc/Makefile: Likewise.
41382 * iconv/Makefile: Likewise.
41383 * nscd/Makefile: Likewise.
41384 * hurd/Makefile: Likewise.
41385 * manual/Makefile: Likewise.
41386 * locale/Makefile: Likewise.
41387 * intl/Makefile: Likewise.
41388 * conform/Makefile: Likewise.
41389 * nss/Makefile: Likewise.
41390 * time/Makefile: Likewise.
41391 * soft-fp/Makefile: Likewise.
41392 * dirent/Makefile: Likewise.
41393 * gmon/Makefile: Likewise.
41394 * po/Makefile: Likewise.
41395 * rt/Makefile: Likewise.
41396 * socket/Makefile: Likewise.
41397 * math/Makefile: Likewise.
41398 * signal/Makefile: Likewise.
41399 * debug/Makefile: Likewise.
41400 * elf/Makefile: Likewise.
41401 * timezone/Makefile: Likewise.
41402 * stdlib/Makefile: Likewise.
41403 * iconvdata/Makefile: Likewise.
41404 * sunrpc/Makefile: Likewise.
41405 * io/Makefile: Likewise.
41406 * argp/Makefile: Likewise.
41407 * inet/Makefile: Likewise.
41408 * hesiod/Makefile: Likewise.
41409 * grp/Makefile: Likewise.
41410 * csu/Makefile: Likewise.
41411 * wctype/Makefile: Likewise.
41412 * crypt/Makefile: Likewise.
41413 * libio/Makefile: Likewise.
41414 * string/Makefile: Likewise.
41415 * nis/Makefile: Likewise.
41416 * resolv/Makefile: Likewise.
41417 * stdio-common/Makefile: Likewise.
41418 * wcsmbs/Makefile: Likewise.
41419 * dlfcn/Makefile: Likewise.
41420 * posix/Makefile: Likewise.
41421
3b7c4e74 41422 [BZ #6959]
482ff4da
UD
41423 * timezone/Makefile: Don't install timezone files, just the programs
41424 and scripts.
41425
f72ed77d
UD
414262012-03-06 Ulrich Drepper <drepper@gmail.com>
41427
a000466f
UD
41428 * nss/databases.def: Add missing gshadow entry.
41429
f72ed77d
UD
41430 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41431
a53b7a4e
MP
414322012-03-06 Marek Polacek <polacek@redhat.com>
41433
41434 [BZ #13726]
41435 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41436 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41437 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41438 * stdio-common/tst-long-dbl-fphex.c: New file.
41439
e9258400
DM
414402012-03-06 David S. Miller <davem@davemloft.net>
41441
41442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41443 (set_obp_int): New function.
41444 (get_obp_int): New function.
41445 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
41446 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41447 Avoid unused variable warnings on 'val' and use builtin_expect.
41448 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41449 __builtin_expect.
e9258400
DM
41450 (INLINE_CLONE_SYSCALL): Likewise.
41451
3bd2c723
DM
414522012-03-05 David S. Miller <davem@davemloft.net>
41453
41454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41455
bbb78d03
AS
414562012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41457
884c5db4
AS
41458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41459
bbb78d03
AS
41460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41461 only for |x| >= 40.
41462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41463
1c9f702a 414642012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
41465
41466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41467 Replace gettimeofday with __vdso_gettimeofday.
41468
7be16f82
RM
41469 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41470 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41471 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
41472
41473 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41474 time with __vdso_time.
41475
ed58a00f
JM
414762012-03-05 Joseph Myers <joseph@codesourcery.com>
41477
41478 * manual/lang.texi (size_t): Note types to which size_t may be
41479 equivalent with the GNU C Library, but do not describe when
41480 differences between them are significant.
41481
30ee4ced
AJ
414822012-03-05 Andreas Jaeger <aj@suse.de>
41483
41484 * sysdeps/i386/fpu/libm-test-ulps: Update.
41485
b7cd39e8
JM
414862012-03-05 Joseph Myers <joseph@codesourcery.com>
41487
41488 [BZ #3976]
41489 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41490 (__ieee754_pow): Save and restore rounding mode and use
41491 round-to-nearest for main computations.
41492 * math/libm-test.inc (pow_test_tonearest): New function.
41493 (pow_test_towardzero): Likewise.
41494 (pow_test_downward): Likewise.
41495 (pow_test_upward): Likewise.
41496 (main): Call the new functions.
41497 * sysdeps/i386/fpu/libm-test-ulps: Update.
41498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
41499
41500 [BZ #3976]
41501 * math/libm-test.inc (cosh_test_tonearest): New function.
41502 (cosh_test_towardzero): Likewise.
41503 (cosh_test_downward): Likewise.
41504 (cosh_test_upward): Likewise.
41505 (sinh_test_tonearest): Likewise.
41506 (sinh_test_towardzero): Likewise.
41507 (sinh_test_downward): Likewise.
41508 (sinh_test_upward): Likewise.
41509 (main): Call the new functions.
41510 * sysdeps/i386/fpu/libm-test-ulps: Update.
41511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41512
6c6a98c9
TV
415132012-03-05 Tom de Vries <tom@codesourcery.com>
41514
41515 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41516 default stack guard is set in last bytes.
41517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41518
21bb2d2e 415192012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 41520
21bb2d2e 41521 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 41522
21bb2d2e
AJ
41523 [BZ #13656]
41524 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41525 possibly allocate from heap instead of stack.
41526 * stdio-common/bug-vfprintf-nargs.c: New file.
41527 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 41528
c6922934
AS
415292012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41530
41531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41532
bc957d53
MP
415332012-03-03 Marek Polacek <polacek@redhat.com>
41534
41535 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41536 * math/math_private.h: Likewise.
41537 * stdlib/tst-strtod.c: Likewise.
41538 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41539 * sysdeps/x86_64/bits/atomic.h: Likewise.
41540
6358490d
DM
415412012-03-02 David S. Miller <davem@davemloft.net>
41542
41543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41547 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41548 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41549 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41550 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41551
01ae168d
RM
415522012-03-02 Roland McGrath <roland@hack.frob.com>
41553
d9a17c07
RM
41554 [BZ #13792]
41555 * manual/examples/README: New file, says the example source files
41556 can be used under GPL>=2.
41557 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41558 line containing just "*/".
41559 * manual/examples/add.c: Add copyright header (GPL>=2).
41560 * manual/examples/argp-ex1.c: Likewise.
41561 * manual/examples/argp-ex2.c: Likewise.
41562 * manual/examples/argp-ex3.c: Likewise.
41563 * manual/examples/argp-ex4.c: Likewise.
41564 * manual/examples/atexit.c: Likewise.
41565 * manual/examples/db.c: Likewise.
41566 * manual/examples/dir.c: Likewise.
41567 * manual/examples/dir2.c: Likewise.
41568 * manual/examples/execinfo.c: Likewise.
41569 * manual/examples/filecli.c: Likewise.
41570 * manual/examples/filesrv.c: Likewise.
41571 * manual/examples/fmtmsgexpl.c: Likewise.
41572 * manual/examples/genpass.c: Likewise.
41573 * manual/examples/inetcli.c: Likewise.
41574 * manual/examples/inetsrv.c: Likewise.
41575 * manual/examples/isockad.c: Likewise.
41576 * manual/examples/longopt.c: Likewise.
41577 * manual/examples/memopen.c: Likewise.
41578 * manual/examples/memstrm.c: Likewise.
41579 * manual/examples/mkfsock.c: Likewise.
41580 * manual/examples/mkisock.c: Likewise.
41581 * manual/examples/mygetpass.c: Likewise.
41582 * manual/examples/pipe.c: Likewise.
41583 * manual/examples/popen.c: Likewise.
41584 * manual/examples/rprintf.c: Likewise.
41585 * manual/examples/search.c: Likewise.
41586 * manual/examples/select.c: Likewise.
41587 * manual/examples/setjmp.c: Likewise.
41588 * manual/examples/sigh1.c: Likewise.
41589 * manual/examples/sigusr.c: Likewise.
41590 * manual/examples/stpcpy.c: Likewise.
41591 * manual/examples/strdupa.c: Likewise.
41592 * manual/examples/strftim.c: Likewise.
41593 * manual/examples/strncat.c: Likewise.
41594 * manual/examples/subopt.c: Likewise.
41595 * manual/examples/swapcontext.c: Likewise.
41596 * manual/examples/termios.c: Likewise.
41597 * manual/examples/testopt.c: Likewise.
41598 * manual/examples/testpass.c: Likewise.
41599 * manual/examples/timeval_subtract.c: Likewise.
41600
01ae168d
RM
41601 [BZ #13792]
41602 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41603 function to ...
41604 * manual/timeval_subtract.c.texi: ... here, new file.
41605
49efa33d
DM
416062012-03-02 David S. Miller <davem@davemloft.net>
41607
41608 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41609
28afd92d
JM
416102012-03-02 Joseph Myers <joseph@codesourcery.com>
41611
804360ed
JM
41612 [BZ #3976]
41613 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41614 (__sin): Save and restore rounding mode and use round-to-nearest
41615 for all computations.
41616 (__cos): Save and restore rounding mode and use round-to-nearest
41617 for all computations.
41618 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41619 <fenv.h>.
41620 (tan): Save and restore rounding mode and use round-to-nearest for
41621 all computations.
41622 * math/libm-test.inc (cos_test_tonearest): New function.
41623 (cos_test_towardzero): Likewise.
41624 (cos_test_downward): Likewise.
41625 (cos_test_upward): Likewise.
41626 (sin_test_tonearest): Likewise.
41627 (sin_test_towardzero): Likewise.
41628 (sin_test_downward): Likewise.
41629 (sin_test_upward): Likewise.
41630 (tan_test_tonearest): Likewise.
41631 (tan_test_towardzero): Likewise.
41632 (tan_test_downward): Likewise.
41633 (tan_test_upward): Likewise.
41634 (main): Call the new functions.
41635 * sysdeps/i386/fpu/libm-test-ulps: Update.
41636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41637
a6d06d7b
JM
41638 [BZ #10135]
41639 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41640 small n, then large n, before computing and testing k+n.
41641 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41643 Likewise.
41644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41645 Likewise.
41646 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41647 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41648 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41649 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41653 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41654 * math/libm-test.inc (scalbn_test): Add more tests.
41655 (scalbln_test): Likewise.
41656
07e12bb3
JM
41657 * manual/filesys.texi (mode_t): Describe constraints on size and
41658 signedness, not exact equivalence to a particular type.
41659 (ino_t): Likewise.
41660 (ino64_t): Likewise.
41661 (dev_t): Likewise.
41662 (nlink_t): Likewise.
41663 (blkcnt_t): Likewise.
41664 (blkcnt64_t): Likewise.
41665 * manual/llio.texi (off_t): Likewise.
41666
28afd92d
JM
41667 [BZ #3976]
41668 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41669 (__ieee754_exp): Save and restore rounding mode and use
41670 round-to-nearest for all computations.
41671 * math/libm-test.inc (exp_test_tonearest): New function.
41672 (exp_test_towardzero): Likewise.
41673 (exp_test_downward): Likewise.
41674 (exp_test_upward): Likewise.
41675 (main): Call the new functions.
41676 * sysdeps/i386/fpu/libm-test-ulps: Update.
41677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41678
b1eeb65d
CD
416792012-03-01 Chris Demetriou <cgd@google.com>
41680
41681 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41682 have predictable order.
41683
53362a4b
DM
416842012-03-01 David S. Miller <davem@davemloft.net>
41685
3c969083
DM
41686 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41687
759707de
DM
41688 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41689 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41690 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41691 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41692
dfdb8ff2
DM
41693 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41694 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41695 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41697 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41698 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41699 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41700 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41701 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41702
ead89f96
DM
41703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41704
7f66bd07
DM
41705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41706 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41707 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41708
53362a4b
DM
41709 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41710 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41711 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41712 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41713 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41714 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41716 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41717 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41718 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41719 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41720 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41722 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41723 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41724 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41725 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41726 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41727 * sysdeps/sparc/elf/configure: Regenerated.
41728
7b1902cb
JM
417292012-03-01 Joseph Myers <joseph@codesourcery.com>
41730
bec039bc
JM
41731 * configure.in (AS, LD): Require binutils 2.20 or later.
41732 * configure: Regenerated.
41733 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41734 as required minimum version.
41735 * INSTALL: Regenerated.
41736
7b1902cb
JM
41737 [BZ #2541]
41738 [BZ #4108]
41739 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41740 before squaring exponent.
41741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41742 bottom long double and 27 bits of top long double before squaring
41743 exponent.
41744 * math/libm-test.inc (erfc_test): Add more tests.
41745 * sysdeps/i386/fpu/libm-test-ulps: Update.
41746 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41748
f775c276
KT
417492012-03-01 Kai Tietz <ktietz@redhat.com>
41750
41751 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41752 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41753 containing bit-fields.
41754 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41755 * soft-fp/single.h (_FP_UNION_S): Likewise.
41756 * soft-fp/double.h (_FP_UNION_D): Likewise.
41757
5b8a4d4a
JM
417582012-02-29 Joseph Myers <joseph@codesourcery.com>
41759
0bab47b6
JM
41760 [BZ #13786]
41761 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41762 not include ../strcmp.S.
41763 [USE_AS_STRNCASECMP_L]: Likewise.
41764 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41765 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41766 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41767 (__strncasecmp_l_ia32): Define as alias to
41768 __strncasecmp_l_nonascii.
41769
0fcad3e2
JM
41770 [BZ #5794]
41771 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41772 * sysdeps/i386/fpu/libm-test-ulps: Update.
41773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41774
5b8a4d4a
JM
41775 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41777
8fdceb2e
JL
417782012-02-29 Jeff Law <law@redhat.com>
41779
41780 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41781 out of bounds read.
41782
1f393a11
MP
417832012-02-29 Marek Polacek <polacek@redhat.com>
41784
41785 [BZ #13706]
41786 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41787 * elf/Makefile: Add rules to run tst-unused-dep.out.
41788
8847f037
DM
417892012-02-28 David S. Miller <davem@davemloft.net>
41790
41791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41795 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41796 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41797
169d7f11
JM
417982012-02-29 Joseph Myers <joseph@codesourcery.com>
41799
41800 * math/libm-test.inc (llround_test): Move one test from
41801 lround_test. Use TEST_f_L in moved test.
41802 (lround_test): Move misplaced test to llround_test. Add testcase
41803 from bug 2561.
41804
39adf059
UD
418052012-02-28 Ulrich Drepper <drepper@gmail.com>
41806
41807 * sysdeps/x86_64/fpu/e_expf.S: New file.
41808 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41809
71b5d1c5
SB
418102012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41811
41812 [BZ #13637]
41813 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41814 of remain_len that may cause incomplete multi-byte character and
41815 false match.
41816 * posix/bug-regex33.c: New file.
41817 * posix/Makefile (tests): Add bug-regex33.
41818
1f77f049
JM
418192012-02-28 Joseph Myers <joseph@codesourcery.com>
41820
41821 * manual/macros.texi: New file.
41822 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41823 * manual/libc.texinfo: Include macros.texi.
41824 * manual/creatute.texi: Likewise.
41825 * manual/install.texi: Likewise.
41826 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41827 @glibcadj{} in references to the GNU C Library.
41828 * manual/charset.texi: Likewise.
41829 * manual/conf.texi: Likewise.
41830 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41831 when not using those macros.
41832 * manual/creature.texi: Likewise.
41833 * manual/crypt.texi: Likewise.
41834 * manual/errno.texi: Likewise.
41835 * manual/filesys.texi: Likewise.
41836 * manual/header.texi: Likewise.
41837 * manual/install.texi: Likewise.
41838 * manual/intro.texi: Likewise.
41839 * manual/io.texi: Likewise.
41840 * manual/job.texi: Likewise.
41841 * manual/lang.texi: Likewise.
41842 * manual/libc.texiinfo: Likewise.
41843 * manual/llio.texi: Likewise.
41844 * manual/locale.texi: Likewise.
41845 * manual/maint.texi: Likewise.
41846 * manual/math.texi: Likewise.
41847 * manual/memory.texi: Likewise.
41848 * manual/message.texi: Likewise.
41849 * manual/nss.texi: Likewise.
41850 * manual/pattern.texi: Likewise.
41851 * manual/process.texi: Likewise.
41852 * manual/resource.texi: Likewise.
41853 * manual/search.texi: Likewise.
41854 * manual/setjmp.texi: Likewise.
41855 * manual/signal.texi: Likewise.
41856 * manual/socket.texi: Likewise.
41857 * manual/startup.texi: Likewise.
41858 * manual/stdio.texi: Likewise.
41859 * manual/string.texi: Likewise.
41860 * manual/sysinfo.texi: Likewise.
41861 * manual/syslog.texi: Likewise.
41862 * manual/terminal.texi: Likewise.
41863 * manual/time.texi: Likewise.
41864 * manual/users.texi: Likewise.
41865 * INSTALL: Regenerated.
41866 * NOTES: Regenerated.
d40c5d54 41867 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41868
450bf206
AS
418692012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41870
41871 * include/dirent.h: Include <dirstream.h> before
41872 <dirent/dirent.h>.
41873
741a235b
DM
418742012-02-28 David S. Miller <davem@davemloft.net>
41875
41876 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41877 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41878 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41879 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41880
d6b5aa58
DM
418812012-02-27 David S. Miller <davem@davemloft.net>
41882
1aff59a3
DM
41883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41885 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41886 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41887
d6b5aa58
DM
41888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41889 frame pointer instead of stack pointer relative arg slot.
41890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41891 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41892 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41893
433f48bf
CD
418942012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41895
41896 [BZ #3992]
41897 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41898
d674b76d
DM
418992012-02-27 David S. Miller <davem@davemloft.net>
41900
41901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41905 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41906 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41907 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41908 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41909
0e7727f7
JM
419102012-02-27 Joseph Myers <joseph@codesourcery.com>
41911
41912 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41913 later. Allow versions 5-9.
43be4ca2 41914 * configure: Regenerated.
0e7727f7
JM
41915 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41916 required minimum version and 4.6 as recommended version. Do not
41917 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41918 * INSTALL: Regenerated.
0e7727f7 41919
a78bc654
DM
419202012-02-27 David S. Miller <davem@davemloft.net>
41921
428d5830
DM
41922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41928 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41929 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41930
a78bc654
DM
41931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41932 manipulate bits before adding and subtracting TWO112[sx].
41933 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41934
4579f81c
RM
419352012-02-27 Roland McGrath <roland@hack.frob.com>
41936
36c8acb4
RM
41937 [BZ #13775]
41938 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41939 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41940 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41941 being in POSIX, because they are in 1003.1-2008.
41942
84ad622b
RM
41943 * rt/tst-aio.c: Include <fcntl.h>.
41944 * rt/tst-aio7.c: Likewise.
41945 * rt/tst-aio64.c: Likewise.
41946
4579f81c
RM
41947 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41948
abd923db
JM
419492012-02-27 Joseph Myers <joseph@codesourcery.com>
41950
41951 * manual/install.texi (--with-headers): Describe headers as
41952 interface headers, not private headers.
41953 (Specific advice for GNU/Linux systems): Describe use of headers
41954 from "make headers_install", not private headers from older
41955 kernels.
43be4ca2 41956 * INSTALL: Regenerated.
abd923db
JM
41957 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41958 Change to 2.6.19.
41959 * sysdeps/unix/sysv/linux/configure: Regenerated.
41960
6664049b
JM
41961 * manual/llio.texi (fclean): Remove documentation.
41962
bb8b6697
JM
41963 * manual/Makefile (libc-texi-generated): New variable. Include
41964 version.texi.
41965 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41966 $(libc-texi-generated), not duplicated list of files.
41967 (version.texi, stamp-version): New rules.
41968 (realclean): Remove $(libc-texi-generated), not individual files
41969 from that list. Do not remove dir-add.texinfo.
41970 * manual/libc.texinfo: Comment out uses of edition numbers and
41971 references to printed manual. Remove last-updated dates.
41972 (EDITION): Comment out.
41973 (ISBN): Likewise.
41974 (VERSION, UPDATED): Remove.
41975 (version.texi): Include.
41976
12e5c3b9
AS
419772012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41978
41979 * sysdeps/posix/spawni.c: Include <signal.h>.
41980 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41981 * sysdeps/pthread/aio_fsync.c: Likewise.
41982
4efeffc1 419832012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41984
ba63ba08
UD
41985 * conform/Makefile (tests): Run only when not cross-compiling and
41986 when fast-check is not defined.
41987
d94a4670
UD
41988 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41989 * conform/data/limits.h-data: Fixes for POSIX2008.
41990 * conform/run-conformtest.sh: Run all tests.
41991 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41992 headers.
41993 * include/bits/dlfcn.h: Likewise.
41994 * include/langinfo.h: Likewise.
41995 * include/monetary.h: Likewise.
41996 * include/sys/poll.h: Likewise.
41997
41998 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41999 for __USE_GNU.
42000 * posix/spawn.h: Define __need_sigset_t.
42001 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42002 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42003 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42004 to get sigevent_t only.
42005 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42006 only for __USE_GNU.
42007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42008 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42009 process_vm_writev only for __USE_GNU.
42010 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42011
42012 * conform/Makefile: For now ignore errors from run-conformtest.
42013 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42014 POSIX to avoid namespace pollution. Don't prepend headers.
42015 * conform/data/aio.h-data: Fixes for POSIX testing.
42016 * conform/data/fcntl.h-data: Likewise.
42017 * conform/data/glob.h-data: Likewise.
42018 * conform/data/grp.h-data: Likewise.
42019 * conform/data/pthread.h-data: Likewise.
42020 * conform/data/pwd.h-data: Likewise.
42021 * conform/data/signal.h-data: Likewise.
42022 * conform/data/spawn.h-data: Likewise.
42023 * conform/data/stdio.h-data: Likewise.
42024 * conform/data/stdlib.h-data: Likewise.
42025 * conform/data/stropts.h-data: Likewise.
42026 * conform/data/sys/mman.h-data: Likewise.
42027 * conform/data/sys/stat.h-data: Likewise.
42028 * conform/data/sys/types.h-data: Likewise.
42029 * conform/data/sys/wait.h-data: Likewise.
42030 * conform/data/time.h-data: Likewise.
42031 * conform/data/unistd.h-data: Likewise.
42032 * conform/data/utime.h-data: Likewise.
42033
42034 * io/sys/stat.h: fchmod was always in POSIX.
42035 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42036 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42037 * rt/aio.h: Define __need_timespec before including <time.h>.
42038 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42039 struct. Add forward declaration of pthread_attr_t and use it in
42040 sigevent.
42041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42043 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42044 always remove CLK_TCK definition.
42045
c20105c3
AS
420462012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42047
42048 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42049
7a270350
UD
420502012-02-25 Ulrich Drepper <drepper@gmail.com>
42051
31341567
UD
42052 * conform/run-conformtest.sh: New file.
42053 * conform/Makefile: Run run-conformtest for tests.
42054 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42055 support.
42056
42057 * conform/data/uchar.h-data: New file.
42058 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42059 * conform/data/arpa/inet.h-data: Likewise.
42060 * conform/data/assert.h-data: Likewise.
42061 * conform/data/complex.h-data: Likewise.
42062 * conform/data/cpio.h-data: Likewise.
42063 * conform/data/ctype.h-data: Likewise.
42064 * conform/data/dirent.h-data: Likewise.
42065 * conform/data/dlfcn.h-data: Likewise.
42066 * conform/data/errno.h-data: Likewise.
42067 * conform/data/fcntl.h-data: Likewise.
42068 * conform/data/float.h-data: Likewise.
42069 * conform/data/fmtmsg.h-data: Likewise.
42070 * conform/data/fnmatch.h-data: Likewise.
42071 * conform/data/ftw.h-data: Likewise.
42072 * conform/data/glob.h-data: Likewise.
42073 * conform/data/grp.h-data: Likewise.
42074 * conform/data/iconv.h-data: Likewise.
42075 * conform/data/inttypes.h-data: Likewise.
42076 * conform/data/langinfo.h-data: Likewise.
42077 * conform/data/libgen.h-data: Likewise.
42078 * conform/data/limits.h-data: Likewise.
42079 * conform/data/locale.h-data: Likewise.
42080 * conform/data/math.h-data: Likewise.
42081 * conform/data/monetary.h-data: Likewise.
42082 * conform/data/mqueue.h-data: Likewise.
42083 * conform/data/ndbm.h-data: Likewise.
42084 * conform/data/net/if.h-data: Likewise.
42085 * conform/data/netdb.h-data: Likewise.
42086 * conform/data/netinet/in.h-data: Likewise.
42087 * conform/data/nl_types.h-data: Likewise.
42088 * conform/data/poll.h-data: Likewise.
42089 * conform/data/pthread.h-data: Likewise.
42090 * conform/data/pwd.h-data: Likewise.
42091 * conform/data/regex.h-data: Likewise.
42092 * conform/data/sched.h-data: Likewise.
42093 * conform/data/search.h-data: Likewise.
42094 * conform/data/semaphore.h-data: Likewise.
42095 * conform/data/setjmp.h-data: Likewise.
42096 * conform/data/signal.h-data: Likewise.
42097 * conform/data/spawn.h-data: Likewise.
42098 * conform/data/stdarg.h-data: Likewise.
42099 * conform/data/stdio.h-data: Likewise.
42100 * conform/data/stdlib.h-data: Likewise.
42101 * conform/data/string.h-data: Likewise.
42102 * conform/data/strings.h-data: Likewise.
42103 * conform/data/stropts.h-data: Likewise.
42104 * conform/data/sys/ipc.h-data: Likewise.
42105 * conform/data/sys/mman.h-data: Likewise.
42106 * conform/data/sys/msg.h-data: Likewise.
42107 * conform/data/sys/resource.h-data: Likewise.
42108 * conform/data/sys/select.h-data: Likewise.
42109 * conform/data/sys/sem.h-data: Likewise.
42110 * conform/data/sys/shm.h-data: Likewise.
42111 * conform/data/sys/socket.h-data: Likewise.
42112 * conform/data/sys/stat.h-data: Likewise.
42113 * conform/data/sys/statvfs.h-data: Likewise.
42114 * conform/data/sys/time.h-data: Likewise.
42115 * conform/data/sys/timeb.h-data: Likewise.
42116 * conform/data/sys/times.h-data: Likewise.
42117 * conform/data/sys/types.h-data: Likewise.
42118 * conform/data/sys/uio.h-data: Likewise.
42119 * conform/data/sys/un.h-data: Likewise.
42120 * conform/data/sys/utsname.h-data: Likewise.
42121 * conform/data/sys/wait.h-data: Likewise.
42122 * conform/data/syslog.h-data: Likewise.
42123 * conform/data/tar.h-data: Likewise.
42124 * conform/data/termios.h-data: Likewise.
42125 * conform/data/utime.h-data: Likewise.
42126 * conform/data/utmpx.h-data: Likewise.
42127 * conform/data/varargs.h-data: Likewise.
42128 * conform/data/wchar.h-data: Likewise.
42129 * conform/data/wctype.h-data: Likewise.
42130 * conform/data/wordexp.h-data: Likewise.
42131
42132 * include/stropts.h: New file.
42133 * include/uchar.h: New file.
42134 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42135 * include/assert.h: Likewise.
42136 * include/ctype.h: Likewise.
42137 * include/dirent.h: Likewise.
42138 * include/dlfcn.h: Likewise.
42139 * include/fcntl.h: Likewise.
42140 * include/fnmatch.h: Likewise.
42141 * include/glob.h: Likewise.
42142 * include/grp.h: Likewise.
42143 * include/libio.h: Likewise.
42144 * include/locale.h: Likewise.
42145 * include/math.h: Likewise.
42146 * include/net/if.h: Likewise.
42147 * include/netdb.h: Likewise.
42148 * include/netinet/in.h: Likewise.
42149 * include/pthread.h: Likewise.
42150 * include/pwd.h: Likewise.
42151 * include/regex.h: Likewise.
42152 * include/sched.h: Likewise.
42153 * include/search.h: Likewise.
42154 * include/setjmp.h: Likewise.
42155 * include/signal.h: Likewise.
42156 * include/stdio.h: Likewise.
42157 * include/stdlib.h: Likewise.
42158 * include/string.h: Likewise.
42159 * include/sys/cdefs.h: Likewise.
42160 * include/sys/mman.h: Likewise.
42161 * include/sys/msg.h: Likewise.
42162 * include/sys/resource.h: Likewise.
42163 * include/sys/select.h: Likewise.
42164 * include/sys/socket.h: Likewise.
42165 * include/sys/stat.h: Likewise.
42166 * include/sys/statvfs.h: Likewise.
42167 * include/sys/time.h: Likewise.
42168 * include/sys/times.h: Likewise.
42169 * include/sys/uio.h: Likewise.
42170 * include/sys/utsname.h: Likewise.
42171 * include/sys/wait.h: Likewise.
42172 * include/termios.h: Likewise.
42173 * include/time.h: Likewise.
42174 * include/ulimit.h: Likewise.
42175 * include/unistd.h: Likewise.
42176 * include/utime.h: Likewise.
42177 * include/wchar.h: Likewise.
42178 * include/wctype.h: Likewise.
42179 * include/wordexp.h: Likewise.
42180
42181 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42182
7a270350
UD
42183 * time/time.h: TIME_UTC must be a macro.
42184 Make timespec_get available for ISO C11 only as well.
42185
7724defc
UD
421862012-02-24 Ulrich Drepper <drepper@gmail.com>
42187
42188 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42189 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42190
6b1d1d46
JM
421912012-02-24 Joseph Myers <joseph@codesourcery.com>
42192
42193 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42194
0f8bbd69
JM
421952012-02-24 Joseph Myers <joseph@codesourcery.com>
42196
42197 * manual/texinfo.tex: Update to version 2012-01-19.16.
42198
66ab80bc
JM
421992012-02-24 Joseph Myers <joseph@codesourcery.com>
42200
42201 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42202
74981cc5
RM
422032012-02-24 Roland McGrath <roland@hack.frob.com>
42204
ee968201
RM
42205 [BZ #13738]
42206 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42207 * manual/fdl-1.3.texi: New file.
42208 * manual/fdl-1.1.texi: File removed.
42209
74981cc5
RM
42210 [BZ #13738]
42211 * manual/libc.texinfo (FDL_VERSION): New @set.
42212 Use it for mention of FDL in cover text.
42213 (Documentation License): Use it in @include file name.
42214
7bb764bc
JM
422152012-02-22 Joseph Myers <joseph@codesourcery.com>
42216 Roland McGrath <roland@hack.frob.com>
42217
42218 [BZ #5461]
57f41c40
AS
42219 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42220 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42221 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42222 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42223 name.
42224 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42225
6cbeae47
JM
422262012-02-22 Joseph Myers <joseph@codesourcery.com>
42227
42228 [BZ #2547]
42229 [BZ #11365]
42230 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42231 manipulate bits before adding and subtracting TWO23[sx].
42232 * math/libm-test.inc (nearbyint_test): Add more tests.
42233
fe45ce09
JM
422342012-02-22 Joseph Myers <joseph@codesourcery.com>
42235
42236 [BZ #2548]
42237 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42238 bits before adding and subtracting TWO23[sx].
42239 * math/libm-test.inc (rint_test): Add more tests.
42240 (rint_test_tonearest): Likewise.
42241 (rint_test_towardzero): Likewise.
42242 (rint_test_downward): Likewise.
42243 (rint_test_upward: Likewise.
42244
ff3b3d82
JM
422452012-02-22 Joseph Myers <joseph@codesourcery.com>
42246
42247 [BZ #10110]
42248 * include/stdc-predef.h: New file. Extracted from features.h.
42249 * include/features.h: Include stdc-predef.h.
42250 * Makefile (headers): Add stdc-predef.h.
42251 * CONFORMANCE (Compiler limitations): Update.
42252
ef0aab35
JM
422532012-02-22 Joseph Myers <joseph@codesourcery.com>
42254
42255 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42256
58639409
DM
422572012-02-21 David S. Miller <davem@davemloft.net>
42258
42259 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42260 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42261
c0e70b25
DM
422622012-02-20 David S. Miller <davem@davemloft.net>
42263
42264 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42265 using a normal save/restore sequence, rather than allocating a
42266 dummy stack frame just to store a frame pointer and restore.
42267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42268
fb06851d
JM
422692012-02-21 Joseph Myers <joseph@codesourcery.com>
42270
42271 * manual/install.texi: Fix stray word in line-wrapped comment.
42272
7a8b71c3
DM
422732012-02-20 David S. Miller <davem@davemloft.net>
42274
d510c123
DM
42275 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42276 both binutils and gcc support GOTDATA.
42277
0722d7c2
DM
42278 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42279 "rd %pc" in the PIC register setup sequences.
42280
3d2b3019
DM
42281 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42282 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42283 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42284 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42285 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42287 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42288 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42290 (SYSCALL_ERROR_HANDLER): Likewise.
42291 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42292 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42294 (SYSCALL_ERROR_HANDLER): Likewise.
42295
c80098a9
DM
42296 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42297 (HAVE_GCC_GOTDATA): New.
42298 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42299 relocation support in both binutils and gcc.
42300 * sysdeps/sparc/elf/configure: Regenerate.
42301
3a2545a0
DM
42302 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42303 * sysdeps/sparc/sparc32/elf/configure: Delete.
42304 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42305 * sysdeps/sparc/sparc64/elf/configure: Delete.
42306 * sysdeps/sparc/elf/configure.in: New file.
42307 * sysdeps/sparc/elf/configure: Generate.
42308
7a8b71c3
DM
42309 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42310 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42311 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42312 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42313 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42314
f1e86fca
JM
423152012-02-21 Joseph Myers <joseph@codesourcery.com>
42316
42317 * manual/install.texi: Do not mention specific glibc version
42318 numbers.
42319 * manual/libc.texinfo (VERSION, UPDATED): Update.
42320 (@copying): Use @copyright{} and range of years.
42321
0e7dfaef
JM
423222012-02-21 Joseph Myers <joseph@codesourcery.com>
42323
42324 [BZ #13695]
42325 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42326 [crti.S not in sysdirs] (generated): Do not append.
42327 [crti.S not in sysdirs] (omit-deps): Likewise.
42328 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42329 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42330 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42331 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42332 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42333 Likewise.
42334 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42335 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42336 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42337 * csu/defs.awk: Remove file.
42338 * sysdeps/generic/initfini.c: Likewise.
42339 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42340 variable.
42341 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42342 Likewise.
42343
599af3ca
JM
423442012-02-20 Joseph Myers <joseph@codesourcery.com>
42345
42346 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42347 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42348 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42351 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42352 <bits/epoll.h>.
42353 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42354 (__EPOLL_PACKED): Define to empty if not defined by
42355 <bits/epoll.h>.
42356 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42358 bits/epoll.h.
42359
0e499750
JM
423602012-02-20 Joseph Myers <joseph@codesourcery.com>
42361
42362 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42363 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42364 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42365 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42366 <bits/timerfd.h>.
42367 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42369 bits/timerfd.h.
42370
5ad91f6e
JM
423712012-02-20 Joseph Myers <joseph@codesourcery.com>
42372
42373 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42374 in C locale.
42375 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42376 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42379
06b99b02
AJ
423802012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42381
42382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42383 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42384
7638c0fd
AS
423852012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42386
42387 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42388 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42389 defined.
42390 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42391 Likewise.
42392 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42393 entry for 2.16.
42394
92221550
AJ
423952012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42396
42397 * math/w_acos.c: Use non-signaling floating-point comparisons.
42398 * math/w_acosf.c: Likewise.
42399 * math/w_acosh.c: Likewise.
42400 * math/w_acoshf.c: Likewise.
42401 * math/w_acoshl.c: Likewise.
42402 * math/w_acosl.c: Likewise.
42403 * math/w_asin.c: Likewise.
42404 * math/w_asinf.c: Likewise.
42405 * math/w_asinl.c: Likewise.
42406 * math/w_atanh.c: Likewise.
42407 * math/w_atanhf.c: Likewise.
42408 * math/w_atanhl.c: Likewise.
42409 * math/w_exp2.c: Likewise.
42410 * math/w_exp2f.c: Likewise.
42411 * math/w_exp2l.c: Likewise.
42412 * math/w_j0.c: Likewise.
42413 * math/w_j0f.c: Likewise.
42414 * math/w_j0l.c: Likewise.
42415 * math/w_j1.c: Likewise.
42416 * math/w_j1f.c: Likewise.
42417 * math/w_j1l.c: Likewise.
42418 * math/w_jn.c: Likewise.
42419 * math/w_jnf.c: Likewise.
42420 * math/w_log.c: Likewise.
42421 * math/w_log10.c: Likewise.
42422 * math/w_log10f.c: Likewise.
42423 * math/w_log10l.c: Likewise.
42424 * math/w_log2.c: Likewise.
42425 * math/w_log2f.c: Likewise.
42426 * math/w_log2l.c: Likewise.
42427 * math/w_logf.c: Likewise.
42428 * math/w_logl.c: Likewise.
42429 * math/w_sqrt.c: Likewise.
42430 * math/w_sqrtf.c: Likewise.
42431 * math/w_sqrtl.c: Likewise.
42432 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42433 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42437
ebaf36eb
JM
424382012-02-19 Joseph Myers <joseph@codesourcery.com>
42439
42440 [BZ #9739]
42441 * manual/string.texi (strnlen): Use correct parameter name in
42442 equivalent expression.
42443
71c254a6
JM
424442012-02-19 Joseph Myers <joseph@codesourcery.com>
42445
42446 [BZ #11174]
42447 * manual/users.texi (seteuid): Consistently use neweuid for
42448 argument name.
42449
16d2c631
JM
424502012-02-19 Joseph Myers <joseph@codesourcery.com>
42451
42452 [BZ #13704]
42453 * manual/nss.texi (Services in the NSS configuration): Correct
42454 list of services in example configuration file.
42455
cd837b09
NB
424562012-02-19 Nick Bowler <nbowler@draconx.ca>
42457
42458 [BZ #11322]
42459 * manual/arith.texi: Remove statements about negative zero
42460 behaving identically to zero.
42461
02c4bbad
JM
424622012-02-18 Joseph Myers <joseph@codesourcery.com>
42463
42464 [BZ #5993]
42465 * manual/install.texi: Do not document upgrading from libc5.
42466
366842e7
JM
424672012-02-18 Joseph Myers <joseph@codesourcery.com>
42468
42469 [BZ #4596]
42470 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42471
dd54084d
DM
424722012-02-18 David S. Miller <davem@davemloft.net>
42473
42474 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42475 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42476 %o7 across the call.
42477 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42478 instead.
42479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42480 SETUP_PIC_REG_LEAF.
42481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42482 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42483 * sysdeps/sparc/crtn.S: Likewise.
42484
2bcc53a3
UD
424852012-02-17 Ulrich Drepper <drepper@gmail.com>
42486
42487 * aout/Makefile: Remove.
42488
09c093b5
RK
424892012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42490
42491 [BZ #13058]
42492 * manual/examples/argp-ex1.c (main): Format definition in GNU
42493 style.
42494 * manual/examples/argp-ex2.c (main): Likewise.
42495 * manual/examples/argp-ex3.c (main): Likewise.
42496 * manual/examples/argp-ex4.c (main): Likewise.
42497 * manual/examples/longopt.c (main): Use new-style prototype
42498 definition.
42499 * manual/examples/strncat.c (main): Specify return type and use
42500 (void) for arguments.
42501 * manual/examples/subopt.c (main): Use char **argv argument.
42502
2ee633a2
JM
425032012-02-17 Joseph Myers <joseph@codesourcery.com>
42504
42505 [BZ #5077]
42506 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42507 rounding modes.
42508
0520adde
FB
425092012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42510
42511 [BZ #6907]
42512 * manual/string.texi (strchr): Change when strchrnul is
42513 recommended.
42514
3f4081cd
DGM
425152012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42516
42517 [BZ #174]
42518 * manual/locale.texi (setlocale): Document LOCPATH.
42519
d1b10e78
JM
425202012-02-17 Joseph Myers <joseph@codesourcery.com>
42521
42522 [BZ #10210]
42523 * manual/process.texi (execle): Move @dots{} before last argument.
42524
79c6869c
PB
425252012-02-17 Paul Bolle <pebolle@tiscali.nl>
42526
42527 [BZ #12047]
42528 * manual/charset.texi (Generic Charset Conversion): Fix typo
42529 (LC_TYPE -> LC_CTYPE).
42530
cc6e48bc
NB
425312012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42532
42533 [BZ #5805]
42534 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42535 (scalbnf): Likewise.
42536 (scalbnl): Likewise.
42537 (scalbln): Likewise.
42538 (scalblnf): Likewise.
42539 (scalblnl): Likewise.
42540 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42541 (vwarnx): Likewise.
42542 (verr): Likewise.
42543 (verrx): Likewise.
42544 * manual/filesys.texi (telldir): Use braces around return type.
42545 * manual/llio.texi (mmap): Add space after comma.
42546 (mmap64): Likewise.
42547 * manual/math.texi (jn): Use @var{} on parameter names.
42548 (jnf): Likewise.
42549 (jnl): Likewise.
42550 (yn): Likewise.
42551 (ynf): Likewise.
42552 (ynl): Likewise.
42553 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42554 line.
42555 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42556 "...".
42557 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42558 (sched_get_priority_max): Likewise.
42559 * manual/signal.texi (sigvec): Add space after comma.
42560 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42561 names.
42562 (if_indextoname): Likewise.
42563 (if_freenameindex): Likewise.
42564 (sendto): Use ',' instead of '.' in prototype.
42565 * manual/startup.texi (syscall): Use @dots{} instead of literal
42566 "...".
42567 * manual/stdio.texi (__fpending): Separate initial words of
42568 paragraph from @deftypefun line.
42569 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42570 "...".
42571 (vsyslog): Use @var{} on parameter names.
42572 * manual/terminal.texi (stty): Use @var{} on parameter names.
42573 * manual/users.texi (getutmp): Use @var{} on parameter names.
42574 (getutmpx): Likewise.
42575
5b23062f
JM
425762012-02-17 Joseph Myers <joseph@codesourcery.com>
42577
42578 [BZ #6884]
42579 * manual/stdio.texi (fopen): Fix typos in description of
42580 ",ccs=STRING".
42581
8dee4833
AJ
425822012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42583
42584 [BZ #4026]
42585 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42586 get clock_id definition.
42587
9078ce93
TS
425882012-02-17 Thomas Schwinge <thomas@schwinge.name>
42589
42590 [BZ #4822]
42591 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42592 (madvise): Cast every argument to void on its own.
42593
3835c55f
JM
425942012-02-17 Joseph Myers <joseph@codesourcery.com>
42595
42596 [BZ #9902]
42597 * manual/startup.texi (Exit Status): Fix typo.
42598
35c47e37
JM
425992012-02-17 Joseph Myers <joseph@codesourcery.com>
42600
42601 [BZ #10140]
42602 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42603 * manual/examples/argp-ex2.c: Likewise.
42604 * manual/examples/argp-ex3.c: Likewise.
42605
e3b69ca7
RH
426062012-02-16 Richard Henderson <rth@redhat.com>
42607
42608 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42609 * sysdeps/s390/s390-32/initfini.c: Remove.
42610 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42611 * sysdeps/s390/s390-64/initfini.c: Remove.
42612
df83af67
KK
426132012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42614
42615 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42616 compiler output for sysdeps/generic/initfini.c.
42617 * sysdeps/sh/elf/initfini.c: Remove file.
42618
f63f3380
DM
426192012-02-16 David S. Miller <davem@davemloft.net>
42620
fb59b3a4
DM
42621 [BZ #11494]
42622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42623
f63f3380
DM
42624 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42625 * sysdeps/sparc/crti.S: New file.
42626 * sysdeps/sparc/crtn.S: New file.
42627 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42628 * sysdeps/sparc/sparc64/Makefile: Likewise.
42629
df6a4a4a
MF
426302012-02-15 Mike Frysinger <vapier@gentoo.org>
42631
6dd8f3dc 42632 [BZ #3335]
df6a4a4a
MF
42633 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42634
1cac7236
RM
426352012-02-15 Roland McGrath <roland@hack.frob.com>
42636
d2c736f8
RM
42637 [BZ #4822]
42638 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42639
1cac7236
RM
42640 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42641 (write, read, close): Likewise.
42642 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42643
8e475601
JM
426442012-02-15 Joseph Myers <joseph@codesourcery.com>
42645
42646 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42647 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42648 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42649 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42650 <bits/signalfd.h>.
42651 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42653 bits/signalfd.h.
42654
ed656b40
MP
426552012-02-14 Marek Polacek <polacek@redhat.com>
42656
42657 * sysdeps/x86_64/crti.S: New file.
42658 * sysdeps/x86_64/crtn.S: New file.
42659 * sysdeps/x86_64/elf/initfini.c: Remove file.
42660
2a979d3a
JM
426612012-02-13 Joseph Myers <joseph@codesourcery.com>
42662
42663 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42664 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42665 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42666 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42667 <bits/inotify.h>.
42668 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42670 bits/inotify.h.
42671
2a418ac3
JM
426722012-02-13 Joseph Myers <joseph@codesourcery.com>
42673
42674 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42675 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42676 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42677 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42678 <bits/eventfd.h>.
42679 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42681 bits/eventfd.h.
42682
fb779be7
TS
426832012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42684
e19e83c5
RM
42685 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42686 __feraiseexcept instead of feraiseexcept.
7c35ffed 42687
fb779be7
TS
42688 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42689 nanosleep invocations.
42690 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42691 strings, and add error checking for a nanosleep invocations.
42692
59ba27a6
PE
426932012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42694
42695 Replace FSF snail mail address with URLs, as per GNU coding standards.
42696 Most of the snail mail addresses were wrong anyway, and omitting
42697 them makes the source code easier to maintain. Almost all of the
42698 changes are to license notices and to locale LC_IDENTIFICATION
42699 addresses, except for this one:
42700 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42701 not its snail mail address.
42702
57b957eb
RH
427032012-02-09 Richard Henderson <rth@twiddle.net>
42704
af850b1c
RH
42705 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42706 of kernel-features.h.
42707
57b957eb
RH
42708 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42709
6b73181a
MP
427102012-02-08 Marek Polacek <polacek@redhat.com>
42711
42712 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42713 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42714 * sysdeps/gnu/_G_config.h: Likewise.
42715 * sysdeps/generic/_G_config.h: Likewise.
42716
26ecc33a
AS
427172012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42718
6c6dbc63
AS
42719 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42720 tests.
42721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42722
e216c012
AS
42723 * sysdeps/powerpc/powerpc32/crti.S: New file.
42724 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42725 * sysdeps/powerpc/powerpc64/crti.S: New file.
42726 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42727
26ecc33a
AS
42728 * Makeconfig (have-initfini): Don't set.
42729 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42730 * configure.in (nopic_initfini): Don't substitute.
42731 * config.h.in (HAVE_INITFINI): Don't #undef.
42732 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42733 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42734
3add8e13
JM
427352012-02-08 Joseph Myers <joseph@codesourcery.com>
42736
42737 Support crti.S and crtn.S provided directly by architectures.
42738 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42739 [crti.S in sysdirs] (omit-deps): Likewise.
42740 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42741 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42742 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42743 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42744 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42745 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42746 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42747 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42748 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42749 compiler output for sysdeps/generic/initfini.c.
42750 * sysdeps/i386/elf/Makefile: Remove file.
42751 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42752
a22f12b4
MP
427532012-02-07 Marek Polacek <polacek@redhat.com>
42754
42755 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42756 * sysdeps/gnu/_G_config.h: Likewise.
42757 * sysdeps/mach/hurd/_G_config.h: Likewise.
42758
148cf100
MP
427592012-02-07 Marek Polacek <polacek@redhat.com>
42760
42761 * math/Makefile (tests): Add tst-CMPLX2.
42762 * math/tst-CMPLX2.c: New file.
42763
cfdc0dd7
AS
427642012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42765
84ba42c4
AS
42766 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42767
cfdc0dd7
AS
42768 * math/libm-test.inc (jn_test): Add missing L suffix.
42769
622c86f4
MP
427702012-02-06 Marek Polacek <polacek@redhat.com>
42771
42772 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42773 * sysdeps/i386/fpu/e_powf.S: Likewise.
42774 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42775 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42776 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42777 * sysdeps/i386/fpu/e_pow.S: Likewise.
42778 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42779 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42780 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42781 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42782 * sysdeps/i386/fpu/e_log2.S: Likewise.
42783 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42784 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42785 * sysdeps/i386/fpu/e_powl.S: Likewise.
42786 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42787 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42788 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42789 * sysdeps/i386/fpu/e_logl.S: Likewise.
42790 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42791 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42792 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42793 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42794 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42795 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42796 * sysdeps/i386/fpu/e_log.S: Likewise.
42797 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42798 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42799 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42800 * sysdeps/i386/fpu/e_logf.S: Likewise.
42801 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42802 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42803 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42804 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42805 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42806 * sysdeps/i386/fpu/e_log10.S: Likewise.
42807 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42809 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42810 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42812 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42813 * sysdeps/i386/asm-syntax.h: Likewise.
42814 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42816 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42817 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42818 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42819 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42820 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42821 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42822 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42823 * sysdeps/powerpc/sysdep.h: Likewise.
42824 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42825 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42826
d4a54ac6
JM
428272012-02-06 Joseph Myers <joseph@codesourcery.com>
42828
42829 [BZ #411]
42830 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42831
314054ea
JM
428322012-02-06 Joseph Myers <joseph@codesourcery.com>
42833
42834 * sysdeps/i386/sysdep.h: Include <features.h>.
42835 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42836 version.
42837
d8e0ca50
JM
428382012-02-05 Joseph Myers <joseph@codesourcery.com>
42839
42840 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42841 Define.
42842 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42843 LOAD_PIC_REG_STR.
42844
b1da7dd9
JM
428452012-02-03 Joseph Myers <joseph@codesourcery.com>
42846
42847 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42848 (SETUP_PIC_REG): Use GET_PC_THUNK.
42849 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42850 macro.
42851
9a1d9254
JM
428522012-02-03 Joseph Myers <joseph@codesourcery.com>
42853
42854 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42855 for non-PIC compilation.
42856 (SETUP_PIC_REG): Add .p2align directive.
42857 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42858 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42859 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42860 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42861 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42862 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42863 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42865 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42866 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42867 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42868 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42869 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42870 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42871 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42872 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42873 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42874 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42875 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42876 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42877 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42878 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42879 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42880 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42883 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42884 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42889 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42890 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42891 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42892 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42893 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42894 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42895 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42896 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42897 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42898
65dc3b75
JM
428992012-02-03 Joseph Myers <joseph@codesourcery.com>
42900
42901 * math/tst-CMPLX.c: Include <stdio.h>.
42902
d55bf177
JM
429032012-01-31 Joseph Myers <joseph@codesourcery.com>
42904
42905 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42906 float.
42907 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42908 * sysdeps/sparc/bits/mathdef.h: Likewise.
42909
69db4f8f
MP
429102012-01-31 Marek Polacek <polacek@redhat.com>
42911
42912 * libio/libio.h: Don't define _PARAMS.
42913 * locale/programs/config.h: Don't define PARAMS.
42914 * stdlib/strtol_l.c: Likewise.
42915 (__strtol_l): Remove PARAMS from the prototype.
42916
41b81892
UD
429172012-01-31 Ulrich Drepper <drepper@gmail.com>
42918
3b49edc0
UD
42919 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42920 names. Just use the correct names. Remove unnecessary wrapper
42921 functions.
42922 * malloc/arena.c: Likewise.
42923 * malloc/hooks.c: Likewise.
42924
41b81892
UD
42925 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42926 ARENA_TEST says not to. Simplify test for creation of a new arena.
42927 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42928
27a25b6e
UD
429292012-01-30 Ulrich Drepper <drepper@gmail.com>
42930
42931 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42932 into tail calls.
42933 (update_get_addr): New function.
42934 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42935 GET_ADDR_MODULE parameter.
42936
c8a89e7d
JM
429372012-01-30 Joseph Myers <joseph@codesourcery.com>
42938
42939 * crypt/cert.c: Remove __STDC__ conditionals.
42940 * crypt/crypt-entry.c: Likewise.
42941 * crypt/crypt_util.c: Likewise.
42942 * libio/filedoalloc.c: Likewise.
42943 * libio/fileops.c: Likewise.
42944 * libio/genops.c: Likewise.
42945 * libio/iofclose.c: Likewise.
42946 * libio/iofdopen.c: Likewise.
42947 * libio/iofopen.c: Likewise.
42948 * libio/iofopen64.c: Likewise.
42949 * libio/iogetdelim.c: Likewise.
42950 * libio/iopopen.c: Likewise.
42951 * libio/obprintf.c: Likewise.
42952 * libio/oldfileops.c: Likewise.
42953 * libio/oldiofclose.c: Likewise.
42954 * libio/oldiofdopen.c: Likewise.
42955 * libio/oldiofopen.c: Likewise.
42956 * libio/oldiopopen.c: Likewise.
42957 * libio/wfiledoalloc.c: Likewise.
42958 * libio/wgenops.c: Likewise.
42959 * locale/programs/xmalloc.c: Likewise.
42960 * misc/syslog.c: Likewise.
42961 * stdio-common/xbug.c: Likewise.
42962 * string/memchr.c: Likewise.
42963 * string/memcmp.c: Likewise.
42964 * string/memrchr.c: Likewise.
42965 * string/rawmemchr.c: Likewise.
42966 * sysdeps/posix/getcwd.c: Likewise.
42967 * time/strftime_l.c: Likewise.
42968
3b100462
JM
429692012-01-30 Joseph Myers <joseph@codesourcery.com>
42970
42971 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42972 * config.make.in (config-cflags-sse2avx): Define.
42973 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42974 Fix typo.
42975
607998af
CM
429762012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42977
42978 * scripts/config.guess: Update from upstream config git repository.
42979 * scripts/config.sub: Likewise.
42980
3601428f
CM
429812012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42982
3ac8b282
CM
42983 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42984 (EM_NUM): Update.
42985 (R_TILEPRO_*, R_TILEGX_*): New macros.
42986
e034841e
CM
42987 * scripts/firstversions.awk: Fix bug in version range handling.
42988
540d7568
CM
42989 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42990
3601428f
CM
42991 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42992
463de862
CM
42993 * include/sys/epoll.h: New file.
42994 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42995 libc_hidden_def.
42996
73139a76
UD
429972012-01-28 Ulrich Drepper <drepper@gmail.com>
42998
96bc5b45
UD
42999 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43000 Avoid unnecessary __WORDSIZE == 64 test.
43001 (fmaxf): Use VEX format if possible.
43002 (fmax): Likewise.
43003 (fminf): Likewise.
43004 (fmin): Likewise.
43005
56f6f6a2
UD
43006 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43007 * math/math_private.h: Remove libc_fegetround* and
43008 libc_fesetround*.
43009 * sysdeps/i386/configure.in: Check for -msse2avx.
43010 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43011 also if SSE2AVX is defined.
43012 Remove libc_fegetround* and libc_fesetround*.
43013 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43014 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43016 of HAS_YMM_USABLE.
43017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43018 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43019 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43020 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43021 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43022
73139a76
UD
43023 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43024
d73f93a4
AZ
430252012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43026
43027 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43028 size is not set.
43029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43030
6ee65ed6
UD
430312012-01-27 Ulrich Drepper <drepper@gmail.com>
43032
43033 [BZ #13618]
43034 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43035 relocation.
43036 * Makeconfig (libm): Define.
43037 * elf/Makefile: Add rules to build and run tst-relsort1.
43038 * elf/tst-relsort1.c: New file.
43039 * elf/tst-relsort1mod1.c: New file.
43040 * elf/tst-relsort1mod2.c: New file.
43041
8db21882
JM
430422012-01-27 Joseph Myers <joseph@codesourcery.com>
43043
43044 * math/s_ldexp.c: Remove __STDC__ conditionals.
43045 * math/s_ldexpf.c: Likewise.
43046 * math/s_ldexpl.c: Likewise.
43047 * math/s_nextafter.c: Likewise.
43048 * math/s_nexttowardf.c: Likewise.
43049 * math/s_significand.c: Likewise.
43050 * math/s_significandf.c: Likewise.
43051 * math/s_significandl.c: Likewise.
43052 * math/w_jnl.c: Likewise.
43053 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43054 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43055 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43056 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43057 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43072 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43075 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43076 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43077 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43078 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43080 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43081 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43082 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43083 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43084 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43085 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43086 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43087 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43089 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43090 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43091 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43092 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43093 * sysdeps/ieee754/k_standard.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43126 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43138 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43142 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43143 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43155 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43159 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43160 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43168 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43169 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43173 * sysdeps/ieee754/s_matherr.c: Likewise.
43174 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43175 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43178
965a54a4
JM
431792012-01-26 Joseph Myers <joseph@codesourcery.com>
43180
43181 * crypt/md5.h: Remove __STDC__ conditionals.
43182 * libio/libioP.h: Likewise.
43183 * locale/programs/config.h: Likewise.
43184 * sysdeps/generic/sysdep.h: Likewise.
43185 * sysdeps/i386/asm-syntax.h: Likewise.
43186 * sysdeps/s390/asm-syntax.h: Likewise.
43187 * sysdeps/unix/sysdep.h: Likewise.
43188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43190
7071ad79
JM
431912012-01-26 Joseph Myers <joseph@codesourcery.com>
43192
43193 * libio/libio.h: Remove __STDC__ conditionals.
43194 * malloc/obstack.h: Likewise.
43195 * math/complex.h: Likewise.
43196 * math/math.h: Likewise.
43197 * sysdeps/generic/_G_config.h: Likewise.
43198 * sysdeps/gnu/_G_config.h: Likewise.
43199 * sysdeps/mach/hurd/_G_config.h: Likewise.
43200 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43201 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43202 * sysdeps/sparc/bits/mathdef.h: Likewise.
43203
afc5ed09
UD
432042012-01-26 Ulrich Drepper <drepper@gmail.com>
43205
43206 [BZ #13583]
43207 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43208 Clean up HAS_* macros.
afc5ed09 43209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43210 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43211 possible.
43212 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43213 HAS_AVX.
43214 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43215 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43216 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43217 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43218 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43219
bdb6de1d
JM
432202012-01-25 Joseph Myers <joseph@codesourcery.com>
43221
43222 * elf/tst-unique3.cc (gets): Remove declaration.
43223 * elf/tst-unique3lib.cc (gets): Likewise.
43224 * elf/tst-unique3lib2.cc (gets): Likewise.
43225 * elf/tst-unique4.cc (gets): Likewise.
43226
b15549e6
UD
432272012-01-24 Ulrich Drepper <drepper@gmail.com>
43228
43229 * include/stdio.h: Add C++ protection. Add gets declarations and
43230 definitions.
43231 * debug/tst-chk1.c: Don't declare gets here.
43232 * stdio-common/tst-gets.c: Likewise.
43233
a037381f
JM
432342012-01-24 Joseph Myers <joseph@codesourcery.com>
43235
43236 * posix/glob: Remove directory.
43237
f1d4aa75
JM
432382012-01-24 Joseph Myers <joseph@codesourcery.com>
43239
43240 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43241
81c0c964
PT
432422012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43243
43244 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43245 of the non-standard EPFNOSUPPORT.
43246
0ea698ae
ST
432472011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43248
43249 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43250 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43251 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43252
d220b117
UD
432532012-01-21 Ulrich Drepper <drepper@gmail.com>
43254
43255 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43256
3e1aa84e
UD
432572012-01-20 Ulrich Drepper <drepper@gmail.com>
43258
43259 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43260 transient errors.
43261 * nscd/grpcache.c (cache_addgr): Likewise.
43262 * nscd/hstcache.c (cache_addhst): Likewise.
43263 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43264 * nscd/pwdcache.c (cache_addpw): Likewise.
43265 * nscd/servicescache.c (cache_addserv): Likewise.
43266
400aa020
UD
432672012-01-16 Ulrich Drepper <drepper@gmail.com>
43268
d77e7869
UD
43269 * malloc/malloc.c: Various cleanups.
43270 * malloc/hooks.c: Likewise.
43271
400aa020
UD
43272 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43273 * stdlib/bug-fmtmsg1.c: New file.
43274
43275 * stdlib/fmtmsg.c (init): Add missing unlock.
43276 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43277
e0a309cf
MP
432782012-01-12 Marek Polacek <polacek@redhat.com>
43279
43280 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43281 and _GNU_SOURCE.
43282
929d11c7
WS
432832012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43284
43285 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43286 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43287 macro to ensure uniqueness of label name.
43288 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43289 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43290
41d0e869
UD
432912012-01-11 Ulrich Drepper <drepper@gmail.com>
43292
0cc5ed3b
UD
43293 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43294
41d0e869
UD
43295 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43296 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43297 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43299
a47a831a
UD
433002012-01-10 Ulrich Drepper <drepper@gmail.com>
43301
daa891c0
UD
43302 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43303
43304 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43305 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43306 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43307
e58ef0f2
UD
43308 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43309
a47a831a 43310 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43311 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43313 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43314
43315 * math/bits/math-finite.h: Add ldexp support.
43316
a0bfc9c7
MP
433172012-01-10 Marek Polacek <polacek@redhat.com>
43318
43319 * locale/programs/localedef.h (show_archive_content): Add noreturn
43320 attribute.
43321
d6e97a1d
UD
433222012-01-09 Ulrich Drepper <drepper@gmail.com>
43323
43324 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43325
d5835c26
UD
433262012-01-08 Ulrich Drepper <drepper@gmail.com>
43327
e5f484c6
UD
43328 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43329
d5835c26
UD
43330 * io/Makefile (headers): Add bits/poll2.h.
43331
d1f741e9
WS
433322011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43333
43334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43335 typo #include statement.
43336
ec09c1c4
UD
433372012-01-08 Ulrich Drepper <drepper@gmail.com>
43338
43339 * include/sys/cdefs.h: Define __attribute_alloc_size.
43340 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43341 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43342 * elf/pldd.c: Likewise.
43343 * iconv/iconv_charmap.c: Likewise.
43344 * iconv/iconvconfig.c: Likewise.
43345 * iconv/strtab.c: Likewise.
43346 * locale/programs/locale.c: Likewise.
43347 * locale/programs/localedef.h: Likewise.
43348 * locale/programs/simple-hash.c: Likewise.
43349 * nscd/nscd.h: Likewise.
43350 * nss/makedb.c: Likewise.
43351 * sysdeps/generic/ldconfig.h: Likewise.
43352 * locale/programs/localedef.c: Remove xmalloc prototype.
43353 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43354
20b38e03
PP
433552012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43356
43357 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43358 appropriate.
43359
a0da5fe1
UD
433602012-01-08 Ulrich Drepper <drepper@gmail.com>
43361
1d5a644a 43362 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43363 * math/tst-CMPLX.c: New file.
1d5a644a 43364
8784a6db
UD
43365 * math/complex.h (CMPLXL): Fix typo.
43366
d9a216c0
UD
43367 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43368 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43369 GLIBC_2.16.
43370 * debug/tst-chk1.c: Add poll and ppoll tests.
43371 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43372 * include/sys/poll.h: Add hidden proto for ppoll.
43373 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43374 * sysdeps/mach/hurd/ppoll.c: Likewise.
43375 * io/ppoll.c: Likewise.
43376 * debug/poll_chk.c: New file.
43377 * debug/ppoll_chk.c: New file.
43378 * include/bits/poll2.h: New file.
43379 * io/bits/poll2.h: New file.
43380
ac097f5c
UD
43381 [BZ #1350]
43382 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43383
2119dcfa
UD
43384 * configure.in: static is always set to yes. Remove.
43385 * config.make.in: Don't set build-static.
43386 * Makeconfig: Remove use of build-static.
43387 * dlfcn/Makefile: Likewise.
43388 * elf/Makefile: Likewise.
43389 * math/Makefile: Likewise.
43390 * misc/Makefile: Likewise.
43391 * nptl/Makefile: Likewise.
43392 * sysdeps/mach/hurd/Makefile: Likewise.
43393
121766a9
UD
43394 * configure.in: PWD_P is not used anymore.
43395 * config.make.in: Remove PWD_P entry.
43396
51a1d39c 43397 * configure.in: Remove last remnants of RANLIB.
8720d066 43398 No need to check for signed size_t anymore.
215f4bdc
UD
43399 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43400 and IA-64.
3857022a 43401 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43402 * aclocal.m4: Likewise.
43403
d3ed7225
UD
43404 * wcsmbs/mbrtoc16.c: Implement using towc function.
43405 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43406 * wcsmbs/wcsmbsload.c: Likewise.
43407 * iconv/gconv_simple.c: Likewise.
43408 * iconv/gconv_int.h: Likewise.
43409 * iconv/gconv_builtin.h: Likewise.
43410 * iconv/iconv_prog.c: Remove CHAR16 handling.
43411
43412 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43413
43414 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43415
a0da5fe1
UD
43416 * configure.in: Remove --with-elf and --enable-bounded options.
43417 Dont set base_machine for ia64. More non-ELF conditions removed.
43418 Remove testing and setting of leading underscore information.
43419 * config.make.in (build-bounded): Set to no.
43420 * config.h.in: Remove NO_UNDERSCORES entry.
43421 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43422 them.
43423 * csu/start.c: Remove !NO_UNDERSCORE code.
43424 * locale/localeinfo.h: Likewise.
43425 * sysdeps/generic/machine-gmon.h: Likewise.
43426 * sysdeps/generic/sysdep.h: Likewise.
43427 * sysdeps/i386/sysdep.h: Likewise.
43428 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43429 * sysdeps/mach/sysdep.h: Likewise.
43430 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43431 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43432 * sysdeps/sh/sysdep.h: Likewise.
43433 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43434 * sysdeps/unix/i386/sysdep.S: Likewise.
43435 * sysdeps/unix/sparc/start.c: Likewise.
43436 * sysdeps/unix/sparc/sysdep.S: Likewise.
43437 * sysdeps/unix/sparc/sysdep.h: Likewise.
43438 * sysdeps/unix/start.c: Likewise.
43439 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43440 * sysdeps/x86_64/sysdep.h: Likewise.
43441
df78418a
UD
434422012-01-07 Ulrich Drepper <drepper@gmail.com>
43443
a784e502
UD
43444 [BZ #13553]
43445 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43446 for non-gcc.
43447 * argp/argp-fmtstream.h: Use const instead __const.
43448 * argp/argp.h: Likewise.
43449 * assert/assert.h: Likewise.
43450 * bits/fenv.h: Likewise.
43451 * bits/sched.h: Likewise.
43452 * bits/sigset.h: Likewise.
43453 * bits/sigthread.h: Likewise.
43454 * catgets/nl_types.h: Likewise.
43455 * conform/data/pthread.h-data: Likewise.
43456 * crypt/crypt-private.h: Likewise.
43457 * crypt/crypt.h: Likewise.
43458 * crypt/crypt_util.c: Likewise.
43459 * ctype/ctype.h: Likewise.
43460 * debug/execinfo.h: Likewise.
43461 * debug/mbsnrtowcs_chk.c: Likewise.
43462 * debug/mbsrtowcs_chk.c: Likewise.
43463 * debug/wcsnrtombs_chk.c: Likewise.
43464 * debug/wcsrtombs_chk.c: Likewise.
43465 * debug/wcstombs_chk.c: Likewise.
43466 * dirent/dirent.h: Likewise.
43467 * dlfcn/dlfcn.h: Likewise.
43468 * elf/neededtest4.c: Likewise.
43469 * grp/grp.h: Likewise.
43470 * gshadow/gshadow.h: Likewise.
43471 * iconv/gconv.h: Likewise.
43472 * iconv/gconv_int.h: Likewise.
43473 * iconv/gconv_simple.c: Likewise.
43474 * iconv/iconv.h: Likewise.
43475 * iconv/loop.c: Likewise.
43476 * iconv/skeleton.c: Likewise.
43477 * include/aio.h: Likewise.
43478 * include/aliases.h: Likewise.
43479 * include/argz.h: Likewise.
43480 * include/arpa/inet.h: Likewise.
43481 * include/assert.h: Likewise.
43482 * include/dirent.h: Likewise.
43483 * include/dlfcn.h: Likewise.
43484 * include/execinfo.h: Likewise.
43485 * include/fcntl.h: Likewise.
43486 * include/fenv.h: Likewise.
43487 * include/glob.h: Likewise.
43488 * include/grp.h: Likewise.
43489 * include/libintl.h: Likewise.
43490 * include/mntent.h: Likewise.
43491 * include/netdb.h: Likewise.
43492 * include/pwd.h: Likewise.
43493 * include/rpc/netdb.h: Likewise.
43494 * include/sched.h: Likewise.
43495 * include/search.h: Likewise.
43496 * include/shadow.h: Likewise.
43497 * include/signal.h: Likewise.
43498 * include/stdio.h: Likewise.
43499 * include/stdlib.h: Likewise.
43500 * include/string.h: Likewise.
43501 * include/sys/socket.h: Likewise.
43502 * include/sys/stat.h: Likewise.
43503 * include/sys/statfs.h: Likewise.
43504 * include/sys/statvfs.h: Likewise.
43505 * include/sys/syslog.h: Likewise.
43506 * include/sys/time.h: Likewise.
43507 * include/sys/uio.h: Likewise.
43508 * include/time.h: Likewise.
43509 * include/unistd.h: Likewise.
43510 * include/utmp.h: Likewise.
43511 * include/wchar.h: Likewise.
43512 * include/wctype.h: Likewise.
43513 * inet/aliases.h: Likewise.
43514 * inet/arpa/inet.h: Likewise.
43515 * inet/netinet/ether.h: Likewise.
43516 * inet/netinet/in.h: Likewise.
43517 * intl/libintl.h: Likewise.
43518 * io/bits/fcntl2.h: Likewise.
43519 * io/fcntl.h: Likewise.
43520 * io/ftw.h: Likewise.
43521 * io/sys/poll.h: Likewise.
43522 * io/sys/stat.h: Likewise.
43523 * io/sys/statfs.h: Likewise.
43524 * io/sys/statvfs.h: Likewise.
43525 * io/utime.h: Likewise.
43526 * libio/bits/stdio.h: Likewise.
43527 * libio/bits/stdio2.h: Likewise.
43528 * libio/libio.h: Likewise.
43529 * libio/libioP.h: Likewise.
43530 * libio/stdio.h: Likewise.
43531 * locale/lc-ctype.c: Likewise.
43532 * locale/locale.h: Likewise.
43533 * login/utmp.h: Likewise.
43534 * malloc/arena.c: Likewise.
43535 * malloc/malloc.c: Likewise.
43536 * malloc/malloc.h: Likewise.
43537 * malloc/mcheck.c: Likewise.
43538 * malloc/mtrace.c: Likewise.
43539 * math/bits/mathcalls.h: Likewise.
43540 * math/fenv.h: Likewise.
43541 * math/math_private.h: Likewise.
43542 * misc/bits/error.h: Likewise.
43543 * misc/bits/syslog.h: Likewise.
43544 * misc/err.h: Likewise.
43545 * misc/error.h: Likewise.
43546 * misc/fstab.h: Likewise.
43547 * misc/mntent.h: Likewise.
43548 * misc/regexp.h: Likewise.
43549 * misc/search.h: Likewise.
43550 * misc/sgtty.h: Likewise.
43551 * misc/sys/mman.h: Likewise.
43552 * misc/sys/syslog.h: Likewise.
43553 * misc/sys/uio.h: Likewise.
43554 * misc/sys/xattr.h: Likewise.
43555 * misc/ttyent.h: Likewise.
43556 * nis/rpcsvc/ypclnt.h: Likewise.
43557 * nss/nss.h: Likewise.
43558 * posix/bits/unistd.h: Likewise.
43559 * posix/fnmatch.h: Likewise.
43560 * posix/glob.h: Likewise.
43561 * posix/sched.h: Likewise.
43562 * posix/spawn.h: Likewise.
43563 * posix/sys/wait.h: Likewise.
43564 * posix/unistd.h: Likewise.
43565 * posix/wordexp.h: Likewise.
43566 * pwd/pwd.h: Likewise.
43567 * resolv/netdb.h: Likewise.
43568 * resource/sys/resource.h: Likewise.
43569 * rt/aio.h: Likewise.
43570 * rt/bits/mqueue2.h: Likewise.
43571 * rt/mqueue.h: Likewise.
43572 * shadow/shadow.h: Likewise.
43573 * signal/signal.h: Likewise.
43574 * socket/send.c: Likewise.
43575 * socket/sendto.c: Likewise.
43576 * socket/sys/socket.h: Likewise.
43577 * stdio-common/printf.h: Likewise.
43578 * stdlib/bits/stdlib.h: Likewise.
43579 * stdlib/fmtmsg.h: Likewise.
43580 * stdlib/monetary.h: Likewise.
43581 * stdlib/stdlib.h: Likewise.
43582 * stdlib/ucontext.h: Likewise.
43583 * streams/stropts.h: Likewise.
43584 * string/argz.h: Likewise.
43585 * string/bits/string2.h: Likewise.
43586 * string/string.h: Likewise.
43587 * string/strings.h: Likewise.
43588 * sunrpc/rpc/auth.h: Likewise.
43589 * sunrpc/rpc/auth_des.h: Likewise.
43590 * sunrpc/rpc/clnt.h: Likewise.
43591 * sunrpc/rpc/netdb.h: Likewise.
43592 * sunrpc/rpc/pmap_clnt.h: Likewise.
43593 * sunrpc/rpc/xdr.h: Likewise.
43594 * sysdeps/generic/inttypes.h: Likewise.
43595 * sysdeps/generic/net/if.h: Likewise.
43596 * sysdeps/generic/sys/swap.h: Likewise.
43597 * sysdeps/gnu/net/if.h: Likewise.
43598 * sysdeps/gnu/utmpx.h: Likewise.
43599 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43600 * sysdeps/i386/i486/bits/string.h: Likewise.
43601 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43602 * sysdeps/s390/bits/string.h: Likewise.
43603 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43604 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43605 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43606 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43607 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43608 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43609 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43610 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43611 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43612 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43613 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43614 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43615 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43616 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43617 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43618 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43619 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43621 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43622 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43624 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43625 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43626 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43627 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43628 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43629 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43630 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43631 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43632 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43633 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43634 * sysvipc/sys/ipc.h: Likewise.
43635 * sysvipc/sys/msg.h: Likewise.
43636 * sysvipc/sys/sem.h: Likewise.
43637 * sysvipc/sys/shm.h: Likewise.
43638 * termios/termios.h: Likewise.
43639 * time/sys/time.h: Likewise.
43640 * time/time.h: Likewise.
43641 * wcsmbs/bits/wchar2.h: Likewise.
43642 * wcsmbs/uchar.h: Likewise.
43643 * wcsmbs/wchar.h: Likewise.
43644 * wctype/wctype.h: Likewise.
43645
0269750c
UD
43646 [BZ #13551]
43647 * Makeconfig: Remove all but ELF support including AIX support.
43648 * Makerules: Likewise.
43649 * config.h.in: Likewise.
43650 * config.make.in: Likewise.
43651 * configure: Likewise.
43652 * configure.in: Likewise.
43653 * csu/Makefile: Likewise.
43654 * csu/version.c: Likewise.
43655 * debug/Makefile: Likewise.
43656 * dlfcn/Makefile: Likewise.
43657 * elf/Makefile: Likewise.
43658 * extra-lib.mk: Likewise.
43659 * iconv/Makefile: Likewise.
43660 * include/libc-symbols.h: Likewise.
43661 * include/shlib-compat.h: Likewise.
43662 * resolv/Makefile: Likewise.
43663 * resolv/res_libc.c: Likewise.
43664 * rt/Makefile: Likewise.
43665 * sysdeps/i386/asm-syntax.h: Likewise.
43666 * sysdeps/i386/sysdep.h: Likewise.
43667 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43668 * sysdeps/mach/sysdep.h: Likewise.
43669 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43670 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43671 * sysdeps/s390/asm-syntax.h: Likewise.
43672 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43673 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43674 * sysdeps/sh/sysdep.h: Likewise.
43675 * sysdeps/unix/sparc/sysdep.h: Likewise.
43676 * sysdeps/wordsize-32/divdi3.c: Likewise.
43677 * sysdeps/x86_64/sysdep.h: Likewise.
43678
00bbd29b
UD
43679 * argp/Versions: Remove _argp_unlock_xxx.
43680
43681 [BZ #13559]
43682 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43683 * abilist/libBrokenLocale.abilist: Likewise.
43684 * abilist/libanl.abilist: Likewise.
43685 * abilist/libc.abilist: Likewise.
43686 * abilist/libcrypt.abilist: Likewise.
43687 * abilist/libdl.abilist: Likewise.
43688 * abilist/libm.abilist: Likewise.
43689 * abilist/libnsl.abilist: Likewise.
43690 * abilist/libpthread.abilist: Likewise.
43691 * abilist/libresolv.abilist: Likewise.
43692 * abilist/librt.abilist: Likewise.
43693 * abilist/libthread_db.abilist: Likewise.
43694 * abilist/libutil.abilist: Likewise.
43695 * abilist/libnss_db.abilist: New file.
43696
43697 * scripts/abilist.awk: Add support for indirect functions.
43698
a2693a0e
UD
43699 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43700
3f05895f
UD
43701 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43702
ecb6fb48
UD
43703 * shlib-versions: Remove entries for ports architectures.
43704
664f8cb9
UD
43705 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43706 files in ports.
43707 * elf/stackguard-macros.h: Remove support for IA-64.
43708 * elf/tst-auditmod1.c: Likewise.
43709 * sysdeps/generic/ldsodefs.h: Likewise.
43710
7ae81d88
UD
43711 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43712 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43713 configure files.
43714
bdeba135
UD
43715 [BZ #13552]
43716 * configure.in: Remove --enable-omitfp support.
43717 * FAQ.in: Adjust.
43718 * config.make.in: Likewise.
43719 * Makeconfig: Likewise.
43720 * manual/install.texi: Likewise.
43721
d75a0a62
UD
43722 In case anyone cares, the IA-64 architecture could move to ports.
43723 * sysdeps/ia64/*: Removed.
43724 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 43725 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 43726
dcc9756b
UD
43727 [BZ #13555]
43728 * configure.in: Remove entries for unsupported architectures.
43729
d3761ebc 43730 [BZ #13533]
9954432e
UD
43731 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43732 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43733 routines.
43734 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43735 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43736 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43737 fall back to using wcrtomb.
43738 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43739 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43740 renaming.
43741 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43742 * wcsmbs/tst-c16c32-1.c: New file.
43743
43744 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43745 local variable.
43746
c3a87236
UD
43747 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43748
28926a1b
UD
43749 * elf/tst-unique3.cc: Add explicit declaration of gets.
43750 * elf/tst-unique3lib.cc: Likewise.
43751 * elf/tst-unique3lib2.cc: Likewise.
43752 * elf/tst-unique4.cc: Likewise.
43753
df78418a
UD
43754 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43755
8ecd6b2a
JM
437562012-01-06 Joseph Myers <joseph@codesourcery.com>
43757
43758 [BZ #13566]
43759 * assert/assert.h (static_assert): Don't define for C++.
43760 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43761 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43762
9f115170
UD
437632012-01-03 Ulrich Drepper <drepper@gmail.com>
43764
5e0d0300
UD
43765 * iconv/loop.c (single loop): Fix assertion in storing of
43766 remaining bytes.
43767
9f115170
UD
43768 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43769
81fb02b0
UD
437702012-01-01 Ulrich Drepper <drepper@gmail.com>
43771
43772 * posix/getconf.c: Update copyright year.
43773 * nss/getent.c: Likewise.
a316c1f6 43774 * nss/makedb.c: Likewise.
81fb02b0
UD
43775 * iconv/iconvconfig.c: Likewise.
43776 * iconv/iconv_prog.c: Likewise.
43777 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43778 * elf/pldd.c: Likewise.
43779 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43780 * catgets/gencat.c: Likewise.
43781 * csu/version.c: Likewise.
43782 * elf/ldd.bash.in: Likewise.
43783 * elf/sprof.c (print_version): Likewise.
43784 * locale/programs/locale.c: Likewise.
43785 * locale/programs/localedef.c: Likewise.
a316c1f6 43786 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43787 * nscd/nscd.c (print_version): Likewise.
43788 * debug/xtrace.sh: Likewise.
43789 * malloc/memusage.sh: Likewise.
43790 * malloc/mtrace.pl: Likewise.
43791 * debug/catchsegv.sh: Likewise.
43792
2ba92745
JJ
437932011-12-30 Jakub Jelinek <jakub@redhat.com>
43794
43795 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43796 pure attribute.
43797
dadebdae
UD
437982011-12-24 Ulrich Drepper <drepper@gmail.com>
43799
d3761ebc 43800 [BZ #13533]
db6af3eb
UD
43801 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43802 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43803 transformations.
43804 * iconv/gconv_int.h: Likewise.
43805 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43806 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43807 from libc for GLIBC_2.16.
43808 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43809 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43810 * wcsmbs/uchar.h: Really define mbstate_t.
43811 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43812 * wcsmbs/c16rtomb.c: New file.
43813 * wcsmbs/mbrtoc16.c: New file.
43814 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43815 for C/POSIX locale.
43816 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43817 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43818
dadebdae
UD
43819 * wcsmbs/wchar.h: Add missing __restrict.
43820
67371b56
UD
438212011-12-23 Ulrich Drepper <drepper@gmail.com>
43822
74033a25
UD
43823 [BZ #13532]
43824 * time/Makefile (routines): Add timespec_get.
43825 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43826 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43827 timespec for ISO C11.
43828 * time/timespec_get.c: New file.
43829 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43830 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43831
380d7e87
UD
43832 [BZ #13531]
43833 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43834 * stdlib/stdlib.h: Declare aligned_alloc.
43835 * Versions.def: Add GLIBC_2.16 for libc.
43836 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43837
4e9e7a35
UD
43838 [BZ 13527]
43839 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43840 ISO C11.
43841
380d7e87 43842 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43843 code.
43844
03a71829
UD
43845 [BZ #13528]
43846 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43847
839e283e
UD
43848 [BZ #13529]
43849 * assert/assert.h (static_assert): Define.
43850
ce5294e2 43851 * version.h: Update for 2.16 development version.
90fa7312 43852
8d44e150 43853 [BZ #13526]
d7809905
UD
43854 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43855 _ISOC11_SOURCE.
43856
c0da14cd
UD
43857 * version.h (RELEASE): Bump for 2.15 release.
43858 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43859
530a3249
MP
43860 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43861 Patch by Marek Polacek <mpolacek@redhat.com>.
43862
67371b56
UD
43863 * bits/byteswap.h: Protect long long constants with __extension__.
43864 * sysdeps/i386/bits/byteswap.h: Likewise.
43865 * sysdeps/ia64/bits/byteswap.h: Likewise.
43866 * sysdeps/s390/bits/byteswap.h: Likewise.
43867 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43868
15db4de1
LD
438692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43870
43871 [BZ #13540]
bbe315ea
LD
43872 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43873 destination buffer.
15db4de1
LD
43874 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43875
2b2596b1
MP
438762011-12-23 Marek Polacek <polacek@redhat.com>
43877
43878 * elf/dl-addr.c (determine_info): Add inline keyword.
43879 * elf/tst-auditmod4b.c (check_avx): Likewise.
43880 * elf/tst-auditmod6b.c (check_avx): Likewise.
43881 * elf/tst-auditmod6c.c (check_avx): Likewise.
43882 * elf/tst-auditmod7b.c (check_avx): Likewise.
43883
70c6c246
UD
438842011-12-23 Ulrich Drepper <drepper@gmail.com>
43885
43886 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43887 !__SSE_MATH__.
43888
c044cf14
LD
438892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43890
15db4de1 43891 [BZ #13540]
c044cf14
LD
43892 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43893 processing for last bytes.
43894
6b13d9d9
BH
438952011-08-06 Bruno Haible <bruno@clisp.org>
43896
d455f537
BH
43897 [BZ #13061]
43898 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43899 U+0385, not to U+1FEE.
43900
6b13d9d9
BH
43901 [BZ #13062]
43902 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43903 entry for U+00A5 U+0301.
43904
db910efd
UD
439052011-12-22 Ulrich Drepper <drepper@gmail.com>
43906
27deeafc
UD
43907 [BZ #13166]
43908 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43909 buffer for the output is too small.
43910
aed9d171
UD
43911 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43912 optimization.
43913
db910efd
UD
43914 [BZ #13185]
43915 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43916 SSE flags if possible.
43917
2bd779ae
LD
439182011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43919
e7f9dac3 43920 [BZ #13540]
2bd779ae
LD
43921 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43922 processing for last bytes.
43923
154bfc16
JM
439242011-12-22 Joseph Myers <joseph@codesourcery.com>
43925
43926 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43927 (syscall-list-default-options, syscall-list-default-condition)
43928 (syscall-list-includes): Define.
43929 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43930 list of ABIs and options and #if conditions for each ABI. Do not
43931 handle common syscalls between ABIs specially.
43932 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43933 Remove.
43934 (syscall-list-variants, syscall-list-32bit-options)
43935 (syscall-list-32bit-condition, syscall-list-64bit-options)
43936 (syscall-list-64bit-condition): Define.
43937 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43938 (syscall-list-variants, syscall-list-32bit-options)
43939 (syscall-list-32bit-condition, syscall-list-64bit-options)
43940 (syscall-list-64bit-condition): Define.
43941 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43942 Remove.
43943 (syscall-list-variants, syscall-list-32bit-options)
43944 (syscall-list-32bit-condition, syscall-list-64bit-options)
43945 (syscall-list-64bit-condition): Define.
43946 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43947 Remove.
43948 (syscall-list-variants, syscall-list-32bit-options)
43949 (syscall-list-32bit-condition, syscall-list-64bit-options)
43950 (syscall-list-64bit-condition): Define.
43951
21eaf3a5
UD
439522011-12-22 Ulrich Drepper <drepper@gmail.com>
43953
16c6f992
UD
43954 * locale/iso-639.def: Add brx entry.
43955
41043168
UD
43956 [BZ #13328]
43957 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43958 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43959
21eaf3a5
UD
43960 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43961 __feraiseexcept_renamed.
43962
e3a851a2
UD
439632011-12-21 Ulrich Drepper <drepper@gmail.com>
43964
4920765e
UD
43965 [BZ #13538]
43966 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43967 EPOLLET with unsigned values.
43968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43969 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43970
e3a851a2
UD
43971 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43972 to large cancellation.
43973 * math/s_cacoshf.c: Likewise.
43974 * math/s_cacoshl.c: Likewise.
43975
b27e24b8
RK
439762011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43977
43978 [BZ #13305]
aebefeee 43979 [BZ #12786]
b27e24b8
RK
43980 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43981 * math/s_cacoshf.c: Likewise.
43982 * math/s_cacoshl.c: Likewise.
43983
ee190f67
UD
439842011-12-21 Ulrich Drepper <drepper@gmail.com>
43985
43986 [BZ #13439]
43987 * iconv/gconv.h: Define __GCONV_SWAP.
43988 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43989 * iconvdata/utf-16.c: Likewise.
43990 * iconvdata/utf-32.c: Likewise.
43991
707f25df
AS
439922011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43993
43994 [BZ #13524]
43995 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43996 numerator after shifting it by one limb.
43997
d2daaa1e
RÁE
439982011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43999
44000 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44001 under [__USE_EXTERN_INLINES].
44002
a4647e72
UD
440032011-12-17 Ulrich Drepper <drepper@gmail.com>
44004
44005 [BZ #13446]
44006 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44007
f0b264f1
AZ
440082011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44009
44010 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44011 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44012 optimized code.
44013 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44014 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44015 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44016 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44017 for strncasecmp/strncasecmp_l compilation.
44018 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44019 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44020
8ef4f244
MP
440212011-12-08 Marek Polacek <mpolacek@redhat.com>
44022
44023 [BZ #13484]
44024 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44025 of __asm__.
44026
97ac2654
UD
440272011-12-17 Ulrich Drepper <drepper@gmail.com>
44028
44029 [BZ #13506]
44030 * time/tzfile.c (__tzfile_read): Check values from file header.
44031
91d2a845
WS
440322011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44033
44034 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44035 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44036 * powerpc/powerpc32/dl-start.S: Likewise.
44037 * powerpc/powerpc32/elf/start.S: Likewise.
44038 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44039 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44040 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44041 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44042 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44043 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44044 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44045 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44046 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44047 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44048 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44049 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44050 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44051 * powerpc/powerpc32/memset.S: Likewise.
44052 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44053 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44054 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44055 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44056 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44057 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44058 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44059 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44060 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44061 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44062 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44063 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44064 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44065
a1267ba1
AZ
440662011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44067
44068 * math/libm-test.inc: Added more nearbyint tests.
44069 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44070 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44073
ad8ac1bd
RL
440742011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44075
44076 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44077 FD_CLOEXEC.
44078
1d3e4b61
UD
440792011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44080
44081 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44082 Add wcscpy-ssse3 wcscpy-c.
44083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44084 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44085 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44086 * sysdeps/x86_64/wcschr.S: New file.
44087 * sysdeps/x86_64/wcsrchr.S: New file.
44088 * string/test-strcmp.c: Remove checking of wcscmp function for
44089 wrong alignments.
44090 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44091 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44092 wcsrchr-sse2 wcsrchr-c.
44093 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44094 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44095 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44096 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44097 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44098 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44099 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44100 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44102 * wcsmbc/wcschr.c (WCSCHR): New macro.
44103
5b330a2d
UD
441042011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44105
44106 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44107 * wcsmbs/test-wcsrchr.c: New file.
44108 * string/test-strrchr.c: Add wcsrchr support.
44109 (WIDE): New macro.
44110 * wcsmbs/test-wcscpy.c: New file.
44111 * string/test-strcpy.c: Add wcscpy support.
44112 (WIDE): New macro.
26428b7c 44113
f039c043
UD
441142011-12-10 Ulrich Drepper <drepper@gmail.com>
44115
44116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44117 the inner loop.
44118
850fb039
AS
441192011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44120
44121 [BZ #13472]
44122 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44123
4efbd5cb
UD
441242011-12-04 Ulrich Drepper <drepper@gmail.com>
44125
52ff5dd0 44126 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 44127 Minor optimizations.
52ff5dd0 44128
4efbd5cb
UD
44129 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44130 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44131 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44132
8a426e12
UD
441332011-12-03 Ulrich Drepper <drepper@gmail.com>
44134
aff2453d
UD
44135 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44136 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44137 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44138 for gcc to avoid warnings.
44139 * inet/Makefile (tests): Add tst-checks.
44140 * inet/tst-checks.c: New file.
44141
44142 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44143 warning.
44144
44145 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44146 __wmemcmp_sse2.
44147
44148 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44149 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44150
8a426e12
UD
44151 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44152
9bea3473
UD
441532011-12-02 Ulrich Drepper <drepper@gmail.com>
44154
3a965496
UD
44155 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44156 problem.
44157
9bea3473
UD
44158 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44159
f101631b
UD
441602011-11-29 Joseph Myers <joseph@codesourcery.com>
44161
44162 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44163 conditional on GCC version.
44164 (__arch_compare_and_exchange_val_8_acq)
44165 (__arch_compare_and_exchange_val_16_acq)
44166 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44167 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44168 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44169
a98275aa
UD
441702011-12-02 Joseph Myers <joseph@codesourcery.com>
44171
44172 * sysdeps/sh/backtrace.c: New file.
44173
d4cc29a2
AS
441742011-12-02 Andreas Schwab <schwab@redhat.com>
44175
44176 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44177 parenthesis.
44178
6257af2d
AS
441792011-12-01 Andreas Schwab <schwab@redhat.com>
44180
44181 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44182 falling back to utime.
44183
b5f44c1a
AS
441842011-11-30 Andreas Schwab <schwab@redhat.com>
44185
44186 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44187 expectations for float.
44188
f3a6cc0a
AS
441892011-11-29 Andreas Schwab <schwab@redhat.com>
44190
44191 * locale/weight.h (findidx): Add parameter len.
44192 * locale/weightwc.h (findidx): Likewise.
44193 * posix/fnmatch_loop.c (FCT): Adjust caller.
44194 * posix/regcomp.c (build_equiv_class): Likewise.
44195 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44196 * posix/regexec.c (check_node_accept_bytes): Likewise.
44197 * string/strcoll_l.c (STRCOLL): Likewise.
44198 * string/strxfrm_l.c (STRXFRM): Likewise.
44199
9d65ea3a
UD
442002011-11-17 Ulrich Drepper <drepper@gmail.com>
44201
44202 * Makefile.in: Remove CVSOPT handling.
44203 * configure.in: Remove use of AC_REVISION.
44204 * iconvdata/Makefile (distribute): No need to filter out CVS.
44205 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44206 handling.
44207
5583a086
AS
442082011-11-16 Andreas Schwab <schwab@redhat.com>
44209
44210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44211 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44212 [USE_AS_STRNCASECMP_L]: Likewise.
44213 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44214 NO_TLS_DIRECT_SEG_REFS.
44215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44216 Fix argument offsets for non-PIC.
44217 [USE_AS_STRNCASECMP_L]: Likewise.
44218 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44219 NO_TLS_DIRECT_SEG_REFS.
44220
d62a8200
UD
442212011-11-15 Ulrich Drepper <drepper@gmail.com>
44222
9d65ea3a 44223 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44224 O_CLOEXEC.
44225 * locale/loadlocale.c (_nl_load_locale): Likewise.
44226
09f93bd3
AS
442272011-11-15 Andreas Schwab <schwab@redhat.com>
44228
446514f9
AS
44229 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44230 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44231 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44232 (SYSCALL_GETTIME): Set errno on error.
44233
09f93bd3
AS
44234 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44235 count references to noai6ai_cached.
44236
312be3f9
UD
442372011-11-15 Ulrich Drepper <drepper@gmail.com>
44238
44239 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44240
44241 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44242 FD_CLOEXEC for /proc/self/maps.
44243
44244 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44245 FD_CLOEXEC for /proc/meminfo.
44246
44247 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44248 gai.conf.
44249
44250 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44251 FD_CLOEXEC for given file.
44252
44253 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44254
44255 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44256 FD_CLOEXEC for /etc/hosts.
44257 (_gethtent): Likewise.
44258
44259 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44260
44261 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44262 cancellation and set FD_CLOEXEC for /etc/netgroup.
44263
44264 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44265 reading /etc/publickey.
44266
44267 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44268 allow cancellation when reading /etc/group.
44269
44270 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44271 cancellation.
44272 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44273
44274 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44275 when using data file.
44276
44277 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44278
44279 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44280 (write_nis_obj): Use "c" and "e" in fopen.
44281
44282 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44283
44284 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44285
44286 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44287
44288 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44289
44290 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44291 locale.alias.
44292
44293 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44294
44295 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44296
44297 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44298
44299 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44300 file parsing and set FD_CLOEXEC.
44301
82af0fa8
UD
443022011-11-14 Ulrich Drepper <drepper@gmail.com>
44303
44304 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44305
a5fb313c
AS
443062011-11-14 Andreas Schwab <schwab@redhat.com>
44307
44308 * malloc/arena.c (arena_get2): Don't call reused_arena when
44309 _int_new_arena failed.
44310
6abf3465
UD
443112011-11-14 Ulrich Drepper <drepper@gmail.com>
44312
44313 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44314 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44315 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44316 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44319 to compile strcasecmp and strncasecmp.
44320 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44321 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44322
44323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44324
76e3966e
UD
443252011-11-13 Ulrich Drepper <drepper@gmail.com>
44326
44327 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44328 locale-defines.sym to gen-as-const-headers.
44329 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44330 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44332 to compile strcasecmp and strncasecmp.
44333 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44334 strcasecmp_l and strncasecmp_l.
44335 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44336 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44337 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44338 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44339 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44340 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44341 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44342 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44343 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44344 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44345 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44346
ab26144e
UD
443472011-11-12 Ulrich Drepper <drepper@gmail.com>
44348
7edb22ef
UD
44349 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44350 result of SYSDEP_GETTIME_CPU to retval.
44351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44352 parameter list to macro. Remove trailing semicolon. Adjust users.
44353
9694fc44
UD
44354 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44355 variable.
44356
8ad89ef8
UD
44357 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44358 mantissa words.
44359 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44360
0c822ef9
UD
44361 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44362 from unused variable.
44363
874e0564
UD
44364 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44365 DWARF definitions.
44366 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44367 for assembling.
44368
3a2edc79
UD
44369 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44370 over namespaces.
44371
f3c2577f
UD
44372 * sunrpc/rpc_prot.c (rejected): Fix case value.
44373
294ce126
UD
44374 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44375 unsigned long long int to avoid warnings in shift.
44376
5e2b63c6
UD
44377 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44378 of use of trans.
44379 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44380 variable tmp.
44381
e7f4b08e
UD
44382 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44383 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44384 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44385
ab26144e
UD
44386 * nis/nis_table.c (nis_list): Use variable of correct type for
44387 result of __follow_path call.
44388
8a6d5255
AZ
443892011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44390
44391 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44392 of math functions ceil, trunc, floor, round, and sqrt, when
44393 avaliable on the platform.
44394 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44395 name clash.
44396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44397 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44398 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44399
aaddc98c
MP
444002011-10-30 Marek Polacek <mpolacek@redhat.com>
44401
44402 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44403 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44404
95b7042b
RM
444052011-11-11 Roland McGrath <roland@hack.frob.com>
44406
44407 * include/unistd.h: Fix __readlink return type.
44408 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44409
57769839
UD
444102011-11-11 Ulrich Drepper <drepper@gmail.com>
44411
44412 * stdlib/ucontext.h: Undo last change for makecontext.
44413
edc5984d
AS
444142011-11-11 Andreas Schwab <schwab@redhat.com>
44415
98591e58
AS
44416 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44417
edc5984d
AS
44418 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44419 * setjmp/setjmp.h: Mark functions as non-leaf.
44420 * setjmp/bits/setjmp2.h: Likewise.
44421 * stdlib/ucontext.h: Likewise.
44422
77cdc054
AS
444232011-11-10 Andreas Schwab <schwab@redhat.com>
44424
44425 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44426 (reused_arena): Don't check arena limit.
44427 (arena_get2): Atomically check arena limit.
44428
fe72eebd
UD
444292011-11-08 Ulrich Drepper <drepper@gmail.com>
44430
5f078c32
UD
44431 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44432 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44433
fe72eebd
UD
44434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44435 instructions.
44436
ae1bc2fa
AS
444372011-11-07 Andreas Schwab <schwab@redhat.com>
44438
7583a88d
AS
44439 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44440 handler when locking.
44441
ae1bc2fa
AS
44442 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44443 Fix size of allocated buffer.
44444
10fb0bfa
AS
444452011-11-04 Andreas Schwab <schwab@redhat.com>
44446
998832a4
AS
44447 [BZ #10103]
44448 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44449 declarations for long double functions.
44450 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44451
10fb0bfa
AS
44452 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44453
3d7ba52b
AS
444542011-11-03 Andreas Schwab <schwab@redhat.com>
44455
a9ae54a1
AS
44456 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44457 installed.
44458
3d7ba52b
AS
44459 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44460 is disabled.
44461
bc8db248
ST
444622011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44463
44464 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44465
45b96dd6
AS
444662011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44467
647776f6
AS
44468 * include/alloca.h (stackinfo_alloca_round): Define.
44469 (extend_alloca): Use it.
44470 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44471 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44472 here.
44473
d91a8b93
AS
44474 * scripts/check-local-headers.sh: Ignore libaudit.h.
44475
45b96dd6
AS
44476 * nscd/Makefile (extra-objs): Make recursively expanded.
44477
432d41ce
UD
444782011-11-01 Ulrich Drepper <drepper@gmail.com>
44479
34372fc6
UD
44480 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44481 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44482
fadb59f8
UD
44483 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44484 * posix/tst-rfc3484-2.c: Likewise.
44485 * posix/tst-rfc3484-3.c: Likewise.
44486
78239589
UD
44487 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44488 process_vm_writev.
44489 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44490 process_vm_writev.
44491 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44492 process_vm_writev from libc using GLIBC_2.15 version.
44493
432d41ce
UD
44494 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44495
02f9c6cf
PP
444962011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44497
44498 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44499 stack usage.
44500
3a2c0242
UD
445012011-10-31 Ulrich Drepper <drepper@gmail.com>
44502
f4ec4833
UD
44503 [BZ #13367]
44504 * nss/getent.c (initgroups_keys): Show error message in case no group
44505 names are given.
44506
3a2c0242
UD
44507 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44508 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44509 __bump_nl_timestamp.
44510 * nscd/connections (nscd_init): When host database is served open
44511 netlink socket and request notification about configuration changes.
44512 (main_loop_poll): Track netlink file descriptor and bump timestamp
44513 in case data becomes available.
44514 (main_loop_epoll): Likewise.
44515 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44516 (database_pers_head): Add extra_data fileds.
44517 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44518 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44519 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44520 Adjust caller.
44521 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44522 in6ai data, call __free_in6ai.
44523 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44524 Add -DHAVE_NETLINK.
44525 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44526 interface information. Reuse previous data if netlink timestamp
44527 is not changed.
44528 (__bump_nl_timestamp): New function.
44529 (__free_in6ai): New function.
44530
636064eb
UD
445312011-10-30 Ulrich Drepper <drepper@gmail.com>
44532
44533 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44534 close_not_cancel_no_status here.
44535 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44536
9beb2334
UD
445372011-10-29 Ulrich Drepper <drepper@gmail.com>
44538
6ef76f3b
UD
44539 [BZ #13276]
44540 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44541 return value.
44542
0ffc4f3e 44543 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
44544 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44545 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44546
cb95113e
UD
445472011-07-03 Andreas Jaeger <aj@suse.de>
44548
44549 [BZ #10709]
44550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44551 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44552 * math/libm-test.inc (sin_test): Add test case.
44553
a1b560ff
UD
445542011-10-29 Ulrich Drepper <drepper@gmail.com>
44555
c9aaface
UD
44556 [BZ #13337]
44557 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44558 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44559
d272e7f1
UD
44560 * elf/chroot_canon.c (chroot_canon): Cleanups.
44561
1bc33071
UD
44562 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44563
1760874d
TJ
44564 [BZ #13335]
44565 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44566 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44567
51d91b18
UD
44568 * string/test-strchr.c: Make usable for strchrnul testing.
44569 * string/test-strchrnul.c: New file.
44570 * string/Makefile (strop-tests): Add strchrnul.
44571
a1b560ff 44572 * po/it.po: Update from translation team.
b611fb81 44573 * po/es.po: Likewise.
a1b560ff 44574
a5b81e1f
UD
445752011-10-28 Ulrich Drepper <drepper@gmail.com>
44576
fd52bc6d
UD
44577 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44578 the three constants needed as parameters. Drop the others.
44579 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44580 __m128i_strloadu_tolower.
52e4b9eb
UD
44581 Create and initialize variable zero and use it in all the places
44582 where _mm_setzero_si128 was used.
fd52bc6d 44583
a5b81e1f
UD
44584 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44585 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44586 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44587 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44588 anymore.
44589 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44590 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44591 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44592 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44593 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44594 __mpranred, __mptan.
44595 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44596 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44597 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44598 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44599 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44600 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44601 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44602 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44603 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44604
b4343346
AS
446052011-10-28 Andreas Schwab <schwab@redhat.com>
44606
0c92d8a8
AS
44607 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44608 redefine if SHARED.
44609 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44610
b4343346
AS
44611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44612 wide char related routines to wcsmbs subdir.
44613
3871f58f
AS
446142011-10-27 Andreas Schwab <schwab@redhat.com>
44615
44616 [BZ #13344]
44617 * misc/sys/cdefs.h (__THROWNL): Define.
44618 * posix/unistd.h: Use __THREADNL instead of __THREAD
44619 for memory synchronization functions.
44620
94d44d9f
RM
446212011-10-26 Roland McGrath <roland@hack.frob.com>
44622
21b64b15 44623 [BZ #13349]
94d44d9f
RM
44624 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44625 doesn't exist.
44626 * manual/stdio.texi (Obstack Streams): Node removed.
44627
f6ce9294
AS
446282011-10-26 Andreas Schwab <schwab@redhat.com>
44629
80479147
AS
44630 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44631 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44632 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44633
f6ce9294
AS
44634 * math/math_private.h (math_force_eval): Allow non-addressable
44635 arguments.
44636 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44637
618280a1
UD
446382011-10-25 Ulrich Drepper <drepper@gmail.com>
44639
e0016b11
UD
44640 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44641 file is not needed.
44642
44643 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44645 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44646 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44647 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44648 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44650 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44651 Add AVX variants.
44652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44656 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44657 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44658 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44659 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44660 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44661 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44662 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44663 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44665 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44666 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44667 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44668 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44669 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44670 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44671
44672 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44673 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44674
618280a1
UD
44675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44676 place. Use VEX encoding when compiling for AVX.
44677
37822576
AS
446782011-10-25 Andreas Schwab <schwab@redhat.com>
44679
1f1e1947
AS
44680 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44681 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44682
37822576
AS
44683 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44684
31ea014d
UD
446852011-10-25 Ulrich Drepper <drepper@gmail.com>
44686
d7826aa1 44687 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 44688 useless if() expression.
d7826aa1
UD
44689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44690 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44691 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44692 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44694 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44695 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44699 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44700 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44701 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44703 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44704 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44705 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44707 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44708
31ea014d
UD
44709 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44710
16437fec
AS
447112011-10-25 Andreas Schwab <schwab@redhat.com>
44712
44713 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44714 condition.
44715 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44716
31d3cc00
UD
447172011-10-25 Ulrich Drepper <drepper@gmail.com>
44718
44719 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44720 .text section. Avoid duplicate constants.
44721 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44729 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44730 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44731 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44732 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44733 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44734 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44735 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44737 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44738 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44741 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44742 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44743 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44744 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44745 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44746 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44747 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44748 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44749 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44750 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44752 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44753 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44754 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44755 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44756 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44757 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44758 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44759 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44760 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44761 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44762 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44763 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44764 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44765 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44766
58985aa9
UD
447672011-10-24 Ulrich Drepper <drepper@gmail.com>
44768
202c9deb
UD
44769 * sysdeps/x86_64/dla.h: Move to ...
44770 * sysdeps/x86_64/fpu/dla.h: ...here.
44771 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44772 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 44773
af968f62
UD
44774 * config.make.in: Add have-mfma4 entry.
44775 * configure.in: Substitute libc_cv_cc_fma4.
44776 * math/Makefile (dbl-only-routines): Add sincostab.
44777 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44778 Use __sincostab not sincos.
44779 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44780 name is a macro.
44781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44785 using __copysign.
44786 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44787 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44788 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44789 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44790 and __inv.
44791 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44792 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44793 __copysign.
44794 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44795 define aliases when function name is a macro.
44796 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44797 sysdeps/ieee754/dbl-64/sincos.tbl.
44798 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44799 fma4-enabled routines.
44800 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44801 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44802 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44803 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44804 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44807 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44808 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44809 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44810 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44811 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44812 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44813 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44814 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44815 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44816 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44817 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44818 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44819 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44820 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44821 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44822 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44823 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44826 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44827 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44828 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44829 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44830
58985aa9
UD
44831 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44832 rename.
44833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44841
a201fbcf
AS
448422011-10-24 Andreas Schwab <schwab@redhat.com>
44843
44844 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44845
fc2ee42a
LD
448462011-10-23 Ulrich Drepper <drepper@gmail.com>
44847
bb3129bd
UD
44848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44849
0275fff8
UD
44850 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44851 prediction.
44852 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44853
2fa2ae85
UD
44854 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44855 Remove unused variable magic_bits.
44856 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44857
fc2ee42a
LD
44858 * string/strnlen.c: Define and use STRNLEN macro.
44859 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44860 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44861 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44862 * wcsmbs/wcslen.c: Define and use WCSLEN.
44863 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44864 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44865 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44866 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44867 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44868 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44869 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44870
ce7dd29f
LD
448712011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44872
44873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44874 strnlen-sse2-no-bsf.
44875 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44877 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44878 Add strnlen support.
44879 (USE_AS_STRNLEN): New macro.
44880 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44881 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44882 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44883 * sysdeps/x86_64/wcslen.S: New file.
44884
979c70a3
MZ
448852011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44886
44887 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44888 XMM-moves are used for copying on small sizes.
44889
2d09f82f
LD
448902011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44891
44892 * wcsmbs/Makefile (strop-tests): Add wcschr.
44893 * wcsmbs/test-wcschr.c: New file.
44894 * string/test-strchr.c: Update.
44895 Add wcschr support.
44896 (WIDE): New macro.
44897
619fccca
LD
448982011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44899
2d09f82f 44900 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44901 * wcsmbs/test-wcslen.c: New file.
44902 * string/test-strlen.c: Update.
44903 Add wcslen support.
44904 (WIDE): New macro.
44905
09f699ea
UD
449062011-10-23 Ulrich Drepper <drepper@gmail.com>
44907
44908 * po/it.po: Update from translation team.
44909
95584d3b
LD
449102011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44911
44912 * sysdeps/x86_64/wcscmp.S: Update.
44913 Fix wrong comparison semantics.
44914 wcscmp shall use signed comparison not unsigned.
44915 Don't use substraction to avoid overflow bug.
44916 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44917 * wcsmbc/wcscmp.c: Likewise.
44918 * string/test-strcmp.c: Likewise.
44919 Add new tests to check cases with negative values.
44920
c8b3296b
UD
449212011-10-23 Ulrich Drepper <drepper@gmail.com>
44922
44923 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44924 * sysdeps/x86_64/dla.h: ...here. New file.
44925 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44926 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44930 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44934
246ad57a
AS
449352011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44936
44937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44938 __ynl_finite aliases.
44939
a1a87169
UD
449402011-10-22 Ulrich Drepper <drepper@gmail.com>
44941
0d355eb7
UD
44942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44943
a1a87169
UD
44944 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44945 define DLA_FMA.
44946 [DLA_FMA] (EMULV): Use DLA_FMA.
44947 [DLA_FMA] (MUL12): Use EMULV.
44948 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44949 that are not needed.
44950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44957
ee2aafe0
AS
449582011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44959
44960 * math/s_nan.c: Undef __nan.
44961 * math/s_nanf.c: Undef __nanf.
44962 * math/s_nanl.c: Undef __nanl.
44963 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44964 "math_private.h".
44965
bc62c2fb
UD
449662011-10-22 Ulrich Drepper <drepper@gmail.com>
44967
77425c63
UD
44968 * math/s_catan.c: Add branch predictions.
44969 * math/s_catanf.c: Likewise.
44970 * math/s_catanh.c: Likewise.
44971 * math/s_catanhf.c: Likewise.
44972 * math/s_catanhl.c: Likewise.
44973 * math/s_catanl.c: Likewise.
44974 * math/s_cexp.c: Likewise.
44975 * math/s_cexpf.c: Likewise.
44976 * math/s_cexpl.c: Likewise.
44977 * math/s_clog.c: Likewise.
44978 * math/s_clog10.c: Likewise.
44979 * math/s_clog10f.c: Likewise.
44980 * math/s_clog10l.c: Likewise.
44981 * math/s_clogf.c: Likewise.
44982 * math/s_clogl.c: Likewise.
44983 * math/s_csqrt.c: Likewise.
44984 * math/s_csqrtf.c: Likewise.
44985 * math/s_csqrtl.c: Likewise.
44986 * math/s_ctanf.c: Likewise.
44987 * math/s_ctanh.c: Likewise.
44988 * math/s_ctanhf.c: Likewise.
44989 * math/s_ctanhl.c: Likewise.
44990 * math/s_ctanl.c: Likewise.
44991
bc62c2fb
UD
44992 * math/math_private.h: Define __nan, __nanf, __nanl.
44993 * math/s_cacosh.c: Include <math_private.h>.
44994 * math/s_cacoshl.c: Likewise.
44995 * math/s_casinh.c: Likewise.
44996 * math/s_casinhf.c: Likewise.
44997 * math/s_casinhl.c: Likewise.
44998 * math/s_ccos.c: Rely entire on ccosh.
44999 * math/s_ccosf.c: Rely entire on ccoshf.
45000 * math/s_ccosl.c: Rely entirely on ccoshl.
45001 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45002 Remove tests for FE_INVALID.
45003 * math/s_ccoshf.c: Likewise.
45004 * math/s_ccoshl.c: Likewise.
45005 * math/s_csin.c: Likewise.
45006 * math/s_csinf.c: Likewise.
45007 * math/s_csinh.c Likewise.
45008 * math/s_csinhf.c: Likewise.
45009 * math/s_csinhl.c: Likewise.
45010 * math/s_csinl.c: Likewise.
45011 * math/s_ctan.c: Likewise.
45012 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45013 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45014 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45015
8ec250a4
UD
450162011-10-21 Ulrich Drepper <drepper@gmail.com>
45017
c196fed8
UD
45018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45019 compilation problems.
45020
8ec250a4
UD
45021 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45022 __builtin_expect.
45023
8d4f46c6
UD
450242011-10-20 Ulrich Drepper <drepper@gmail.com>
45025
ed72b654
UD
45026 * sysdeps/i386/configure.in: Test for -mfma4 option.
45027 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45028 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45029 COMMON_CPUID_INDEX_80000001.
45030 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45031 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45032 use it if FMA3 is not supported.
45033 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45034
8d4f46c6
UD
45035 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45036 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45037
d45c60c2
AS
450382011-10-20 Andreas Schwab <schwab@redhat.com>
45039
45040 [BZ #12892]
45041 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45042 it would create a cycle with a link time dependency.
45043
d9a4d2ab
UD
450442011-10-19 Ulrich Drepper <drepper@gmail.com>
45045
855d1560
UD
45046 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45047 instruction.
45048 * string/Makefile (strop-tests): Add rawmemchr.
45049 * string/test-rawmemchr.c: New file.
45050
d9a4d2ab
UD
45051 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45053 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45054 when compiling str{,n}casecmp and when AVX is available. Hook up
45055 new optimized code in initializers.
45056
8f3b1ffe
AS
450572011-10-19 Andreas Schwab <schwab@redhat.com>
45058
45059 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45060 __feraiseexcept instead of feraiseexcept.
45061
d38f1dba
UD
450622011-10-18 Ulrich Drepper <drepper@gmail.com>
45063
d9a8d0ab
UD
45064 * math/math_private.h: Define defaults for libc_fetestexcept and
45065 libc_feupdateenv.
45066 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45067 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45068 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45069 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45070 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45071 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45072 libc_fetestexcept and libc_feupdateenv.
45073
4855e3dd
UD
45074 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45075 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45076 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45077 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45078 libc_feholdexcept_setround.
45079
581d30e3
UD
45080 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45081 Add s_nearbyint-c and s_nearbyintf-c.
45082 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45083 nearbyintf inlines.
45084 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45085 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45086 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45087 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45088
d38f1dba
UD
45089 * math/math_private.h: Define defaults for libc_fegetround,
45090 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45091 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45092 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45093 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45094 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45095 standard functions.
45096 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45097 Remove comments and hacks for old compiler versions.
45098 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45099 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45100 libc_feholdexceptl.
45101
caa6c9d8
AS
451022011-10-18 Andreas Schwab <schwab@redhat.com>
45103
45104 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
45105 (__feraiseexcept_renamed): Add __NTH.
45106 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
45107 namespace violations.
45108
97c066e6
UD
451092011-10-17 Ulrich Drepper <drepper@gmail.com>
45110
99ce7b04
UD
45111 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45112
1004d182
UD
45113 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45114
228a984d
UD
45115 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45116 recently added interfaces.
45117 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45118
c8553a6a
UD
45119 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45120 about macro parameter expansion.
45121
ed22dcf6
UD
45122 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45123 __NO_MATH_INLINES is defined. Cleanups.
45124
45125 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45126 and __floorf is target has SSE4.1.
45127 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45128 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45129 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45130 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45131
b171c137
UD
45132 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45133 name.
45134 (floorf): Likewise.
45135
97c066e6
UD
45136 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45137
629f62ef
AS
451382011-10-17 Andreas Schwab <schwab@redhat.com>
45139
49a43d80
AS
45140 * misc/sys/cdefs.h: Fix last change.
45141
629f62ef
AS
45142 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45143 database lookup.
45144
e453f6cd
UD
451452011-10-16 Ulrich Drepper <drepper@gmail.com>
45146
aa78043a
UD
45147 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45148
ad0f5cad
UD
45149 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45150 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45152 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45153 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45154 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45155 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45156 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45157 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45158 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45159 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45160 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45161 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45162 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45163 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45164 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45165 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45166 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45167 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45168 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45169 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45170 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45171
45172 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45173 ceil, ceilf, floor, floorf.
45174
45175 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45176 Perform IRELATIVE relocations last.
45177
e453f6cd
UD
45178 * elf/do-rel.h: Add another parameter nrelative, replacing the
45179 local variable with the same name. Change name of the function
45180 to end in Rel or Rela (uppercase).
45181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45182 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45183 elf_dynamic_do_##reloc function.
45184
fd5bdc09
UD
451852011-10-15 Ulrich Drepper <drepper@gmail.com>
45186
79b195b5
UD
45187 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45188 is sufficient, at least on modern CPUs.
45189
d4a28569
UD
45190 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45191
b61099b5
UD
45192 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45193 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45194
bcf01e6d
UD
45195 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45196 __expl_finite.
45197 * math/bits/math-finite.h: Add entries for exp.
45198 * math/e_expl.c: Add __*_finite alias.
45199 * sysdeps/i386/fpu/e_exp.S: Likewise.
45200 * sysdeps/i386/fpu/e_expf.S: Likewise.
45201 * sysdeps/i386/fpu/e_expl.c: Likewise.
45202 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45203 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45204 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45206 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45207 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45208 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45209
ba1a0d59
UD
45210 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45211 is sufficient, at least on modern CPUs.
45212
fd5bdc09
UD
45213 * ctype/ctype-info.c (__ctype_init): Define.
45214 * include/ctype.h (__ctype_init): Declare.
45215 (__ctype_b_loc): The variable is always initialized.
45216 (__ctype_toupper_loc): Likewise.
45217 (__ctype_tolower_loc): Likewise.
45218 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45219 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45220
7872cfb0
AS
452212011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45222
b468825a
AS
45223 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45224
7872cfb0
AS
45225 * configure.in: Also look in $cxxmachine/include for C++ system
45226 headers.
45227
be13f7bf
LD
452282011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45229
45230 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45231 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45232 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45233 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45235 (USE_AS_WMEMCMP): New macro.
45236 Fixing indents.
45237 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45238 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45239 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45240 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45242 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45243 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45244 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45245 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45246 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45247 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45248 (USE_AS_WMEMCMP): New macro.
45249 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45250 * sysdeps/string/test-memcmp.c: Update.
45251 Fix simple_wmemcmp.
45252 Add new tests.
45253 * wcsmbs/wmemcmp.c: Update.
45254 (WMEMCMP): New macro.
45255 Fix overflow bug.
45256
556a2007
AJ
452572011-10-12 Andreas Jaeger <aj@suse.de>
45258
45259 [BZ #13268]
45260 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45261
538faaa7
UD
452622011-10-15 Ulrich Drepper <drepper@gmail.com>
45263
ab6737ff
UD
45264 * libio/iofwide.c (do_length): Avoid warning.
45265
538faaa7
UD
45266 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45267
396a21b1
UD
452682011-10-14 Ulrich Drepper <drepper@gmail.com>
45269
cdf2901f
UD
45270 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45271
38ad40ce
UD
45272 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45273 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45274 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45275 * sysdeps/i386/i686/fpu/e_log.S: New file.
45276 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45277 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45278
396a21b1
UD
45279 * ctype/ctype.h: Add support for inlined isXXX functions when
45280 compiling C++ code.
45281
6b1f68c9
AS
452822011-10-14 Andreas Schwab <schwab@redhat.com>
45283
349290c0
AS
45284 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45285
6b1f68c9
AS
45286 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45287
f2282d42
RM
452882011-10-13 Roland McGrath <roland@hack.frob.com>
45289
45290 [BZ #13291]
45291 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45292
5298ffa8
AS
452932011-10-13 Andreas Schwab <schwab@redhat.com>
45294
714fad23
AS
45295 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45296 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45297 feraiseexcept.
45298
81dcc7fb
AS
45299 * sysdeps/x86_64/memrchr.S: Check for zero size.
45300
5298ffa8
AS
45301 * string/stratcliff.c: Add memrchr tests.
45302
951fbcec
LD
453032011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45304
45305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45306 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45307 rawmemchr-sse2 rawmemchr-sse2-bsf.
45308 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45309 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45310 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45311 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45312 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45313 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45314 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45315 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45316 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45317 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45318 * string/memrchr.c (MEMRCHR): New macro.
45319
0ac5ae23
UD
453202011-10-12 Ulrich Drepper <drepper@gmail.com>
45321
45322 Add integration with gcc's -ffinite-math-only and optimize wrapper
45323 functions in libm.
45324 * Versions.def: Define GLIBC_2.15 version for libm.
45325 * math/Makefile (headers): Add bits/math-finite.h.
45326 * math/bits/math-finite.h: New file.
45327 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45328 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45329 * math/e_acoshl.c: Add __*_finite alias.
45330 * math/e_acosl.c: Likewise.
45331 * math/e_asinl.c: Likewise.
45332 * math/e_atan2l.c: Likewise.
45333 * math/e_atanhl.c: Likewise.
45334 * math/e_coshl.c: Likewise.
45335 * math/e_exp10.c: Likewise.
45336 * math/e_exp10f.c: Likewise.
45337 * math/e_exp10l.c: Likewise.
45338 * math/e_exp2l.c: Likewise.
45339 * math/e_fmodl.c: Likewise.
45340 * math/e_gammal_r.c: Likewise.
45341 * math/e_hypotl.c: Likewise.
45342 * math/e_j0l.c: Likewise.
45343 * math/e_j1l.c: Likewise.
45344 * math/e_jnl.c: Likewise.
45345 * math/e_lgammal_r.c: Likewise.
45346 * math/e_log10l.c: Likewise.
45347 * math/e_log2l.c: Likewise.
45348 * math/e_logl.c: Likewise.
45349 * math/e_powl.c: Likewise.
45350 * math/e_sinhl.c: Likewise.
45351 * math/e_sqrtl.c: Likewise.
45352 * math/e_scalb.c: Completely rewritten and optimized.
45353 * math/e_scalbf.c: Likewise.
45354 * math/e_scalbl.c: Likewise.
45355 * math/w_acos.c: Likewise.
45356 * math/w_acosf.c: Likewise.
45357 * math/w_acosl.c: Likewise.
45358 * math/w_acosh.c: Likewise.
45359 * math/w_acoshf.c: Likewise.
45360 * math/w_acoshl.c: Likewise.
45361 * math/w_asin.c: Likewise.
45362 * math/w_asinf.c: Likewise.
45363 * math/w_asinl.c: Likewise.
45364 * math/w_atan2.c: Likewise.
45365 * math/w_atan2f.c: Likewise.
45366 * math/w_atan2l.c: Likewise.
45367 * math/w_atanh.c: Likewise.
45368 * math/w_atanhf.c: Likewise.
45369 * math/w_atanhl.c: Likewise.
45370 * math/w_exp10.c: Likewise.
45371 * math/w_exp10f.c: Likewise.
45372 * math/w_exp10l.c: Likewise.
45373 * math/w_fmod.c: Likewise.
45374 * math/w_fmodf.c: Likewise.
45375 * math/w_fmodl.c: Likewise.
45376 * math/w_j0.c: Likewise.
45377 * math/w_j0f.c: Likewise.
45378 * math/w_j0l.c: Likewise.
45379 * math/w_j1.c: Likewise.
45380 * math/w_j1f.c: Likewise.
45381 * math/w_j1l.c: Likewise.
45382 * math/w_jn.c: Likewise.
45383 * math/w_jnf.c: Likewise.
45384 * math/w_log.c: Likewise.
45385 * math/w_logf.c: Likewise.
45386 * math/w_logl.c: Likewise.
45387 * math/w_log10.c: Likewise.
45388 * math/w_log10f.c: Likewise.
45389 * math/w_log10l.c: Likewise.
45390 * math/w_log2.c: Likewise.
45391 * math/w_log2f.c: Likewise.
45392 * math/w_log2l.c: Likewise.
45393 * math/w_pow.c: Likewise.
45394 * math/w_powf.c: Likewise.
45395 * math/w_powl.c: Likewise.
45396 * math/w_remainder.c: Likewise.
45397 * math/w_remainderf.c: Likewise.
45398 * math/w_remainderl.c: Likewise.
45399 * math/w_scalb.c: Likewise.
45400 * math/w_scalbf.c: Likewise.
45401 * math/w_scalbl.c: Likewise.
45402 * math/w_sqrt.c: Likewise.
45403 * math/w_sqrtf.c: Likewise.
45404 * math/w_sqrtl.c: Likewise.
45405 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45406 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45407 used.
45408 * math/math_private.h: Declare __kernel_standard_f.
45409 * math/w_cosh.c: Remove cruft and optimize a bit.
45410 * math/w_coshf.c: Likewise.
45411 * math/w_coshl.c: Likewise.
45412 * math/w_exp2.c: Likewise.
45413 * math/w_exp2f.c: Likewise.
45414 * math/w_exp2l.c: Likewise.
45415 * math/w_hypot.c: Likewise.
45416 * math/w_hypotf.c: Likewise.
45417 * math/w_hypotl.c: Likewise.
45418 * math/w_lgamma.c: Likewise.
45419 * math/w_lgamma_r.c: Likewise.
45420 * math/w_lgammaf.c: Likewise.
45421 * math/w_lgammaf_r.c: Likewise.
45422 * math/w_lgammal.c: Likewise.
45423 * math/w_lgammal_r.c: Likewise.
45424 * math/w_sinh.c: Likewise.
45425 * math/w_sinhf.c: Likewise.
45426 * math/w_sinhl.c: Likewise.
45427 * math/w_tgamma.c: Likewise.
45428 * math/w_tgammaf.c: Likewise.
45429 * math/w_tgammal.c: Likewise.
45430 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45431 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45432 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45433 Minor optimizations. Pretty printing. Remove cruft.
45434 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45436 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45437 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45438 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45439 * sysdeps/i386/fpu/e_asin.S: Likewise.
45440 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45441 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45442 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45443 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45444 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45445 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45446 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45447 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45448 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45449 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45450 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45451 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45452 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45453 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45454 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45455 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45456 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45457 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45458 * sysdeps/i386/fpu/e_log.S: Likewise.
45459 * sysdeps/i386/fpu/e_log10.S: Likewise.
45460 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45461 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45462 * sysdeps/i386/fpu/e_log2.S: Likewise.
45463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45464 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45465 * sysdeps/i386/fpu/e_logf.S: Likewise.
45466 * sysdeps/i386/fpu/e_logl.S: Likewise.
45467 * sysdeps/i386/fpu/e_pow.S: Likewise.
45468 * sysdeps/i386/fpu/e_powf.S: Likewise.
45469 * sysdeps/i386/fpu/e_powl.S: Likewise.
45470 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45471 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45472 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45473 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45474 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45475 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45476 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45477 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45478 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45479 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45480 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45482 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45483 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45484 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45485 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45486 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45488 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45489 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45490 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45492 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45493 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45495 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45496 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45499 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45500 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45501 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45502 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45503 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45504 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45505 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45506 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45507 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45508 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45509 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45510 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45511 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45512 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45513 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45514 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45515 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45516 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45517 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45518 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45519 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45520 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45521 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45522 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45523 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45524 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45525 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45526 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45527 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45528 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45529 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45530 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45531 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45532 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45533 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45534 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45535 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45536 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45537 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45538 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45539 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45540 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45543 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45544 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45545 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45546 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45547 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45548 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45549 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45551 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45552 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45553 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45554 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45555 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45556 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45557 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45558 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45559 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45560 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45561 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45562 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45563 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45564 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45566 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45567 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45568 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45569 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45570 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45571 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45572 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45573 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45574 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45575 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45576 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45577 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45578 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45579 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45580 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45581 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45582 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45584 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45585 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45586 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45587 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45588 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45589 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45590 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45591 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45592 (__isnanf): Likewise.
45593 (__isinf_ns): Likewise.
45594 (__isinf_nsf): Likewise.
45595 (__finite): Likewise.
45596 (__finitef): Likewise.
45597 (__ieee754_sqrt): Define as macro.
45598 (__ieee754_sqrtf): Define as macro.
45599 (__ieee754_sqrtl): Define as macro.
45600 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45601 inlined copy.
45602 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45603 __FINITE_MATH_ONLY__ consistent.
45604 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45605
12cc2fcd
AS
456062011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45607
a843a204
AS
45608 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45609 of rawmemchr.
45610
12cc2fcd
AS
45611 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45612
c853acd5
UD
456132011-10-09 Ulrich Drepper <drepper@gmail.com>
45614
45615 * po/ja.po: Update from translation team.
45616
c658d255
RM
456172011-10-08 Roland McGrath <roland@hack.frob.com>
45618
110946e4
RM
45619 * locale/programs/locarchive.c (prepare_address_space): New function.
45620 (create_archive, enlarge_archive, open_archive): Use it.
45621
50604220
RM
45622 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45623 inside [SHARED], where it is used.
45624
c658d255
RM
45625 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45626
45627 * nss/getent.c (netgroup_keys): Remove unused variable.
45628 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45629
6a621eb7
UD
456302011-10-08 Ulrich Drepper <drepper@gmail.com>
45631
7edb55ce
UD
45632 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45633 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45635 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45636 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45637 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45638 * math/Makefile (libm-calls): Add s_isinf_ns.
45639 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45640 * math/multc3.c: Likewise.
45641 * math/s_casin.c: Likewise.
45642 * math/s_casinf.c: Likewise.
45643 * math/s_casinl.c: Likewise.
45644 * math/s_ccos.c: Likewise.
45645 * math/s_ccosf.c: Likewise.
45646 * math/s_ccosl.c: Likewise.
45647 * math/s_ctan.c: Likewise.
45648 * math/s_ctanf.c: Likewise.
45649 * math/s_ctanh.c: Likewise.
45650 * math/s_ctanhf.c: Likewise.
45651 * math/s_ctanhl.c: Likewise.
45652 * math/s_ctanl.c: Likewise.
45653 * math/w_fmod.c: Likewise.
45654 * math/w_fmodf.c: Likewise.
45655 * math/w_fmodl.c: Likewise.
45656 * math/w_remainder.c: Likewise.
45657 * math/w_remainderf.c: Likewise.
45658 * math/w_remainderl.c: Likewise.
45659 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45660 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45661 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45663 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45664 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45665 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45666 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45667
187da0ae
UD
45668 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45669 of the number.
45670 * stdio-common/printf_fphex.c: Likewise.
45671 * stdio-common/printf_size.c: Likewise.
45672
9277c064
UD
45673 * math/e_exp10.c: Include math_private.h using <...> not "...".
45674 * math/e_exp10f.c: Likewise.
45675 * math/e_exp10l.c: Likewise.
45676 * math/e_exp2l.c: Likewise.
45677 * math/e_j0l.c: Likewise.
45678 * math/e_j1l.c: Likewise.
45679 * math/e_jnl.c: Likewise.
45680 * math/e_lgammal_r.c: Likewise.
45681 * math/e_rem_pio2l.c: Likewise.
45682 * math/e_scalb.c: Likewise.
45683 * math/e_scalbf.c: Likewise.
45684 * math/e_scalbl.c: Likewise.
45685 * math/k_cosl.c: Likewise.
45686 * math/k_sinl.c: Likewise.
45687 * math/k_tanl.c: Likewise.
45688 * math/s_cacoshf.c: Likewise.
45689 * math/s_catan.c: Likewise.
45690 * math/s_catanf.c: Likewise.
45691 * math/s_catanh.c: Likewise.
45692 * math/s_catanhf.c: Likewise.
45693 * math/s_catanhl.c: Likewise.
45694 * math/s_catanl.c: Likewise.
45695 * math/s_ccosh.c: Likewise.
45696 * math/s_ccoshf.c: Likewise.
45697 * math/s_ccoshl.c: Likewise.
45698 * math/s_cexp.c: Likewise.
45699 * math/s_cexpf.c: Likewise.
45700 * math/s_cexpl.c: Likewise.
45701 * math/s_clog.c: Likewise.
45702 * math/s_clog10.c: Likewise.
45703 * math/s_clog10f.c: Likewise.
45704 * math/s_clog10l.c: Likewise.
45705 * math/s_clogf.c: Likewise.
45706 * math/s_clogl.c: Likewise.
45707 * math/s_csin.c: Likewise.
45708 * math/s_csinf.c: Likewise.
45709 * math/s_csinh.c: Likewise.
45710 * math/s_csinhf.c: Likewise.
45711 * math/s_csinhl.c: Likewise.
45712 * math/s_csinl.c: Likewise.
45713 * math/s_csqrt.c: Likewise.
45714 * math/s_csqrtf.c: Likewise.
45715 * math/s_csqrtl.c: Likewise.
45716 * math/s_ctan.c: Likewise.
45717 * math/s_ctanf.c: Likewise.
45718 * math/s_ctanh.c: Likewise.
45719 * math/s_ctanhf.c: Likewise.
45720 * math/s_ctanhl.c: Likewise.
45721 * math/s_ctanl.c: Likewise.
45722 * math/s_ldexp.c: Likewise.
45723 * math/s_ldexpf.c: Likewise.
45724 * math/s_ldexpl.c: Likewise.
45725 * math/s_significand.c: Likewise.
45726 * math/s_significandf.c: Likewise.
45727 * math/s_significandl.c: Likewise.
45728 * math/w_acos.c: Likewise.
45729 * math/w_acosf.c: Likewise.
45730 * math/w_acosh.c: Likewise.
45731 * math/w_acoshf.c: Likewise.
45732 * math/w_acoshl.c: Likewise.
45733 * math/w_acosl.c: Likewise.
45734 * math/w_asin.c: Likewise.
45735 * math/w_asinf.c: Likewise.
45736 * math/w_asinl.c: Likewise.
45737 * math/w_atan2.c: Likewise.
45738 * math/w_atan2f.c: Likewise.
45739 * math/w_atan2l.c: Likewise.
45740 * math/w_atanh.c: Likewise.
45741 * math/w_atanhf.c: Likewise.
45742 * math/w_atanhl.c: Likewise.
45743 * math/w_cosh.c: Likewise.
45744 * math/w_coshf.c: Likewise.
45745 * math/w_coshl.c: Likewise.
45746 * math/w_dremf.c: Likewise.
45747 * math/w_exp10.c: Likewise.
45748 * math/w_exp10f.c: Likewise.
45749 * math/w_exp10l.c: Likewise.
45750 * math/w_exp2.c: Likewise.
45751 * math/w_exp2f.c: Likewise.
45752 * math/w_fmod.c: Likewise.
45753 * math/w_fmodf.c: Likewise.
45754 * math/w_fmodl.c: Likewise.
45755 * math/w_hypot.c: Likewise.
45756 * math/w_hypotf.c: Likewise.
45757 * math/w_hypotl.c: Likewise.
45758 * math/w_j0.c: Likewise.
45759 * math/w_j0f.c: Likewise.
45760 * math/w_j0l.c: Likewise.
45761 * math/w_j1.c: Likewise.
45762 * math/w_j1f.c: Likewise.
45763 * math/w_j1l.c: Likewise.
45764 * math/w_jn.c: Likewise.
45765 * math/w_jnf.c: Likewise.
45766 * math/w_jnl.c: Likewise.
45767 * math/w_lgamma.c: Likewise.
45768 * math/w_lgamma_r.c: Likewise.
45769 * math/w_lgammaf.c: Likewise.
45770 * math/w_lgammaf_r.c: Likewise.
45771 * math/w_lgammal.c: Likewise.
45772 * math/w_lgammal_r.c: Likewise.
45773 * math/w_log.c: Likewise.
45774 * math/w_log10.c: Likewise.
45775 * math/w_log10f.c: Likewise.
45776 * math/w_log10l.c: Likewise.
45777 * math/w_log2.c: Likewise.
45778 * math/w_log2f.c: Likewise.
45779 * math/w_log2l.c: Likewise.
45780 * math/w_logf.c: Likewise.
45781 * math/w_logl.c: Likewise.
45782 * math/w_pow.c: Likewise.
45783 * math/w_powf.c: Likewise.
45784 * math/w_powl.c: Likewise.
45785 * math/w_remainder.c: Likewise.
45786 * math/w_remainderf.c: Likewise.
45787 * math/w_remainderl.c: Likewise.
45788 * math/w_scalb.c: Likewise.
45789 * math/w_scalbf.c: Likewise.
45790 * math/w_scalbl.c: Likewise.
45791 * math/w_sinh.c: Likewise.
45792 * math/w_sinhf.c: Likewise.
45793 * math/w_sinhl.c: Likewise.
45794 * math/w_sqrt.c: Likewise.
45795 * math/w_sqrtf.c: Likewise.
45796 * math/w_sqrtl.c: Likewise.
45797 * math/w_tgamma.c: Likewise.
45798 * math/w_tgammaf.c: Likewise.
45799 * math/w_tgammal.c: Likewise.
45800
6a621eb7
UD
45801 * po/ja.po: Update from translation team.
45802
bf582445
AJ
458032011-09-29 Andreas Jaeger <aj@suse.de>
45804
f9efbf3a
AJ
45805 [BZ #13179]
45806 * sunrpc/netname.c (netname2host): Fix logic.
45807
bf582445
AJ
45808 [BZ #6779]
45809 [BZ #6783]
45810 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45811 correctly.
45812 * math/w_remainder.c (__remainder): Likewise.
45813 * math/w_remainderf.c (__remainderf): Likewise.
45814 * math/libm-test.inc (remainder_test): Add test cases.
45815
48693bea
AK
458162011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45817
45818 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45819 sdiv_qrnnd.
45820
42622229
LD
458212011-10-07 Ulrich Drepper <drepper@gmail.com>
45822
45823 * string/test-memcmp.c: Avoid unncessary #defines.
45824 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45825
093ecf92
LD
458262011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45827
45828 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45829 Use new sse2 version for core i3 - i7 as it's faster
45830 than sse42 version.
45831 (bit_Prefer_PMINUB_for_stringop): New.
45832 * sysdeps/x86_64/rawmemchr.S: Update.
45833 Replace with faster SSE2 version.
45834 * sysdeps/x86_64/memrchr.S: New file.
45835 * sysdeps/x86_64/memchr.S: Update.
45836 Replace with faster SSE2 version.
45837
fde56e5c
MP
458382011-09-12 Marek Polacek <mpolacek@redhat.com>
45839
45840 * elf/dl-load.c (lose): Add cast to avoid warning.
45841
21fd49a9
UD
458422011-10-07 Ulrich Drepper <drepper@gmail.com>
45843
5a06e643
UD
45844 * po/ca.po: Update from translation team.
45845
684ae515
UD
45846 * inet/getnetgrent_r.c: Hook up nscd.
45847 * nscd/Makefile (routines): Add nscd_netgroup.
45848 (nscd-modules): Add netgroupcache.
45849 (CFLAGS-netgroupcache.c): Define.
45850 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45851 (cache_search): Add const to second parameter.
45852 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45853 INNETGR.
45854 (dbs): Add netgrdb entry.
45855 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45856 (verify_persistent_db): Handle netgrdb.
45857 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45858 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45859 GETFDNETGR.
45860 (netgroup_response_header): Define.
45861 (innetgroup_response_header): Define.
45862 (datahead): Add netgroup_response_header and innetgroup_response_header
45863 elements.
45864 * nscd/nscd.conf: Add entries for netgroup cache.
45865 * nscd/nscd.h (dbtype): Add netgrdb.
45866 (_PATH_NSCD_NETGROUP_DB): Define.
45867 (netgroup_iov_disabled): Declare.
45868 (xmalloc, xcalloc, xrealloc): Move declarations here.
45869 (cache_search): Adjust prototype.
45870 Add netgroup-related prototypes.
45871 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45872 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45873 (__nscd_innetgr): Declare.
45874 * nscd/selinux.c (perms): Use access_vector_t as element type and
45875 add netgroup-related initializers.
45876 * nscd/netgroupcache.c: New file.
45877 * nscd/nscd_netgroup.c: New file.
45878 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45879 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45880 For four parameters use innetgr.
45881 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45882 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45883 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45884 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45885
21fd49a9
UD
45886 * nscd/connections.c (register_traced_file): Don't register file
45887 for disabled databases.
45888
054c0457
UD
458892011-10-06 Ulrich Drepper <drepper@gmail.com>
45890
32b63198
UD
45891 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45892
054c0457
UD
45893 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45894 from tree and freeing node.
45895
64031225
JO
458962011-09-25 Jiri Olsa <jolsa@redhat.com>
45897
45898 * nss/nsswitch.c (__nss_database_lookup): Handle
45899 nss_parse_service_list out of memory case.
45900
0490345c
JO
459012011-09-15 Jiri Olsa <jolsa@redhat.com>
45902
45903 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45904 out of memory case.
45905
3a62d00d
AS
459062011-10-04 Andreas Schwab <schwab@redhat.com>
45907
45908 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45909 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45910 pass it down.
45911 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45912 elf_machine_rela, elf_machine_lazy_rel.
45913 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45914 (ELF_DYNAMIC_DO_REL): Likewise.
45915 (ELF_DYNAMIC_DO_RELA): Likewise.
45916 (ELF_DYNAMIC_RELOCATE): Likewise.
45917 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45918 to ELF_DYNAMIC_DO_REL.
45919 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45920 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45921 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45922 elf_machine_rela.
45923 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45924 skip_ifunc, don't call ifunc function if non-zero.
45925 (elf_machine_rela): Likewise.
45926 (elf_machine_lazy_rel): Likewise.
45927 (elf_machine_lazy_rela): Likewise.
45928 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45929 (elf_machine_lazy_rel): Likewise.
45930 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45931 Likewise.
45932 (elf_machine_lazy_rel): Likewise.
45933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45934 Likewise.
45935 (elf_machine_lazy_rel): Likewise.
45936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45937 (elf_machine_lazy_rel): Likewise.
45938 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45939 (elf_machine_lazy_rel): Likewise.
45940 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45941 (elf_machine_lazy_rel): Likewise.
45942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45943 (elf_machine_lazy_rel): Likewise.
45944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45945 (elf_machine_lazy_rel): Likewise.
45946 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45947 (elf_machine_lazy_rel): Likewise.
45948
68577918
UD
459492011-09-28 Ulrich Drepper <drepper@gmail.com>
45950
45951 * nss/nss_files/files-init.c (_nss_files_init): Use static
45952 initialization for all the *_traced_file variables.
45953
68822d74
AS
459542011-09-28 Andreas Schwab <schwab@redhat.com>
45955
45956 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45957
2056100b
RM
459582011-09-27 Roland McGrath <roland@hack.frob.com>
45959
45960 [BZ #13226]
45961 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45962
32c76b63
AS
459632011-09-27 Andreas Schwab <schwab@redhat.com>
45964
45965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45966 Reread the line before reparsing it.
45967
bf972c9d
AS
459682011-09-26 Andreas Schwab <schwab@redhat.com>
45969
45970 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45971
e057a1b5
JM
459722011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45973 Maxim Kuvyrkov <maxim@codesourcery.com>
45974 Joseph Myers <joseph@codesourcery.com>
45975
45976 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45977 if needed for __stack_chk_guard.
45978
bc7e1c36
RM
459792011-09-19 Roland McGrath <roland@hack.frob.com>
45980
ecb1482f
RM
45981 * sysdeps/posix/spawni.c (script_execute): Always define it.
45982 It will be optimized away if unused.
45983 (maybe_script_execute): New function.
45984 (__spawni): Call it.
45985
bc7e1c36
RM
45986 * Makerules: Don't include tls.make.
45987 (config-tls): Always set to thread.
45988 * tls.make.c: File removed.
45989
1c3b002b
MF
459902011-09-19 Mike Frysinger <vapier@gentoo.org>
45991
45992 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45993 * config.make.in (CPPFLAGS-config): New substituted variable.
45994
2840865d
UD
459952011-09-15 Ulrich Drepper <drepper@gmail.com>
45996
88738eb6
UD
45997 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45998
cbf645a6 45999 [BZ #13192]
2840865d
UD
46000 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46001 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46002
b402e91a
RM
460032011-09-15 Roland McGrath <roland@hack.frob.com>
46004
46005 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46006 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46008 (CALL_FAIL): Likewise.
46009 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46010 (CALL_FAIL): Macro removed.
46011 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46012
4c1a1f71
UD
460132011-09-15 Ulrich Drepper <drepper@gmail.com>
46014
46015 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46016 for __FINITE_MATH_ONLY__ == 1.
46017
edc121be
AS
460182011-09-15 Andreas Schwab <schwab@redhat.com>
46019
46020 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46021 __ieee754_sqrt instead of sqrt.
46022 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46023 __ieee754_sqrtf instead of sqrtf.
46024 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46025 __floorf instead of floorf.
46026 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46027 __floorf, __truncf instead of floorf, truncf.
46028
cd205654
UD
460292011-09-14 Ulrich Drepper <drepper@gmail.com>
46030
ee4d0315
UD
46031 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46032
cd205654
UD
46033 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46034 __extern_always_inline.
46035 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46036 32-bit.
46037
48b67d71
AS
460382011-09-14 Andreas Schwab <schwab@redhat.com>
46039
46040 * elf/rtld.c (dl_main): Also relocate in dependency order when
46041 doing symbol dependency testing.
46042
1ae12c75
AS
460432011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46044
46045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46046 Always define `refsym'.
46047
995a80df
AS
460482011-09-13 Andreas Schwab <schwab@redhat.com>
46049
e529793b
AS
46050 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46051 (__FD_ELT): Renamed from __FDELT.
46052 * misc/bits/select2.h (__FD_ELT): Likewise.
46053 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46054 __FD_MASK instead of __FDELT, __FDMASK.
46055 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46056 Likewise.
46057 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46058 Likewise.
46059
52d4fef8
AS
46060 * elf/Makefile (gen-ldd): Fix pattern.
46061
995a80df
AS
46062 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46063 (init_tls): Likewise.
46064
8682f8b0
UD
460652011-09-12 Ulrich Drepper <drepper@gmail.com>
46066
46067 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46068
de82006d
AS
460692011-09-12 Andreas Schwab <schwab@redhat.com>
46070
a7c8e6a1
AS
46071 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46072 `struct cmsghdr *' instead of `void *'.
46073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46074 Likewise.
46075
0f31fe77
AS
460762011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46077
46078 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46079 if non-absolute.
46080 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46081 ldd_rewrite_script.
0f31fe77 46082
32b4c839
UD
460832011-09-11 Ulrich Drepper <drepper@gmail.com>
46084
83cd1420
UD
46085 * configure.in: Remove --with-tls option.
46086 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46087 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46088 out in case it is missing.
46089 * sysdeps/ia64/elf/configure.in: Likewise.
46090 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46091 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46092 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46093 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46094 * sysdeps/sh/elf/configure.in: Likewise.
46095 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46096 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46097 * sysdeps/x86_64/elf/configure.in: Likewise.
46098 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46099 * sysdeps/mach/hurd/tls.h: Likewise.
46100
633f745d
UD
46101 [BZ #13067]
46102 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46103
f318beb8
UD
46104 [BZ #13090]
46105 * configure.in: Fix use of AC_INIT.
46106
32b4c839
UD
46107 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46108
3ce1f295
UD
461092011-09-10 Ulrich Drepper <drepper@gmail.com>
46110
bb016596
UD
46111 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46112 __set_errno.
8e58439c
UD
46113 * malloc/hooks.c: Likewise.
46114
aebae053 46115 [BZ #11929]
02d46fc4
UD
46116 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46117 variables statically.
46118 (narenas): Initialize.
46119 (list_lock): Initialize.
bb016596
UD
46120 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46121 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
46122 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46123 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46124 Add initializers to main_arena and mp_.
46125 (malloc_state): Remove pagesize member. Change all users to use
46126 GLRO(dl_pagesize).
46127
46128 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46129 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46130 is always initialized.
46131
22a89187
UD
46132 * malloc/malloc.c: Removed unused configurations and dead code.
46133 * malloc/arena.c: Likewise.
46134 * malloc/hooks.c: Likewise.
02d46fc4 46135 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 46136
d063d164
UD
46137 * include/tls.h: Removed. USE___THREAD must always be defined.
46138 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46139 * elf/dl-libc.c: Likewise.
46140 * elf/dl-tsd.c: Likewise.
46141 * include/errno.h: Likewise.
46142 * include/netdb.h: Likewise.
46143 * include/resolv.h: Likewise.
46144 * inet/herrno-loc.c: Likewise.
46145 * inet/herrno.c: Likewise.
46146 * malloc/arena.c: Likewise.
46147 * malloc/hooks.c: Likewise.
46148 * malloc/malloc.c: Likewise.
46149 * resolv/res-state.c: Likewise.
46150 * resolv/res_libc.c: Likewise.
46151 * sysdeps/i386/dl-machine.h: Likewise.
46152 * sysdeps/ia64/dl-machine.h: Likewise.
46153 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46154 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46155 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46156 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46157 * sysdeps/sh/dl-machine.h: Likewise.
46158 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46159 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46160 * sysdeps/unix/i386/sysdep.S: Likewise.
46161 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46162 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46167 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46171 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46172 * sysdeps/x86_64/dl-machine.h: Likewise.
46173 * tls.make.c: Likewise.
46174
3ce1f295
UD
46175 * configure.in: Remove --with-__thread option. Make tests for
46176 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46177 tls_model attribute fail if no support is available. Remove
46178 USE_IN_LIBIO.
46179 * Makeconfig: Adjust for dropped configure option. All features are
46180 now mandatory.
46181 * Makerules: Likewise.
46182 * Versions.def: Likewise.
46183 * argp/argp-fmtstream.c: Likewise.
46184 * argp/argp-fmtstream.h: Likewise.
46185 * argp/argp-help.c: Likewise.
46186 * assert/assert.c: Likewise.
46187 * config.h.in: Likewise.
46188 * config.make.in: Likewise.
46189 * configure: Likewise.
46190 * configure.in: Likewise.
46191 * csu/Versions: Likewise.
46192 * csu/init.c: Likewise.
46193 * elf/tst-audit2.c: Likewise.
46194 * elf/tst-tls10.c: Likewise.
46195 * elf/tst-tls10.h: Likewise.
46196 * elf/tst-tls11.c: Likewise.
46197 * elf/tst-tls12.c: Likewise.
46198 * elf/tst-tls14.c: Likewise.
46199 * elf/tst-tlsmod11.c: Likewise.
46200 * elf/tst-tlsmod12.c: Likewise.
46201 * elf/tst-tlsmod13.c: Likewise.
46202 * elf/tst-tlsmod13a.c: Likewise.
46203 * elf/tst-tlsmod14a.c: Likewise.
46204 * elf/tst-tlsmod15b.c: Likewise.
46205 * elf/tst-tlsmod16a.c: Likewise.
46206 * elf/tst-tlsmod16b.c: Likewise.
46207 * elf/tst-tlsmod7.c: Likewise.
46208 * elf/tst-tlsmod8.c: Likewise.
46209 * elf/tst-tlsmod9.c: Likewise.
46210 * gmon/gmon.c: Likewise.
46211 * grp/fgetgrent_r.c: Likewise.
46212 * grp/putgrent.c: Likewise.
46213 * hurd/fopenport.c: Likewise.
46214 * include/libc-symbols.h: Likewise.
46215 * include/tls.h: Likewise.
46216 * intl/gettextP.h: Likewise.
46217 * intl/loadinfo.h: Likewise.
46218 * locale/global-locale.c: Likewise.
46219 * locale/localeinfo.h: Likewise.
46220 * mach/devstream.c: Likewise.
46221 * malloc/arena.c: Likewise.
46222 * malloc/set-freeres.c: Likewise.
46223 * misc/err.c: Likewise.
46224 * misc/getttyent.c: Likewise.
46225 * misc/mntent_r.c: Likewise.
46226 * posix/getopt.c: Likewise.
46227 * posix/wordexp.c: Likewise.
46228 * pwd/fgetpwent_r.c: Likewise.
46229 * resolv/Versions: Likewise.
46230 * resolv/res_hconf.c: Likewise.
46231 * shadow/fgetspent_r.c: Likewise.
46232 * shadow/putspent.c: Likewise.
46233 * stdio-common/printf_fphex.c: Likewise.
46234 * stdio-common/tmpfile.c: Likewise.
46235 * stdlib/abort.c: Likewise.
46236 * stdlib/fmtmsg.c: Likewise.
46237 * sunrpc/auth_unix.c: Likewise.
46238 * sunrpc/clnt_perr.c: Likewise.
46239 * sunrpc/clnt_tcp.c: Likewise.
46240 * sunrpc/clnt_udp.c: Likewise.
46241 * sunrpc/clnt_unix.c: Likewise.
46242 * sunrpc/openchild.c: Likewise.
46243 * sunrpc/svc_simple.c: Likewise.
46244 * sunrpc/svc_tcp.c: Likewise.
46245 * sunrpc/svc_udp.c: Likewise.
46246 * sunrpc/svc_unix.c: Likewise.
46247 * sunrpc/xdr.c: Likewise.
46248 * sunrpc/xdr_array.c: Likewise.
46249 * sunrpc/xdr_rec.c: Likewise.
46250 * sunrpc/xdr_ref.c: Likewise.
46251 * sunrpc/xdr_stdio.c: Likewise.
46252
1248c1c4
PB
462532011-09-09 Ulrich Drepper <drepper@gmail.com>
46254
46255 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46256
462572011-07-03 Andreas Jaeger <aj@suse.de>
46258
46259 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46260 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46261 regenerate with gen-libm-tests.pl.
46262
462632010-05-12 Petr Baudis <pasky@suse.cz>
46264
46265 [BZ #11589]
46266 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46267 around j0() zero points by switching to j1().
46268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46269 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46271 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46272
f22e1074
UD
462732011-09-09 Ulrich Drepper <drepper@gmail.com>
46274
f19009c1
UD
46275 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46276 instead of 0.
46277 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46278 instead of 0.
f19009c1
UD
46279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46280 Patch in part by Pavel Roskin <proski@gnu.org>.
46281
3f8cc204
UD
46282 [BZ #13138]
46283 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46284 realloc.
46285 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46286 Free memory block if necessary.
46287
f22e1074
UD
46288 [BZ #12847]
46289 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46290 be NULL. Don't lock in this case.
46291
0a2349f9
RM
462922011-09-09 Roland McGrath <roland@hack.frob.com>
46293
46294 * elf/elf.h (ELFOSABI_GNU): New macro.
46295 (ELFOSABI_LINUX): Define to that.
46296
f3cdd467
DZ
462972011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46298
46299 * string/strncat.c (strncat): Undef the symbol in case it has been
46300 defined in bits/string.h.
46301
74718d13
UD
463022011-09-09 Ulrich Drepper <drepper@gmail.com>
46303
633e9e0f
UD
46304 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46305
0a2349f9 46306 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46307 link map.
46308
f9924780
AJ
463092011-08-17 Andreas Jaeger <aj@suse.de>
46310
46311 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46312
7f5517aa
PP
463132011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46314 Ian Lance Taylor <iant@google.com>
46315
46316 * math/libm-test.inc (lround_test): New testcase.
46317 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46318
762011fe
UD
463192011-09-08 Ulrich Drepper <drepper@gmail.com>
46320
92963737
UD
46321 * Makefile: Remove support for automatic cvs check-ins.
46322 * Makerules: Likewise.
46323 * config.make.in: Likewise.
46324 * configure.in: Likewise.
46325 * intl/Makefile: Likewise.
46326 * locale/Makefile: Likewise.
46327 * po/Makefile: Likewise.
46328 * posix/Makefile: Likewise.
46329 * sysdeps/gnu/Makefile: Likewise.
46330 * sysdeps/mach/hurd/Makefile: Likewise.
46331 * sysdeps/sparc/sparc32/Makefile: Likewise.
46332
b0727fd8
JS
46333 [BZ #13118]
46334 * posix/Makefile (bug-regex32-ENV): Define.
46335 Patch by John Stanley <jpsinthemix@verizon.net>.
46336
a0f33f99
UD
46337 * misc/Makefile (headers): Add bits/select2.h.
46338 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46339 * misc/bits/select2.h: New file.
46340 * include/bits/select2.h: New file.
46341 * debug/Makefile (routines): Add fdelt_chk.
46342 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46343 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46344 FD_ISSET.
46345 * debug/fdelt_chk.c: New file.
46346
762011fe
UD
46347 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46348 * wcsmbs/test-wmemcmp.c: Likewise.
46349 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46350 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46351
463522011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46353
46354 * string/Makefile (strop-tests): Add memcmp.
46355 * string/test-wmemcmp.c: New file.
46356 * string/test-memcmp.c: Add wmemcmp support.
46357
7f513ec8
RM
463582011-09-08 Roland McGrath <roland@hack.frob.com>
46359
0442afb4
RM
46360 [BZ #13153]
46361 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46362 2011-07-19 change.
46363
7f513ec8
RM
46364 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46365 garbage value in a __mach_port_mod_refs call in the cases of the
46366 task-self and thread-self ports.
46367
a12b2239
ST
463682011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46369
46370 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46371
610f9ab4
AS
463722011-09-08 Andreas Schwab <schwab@redhat.com>
46373
7f513ec8 46374 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46375
48882a1a
LD
463762011-09-07 Ulrich Drepper <drepper@gmail.com>
46377
b49865be
UD
46378 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46379
fdc86bc9
UD
46380 * elf/dl-libc.c (dlerror_run): Pass back error code from
46381 dl_catch_error.
46382
c966526a
UD
46383 [BZ #13123]
46384 * elf/dl-load.c (lose): Free l_origin if it is valid.
46385
48882a1a
LD
46386 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46387 names.
46388 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46391 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46392 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46393 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46394
77a2a8b4
AZ
463952011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46396
46397 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46398 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46399 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46400 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46401 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46402 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46403 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46404 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46405 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46406 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46407
24f579d8
AM
464082011-08-15 Alan Modra <amodra@gmail.com>
46409
46410 [BZ #13092]
46411 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46412 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46413 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46414 ppc_mcount to static-only-routines.
46415 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46416 __mcount_internal.
46417 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46418 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46419
3d4837df
UD
464202011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46421
46422 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46423 for finite and infinity parameters.
46424
22700377
WS
464252011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46426
46427 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46428 and add nop instructions for throughput optimization.
46429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46430
5025581e
WS
464312011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46432
46433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46434 aligned copy for power7 with vector-scalar instructions.
46435 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46436
08a300c9
L
464372011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46438
46439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46440 AVX check.
46441
59178ef9
AS
464422011-09-07 Andreas Schwab <schwab@redhat.com>
46443
46444 [BZ #13144]
46445 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46446 last change.
46447
e38ba7ab
UD
464482011-09-07 Ulrich Drepper <drepper@gmail.com>
46449
46450 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46451 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46452 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46453 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46454 clock_gettime.
46455
d53a73ac
UD
464562011-09-06 Ulrich Drepper <drepper@gmail.com>
46457
fc8bffcc
UD
46458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46459 Forgot to demangle the pointer.
46460
ceaa0c5d
UD
46461 * sysdeps/i386/sysdep.h: Define atom_text_section.
46462 * sysdeps/x86_64/sysdep.h: Likewise.
46463 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46464 section with atom_text_section.
46465 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46466 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46467 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46469 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46470
a77d3c17
UD
46471 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46472 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46473 already be defined. Change to take two parameters and don't assign
46474 result to variable. Adjust all users.
46475 Define INTERNAL_GETTIME if not already defined.
46476 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46477 call.
46478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46479 HAVE_CLOCK_GETTIME_VSYSCALL.
46480 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46481
d53a73ac
UD
46482 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46483 gettimeofday vsyscall, just use time.
46484
a8f84144
AS
464852011-09-06 Andreas Schwab <schwab@redhat.com>
46486
46487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46488 <errno.h>.
46489
ef606249
UD
464902011-09-06 Ulrich Drepper <drepper@gmail.com>
46491
46492 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46493 syscall on x86-64.
46494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46495 syscall.
46496 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46497 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46498 syscall if possible.
46499
6585cb60
UD
465002011-09-05 Ulrich Drepper <drepper@gmail.com>
46501
46502 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46503 e_ident. Don't pass to find_mapsXX.
46504 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46505
a5f524e4
LD
465062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46507
46508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46509 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46510 * sysdeps/x86_64/multiarch/strchr.S: Update.
46511 Check bit_slow_BSF bit.
46512 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46513 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46514 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46515
554881ef
UD
465162011-09-05 Ulrich Drepper <drepper@gmail.com>
46517
d96de963
UD
46518 [BZ #13134]
46519 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46520 before glibc 2.15.
46521 (tryshell): Define.
46522 (__spawni): Change last parameter to be flag. Test
46523 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46524 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46525 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46526 * posix/spawni.c: Likewise.
46527 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46528 * posix/spawnp.c: Likewise. Change normal version to use
46529 SPAWN_XFLAGS_USE_PATH.
46530 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46531 SPAWN_XFLAGS_TRY_SHELL.
46532
d48e5868
UD
46533 [BZ #13150]
46534 * posix/glob.h: Remove gcc 1.x support.
46535
554881ef
UD
46536 [BZ #13068]
46537 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46538
693fb948
LD
465392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46540
46541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46542 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46543 strrchr-sse2-bsf
46544 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46545 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46546 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46547 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46548 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46550
1b48c537
UD
465512011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46552
49d42c37
UD
46553 * sysdeps/x86_64/wcscmp.S: New file.
46554
1b48c537
UD
46555 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46556 wcscmp-c wcscmp-sse2
46557 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46558 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46559 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46560 * wcsmbs/wcscmp.c: Allow renaming.
46561
15c95c5d
DM
465622011-09-05 David S. Miller <davem@davemloft.net>
46563
46564 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46565 stack slot, rather than the struct return pointer slot.
46566 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46567 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46569 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46570
2f0ad8f3
UD
465712011-09-05 Ulrich Drepper <drepper@gmail.com>
46572
d88ae418
UD
46573 * po/ja.po: Update from translation team.
46574
2f0ad8f3
UD
46575 [BZ #13144]
46576 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46577 kernel in 64-bit binaries.
46578
5f4318d1
DM
465792011-09-01 David S. Miller <davem@davemloft.net>
46580
46581 * elf/elf.h (HWCAP_SPARC_*): Move to..
46582 * sysdeps/sparc/sysdep.h: this new file and add new values.
46583 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46584 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46585 _DL_HWCAP_COUNT to 24.
46586 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46587 entries.
46588 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46589 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46590 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46592 instead of magic constants.
46593 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46594
3ba57516
DM
465952011-08-31 David S. Miller <davem@davemloft.net>
46596
46597 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46599 Reimplement to do errno handling inline.
46600 (SYSCALL_ERROR_HANDLER): New macro.
46601 (__SYSCALL_STRING): Do not do errno handling in asm.
46602 (__CLONE_SYSCALL_STRING): Delete.
46603 (__INTERNAL_SYSCALL_STRING): Delete.
46604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46605 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46606 (PSEUDO): Reimplement to do errno handling inline.
46607 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46608 (SYSCALL_ERROR_HANDLER): New macro.
46609 (__SYSCALL_STRING): Do not do errno handling in asm.
46610 (__CLONE_SYSCALL_STRING): Delete.
46611 (__INTERNAL_SYSCALL_STRING): Delete.
46612 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46613 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46614 i386.
46615 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46616 (inline_syscall*): Add 'err' argument.
46617 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46618 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46619 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46620 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46621
46622 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46623 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46624
2bc17433
AS
466252011-08-30 Andreas Schwab <schwab@redhat.com>
46626
46627 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46628
fbeb5f4d
JO
466292011-08-29 Jiri Olsa <jolsa@redhat.com>
46630
46631 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46632 directive.
46633
ad69cc26
DM
466342011-08-24 David S. Miller <davem@davemloft.net>
46635
46636 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46637
39dd69df
AS
466382011-08-24 Andreas Schwab <schwab@redhat.com>
46639
46640 * elf/Makefile: Add rules to build and run unload8 test.
46641 * elf/unload8.c: New file.
46642 * elf/unload8mod1.c: New file.
46643 * elf/unload8mod1x.c: New file.
46644 * elf/unload8mod2.c: New file.
46645 * elf/unload8mod3.c: New file.
46646
46647 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46648 it wasn't used.
46649
2c0b250a
DM
466502011-08-23 David S. Miller <davem@davemloft.net>
46651
46652 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46653 subtract stack bias.
46654 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46655 %sp not %fp in calculations.
46656 (_JMPBUF_UNWINDS_ADJ): Likewise.
46657
22044b48
DM
46658 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46659 (aio_suspend): Call it to force an exception region around the
46660 AIO_MISC_WAIT() invocation.
46661
2cae4995
AS
466622011-08-23 Andreas Schwab <schwab@redhat.com>
46663
46664 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46665 backslash.
46666
873a772e
AJ
466672011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46668
46669 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46670 protection macro.
46671 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46672 and <dl-machine.h>.
46673 (Elf64_FuncDesc): Remove.
46674
25ad0df1
DM
466752011-08-22 David S. Miller <davem@davemloft.net>
46676
46677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46678 sigaltstack check, add missing cfi directives.
46679 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46680 missing cfi directives, and sigaltstack handling.
46681
e888bcbe
AS
466822011-08-16 Andreas Schwab <schwab@redhat.com>
46683
46684 [BZ #11724]
46685 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46686 object is seen twice.
46687 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46688
46689 * elf/Makefile (distribute): Add tst-initorder2.c.
46690 (tests): Add tst-initorder2.
46691 (modules-names): Add tst-initorder2a tst-initorder2b
46692 tst-initorder2c tst-initorder2d. Add rules to build them.
46693 ($(objpfx)tst-initorder2.out): New rule.
46694 * elf/tst-initorder2.c: New file.
46695 * elf/tst-initorder2.exp: New file.
46696
87162f46
AS
466972011-08-22 Andreas Schwab <schwab@redhat.com>
46698
70538b7f
AS
46699 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46700
f55ffe58
AS
46701 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46702 dependencies back to end of function.
46703
87162f46
AS
46704 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46705 $(elfobjdir)/ld.so.
46706
91b392a4
UD
467072011-08-21 Ulrich Drepper <drepper@gmail.com>
46708
46709 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46710 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46712 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46713 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46714 of __vdso_gettimeofday.
46715 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46716 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46717 attribute_hidden.
46718 (_libc_vdso_platform_setup): Remove initialization of
46719 __vdso_gettimeofday and __vdso_time.
46720
5c43483f
UD
467212011-08-20 Ulrich Drepper <drepper@gmail.com>
46722
775a77e7
UD
46723 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46724 and fgetc_unlocked.
46725 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46726 getc_unlocked.
89f447ed 46727
49c74ba9
UD
46728 * elf/dl-open.c (add_to_global): Report additions to the global scope
46729 for LD_DEBUG=scopes.
46730 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 46731 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 46732
5c43483f
UD
46733 [BZ #13114]
46734 * stdio-common/Makefile (tests): Add bug24.
46735 * stdio-common/bug24.c: New file.
46736
a101b025
AJ
467372011-08-19 Andreas Jaeger <aj@suse.de>
46738
46739 [BZ #13114]
46740 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46741 non-existant file when using close-on-exec mode.
46742
c88f1766
UD
467432011-08-20 Ulrich Drepper <drepper@gmail.com>
46744
0276a718
UD
46745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46746 the very first instruction.
46747
c88f1766
UD
46748 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46749 the CFI state in the end.
46750 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46751 inclusion of dl-trampoline.h.
46752 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46753
51ccffa0
AS
467542011-08-19 Andreas Schwab <schwab@redhat.com>
46755
94d7165f
AS
46756 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46757 expectations for long double.
46758
51ccffa0
AS
46759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46760 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46761
fd708658 467622011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
46763
46764 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46765 artificual limit depends upon the system page size.
46766
44f0a71e
UD
467672011-08-17 Ulrich Drepper <drepper@gmail.com>
46768
46769 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46770 * resolv/Makefile: Define CFLAGS-libresolv.
46771
8de79a24
AS
467722011-08-17 Andreas Schwab <schwab@redhat.com>
46773
46774 * nss/makedb.c (compute_tables): Make variables used in nested
46775 function static.
46776
27724598
UD
467772011-08-17 Ulrich Drepper <drepper@gmail.com>
46778
c5305d88
UD
46779 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46780 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46781 if buffer was too small.
46782
27724598
UD
46783 * elf/pldd.c (main): Attach to all threads in the process.
46784 Rewrite /proc handling to use *at functions.
46785
076fe015
UD
467862011-08-16 Ulrich Drepper <drepper@gmail.com>
46787
174baab3
UD
46788 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46789 specifies first scope to show.
46790 (dl_open_worker): Update callers. Move printing scope of new
46791 object to before the relocation.
44f0a71e 46792 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46793 * sysdeps/generic/ldsodefs.h: Update declaration.
46794
076fe015
UD
46795 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46796 string for the scope number.
46797
a60df2c3
UD
467982011-08-14 Ulrich Drepper <drepper@gmail.com>
46799
46800 * nscd/servicescache.c (cache_addserv): Make sure written is always
46801 initialized.
46802
5e4287d1
RM
468032011-08-14 Roland McGrath <roland@hack.frob.com>
46804
85ae0589
RM
46805 * sysdeps/i386/i486/bits/atomic.h
46806 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46807 statement expression, so as to suppress "set but not used" warning.
46808 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46809
69f63097
RM
46810 * string/strncat.c (STRNCAT): Use prototype definition.
46811
675456ef
RM
46812 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46813 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46814 -Iprograms here.
46815 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46816 (localedef-modules): Add localedef.
46817 (locale-modules): Add locale.
46818
5e4287d1
RM
46819 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46820 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46821 to avoid a warning.
46822
9c96ff23
DM
468232011-08-14 David S. Miller <davem@davemloft.net>
46824
46825 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46826 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46827
f9ddf089
UD
468282011-08-13 Ulrich Drepper <drepper@gmail.com>
46829
44f0a71e 46830 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46831 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46832 * elf/rtld.c (dl_main): Set l_name of vDSO.
46833 Call _dl_show_scope when DL_DEBUG_SCOPES.
46834 (process_dl_debug): Recognize scopes flag and also set it for all.
46835 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46836 Declare _dl_show_scope.
46837
1dc27704
UD
46838 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46839 (do_dlopen): Pass caller_dlopen to dl_open.
46840 (__libc_dlopen_mode): Initialize caller_dlopen.
46841
f9ddf089
UD
46842 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46843 of libc. Make tolower call locale-independent. Optimize a bit by
46844 using isdigit instead of isalnum.
46845 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46846
9ac533d3
UD
468472011-08-12 Ulrich Drepper <drepper@gmail.com>
46848
46849 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46850 was a dependency or dynamically loaded.
46851
89edf2e9
UD
468522011-08-11 Ulrich Drepper <drepper@gmail.com>
46853
8e999d29
UD
46854 * intl/l10nflist.c: Allow architecture-specific pop function.
46855 * sysdeps/x86_64/l10nflist.c: New file.
46856
89edf2e9
UD
46857 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46858 classification.
46859
14d96785
AS
468602011-08-10 Andreas Schwab <schwab@redhat.com>
46861
46862 * include/dirent.h: Add libc_hidden_proto for scandirat and
46863 scandirat64. Don't declare __scandirat64.
46864 * dirent/scandirat.c: Add libc_hidden_def.
46865 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46866 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46867
6761ac04
DM
468682011-08-10 David S. Miller <davem@davemloft.net>
46869
46870 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46871 enum.
46872 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46873 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46874 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46875
c55fbd1e
UD
468762011-08-09 Ulrich Drepper <drepper@gmail.com>
46877
46878 * Versions.def [libc]: Add GLIBC_2.15.
46879 * dirent/Makefile (routines): Add scandirat and scandirat64.
46880 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46881 GLIBC_2.15.
46882 * dirent/dirent.h: Declare scandirat and scandirat64.
46883 * dirent/scandirat.c: New file.
46884 * dirent/scandirat64.c: New file.
46885 * sysdeps/wordsize-64/scandirat.c: New file.
46886 * sysdeps/wordsize-64/scandirat64.c: New file.
46887 * dirent/opendir.c: Define opendirat.
46888 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46889 using scandirat.
46890 * dirent/scandir64.c: Adjust for scandir.c change.
46891 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46892 __scandirat64, and __scandir_cancel_handler.
46893 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46894 additional parameter and use openat instead of open (outside of ld.so).
46895 Add new __opendir as wrapper around __opendirat.
46896 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46897 here without requiring old scandirat implementation.
46898
879165f2
UD
468992011-08-08 Ulrich Drepper <drepper@gmail.com>
46900
46901 * dirent/scandir.c (cancel_handler): Renamed to
46902 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46903 defined. Adjust users.
46904 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46905 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46906
cb7e923b
UD
469072011-08-04 Ulrich Drepper <drepper@gmail.com>
46908
16292edd
UD
46909 * string/test-string.h (IMPL): Use __STRING to expand name and then
46910 stringify it.
46911
cb7e923b
UD
46912 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46913 of cleanups.
46914
cff82933
LD
469152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46916
46917 * string/Makefile: Update.
46918 (strop-tests): Append strncat.
46919 * string/test-wcscmp.c: New file.
46920 New comprehensive test for wcscmp.
46921 * string/test-strcmp.c: Update.
46922 (WIDE): New define.
46923
9be9bfcc
AS
469242011-07-22 Andreas Schwab <schwab@redhat.com>
46925
46926 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46927 line.
46928
2e96f1c7
AS
469292011-07-26 Andreas Schwab <schwab@redhat.com>
46930
46931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46932 encoding to ACE if AI_IDN.
46933
85188888
JJ
469342011-08-01 Jakub Jelinek <jakub@redhat.com>
46935
46936 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46937 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46938
5fa16e9b
LD
469392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46940
46941 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46942 Fix overflow bug in strncat.
46943 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46944
46945 * string/test-strncat.c: Update.
46946 Add new tests for checking overflow bugs.
46947
469482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46949
46950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46951 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46952 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46953 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46954 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46955 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46956 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46957 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46958 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46959
46960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46961 (USE_AS_STRCAT): Define.
46962 Add strcat and strncat support.
46963 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46964
8c1a459f
AS
469652011-07-25 Andreas Schwab <schwab@redhat.com>
46966
46967 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46968 __n bigger than INT_MAX+1.
46969 (__strncmp_g): Likewise.
46970
bba33c28
UD
469712011-07-23 Ulrich Drepper <drepper@gmail.com>
46972
798be72d
UD
46973 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46974 * libio/stido.h: Likewise.
46975
8accd4dc
UD
46976 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46977 (AF_NFC): Define.
46978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46979 (AF_NFC): Define.
46980
cbff0d96
UD
46981 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46982 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46983 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46984 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46986
9191c04a
UD
46987 [BZ #13021]
46988 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46989 installed.
46990
bba33c28
UD
46991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46992 typo.
46993 (_dl_x86_64_save_sse): Likewise.
46994
90f139dd
UD
469952011-07-22 Ulrich Drepper <drepper@gmail.com>
46996
1aae088a
UD
46997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46998 OSXSAVE.
46999 (_dl_x86_64_save_sse): Likewise.
47000
8e2045f5
UD
47001 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47002
90f139dd
UD
47003 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47004
1d002f25
AS
470052011-07-21 Andreas Schwab <schwab@redhat.com>
47006
47007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47008 change.
47009 (_dl_x86_64_save_sse): Use correct AVX check.
47010
21137f89
UD
470112011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47012
47013 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47014 bug in strncpy/strncat.
47015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47016
a65c0b7a
UD
470172011-07-21 Ulrich Drepper <drepper@gmail.com>
47018
47019 * string/tester.c (test_strcat): Add tests for different alignments
47020 of source and destination.
47021 (test_strncat): Likewise.
47022
6986b98a
UD
470232011-07-20 Ulrich Drepper <drepper@gmail.com>
47024
90bb2039
UD
47025 [BZ #12852]
47026 * posix/glob.c (glob): Check passed in values before using them in
47027 expressions to avoid some overflows.
47028 (glob_in_dir): Likewise.
47029
5644ef54
UD
47030 [BZ #13007]
47031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47032 check for AVX enablement so that we don't crash with old kernels and
47033 new hardware.
47034 * elf/tst-audit4.c: Add same checks here.
47035 * elf/tst-audit6.c: Likewise.
47036
47037 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 47038
bfc9dc9b
AS
470392011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47040
47041 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47042
702e64bb
UD
470432011-07-20 Ulrich Drepper <drepper@gmail.com>
47044
47045 * po/cs.po: Update from translation team.
47046 * po/bg.po: Likewise.
47047
295e904f
MP
470482011-07-12 Marek Polacek <mpolacek@redhat.com>
47049
47050 * misc/sys/cdefs.h: Add support for const attribute.
47051 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47052 to gnu_dev_{major,minor,makedev} functions.
47053
3ff94596
MP
470542011-07-20 Marek Polacek <mpolacek@redhat.com>
47055
47056 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47057
28b59fca
AS
470582011-07-20 Andreas Schwab <schwab@redhat.com>
47059
47060 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47061 strlen results.
47062
19df733e
AK
470632011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47064
47065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47066 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47067 register in order to avoid conflicts with the soft frame pointer
47068 being held in r11 when necessary.
47069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47070 (INTERNAL_VSYSCALL_NCS): Likewise.
47071
c8835729
MP
470722011-07-14 Marek Polacek <mpolacek@redhat.com>
47073
47074 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47075 * elf/dl-fini.c (_dl_fini): Adjust caller.
47076 * elf/dl-close.c (_dl_close_worker): Likewise.
47077 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47078
b902330c
MP
470792011-07-15 Marek Polacek <mpolacek@redhat.com>
47080
8991e135
MP
47081 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47082 "aux_cache->nlibs < 0".
47083
b902330c
MP
47084 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47085 in the reload-count case.
47086
99710781
LD
470872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47088
47089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47090 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47091 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47092 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47093 * sysdeps/x86_64/multiarch/strcat.S: New file.
47094 * sysdeps/x86_64/multiarch/strncat.S: New file.
47095 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47096 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47097 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47098 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47100 (USE_AS_STRCAT): Define.
47101 Add strcat and strncat support.
47102 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47103 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47104 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47105 * string/strncat.c: Update.
47106 (USE_AS_STRNCAT): Define.
47107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47108 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47109 and i7.
47110 * sysdeps/x86_64/multiarch/init-arch.h
47111 (bit_Prefer_PMINUB_for_stringop): New.
47112 (index_Prefer_PMINUB_for_stringop): Likewise.
47113 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47114 bit_Prefer_PMINUB_for_stringop.
47115
7dc6bd90
UD
471162011-07-19 Ulrich Drepper <drepper@gmail.com>
47117
47118 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47119 buffer64.
47120 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47121 of casting of buffer.
47122 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47123 buffer32 and buffer64.
47124 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47125 writes instead of casting of buffer.
47126 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47127 buffer32.
47128 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47129 casting of buffer.
47130
e0e72284
AS
471312011-07-19 Andreas Schwab <schwab@redhat.com>
47132
47133 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47134
feb1eb0b
UD
471352011-07-19 Ulrich Drepper <drepper@gmail.com>
47136
47137 * nscd/nscd.c (termination_handler): Don't do anything for a database
47138 if it has not yet been initialized.
47139
298711ff
UD
471402011-07-18 Ulrich Drepper <drepper@gmail.com>
47141
47142 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47143
471442011-07-15 Marek Polacek <mpolacek@redhat.com>
47145
47146 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47147
f9d68389
UD
471482011-07-18 Ulrich Drepper <drepper@gmail.com>
47149
47150 * po/nl.po: Update from translation team.
47151 * po/sv.po: Likewise.
47152
db290cf5
RM
471532011-07-16 Roland McGrath <roland@hack.frob.com>
47154
47155 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47156 now disallowed by GCC.
5c550700 47157
fd5e21c7
RM
47158 * configure.in (use-default-link): Default to yes if a test -shared
47159 link meets our qualifications.
47160 * configure: Regenerated.
47161
5c550700
RM
47162 * config.make.in (output-format): New variable.
47163 * configure.in: Check for ld --print-output-format support.
47164 * configure: Regenerated.
47165 * Makerules ($(common-objpfx)format.lds)
47166 [$(output-format) != unknown]: Just use $(output-format),
47167 instead of the linker-script munging.
47168
9fa2c032
RM
471692011-07-14 Roland McGrath <roland@hack.frob.com>
47170
a6928d51
RM
47171 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47172 of $(common-objpfx)shlib.lds.
47173 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47174
661607b3
RM
47175 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47176 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47177
9fa2c032
RM
47178 * configure.in (-z relro check): Adjust test code to add a large
47179 writable data section after it.
47180 * configure: Regenerated.
47181
defe9061
RM
471822011-07-11 Roland McGrath <roland@hack.frob.com>
47183
47184 * configure.in (-z relro check): Fix test code to make the variable
47185 truly const.
47186 * configure: Regenerated.
47187
319b9ad4
UD
471882011-07-11 Ulrich Drepper <drepper@gmail.com>
47189
47190 * nscd/nscd.h (struct traced_file): Define.
47191 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47192 elements. Add traced_files.
47193 (inotify_fd): Declare.
47194 (register_traced_file): Declare.
47195 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47196 (inotify_fd): Export.
47197 (resolv_conf_descr): Remove.
47198 (nscd_init): Move inotify descriptor creation to main.
47199 Don't register files for notification here.
47200 (register_traced_file): New function.
47201 (invalidate_cache): Don't use reset_res to determine whether to call
47202 res_init, go through the list of registered files.
47203 (main_loop_poll): The inotify descriptors are now stored in the
47204 structures for the traced files.
47205 (main_loop_epoll): Likewise
47206 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47207 to __nss_disable_nscd.
47208 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47209 for a database anymore. Check the records for all the registered
47210 files instead.
47211 * nss/Makefile (libnss_files-routines): Add files-init.
47212 (libnss_db-routines): Add db-init.
47213 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47214 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47215 * nss/nss_db/db-init.c: New file.
47216 * nss/nss_files/files-init.c: New file.
47217 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47218 __nss_lookup_function.
47219 (__nss_lookup_function): Call nss_load_library.
47220 (nss_load_all_libraries): New function.
47221 (__nss_disable_nscd): Take parameter with callback function for files
47222 to register. Set is_nscd. Load all the DSOs for the NSS modules
47223 used for the cached services.
47224 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47225 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47226 options for features to all the files in nscd.
47227
47228 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47229
23bee3e8
RM
472302011-07-10 Roland McGrath <roland@hack.frob.com>
47231
47232 * csu/elf-init.c (__libc_csu_init): Comment typo.
47233
46a5b7f0
UD
472342011-07-09 Ulrich Drepper <drepper@gmail.com>
47235
47236 * po/pl.po: Update from translation team.
47237 * po/ja.po: Likewise.
47238 * po/ru.po: Likewise.
47239 * po/ko.po: Likewise.
47240 * po/fr.po: Likewise.
47241
d30cf5bb
RM
472422011-07-09 Roland McGrath <roland@hack.frob.com>
47243
113ddea4
RM
47244 * configure.in (.ctors/.dtors header and trailer check):
47245 Use an empirical test on a built program.
47246 * configure: Regenerated.
47247
574920b4
RM
47248 * configure.in (-z relro check): Use an empirical test on a built DSO.
47249 Detect, but do not require, on ia64.
47250 * configure: Regenerated.
47251
d30cf5bb
RM
47252 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47253 Update tests that use readelf to use $READELF instead.
47254 * configure: Regenerated.
47255
8538fdb3
UD
472562011-07-08 Ulrich Drepper <drepper@gmail.com>
47257
47258 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47259 if the result is not used.
47260
04d08991
AJ
472612011-07-05 Andreas Jaeger <aj@suse.de>
47262
47263 [BZ#9696]
47264 * stdlib/tst-strtod.c: Add testcase.
47265
de283087
AD
472662011-07-07 Ulrich Drepper <drepper@gmail.com>
47267
4e5f31c8 47268 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47269 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47270 The latter has a higher limit. Take additional parameter to pass to
47271 the new function.
47272 (__pathconf): Pass file to __statfs_link_max.
47273 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47274 __statfs_link_max.
47275 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47276 __statfs_link_max.
47277
de283087
AD
47278 [BZ #12868]
47279 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47281 Handle Lustre.
47282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47283 (__statfs_filesize_max): Likewise.
47284 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47285
c75fa153
AJ
472862011-07-05 Andreas Jaeger <aj@suse.de>
47287
47288 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47289
1a544854
UD
472902011-07-06 Marek Polacek <mpolacek@redhat.com>
47291
47292 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47293 `status' variable.
47294 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47295 Likewise.
47296
6f0eec67
UD
472972011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47298
47299 * Makefile (strop-tests): Add strncat.
47300 * string/test-strncat.c: New file.
47301
aae30307
UD
473022011-06-30 Marek Polacek <mpolacek@redhat.com>
47303
47304 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47305
c0cfb5eb
UD
473062011-06-21 Andreas Jaeger <aj@suse.de>
47307
47308 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47309 Copy rule from iconvdata/Makefile.
47310
01636b21
UD
473112011-07-06 Ulrich Drepper <drepper@gmail.com>
47312
47313 [BZ #12922]
47314 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47315 but no long options are defined, just return 'W'.
47316
9895c8bc
UD
473172011-06-22 Marek Polacek <mpolacek@redhat.com>
47318
47319 [BZ #9696]
47320 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47321
5d4cf042
UD
473222011-07-06 Ulrich Drepper <drepper@gmail.com>
47323
47324 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47325 netgroups to read.
960e5535 47326 (innetgr): Likewise.
5d4cf042 47327
751eb97e
RM
473282011-07-05 Roland McGrath <roland@hack.frob.com>
47329
47330 * config.make.in (install_root): Default to $(DESTDIR).
47331
f15f1e45
UD
473322011-07-05 Ulrich Drepper <drepper@gmail.com>
47333
47334 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47335
4e34ac6a
RM
473362011-07-02 Roland McGrath <roland@hack.frob.com>
47337
5e9b6af4
RM
47338 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47339
84f9ea0f
RM
47340 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47341 containing directory rather than embedding absolute directory names.
47342
ea5ee9f7
RM
47343 * scripts/check-local-headers.sh: Rewritten using awk.
47344 Match by word, not by line. Print error messages for matches.
47345 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47346
1b74661a
RM
47347 * Makerules [shlib-lds-flags empty]:
47348 ($(common-objpfx)libc_pic.opts): New target.
47349 ($(common-objpfx)libc_pic.os.clean): New target.
47350 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47351
47352 * config.make.in (OBJCOPY): New variable.
47353 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47354 * configure: Regenerated.
47355
f781ef40
RM
47356 * config.make.in (use-default-link): New variable.
47357 * configure.in (use_default_link): Grok --with-default-link to set it.
47358 * configure: Regenerated.
47359 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47360 (shlib-lds, shlib-lds-flags): Define to empty.
47361
2d4fa81e
RM
47362 * Makerules (shlib-lds): New variable.
47363 (shlib-lds-flags): New variable.
47364 (build-shlib, build-moduile, build-module-asneeded): Use it.
47365 ($(common-objpfx)libc.so): Use $(shlib-lds).
47366 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47367 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47368
31fffa6b
RM
47369 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47370 DT_FLAGS/DT_FLAGS_1 with zero flags.
47371
4e34ac6a
RM
47372 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47373 linker script munging.
47374
fcfc776b
UD
473752011-07-02 Ulrich Drepper <drepper@gmail.com>
47376
47377 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47378 as 128-bit value.
47379 * crypt/sha512.c (sha512_process_block): Perform total addition using
47380 128-bit if possible.
47381 (__sha512_finish_ctx): Likewise.
47382 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47383 as 64-bit value.
47384 * crypt/sha256.c (SWAP64): Define.
47385 (sha256_process_block): Perform total addition using 64-bit if
47386 possible.
47387 (__sha256_finish_ctx): Likewise.
47388
99231d9a
UD
473892011-07-01 Ulrich Drepper <drepper@gmail.com>
47390
47391 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47393 * nscd/hstcache.c (cache_addhst): Likewise.
47394 * nscd/grpcache.c (cache_addgr): Likewise.
47395 * nscd/aicache.c (addhstaiX): Likewise
47396 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47397
445b4a53
TK
473982011-07-01 Thorsten Kukuk <kukuk@suse.de>
47399
47400 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47402 * nscd/hstcache.c (cache_addhst): Likewise.
47403 * nscd/grpcache.c (cache_addgr): Likewise.
47404 * nscd/aicache.c (addhstaiX): Likewise
47405
6d4d8e8e
AS
474062011-07-01 Andreas Schwab <schwab@redhat.com>
47407
47408 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47409 domain only when needed.
47410
89f654c5
AS
474112011-06-30 Andreas Schwab <schwab@redhat.com>
47412
47413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47414 is always restored.
47415
cf3b23ff
UD
474162011-06-29 Ulrich Drepper <drepper@gmail.com>
47417
47418 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47419 are re-adding the entry.
47420 * nscd/servicescache.c (cache_addserv): Likewise.
47421
751626f9
AJ
474222011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47423
47424 * sysdeps/generic/dl-irel.h: fix protection against multiple
47425 inclusions.
47426 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47427
9113ea1f
UD
474282011-06-28 Ulrich Drepper <drepper@gmail.com>
47429
5c0b8d90
UD
47430 [BZ #12935]
47431 * malloc/memusage.sh: Fix quoting in message.
47432 * debug/xtrace.sh: Likewise.
47433
9113ea1f
UD
47434 * configure.in: Remove support for --experimental-malloc option, make
47435 it the default.
47436 * config.make.in: Likewise.
47437 * malloc/Makefile: Likewise.
47438
a4172181
AS
474392011-06-27 Andreas Schwab <schwab@redhat.com>
47440
47441 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47442 two-byte characters.
47443
78a7eee7
RM
474442011-06-27 Roland McGrath <roland@hack.frob.com>
47445
62bede13
RM
47446 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47447 AC_CACHE_CHECK invocation.
47448 * configure: Regenerated.
47449
78a7eee7
RM
47450 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47451
5ce33a62
UD
474522011-06-27 Ulrich Drepper <drepper@gmail.com>
47453
034807a9
UD
47454 [BZ #12350]
47455 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47456 bit from old_res_options.
47457
4902da17
UD
47458 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47459
5ce33a62
UD
47460 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47461 value type for setfct.
47462
c2344f56
L
474632011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47464
47465 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47466 __gettimeofday instead of gettimeofday.
47467
68468076
UD
474682011-06-26 Ulrich Drepper <drepper@gmail.com>
47469
47470 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47471
acb0d739
L
474722011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47473
47474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47475
47476 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47477 info.
47478
8912479f
L
474792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47480
47481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47482 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47483 strcpy-sse2-unaligned strncpy-sse2-unaligned
47484 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47485 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47486 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47487 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47488 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47489 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47491 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47492 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47493 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47494 (STRCPY): Support SSE2 and SSSE3 versions.
47495
d5495a11
UD
474962011-06-24 Ulrich Drepper <drepper@gmail.com>
47497
47498 [BZ #12874]
47499 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47500 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47501 kernels which artificially limit size of requests.
47502
0b1cbaae
L
475032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47504
47505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47506 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47507 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47508 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47509 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47510 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47511 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47512 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47513 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47514 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47515 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47516 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47517 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47518 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47519 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47521 Enable unaligned load optimization for Intel Core i3, i5 and i7
47522 processors.
47523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47524 Define.
47525 (index_Fast_Unaligned_Load): Define.
47526 (HAS_FAST_UNALIGNED_LOAD): Define.
47527
07f494a0
MP
475282011-06-23 Marek Polacek <mpolacek@redhat.com>
47529
47530 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47531
fa3fc0fe
UD
475322011-06-22 Ulrich Drepper <drepper@gmail.com>
47533
47534 [BZ #12907]
47535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47536 until it is clear that the information is realy needed.
47537 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47538
e12df166
AS
475392011-06-22 Andreas Schwab <schwab@redhat.com>
47540
47541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47542
852eb34d
UD
475432011-06-22 Ulrich Drepper <drepper@gmail.com>
47544
84e2a551
UD
47545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47546 /sys/devices/system/cpu/online if it is usable.
47547
852eb34d
UD
47548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47549 reading the information from the /proc filesystem to once a second.
47550
6e502e19
UD
475512011-06-21 Andreas Jaeger <aj@suse.de>
47552
47553 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47554 NULL after inclusion of kernel headers.
47555
75d39ff2
UD
475562011-06-21 Ulrich Drepper <drepper@gmail.com>
47557
51f9aa6a
UD
47558 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47559 calls to internal_setent.
47560
c0244a9d
UD
47561 [BZ #12885]
47562 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47563 addresses using gethostbyname4_r ignore IPv4 addresses.
47564
c5e3c2ae
UD
47565 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47566 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47567
75d39ff2
UD
47568 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47569
42675c6f
DM
475702011-06-20 David S. Miller <davem@davemloft.net>
47571
47572 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47573 inclusions.
47574 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47575
47576 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47577 (elf_irel): Use it.
47578 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47579 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47580 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47581 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47582 * sysdeps/x86_64/dl-irel.h: Likewise.
47583
47584 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47585 * elf/dl-sym.c: Likewise.
47586
57912a71
UD
475872011-06-15 Ulrich Drepper <drepper@gmail.com>
47588
47589 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47590 need to dereference resplen2.
47591
ee22793d
AS
475922011-06-14 Andreas Schwab <schwab@redhat.com>
47593
47594 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47595
a9e836b0
UD
475962011-06-15 Ulrich Drepper <drepper@gmail.com>
47597
77fb9117
UD
47598 * Makeconfig: Define vardbdir and inst_vardbdir.
47599 * nss/Makefile: Add rules to install db-Makefile.
47600
40c1b22c
UD
47601 * nss/nss_db/db-XXX.c: Cleanup.
47602
9f2da732
UD
47603 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47604 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47605 GLIBC_PRIVATE.
47606 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47607 * nss/makedb.c: Implement -g option to specify that value strings
47608 are generated and should not be added to table iterated over for
47609 get*ent calls.
47610 * nss/nss_db/db-initgroups.c: New file.
47611
82e9a1f7
UD
47612 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47613 interface.
47614
c41af17e
UD
47615 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47616 (internal_getgrouplist): Adjust to name change.
47617 Update use_initgroups_entry if this is not the first call.
47618 * nss/databases.def: Add initgroups entry.
47619
a9e836b0
UD
47620 * nss/makedb.c (compute_tables): Check result of multiple hash table
47621 sizes to minimize maximum chain length.
47622
2666d441
UD
476232011-06-14 Ulrich Drepper <drepper@gmail.com>
47624
47625 * Versions.def: Add entry for libnss_db.
47626 * shlib-versions: Likewise.
47627 * nss/Makefile: Add rules to build libnss_db.
47628 * nss/Versions: Add libnss_db information. Organize libnss_files
47629 entries better.
47630 * nss/db-Makefile: Add gshadow support. Change rules for the new
47631 makedb progra. Some minor improvements to generate smaller files.
47632 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47633 here from...
47634 * nss/makedb.c: ...here.
47635 Improve database format to be smaller and require less memory at
47636 runtime.
47637 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47638 db anymore.
47639 * nss/nss_db/db-netgrp.c: Likewise.
47640 * nss/nss_db/db-open.c: Likewise.
47641 * nss/nss_files/flies-XXX.x: Adjust comments.
47642 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47643 * nss/nss_files/files-grp.c: Likewise.
47644 * nss/nss_files/files-hosts.c: Likewise.
47645 * nss/nss_files/files-network.c: Likewise.
47646 * nss/nss_files/files-proto.c: Likewise.
47647 * nss/nss_files/files-pwd.c: Likewise.
47648 * nss/nss_files/files-rpc.c: Likewise.
47649 * nss/nss_files/files-service.c: Likewise.
47650 * nss/nss_files/files-sgrp.c: Likewise.
47651 * nss/nss_files/files-spwd.c: Likewise.
47652 * nss/nss_db/db-alias.c: Removed.
47653 * nss/nss_db/dummy-db.h: Removed.
47654
9ee76b5a
UD
476552011-06-02 Ulrich Drepper <drepper@gmail.com>
47656
47657 * nss/makedb.c: Rewritten to not use database library.
47658 * nss/Makefile: Update to build new makedb program.
47659
c71ca1f8
AJ
476602011-06-14 Andreas Jaeger <aj@suse.de>
47661
47662 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47663 memset declaration.
47664
3154bfb8
UD
476652011-06-10 Andreas Schwab <schwab@redhat.com>
47666
47667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47668 tmpbuf.
47669
b350afab
RM
476702011-06-10 Roland McGrath <roland@hack.frob.com>
47671
decd4e50
RM
47672 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47673 * elf/Makefile ($(objpfx)ld.so): Likewise.
47674
5615eaf2
RM
47675 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47676 Don't list ld.so twice in dependencies.
47677
47678 * posix/bug-regex31.c: Include <stdlib.h>.
47679
47680 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47681
47682 * nis/nss_compat/compat-spwd.c
47683 (getspent_next_nss_netgr): Remove unused variable.
47684 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47685
47686 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47687 nonmembers" output to use the right array.
47688
47689 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47690
47691 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47692
47693 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47694 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47695 * catgets/gencat.c (read_input_file): Likewise.
47696 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47697
47698 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47699 variable definition inside #if's controlling its use.
47700
47701 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47702
47703 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47704
47705 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47706
47707 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47708 unreachable code.
47709
47710 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47711
b68e08db
RM
47712 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47713 * configure: Regenerated.
47714
b350afab
RM
47715 * Makerules: Revert last change.
47716 * elf/Makefile: Likewise.
47717
28368601
RM
477182011-06-09 Roland McGrath <roland@hack.frob.com>
47719
47720 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47721 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47722 (reloc-link): Likewise.
47723
11988f8f
UD
477242011-06-09 Ulrich Drepper <drepper@gmail.com>
47725
47726 * elf/Makefile: Add rules to build pldd.
47727 * elf/pldd.c: New file.
47728 * elf/pldd-xx.c: New file.
47729
e80fab37
UD
477302011-06-07 Ulrich Drepper <drepper@gmail.com>
47731
47732 * version.h: Update for 2.15 development version.
47733
9b849836
DM
477342011-06-07 David S. Miller <davem@davemloft.net>
47735
47736 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47737 ifuncs.
47738 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47739 elf_machine_lazy_rel): Likewise.
47740 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47742 elf_machine_lazy_rel): Likewise.
47743 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47744 dl_hwcap via passed in argument.
47745 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47746 Likewise.
47747
5a31b283
AK
477482011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47749
47750 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47751
069e52f8
RM
477522011-06-06 Roland McGrath <roland@hack.frob.com>
47753
47754 [BZ #12849]
47755 * manual/fdl-1.1.texi: New file, verbatim from:
47756 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47757 * manual/lgpl-2.1.texi: New file, verbatim from:
47758 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47759 * manual/Makefile (licenses): New variable, list those new file names.
47760 (texis): Use it.
47761 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47762
47763 * manual/fdl.texi: File removed.
47764 * manual/lesser.texi: File removed.
47765 * manual/libc.texinfo (Copying, Documentation License):
47766 Use new @include file names, put @appendix directive before @include.
47767
f16846a5
JJ
477682011-06-04 Jakub Jelinek <jakub@redhat.com>
47769
47770 [BZ #12841]
47771 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47772 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47773 (mq_open): Add __NTH.
47774
3d29045b
L
477752011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47776
47777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47778 Assume Intel Core i3/i5/i7 processor if AVX is available.
47779
8c297311
UD
477802011-05-31 Ulrich Drepper <drepper@gmail.com>
47781
47782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47783 typo.
47784
c8fc0c91
UD
477852011-05-31 Andreas Schwab <schwab@redhat.com>
47786
47787 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47788 memory. Use alloca_account. Fix memory leak when retrying.
47789
5b27a807
UD
477902011-05-31 Ulrich Drepper <drepper@gmail.com>
47791
356f8bc6
UD
47792 * version.h (RELEASE): Bump for 2.14 release.
47793 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47794
5b27a807
UD
47795 * config.make.in (RANLIB): Remove entry.
47796
01f16ab0
UD
477972011-05-30 Ulrich Drepper <drepper@gmail.com>
47798
41fce8bd
UD
47799 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47800 (libc.pot): Work around missing support for .ksh extension in xgettext.
47801
4769ae77
UD
47802 [BZ #12684]
47803 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47804 if both request failed.
47805 (send_dg): In case of server errors clear resplen or *resplen2.
47806
6b1e7d19
UD
47807 [BZ #12454]
47808 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47809 when there are multiple maps.
47810 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47811 (_dl_fini): Remove test here.
47812
01f16ab0
UD
47813 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47814
b1ebd700
UD
478152011-05-29 Ulrich Drepper <drepper@gmail.com>
47816
7ae22829
UD
47817 [BZ #12350]
47818 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47819 bit from old_res_options.
47820 (gaih_inet): Likewise.
47821
553149f6 47822 [BZ #11099]
18a84741 47823 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47824 as signed.
47825
652ffab1
UD
47826 * resolv/res_init.c (res_setoptions): Make the code more compact.
47827
16985fd0
UD
47828 [BZ #11558]
47829 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47830 set RES_USEVC.
47831
0464f746
UD
47832 [BZ #11634]
47833 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47834
7d17596c
UD
47835 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47836
cf6bbbd7
UD
47837 [BZ #11781]
47838 * malloc/malloc.h: Declare malloc hook variables as volatile.
47839
13f1ab36
UD
47840 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47841 in last patch.
47842
b1ebd700
UD
47843 [BZ #11799]
47844 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47845 raise in the comment.
80e2212d
UD
47846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47848 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47849
ce67228d
UD
478502011-05-28 Ulrich Drepper <drepper@gmail.com>
47851
8887a920
UD
47852 [BZ #12811]
47853 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47854 grow the buffers more if it already has to be sufficient.
47855 (build_wcs_upper_buffer): Likewise.
47856 * posix/regexec.c (check_matching): Likewise.
47857 (clean_state_log_if_needed): Likewise.
47858 (extend_buffers): Don't enlarge buffers beyond size of the input
47859 buffer.
47860 Patches mostly by Emil Wojak <emil@wojak.eu>.
47861 * posix/bug-regex32.c: New file.
47862 * posix/Makefile (tests): Add bug-regex32.
47863
4f031072
UD
47864 * locale/findlocale.c (_nl_find_locale): Return right away if
47865 _nl_explode_name failed.
47866 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47867
d0478f0c
UD
47868 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47869
de81b246
UD
47870 * debug/xtrace.sh: Unify messages.
47871 * malloc/memusage.sh: Likewise.
47872
c738465a
UD
47873 [BZ #12813]
47874 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47875 time symbol from vDSO. Substitute with vsyscall if not available.
47876 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47877 __vdso_time.
47878
f1f929d7
UD
47879 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47880 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47881 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47882 Add sendmmsg and internal_sendmmsg.
47883 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47884 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47885 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47886
ce67228d
UD
47887 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47888 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47890
e57420c6
UD
478912011-05-27 Ulrich Drepper <drepper@gmail.com>
47892
a8509ca5
UD
47893 [BZ #12813]
47894 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47895 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47896 available.
47897 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47898 __vdso_getcpu.
47899
e57420c6
UD
47900 [BZ #12814]
47901 * iconvdata/Makefile (tests): Add bug-iconv9.
47902 * iconvdata/bug-iconv9.c: New file.
47903
4d07db15
AS
479042011-05-27 Andreas Schwab <schwab@redhat.com>
47905
47906 [BZ #12814]
47907 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47908
ea486f69
JJ
479092011-05-25 Jakub Jelinek <jakub@redhat.com>
47910
47911 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47912 (struct user_regs_struct): Change intcs field back to cs.
47913
6f038433
UD
479142011-05-25 Ulrich Drepper <drepper@gmail.com>
47915
47916 * po/ja.po: Update from translation team.
47917
67f86a25
UD
479182011-05-23 Ulrich Drepper <drepper@gmail.com>
47919
47920 [BZ #12795]
47921 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47922 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47923
def7fbd6
AS
479242011-05-20 Andreas Schwab <schwab@redhat.com>
47925
47926 * stdlib/longlong.h: Update from GCC.
47927
f50ef8f1
AS
479282011-05-23 Andreas Schwab <schwab@redhat.com>
47929
47930 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47931 parameter name.
47932 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47933 Add parameter name.
47934 (__sysconf): Pass it down.
47935
de7ce8f1
UD
479362011-05-22 Ulrich Drepper <drepper@gmail.com>
47937
f2962a71
UD
47938 [BZ #12671]
47939 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47940 some situations.
47941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47942 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47943 add in in __libc_use_alloca calls. Adjust callers.
47944 (glob): Use malloc in some situations.
47945
de7ce8f1
UD
47946 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47947 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47948 pltexit.
47949
aec84f53
UD
479502011-05-21 Ulrich Drepper <drepper@gmail.com>
47951
05bb4a68
UD
47952 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47953 and CLOCK_BOOTTIME_ALARM.
47954
7ea72f99
UD
47955 [BZ #12782]
47956 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47957 is returned.
47958
7e4afad5
UD
47959 * string/_strerror.c (__strerror_r): Print negative errors as signed
47960 numbers.
47961
8e211fec
UD
47962 [BZ #12777]
47963 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47964 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47965 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47966
f7d82dc9
UD
47967 * configure.in: Fix typo in redirection and correct removal of test
47968 files in two cases.
47969
cc9e536d
UD
47970 [BZ #12788]
47971 * locale/setlocale.c (new_composite_name): Fix test to check for
47972 identical name of all categories.
47973
aec84f53
UD
47974 [BZ #12792]
47975 * libio/filedoalloc.c (local_isatty): New function.
47976 (_IO_file_doallocate): Use local_isatty.
47977 * stdio-common/perror.c (perror): In case a new stream is used
47978 forward the stream error.
47979 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47980 error flag.
47981
78e64fdc
RT
479822011-05-20 Ulrich Drepper <drepper@gmail.com>
47983
34a9094f
UD
47984 [BZ #11869]
47985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47986 alloca.
47987 * include/alloca.h (extend_alloca_account): Define.
47988
78e64fdc
RT
47989 [BZ #11857]
47990 * posix/regex.h: Fix comments with documentation of user-accessible
47991 fields after compilation and describe correct free'ing of pattern
47992 after re_compile_pattern.
47993 Patch by Reuben Thomas <rrt@sc3d.org>.
47994
457bddfc
RA
479952011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47996
47997 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47998 and -mno-altivec to prevent the compiler from using Altivec and/or
47999 VSX instructions when the corresponding registers are not available.
48000
a4527b51
AS
480012011-05-19 Andreas Schwab <schwab@redhat.com>
48002
48003 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48004
ed690b2f
UD
480052011-05-19 Ulrich Drepper <drepper@gmail.com>
48006
48007 * libio/freopen.c (freopen): Use __dup2, not dup2.
48008 * libio/freopen64.c (freopen64): Likewise.
48009
8db73634
L
480102011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48011
48012 [BZ #12775]
48013 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48014 * math/Makefile (tests): Add test-powl.
48015 (CFLAGS-test-powl.c): Define.
48016 * math/test-powl.c: New file.
48017
0a197a9d
L
480182011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48019
48020 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48021
ee30c380
UD
480222011-05-17 Ulrich Drepper <drepper@gmail.com>
48023
48024 [BZ #11837]
48025 * iconvdata/gb18030.c: Update to GB18020-2005.
48026
6ce75379
UD
480272011-05-16 Ulrich Drepper <drepper@gmail.com>
48028
a4b89fd8
AR
48029 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48030 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48031 Patch by Aharon Robbins <arnold@skeeve.com>.
48032
ea389b12
UD
48033 [BZ #11892]
48034 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48035 on the stack.
48036
68a3f91f
UD
48037 [BZ #11895]
48038 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48039 through underflows.
48040
15cc7dd1
UD
48041 [BZ #12766]
48042 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48043 point to strings before performing equality test for error_one_per_line
48044 mode.
48045
f3799213
UD
48046 [BZ #11697]
48047 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48048
d79a9c94
UD
48049 [BZ #11820]
48050 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48051 (struct user_fpregs_struct): Avoid __uint*_t types.
48052
56e5eb46
UD
48053 [BZ #6420]
48054 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48055 symbol info. Use it instead of calling _dl_addr locally.
48056 (lock_and_info): New function.
48057 (tr_freehook): Call lock_and_info and pass symbol info as additional
48058 parameter to tr_where.
48059 (tr_mallochook): Likewise.
48060 (tr_reallochook): Likewise.
48061 (tr_memalignhook): Likewise.
48062
6ce75379
UD
48063 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48064 used and couldn't be at all thread-safe.
48065
f8a3b5bf
UD
480662011-05-15 Ulrich Drepper <drepper@gmail.com>
48067
94b7cc37
UD
48068 * libio/freopen.c (freopen): Don't close old file descriptor
48069 before the new one is opened. Instead dup the new file descriptor
48070 to the old one after the new stream is created.
48071 * libio/freopen64.c (freopen64): Likewise.
48072 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48073 * libio/fileops.c (_IO_new_file_close_it): Handle new
48074 _IO_FLAGS2_NOCLOSE flag.
48075 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48076 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48077 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48078 _IO_FLAGS2_NOCLOSE flag.
48079 * include/unistd.h: Add hidden_proto for dup3.
48080 Define __have_dup3.
48081 * io/dup3.c: Define hidden symbol.
48082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48083
bd25564e
UD
48084 [BZ #7101]
48085 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48086 when an incomplete long option is used.
48087 * posix/tst-getopt_long1.c: New file.
48088 * posix/Makefile (tests): Add tst-getopt_long1.
48089
c84cfef4
UD
48090 [BZ #10138]
48091 * scripts/config.guess: Update from autoconf-2.68.
48092 * scripts/config.sub: Likewise.
48093
3b85df27
UD
48094 [BZ #10157]
48095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48096 tests into ...
48097 (has_cpuclock): ...this. New function.
48098 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48099 macro here based on has_cpuclock code.
48100
15a856b1
UD
48101 [BZ #10149]
48102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48103 First byte (not low byte) is now always NUL.
48104 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48105
05f399e6
UD
48106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48107 Use non-cancelable interfaces.
48108
10a52685 48109 [BZ #9809]
94ecc67d
UD
48110 * locale/iso-639.def: Add entry for Sorani.
48111
f8a3b5bf
UD
48112 [BZ #11901]
48113 * include/stdlib.h: Move include protection to the right place.
48114 Define abort_msg_s. Declare __abort_msg with it.
48115 * stdlib/abort.c (__abort_msg): Adjust type.
48116 * assert/assert.c (__assert_fail_base): New function. Majority
48117 of code from __assert_fail. Allocate memory for __abort_msg with
48118 mmap.
48119 (__assert_fail): Now call __assert_fail_base.
48120 * assert/assert-perr.c: Remove bulk of implementation. Use
48121 __assert_fail_base.
48122 * include/assert.hL Declare __assert_fail_base.
48123 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48124 mmap.
48125 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48126
1af4e298
UD
481272011-05-14 Ulrich Drepper <drepper@gmail.com>
48128
f8a3b5bf 48129 [BZ #11952]
d26dfc60
MG
48130 [BZ #12453]
48131 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48132 until all modules are registered in the DTV.
48133 * elf/Makefile: Add rules to build and run tst-tls19.
48134 * elf/tst-tls19.c: New file.
48135 * elf/tst-tls19mod1.c: New file.
48136 * elf/tst-tls19mod2.c: New file.
48137 * elf/tst-tls19mod3.c: New file.
48138 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48139
2fc54d6f
UD
48140 [BZ #12083]
48141 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48142 correctly.
48143
98d76b46
UD
48144 [BZ #12601]
48145 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48146 two-byte sequence errors.
48147 * iconvdata/Makefile (tests): Add bug-iconv8.
48148 * iconvdata/bug-iconv8.c: New file.
48149
da3c19ef
UD
48150 [BZ #12626]
48151 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48152 buf2 definition.
48153
ca408c15
UD
48154 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48155
d6f67f7d
UD
48156 [BZ #12432]
48157 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48158 (dummy_getcfa): New function.
48159 (init): Get _Unwind_GetCFA address, use dummy if not found.
48160 (backtrace_helper): In recursion check, also check whether CFA changes.
48161 (__backtrace): Completely initialize arg.
48162
1af4e298 48163 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48164 storing incomplete byte sequence in state object. Avoid testing for
48165 guaranteed too small input if we know there is enough data available.
1af4e298 48166
da62f81b
AS
481672011-05-11 Andreas Schwab <schwab@redhat.com>
48168
48169 * Makeconfig (+link-pie): Indent.
48170 * Rules (binaries-pie): Define if $(have-fpie) and
48171 $(build-shared).
48172 (binaries-shared): Also filter out $(binaries-pie).
48173 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48174 * nscd/Makefile (others-pie): Add nscd.
48175 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48176 ($(objpfx)nscd): Remove command override.
48177 * login/Makefile (others-pie): Add pt_chown.
48178 ($(objpfx)pt_chown): Remove command override.
48179 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48180 remove command overrides.
48181
fcabc0f8
UD
481822011-05-13 Ulrich Drepper <drepper@gmail.com>
48183
20030ae6
UD
48184 * libio/tst_putwc.c: Fix error messages.
48185
fcabc0f8
UD
48186 [BZ #12724]
48187 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48188 currently writing and seek to current position when not.
48189 * libio/Makefile (tests): Add bug-fclose1.
48190 * libio/bug-fclose1.c: New file.
48191
320a5dc0
PB
481922011-05-12 Ulrich Drepper <drepper@gmail.com>
48193
48194 [BZ #12511]
48195 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48196 don't set DF_1_NODELETE here.
48197 (do_lookup_x): When entering new entry test for copy relocation
48198 and if necessary set DF_1_NODELETE flag.
48199 * elf/tst-unique4.cc: New file.
48200 * elf/tst-unique4.h: New file.
48201 * elf/tst-unique4lib.cc: New file.
48202 * elf/Makefile: Add rules to build and run tst-unique4.
48203 Patch by Piotr Bury <pbury@goahead.com>.
48204
22836f52
UD
482052011-05-11 Ulrich Drepper <drepper@gmail.com>
48206
f574184a
UD
48207 [BZ #12052]
48208 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48209
e1fb097f
UD
48210 [BZ #12625]
48211 * misc/mntent_r.c (addmntent): Flush the stream after the output
48212
22836f52
UD
48213 [BZ #12393]
48214 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48215 (is_trusted_path_normalize): Skip initial colon. Append slash
48216 to empty buffer. Duplicate is_trusted_path code but allow
48217 constructed patch to be prefix.
48218 (is_dst): Allow $ORIGIN followed by /.
48219 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48220 Correct testing of result of is_trusted_path_normalize
48221 (decompose_rpath): Fix warning.
48222
7b3b0b2a
UD
482232011-05-10 Ulrich Drepper <drepper@gmail.com>
48224
48225 [BZ #11257]
48226 * grp/initgroups.c (internal_getgrouplist): When we found the service
48227 list through the initgroups entry in nsswitch.conf do not always
48228 continue on a successful lookup. Don't always use the
eac80ce2 48229 __nss_group_database value if it is set.
7b3b0b2a
UD
48230 * nss/nsswitch.conf (initgroups): Change action for successful db
48231 lookup to continue for compatibility.
48232
2a81eaa5
UD
482332011-05-09 Ulrich Drepper <drepper@gmail.com>
48234
be97a69e
UD
48235 [BZ #11532]
48236 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48237 and CP774 modules.
48238 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48239 and CP774 modules.
48240 * iconvdata/tst-tables.sh: Likewise.
48241 * iconvdata/cp770.c: New file.
48242 * iconvdata/cp771.c: New file.
48243 * iconvdata/cp772.c: New file.
48244 * iconvdata/cp773.c: New file.
48245 * iconvdata/cp774.c: New file.
48246 * iconvdata/testdata/CP770: New file.
48247 * iconvdata/testdata/CP770..UTF8: New file.
48248 * iconvdata/testdata/CP771: New file.
48249 * iconvdata/testdata/CP771..UTF8: New file.
48250 * iconvdata/testdata/CP772: New file.
48251 * iconvdata/testdata/CP772..UTF8: New file.
48252 * iconvdata/testdata/CP773: New file.
48253 * iconvdata/testdata/CP773..UTF8: New file.
48254 * iconvdata/testdata/CP774: New file.
48255 * iconvdata/testdata/CP774..UTF8: New file.
48256
48257 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48258 END CHARMAP line.
48259 * iconvdata/gen-8bit-gap.sh: Likewise.
48260 * iconvdata/gen-8bit.sh: Likewise.
48261
c1e9e399
UD
48262 * locale/iso-639.def: Add ary entry.
48263
24c55fb3 48264 [BZ #11258]
96b4b1b0
UD
48265 * locale/C-translit.h.in: Add U20A1 transliteration.
48266
bdc2f971
KB
48267 [BZ #12178]
48268 * locale/iso-639.def: Add wae entry.
48269 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48270
2952b117
UD
48271 [BZ #12545]
48272 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48273 for n.
48274
2a81eaa5
UD
48275 [BZ #12711]
48276 * locale/C-translit.h.in: Add entry for U20B9.
48277 Patch by pravin.d.s@gmail.com.
48278
28377d1b
UD
482792011-05-08 Ulrich Drepper <drepper@gmail.com>
48280
7fb90fb8
UD
48281 [BZ #12713]
48282 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48283 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48284 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48285 in rtld. Use *stat64.
7fb90fb8 48286 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48287 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48288 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48289 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48290 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48291 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48292 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48293 __fstatat64 macros.
7fb90fb8
UD
48294 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48295 * dirent/rewinddir.c: Add libc_hidden_def.
48296 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48297 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48298
28377d1b
UD
48299 * include/dirent.h (__alloc_dir): Add flags parameter.
48300 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48301 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48302 __alloc_dir.
48303 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48304 from fdopendir if O_CLOEXEC is already set.
48305
66bdbaa4
AM
483062011-03-15 Alan Modra <amodra@gmail.com>
48307
48308 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48309 l_tls_firstbyte_offset non-zero. Save padding offset in
48310 l_tls_firstbyte_offset for later use.
48311 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48312 freeing static tls block.
48313
95721191
JN
483142011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48315
48316 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48317 where #ifdef was intended. The intent is to prevent ARG_MAX from
48318 being defined by the kernel headers.
48319
f87dfb1f
UD
483202011-05-07 Ulrich Drepper <drepper@gmail.com>
48321
48322 [BZ #12734]
48323 * resolv/resolv.h: Define RES_NOTLDQUERY.
48324 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48325 no-tld-query and set RES_NOTLDQUERY.
48326 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48327 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48328 modern BIND to search name as TLD unless forbidden.
48329
47c3cd7a
UD
483302011-05-07 Petr Baudis <pasky@suse.cz>
48331 Ulrich Drepper <drepper@gmail.com>
48332
48333 [BZ #12393]
48334 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48335 (is_trusted_path): ...to here.
c1e9ea35 48336 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48337 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48338 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48339
8a35c912
PP
483402011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48341
48342 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48343 __BEGIN/__END_DECLS.
48344
acd41f47
UD
483452011-05-06 Ulrich Drepper <drepper@gmail.com>
48346
48347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48348 NSS_STATUS_NOTFOUND if no record was found.
48349
597df647
AS
483502011-05-05 Andreas Schwab <schwab@redhat.com>
48351
48352 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48353 (headers-not-in-tirpc): Remove rpc/netdb.h
48354 * resolv/netdb.h: Revert last change.
48355
b9af1301
PP
483562011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48357
48358 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48359 circular dependency between libgcc.a and libc.a.
48360
4e34d5f5
AS
483612011-05-05 Andreas Schwab <schwab@redhat.com>
48362
48363 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48364 * nis/Makefile: Don't install rpcsvc/*.
48365 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48366 instead of <rpc/types.h>.
48367 (MAXHOSTNAMELEN): Define.
48368
00ee369c
AS
483692011-05-03 Andreas Schwab <schwab@redhat.com>
48370
48371 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48372
0b592a30
MB
483732011-04-28 Maciej Babinski <mbabinski@google.com>
48374
48375 [BZ #12714]
48376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48377 gethostbyname4_r when IPv6 results are possible.
48378
6e04cbbe
UD
483792011-05-02 Ulrich Drepper <drepper@gmail.com>
48380
48381 [BZ #12723]
48382 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48383 _PC_PIPE_BUF handling.
48384
e4ecafe0
BH
483852011-04-30 Bruno Haible <bruno@clisp.org>
48386
48387 [BZ #12717]
48388 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48389 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48390 to 'int'.
48391 * inet/getnameinfo.c (getnameinfo): Likewise.
48392
125ee683
UD
483932011-04-29 Ulrich Drepper <drepper@gmail.com>
48394
48395 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48396 to groups setting in database lookup.
48397 * nss/nsswitch.conf: Add initgroups entry.
48398
b722481a
EB
483992011-04-22 Ulrich Drepper <drepper@gmail.com>
48400
48401 [BZ #12685]
48402 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48403 mode string.
48404 Patch by Eric Blake <eblake@redhat.com>.
48405
4df46dbd
L
484062011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48407
48408 * sunrpc/Makefile (need-export-routines): Add svc_run.
48409 (routines): Remove svc_run.
48410 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48411 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48412 * sunrpc/svc_run.c (svc_run): Likewise.
48413 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48414
e84142d2
UD
484152011-04-21 Ulrich Drepper <drepper@gmail.com>
48416
48417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48418 problem in reallocation in last patch.
48419
877175d8
UD
484202011-04-20 Ulrich Drepper <drepper@gmail.com>
48421
48422 * sunrpc/Makefile: Move inclusion of Rules.
48423
ab8eed78
UD
484242011-04-19 Ulrich Drepper <drepper@gmail.com>
48425
48426 * nss/nss_files/files-initgroups.c: New file.
48427 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48428 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48429 _nss_files_initgroups_dyn.
48430
e3d8f584
RS
484312011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48432
48433 * elf/elf.h (R_ARM_IRELATIVE): Define.
48434
af190f45
UD
484352011-04-19 Ulrich Drepper <drepper@gmail.com>
48436
48437 * po/ru.po: Update from translation team.
48438
53cf59ef
UD
484392011-04-17 Ulrich Drepper <drepper@gmail.com>
48440
48441 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48442 dependencies.
48443
4c559bcd
MF
484442011-02-06 Mike Frysinger <vapier@gentoo.org>
48445
48446 [BZ #12653]
48447 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48448 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48449 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48450 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48451 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48452
4420675c
AS
484532011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48454
48455 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48456 differing bytes.
48457 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48460
75ea32ab
UD
484612011-04-17 Ulrich Drepper <drepper@gmail.com>
48462
48463 [BZ #12420]
48464 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48465 storing it.
48466 * stdlib/bug-getcontext.c: New file.
48467 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48468
27390476
AK
484692011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48470
48471 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48472 instructions into .machine "z9-109".
48473 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48474 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48475
10442705
AK
484762011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48477
48478 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48479 between environment variables and auxiliary vector.
48480
7b57bfe5
UD
484812011-04-16 Ulrich Drepper <drepper@gmail.com>
48482
48483 * Makefile: Add rules to build linkobj/libc.so.
48484 * include/libc-symbols.h: Define libc_hidden_nolink.
48485 * include/rpc/auth.h: Mark functions which are to be hidden.
48486 * include/rpc/auth_des.h: Likewise.
48487 * include/rpc/auth_unix.h: Likewise.
48488 * include/rpc/clnt.h: Likewise.
48489 * include/rpc/des_crypt.h: Likewise.
48490 * include/rpc/key_prot.h: Likewise.
48491 * include/rpc/pmap_clnt.h: Likewise.
48492 * include/rpc/pmap_prot.h: Likewise.
48493 * include/rpc/pmap_rmt.h: Likewise.
48494 * include/rpc/rpc_msg.h: Likewise.
48495 * include/rpc/svc.h: Likewise.
48496 * include/rpc/svc_auth.h: Likewise.
48497 * include/rpc/xdr.h: Likewise.
48498 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48499 * nss/Makefile: Likewise.
48500 * sunrpc/Makefile: Don't install headers. Build library with normal
48501 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48502 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48503 for the compat linking library. Remove use of INTDEF/INTUSE.
48504 * sunrpc/auth_none.c: Likewise.
48505 * sunrpc/auth_unix.c: Likewise.
48506 * sunrpc/authdes_prot.c: Likewise.
48507 * sunrpc/authuxprot.c: Likewise.
48508 * sunrpc/clnt_gen.c: Likewise.
48509 * sunrpc/clnt_perr.c: Likewise.
48510 * sunrpc/clnt_raw.c: Likewise.
48511 * sunrpc/clnt_simp.c: Likewise.
48512 * sunrpc/clnt_tcp.c: Likewise.
48513 * sunrpc/clnt_udp.c: Likewise.
48514 * sunrpc/clnt_unix.c: Likewise.
48515 * sunrpc/des_crypt.c: Likewise.
48516 * sunrpc/des_soft.c: Likewise.
48517 * sunrpc/get_myaddr.c: Likewise.
48518 * sunrpc/key_call.c: Likewise.
48519 * sunrpc/key_prot.c: Likewise.
48520 * sunrpc/netname.c: Likewise.
48521 * sunrpc/pm_getmaps.c: Likewise.
48522 * sunrpc/pm_getport.c: Likewise.
48523 * sunrpc/pmap_clnt.c: Likewise.
48524 * sunrpc/pmap_prot.c: Likewise.
48525 * sunrpc/pmap_prot2.c: Likewise.
48526 * sunrpc/pmap_rmt.c: Likewise.
48527 * sunrpc/publickey.c: Likewise.
48528 * sunrpc/rpc_cmsg.c: Likewise.
48529 * sunrpc/rpc_common.c: Likewise.
48530 * sunrpc/rpc_dtable.c: Likewise.
48531 * sunrpc/rpc_prot.c: Likewise.
48532 * sunrpc/rpc_thread.c: Likewise.
48533 * sunrpc/rtime.c: Likewise.
48534 * sunrpc/svc.c: Likewise.
48535 * sunrpc/svc_auth.c: Likewise.
48536 * sunrpc/svc_authux.c: Likewise.
48537 * sunrpc/svc_raw.c: Likewise.
48538 * sunrpc/svc_run.c: Likewise.
48539 * sunrpc/svc_simple.c: Likewise.
48540 * sunrpc/svc_tcp.c: Likewise.
48541 * sunrpc/svc_udp.c: Likewise.
48542 * sunrpc/svc_unix.c: Likewise.
48543 * sunrpc/svcauth_des.c: Likewise.
48544 * sunrpc/xcrypt.c: Likewise.
48545 * sunrpc/xdr.c: Likewise.
48546 * sunrpc/xdr_array.c: Likewise.
48547 * sunrpc/xdr_float.c: Likewise.
48548 * sunrpc/xdr_intXX_t.c: Likewise.
48549 * sunrpc/xdr_mem.c: Likewise.
48550 * sunrpc/xdr_rec.c: Likewise.
48551 * sunrpc/xdr_ref.c: Likewise.
48552 * sunrpc/xdr_sizeof.c: Likewise.
48553 * sunrpc/xdr_stdio.c: Likewise.
48554
e6c61494
UD
485552011-04-10 Ulrich Drepper <drepper@gmail.com>
48556
48557 [BZ #12650]
48558 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48559 * sysdeps/ia64/dl-tls.h: Likewise.
48560 * sysdeps/powerpc/dl-tls.h: Likewise.
48561 * sysdeps/s390/dl-tls.h: Likewise.
48562 * sysdeps/sh/dl-tls.h: Likewise.
48563 * sysdeps/sparc/dl-tls.h: Likewise.
48564 * sysdeps/x86_64/dl-tls.h: Likewise.
48565 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48566
34fe483e
AS
485672011-03-14 Andreas Schwab <schwab@redhat.com>
48568
48569 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48570 rpath element also skip the following colon.
48571 (expand_dynamic_string_token): Add is_path parameter and pass
48572 down to DL_DST_REQUIRED and _dl_dst_substitute.
48573 (decompose_rpath): Call expand_dynamic_string_token with
48574 non-zero is_path. Ignore empty rpaths.
48575 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48576 with zero is_path.
48577
f12a32e6
AS
485782011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48579
48580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48581 Make cancelable.
48582
38a7d692
UD
485832011-04-09 Ulrich Drepper <drepper@gmail.com>
48584
48585 [BZ #12655]
48586 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48587 Patch by Filipe David Manana <fdmanana@apache.org>.
48588
e451d22b
AS
485892011-04-07 Andreas Schwab <schwab@redhat.com>
48590
48591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48592 Maintain aligned stack.
48593 (CHECK_RSP): Remove unused macro.
48594
dedc7c7b
UD
485952011-04-03 Ulrich Drepper <drepper@gmail.com>
48596
48597 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48599
94521213
UD
486002011-04-02 Ulrich Drepper <drepper@gmail.com>
48601
48602 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48603
8cb700c0 48604 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 48605
0354e355
L
486062011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48607
48608 [BZ #12518]
48609 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48610 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48611 * sysdeps/x86_64/memmove.c: New file.
48612 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48613 (memcpy): Renamed to ...
48614 (__new_memcpy): This.
48615 (memcpy): Provide GLIBC_2_14 memcpy.
48616 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48617 (memcpy): Provide GLIBC_2_2_5 memcpy.
48618
8593482f
UD
486192011-04-01 Ulrich Drepper <drepper@gmail.com>
48620
48621 [BZ #12631]
48622 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48623
81a5726b
AS
486242011-03-30 Andreas Schwab <schwab@redhat.com>
48625
48626 * misc/syncfs.c: New file.
48627 * misc/Makefile (routines): Add syncfs.
48628 * posix/unistd.h: Declare syncfs.
48629 * sysdeps/unix/syscalls.list: Add syncfs.
48630
00e5419f
AS
486312011-04-01 Andreas Schwab <schwab@redhat.com>
48632
48633 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48634 open_by_handle_at.
48635 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48640 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48642
748876bf
UD
486432011-04-01 Ulrich Drepper <drepper@gmail.com>
48644
658e451d
UD
48645 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48647 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48649 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48651 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48652
748876bf
UD
48653 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48654 sync_file_range.c with -fexceptions.
48655 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48656 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48657 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48658 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48659 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48660 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48661 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
48662 sync_file_range as cancellation point
48663 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48664 now a wrapper around __call_sync_file_range with cancellation handling.
48665 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48666 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48667 function name to __call_sync_file_range.
48668 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48669 Add call_sync_file_range.
748876bf 48670
6e63d5e1
AS
486712011-04-01 Andreas Schwab <schwab@redhat.com>
48672
48673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 48674 bits/timex.h.
6e63d5e1 48675
46998f74
UD
486762011-04-01 Ulrich Drepper <drepper@gmail.com>
48677
4c1423ed
UD
48678 * iconv/iconv.h: Fix typo in comment.
48679 * io/fcntl.h: Likewise.
48680 * libio/stdio.h: Likewise.
48681 * posix/spawn.h: Likewise.
48682 * posix/unistd.h: Likewise.
48683 * stdlib/stdlib.h: Likewise.
48684 * time/time.h: Likewise.
48685 * wcsmbs/wchar.h: Likewise.
48686
158648c0
UD
48687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48688 open_by_handle): Add.
48689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48690 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48691 Augment a few comments.
48692 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48694 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48697 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48698 open_by_handle.
48699
46998f74
UD
48700 * io/fcntl.h (AT_EMPTY_PATH): Define.
48701
83fe108b
UD
487022011-03-30 Ulrich Drepper <drepper@gmail.com>
48703
48704 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48705 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48706 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48707 to...
48708 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
48709 * Versions.def: Add GLIBC_2.14.
48710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48711 Export.
83fe108b 48712
bb242059
UD
487132011-03-22 Ulrich Drepper <drepper@gmail.com>
48714
48715 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48716 round counter.
48717 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48718
c97a1282
L
487192011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48720
48721 [BZ #12597]
48722 * string/test-strncmp.c (do_page_test): New function.
48723 (check2): Likewise.
48724 (test_main): Call check2.
48725 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48726
2a115601
UD
487272011-03-20 Ulrich Drepper <drepper@gmail.com>
48728
48729 [BZ #12587]
48730 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48731 Handle cache information in CPU leaf 4.
48732 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48733
8126d904
UD
487342011-03-18 Ulrich Drepper <drepper@gmail.com>
48735
042c49c6 48736 [BZ #12583]
8126d904
UD
48737 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48738 character representation.
48739 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48740
ccfe366e
RA
487412011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48742
48743 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48744 END(__isnan) to END(__isnanf) to match function entry point/label
48745 EALIGN(__isnanf,...).
48746
c6e13027
JJ
487472011-03-10 Jakub Jelinek <jakub@redhat.com>
48748
48749 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48750
33f85a3f
UD
487512011-03-10 Ulrich Drepper <drepper@gmail.com>
48752
028478fa
UD
48753 [BZ #12510]
48754 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48755 copy from the symbol referenced in the relocation to initialize the
48756 used variable.
48757 Patch by Piotr Bury <pbury@goahead.com>.
48758 * elf/Makefile: Add rules to build and tst-unique3.
48759 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48760 * elf/tst-unique3.cc: New file.
48761 * elf/tst-unique3.h: New file.
48762 * elf/tst-unique3lib.cc: New file.
48763 * elf/tst-unique3lib2.cc: New file.
48764
33f85a3f
UD
48765 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48766
03592fc7
MF
487672011-03-10 Mike Frysinger <vapier@gentoo.org>
48768
48769 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48770 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48771 to _start.
03592fc7 48772
6a5ee102
UD
487732011-03-06 Ulrich Drepper <drepper@gmail.com>
48774
48775 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48776 to-be-loaded object along a path to loader is ld.so.
48777
7e4ba49c
HJ
487782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48779 Ulrich Drepper <drepper@gmail.com>
48780
48781 * sysdeps/x86_64/memset.S: After aligning destination, code
48782 branches to different locations depending on the value of
48783 misalignment, when multiarch is enabled. Fix this.
48784
487852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48786
48787 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48788 Set _x86_64_preferred_memory_instruction for AMD processsors.
48789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48790 Set bit_Prefer_SSE_for_memop for AMD processors.
48791
13a804de
UD
487922011-03-04 Ulrich Drepper <drepper@gmail.com>
48793
48794 * libio/fmemopen.c (fmemopen): Optimize a bit.
48795
9d25c392
AS
487962011-03-03 Andreas Schwab <schwab@redhat.com>
48797
48798 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48799
a5543c6a
RM
488002011-03-03 Roland McGrath <roland@redhat.com>
48801
48802 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48803
012d35f7
DM
488042011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48805
7e4ba49c 48806 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48807 __bzero_ultra1 instead of __memset_ultra1.
48808
4bff6e01
AS
488092011-02-23 Andreas Schwab <schwab@redhat.com>
48810 Ulrich Drepper <drepper@gmail.com>
48811
48812 [BZ #12509]
48813 * include/link.h (struct link_map): Add l_orig_initfini.
48814 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48815 returning unsuccessfully.
48816 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48817 close of a file loaded at startup, restore the original l_initfini
48818 list.
48819 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48820 list, store the pointer.
48821 * elf/Makefile ($(objpfx)noload-mem): New rule.
48822 (noload-ENV): Define.
48823 (tests): Add $(objpfx)noload-mem.
48824 * elf/noload.c: Include <memcheck.h>.
48825 (main): Call mtrace. Close all opened handles.
48826
f2092faf
AS
488272011-02-17 Andreas Schwab <schwab@redhat.com>
48828
48829 [BZ #12454]
48830 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48831 dependencies are missing.
48832
6c8a2e88
ST
488332011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48834
f2092faf 48835 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48836 Hurd needs munmap.
48837 * sysdeps/mach/hurd/ifreq.h: New file.
48838
84a42118
PB
488392011-01-27 Petr Baudis <pasky@suse.cz>
48840 Ulrich Drepper <drepper@gmail.com>
48841
071f805e 48842 [BZ 12445]#
84a42118
PB
48843 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48844 to extend_alloca().
48845 * stdio-common/bug23.c: New file.
48846 * stdio-common/Makefile (tests): Add bug23.
48847
e23fe25b
AS
488482010-09-28 Andreas Schwab <schwab@redhat.com>
48849 Ulrich Drepper <drepper@gmail.com>
48850
48851 [BZ #12489]
48852 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48853 before performing relro protection. At old place add assertion
48854 to make sure nothing changed.
48855
d3f02e10
NS
488562011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48857 Glauber de Oliveira Costa <glommer@gmail.com>
48858
48859 * elf/elf.h: Add new ARM TLS relocs.
48860
d55fd7a5
RA
488612011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48862
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48864 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48865 cast from r3.
48866 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48867 'tests' variable.
48868 * sysdeps/wordsize-64/tst-writev.c: New file.
48869
2206397e
RA
488702011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48871
48872 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48873 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48874 insns in _dl_start to prevent a TOC reference before relocs are
48875 resolved.
48876
e9433893
UD
488772011-02-15 Ulrich Drepper <drepper@gmail.com>
48878
48879 [BZ #12469]
48880 * Makeconfig: Remove RANLIB definition.
48881 * Makerules: Don't use RANLIB.
48882 * aclocal.m4: Remove ranlib test.
48883 * configure.in: No need to check for ranlib.
48884 * elf/rtld-Rules: Don't use RANLIB.
48885
f75286c6
ST
488862011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48887
8e31c82d
ST
48888 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48889 protection macro.
48890 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48891 inclusion protection macro.
48892
f75286c6
ST
48893 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48894 SIGRTMIN and SIGRTMAX and print information in that case only when
48895 SIGRTMIN is defined.
48896
c1d0e639
JJ
488972011-02-11 Jakub Jelinek <jakub@redhat.com>
48898
48899 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48900 arginfo fn returning -1.
48901
48902 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48903 and thousands string is zero terminated.
48904
edf9294e
AS
489052011-02-03 Andreas Schwab <schwab@redhat.com>
48906
48907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48908 sysdeps/unix/sysv/linux/bits/socket.h.
48909
2b7e92df
ST
489102011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48911
edf9294e
AS
48912 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48913 (__CPU_COUNT): Remove old macros.
48914 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48915 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48916 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48917 (__sched_cpualloc, __sched_cpufree): Add declarations.
48918
a4c7ea7b
UD
489192011-02-05 Ulrich Drepper <drepper@gmail.com>
48920
48921 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48922 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48923 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48924 (readdhstai): Return value of addhstaiX call.
48925 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48926 (addgrbyX): Return value returned by cache_addgr.
48927 (readdgrbyname): Return value returned by addgrbyX.
48928 (readdgrbygid): Likewise.
48929 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48930 (addpwbyX): Return value returned by cache_addpw.
48931 (readdpwbyname): Return value returned by addhstbyX.
48932 (readdpwbyuid): Likewise.
48933 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48934 (addservbyX): Return value returned by cache_addserv.
48935 (readdservbyname): Return value returned by addservbyX:
48936 (readdservbyport): Likewise.
48937 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48938 (addhstbyX): Return value returned by cache_addhst.
48939 (readdhstbyname): Return value returned by addhstbyX.
48940 (readdhstbyaddr): Likewise.
48941 (readdhstbynamev6): Likewise.
48942 (readdhstbyaddrv6): Likewise.
48943 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48944 (readdinitgroups): Return value returned by addinitgroupsX.
48945 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48946 (prune_cache): Keep track of timeout value of re-added entries.
48947 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48948 * nscd/nscd.h: Adjust prototypes of readd* functions.
48949
a0bf67cc
RM
489502011-02-04 Roland McGrath <roland@redhat.com>
48951
48952 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48953 (nis_stats): Likewise.
48954 * nis/nis_modify.c (nis_modify): Likewise.
48955 * nis/nis_remove.c (nis_remove): Likewise.
48956 * nis/nis_add.c (nis_add): Likewise.
48957
48958 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48959
48960 * posix/fnmatch_loop.c: Add some consts.
48961
48962 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48963
435b95eb
L
489642011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48965
48966 [BZ #12460]
48967 * config.make.in (config-cflags-novzeroupper): Define.
48968 * configure.in: Substitute libc_cv_cc_novzeroupper.
48969 * elf/Makefile (AVX-CFLAGS): Define.
48970 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48971 (CFLAGS-tst-auditmod4a.c): Likewise.
48972 (CFLAGS-tst-auditmod4b.c): Likewise.
48973 (CFLAGS-tst-auditmod6b.c): Likewise.
48974 (CFLAGS-tst-auditmod6c.c): Likewise.
48975 (CFLAGS-tst-auditmod7b.c): Likewise.
48976 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48977
8517b15e
UD
489782011-02-02 Ulrich Drepper <drepper@gmail.com>
48979
48980 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48981 function to the callback.
48982 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48983
10a656fe
AS
489842011-02-02 Andreas Schwab <schwab@redhat.com>
48985
48986 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48987 of errno.
48988
968dad0a
UD
489892011-01-19 Ulrich Drepper <drepper@gmail.com>
48990
9f94d2ea 48991 [BZ #11724]
968dad0a
UD
48992 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48993 of constructors.
48994 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48995 of destructors.
48996 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48997
48998 [BZ #11724]
48999 * elf/Makefile: Add rules to build and run new test.
49000 * elf/tst-initorder.c: New file.
49001 * elf/tst-initorder.exp: New file.
49002 * elf/tst-initordera1.c: New file.
49003 * elf/tst-initordera2.c: New file.
49004 * elf/tst-initordera3.c: New file.
49005 * elf/tst-initordera4.c: New file.
49006 * elf/tst-initorderb1.c: New file.
49007 * elf/tst-initorderb2.c: New file.
49008 * elf/tst-order-a1.c: New file.
49009 * elf/tst-order-a2.c: New file.
49010 * elf/tst-order-a3.c: New file.
49011 * elf/tst-order-a4.c: New file.
49012 * elf/tst-order-b1.c: New file.
49013 * elf/tst-order-b2.c: New file.
49014 * elf/tst-order-main.c: New file.
49015 New test case by George Gensure <werkt0@gmail.com>.
49016
86e92359
UD
490172010-10-01 Andreas Schwab <schwab@redhat.com>
49018
49019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49020 decoding ACE if AI_CANONIDN.
49021
5d5732b0
UD
490222011-01-18 Ulrich Drepper <drepper@gmail.com>
49023
49024 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49025
a77e8cbc
UD
490262011-01-17 Ulrich Drepper <drepper@gmail.com>
49027
6392473f
UD
49028 * version.h (RELEASE): Bump for 2.13 release.
49029 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49030
620a0529
UD
49031 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49032
18ba70a5
UD
49033 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49034 MADV_NOHUGEPAGE.
32465c3e
UD
49035 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49036 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49037 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49038 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49039 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49040 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49041
c0dafcf1
UD
49042 * posix/getconf.c: Update copyright year.
49043 * catgets/gencat.c: Likewise.
49044 * csu/version.c: Likewise.
49045 * debug/catchsegv.sh: Likewise.
49046 * debug/xtrace.sh: Likewise.
49047 * elf/ldconfig.c: Likewise.
49048 * elf/ldd.bash.in: Likewise.
49049 * elf/sprof.c (print_version): Likewise.
49050 * iconv/iconv_prog.c: Likewise.
49051 * iconv/iconvconfig.c: Likewise.
49052 * locale/programs/locale.c: Likewise.
49053 * locale/programs/localedef.c: Likewise.
49054 * malloc/memusage.sh: Likewise.
49055 * malloc/mtrace.pl: Likewise.
49056 * nscd/nscd.c (print_version): Likewise.
49057 * nss/getent.c: Likewise.
49058
a77e8cbc
UD
49059 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49060 PF_CAIF, and PF_ALG.
49061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49062
77e8bddf
AS
490632011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49064
1f20b93a
AS
49065 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49066 (modules-names): Use them.
49067 (ifunc-test-modules, ifunc-pie-tests): Define.
49068 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49069 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49070 (test-extras): Likewise.
49071 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49072 $(compile-command.c).
49073 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49074 (all-built-dso): Define.
49075 (check-textrel.out, check-execstack.out): Depend on it.
49076
77e8bddf
AS
49077 * configure.in: Don't override --enable-multi-arch.
49078
bc425b33
UD
490792011-01-15 Ulrich Drepper <drepper@gmail.com>
49080
49081 [BZ #6812]
49082 * nscd/hstcache.c (tryagain): Define.
49083 (cache_addhst): Return tryagain not notfound for temporary errors.
49084 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49085 failed.
49086
794c3ad3
UD
490872011-01-14 Ulrich Drepper <drepper@gmail.com>
49088
70181fdd
UD
49089 [BZ #10563]
49090 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49091 to make the syscall.
49092 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49093
794c3ad3
UD
49094 [BZ #12378]
49095 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49096 and fall back to matching as normal character if the string ends before
49097 the matching ']' is found. This is what POSIX requires.
49098 * posix/testfnm.c: Adjust test result.
49099 * posix/globtest.sh: Adjust test result. Add new test.
49100 * posix/tst-fnmatch.input: Likewise.
49101 * posix/tst-fnmatch2.c: Add new test.
49102
68dc9497
AS
491032010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49104
49105 * elf/Makefile (check-execstack): Revert last change. Depend on
49106 check-execstack.h.
49107 (check-execstack.h): New target.
49108 (generated): Add check-execstack.h.
49109 * elf/check-execstack.c: Include "check-execstack.h".
49110 (main): Revert last change.
49111 (handle_file): Return zero if GNU_STACK is absent and
49112 DEFAULT_STACK_PERMS doesn't include PF_X.
49113
451f001b
UD
491142011-01-13 Ulrich Drepper <drepper@gmail.com>
49115
cfa28e56
UD
49116 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49117 in child fails because the descriptor is already closed.
8cf8ce17
UD
49118 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49119 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 49121
1086d70d
UD
49122 [BZ #12397]
49123 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49124 syscall.
49125
451f001b
UD
49126 [BZ #10484]
49127 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49128 temporary buffer used to handle multi lookups locally.
a85b5cb4 49129 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 49130
08769175
UD
491312011-01-12 Ulrich Drepper <drepper@gmail.com>
49132
49133 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49134 loader is ld.so.
49135
5e49c52e
UD
491362011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49137
49138 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49139 alignment for SSE2.
49140
60522a5f
UD
491412011-01-12 Ulrich Drepper <drepper@gmail.com>
49142
49143 [BZ #12394]
49144 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49145 characters. When rounding increased number of integer digits recompute
49146 number of groups.
49147 * stdio-common/tst-grouping.c: New file.
49148 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49149
f257bbd7
UD
491502011-01-09 Ulrich Drepper <drepper@gmail.com>
49151
49152 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49153 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49154
49155 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49156 void.
49157 * bits/select.h: Likewise.
49158
fa9c15cb
UD
491592011-01-08 Ulrich Drepper <drepper@gmail.com>
49160
49161 * po/ja.po: Update from translation team.
49162
16c2895f
DM
491632011-01-04 David S. Miller <davem@sunset.davemloft.net>
49164
49165 [BZ #11155]
49166 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49167 implementation just like for lxstat, fxstatat, et al.
49168
2543fef2
JM
491692010-12-27 Jim Meyering <meyering@redhat.com>
49170
49171 [BZ #12348]
49172 * posix/regexec.c (build_trtable): Return failure indication upon
49173 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49174
98727dbe
UD
491752010-12-25 Ulrich Drepper <drepper@gmail.com>
49176
5bd6dc5c
UD
49177 [BZ #12201]
49178 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49179 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49180 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49181 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49182
97983464
UD
49183 [BZ #12207]
49184 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49185
98727dbe
UD
49186 [BZ #12204]
49187 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49188 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49189
4a531bb0
L
491902010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49191
49192 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49193 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49194 script has SORT_BY_INIT_PRIORITY.
49195 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49196 NO_CTORS_DTORS_SECTIONS is defined.
49197 * elf/soinit.c: Likewise.
49198 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49199 NO_CTORS_DTORS_SECTIONS is defined.
49200 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49201 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49202 * sysdeps/sh/init-first.c: Likewise.
49203 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49204
07eb4b71
UD
492052010-12-24 Ulrich Drepper <drepper@gmail.com>
49206
49207 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49208 always use the slow path.
49209
30950a5f
RA
492102010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49211
49212 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49213 similar rule which adds the sysdep directories to the header search in
49214 order to pick up the correct platform stackinfo.h.
49215 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49216 perform test if it is, otherwise return successfully without testing.
49217 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49218 DEFAULT_STACK_PERMS define in stackinfo.h.
49219 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49220 defined in stackinfo.h.
49221 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49222 DEFAULT_STACK_PERMS defined in stackinfo.h.
49223 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49224 * sysdeps/ia64/stackinfo.h: Likewise.
49225 * sysdeps/s390/stackinfo.h: Likewise.
49226 * sysdeps/sh/stackinfo.h: Likewise.
49227 * sysdeps/sparc/stackinfo.h: Likewise.
49228 * sysdeps/x86_64/stackinfo.h: Likewise.
49229 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49230 PF_X for powerpc64. Retain PF_X for powerpc32.
49231
db753e2c
UD
492322010-12-19 Ulrich Drepper <drepper@gmail.com>
49233
14b697f7
UD
49234 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49235 accurately.
db753e2c
UD
49236 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49237 GETDENTS_64BIT_ALIGNED.
49238
28300719
UD
492392010-12-14 Ulrich Drepper <dreper@gmail.com>
49240
14b697f7 49241 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49242
4f197237
AS
492432010-12-10 Andreas Schwab <schwab@redhat.com>
49244
dbb0472f
AS
49245 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49246 _GNU_SOURCE.
49247
4f197237
AS
49248 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49249 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49250 Remove __restrict.
49251 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49252 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49253
fb88ac72
UD
492542010-12-09 Ulrich Drepper <drepper@gmail.com>
49255
49256 [BZ #11655]
49257 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49258 are initialized.
49259
42acbb92
JJ
492602010-12-09 Jakub Jelinek <jakub@redhat.com>
49261
49262 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49263
c038d98d
UD
492642010-12-03 Ulrich Drepper <drepper@gmail.com>
49265
49266 * po/it.po: Update from translation team.
49267
3a4a2499
L
492682010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49269
49270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49271 unused codes.
49272
1e24cf6e
UD
492732010-11-30 Ulrich Drepper <drepper@gmail.com>
49274
49275 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49276
a7690819
AS
492772010-11-24 Andreas Schwab <schwab@redhat.com>
49278
49279 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49280 specially.
49281 (gaih_getanswer_slice): Likewise.
49282
3bf8d1b1
JJ
492832010-10-20 Jakub Jelinek <jakub@redhat.com>
49284
49285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49286
6db52fbb
PB
492872010-05-31 Petr Baudis <pasky@suse.cz>
49288
49289 [BZ #11149]
49290 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49291 silently even in the chroot mode.
49292
eaca7569
UD
492932010-11-22 Ulrich Drepper <drepper@gmail.com>
49294
49295 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49296 last patch a bit. Pretty printing
49297
3056dcdb
UD
492982010-05-31 Petr Baudis <pasky@suse.cz>
49299
49300 [BZ #10085]
49301 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49302 initialization of skip_initgroups_dyn.
49303
cf7c9078
UD
493042010-11-19 Ulrich Drepper <drepper@gmail.com>
49305
49306 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49307 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49308
a1fb5e3e
UD
493092010-11-16 Ulrich Drepper <drepper@gmail.com>
49310
49311 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49312
3540d66b
AS
493132010-11-11 Andreas Schwab <schwab@redhat.com>
49314
49315 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49316 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49317 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49318 ($(objpfx)tst-fnmatch-mem): New rule.
49319 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49320 * posix/tst-fnmatch.c (main): Call mtrace.
49321
13b69574
L
493222010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49323
49324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49325 Support Intel processor model 6 and model 0x2c.
49326
da93d214
LM
493272010-11-10 Luis Machado <luisgpm@br.ibm.com>
49328
49329 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49330 signed comparison.
49331
8ca52c6e
L
493322010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49333
49334 [BZ #12205]
49335 * string/test-strncasecmp.c (check_result): New function.
49336 (do_one_test): Use it.
49337 (check1): New function.
49338 (test_main): Use it.
49339 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49340 Support strcasecmp and strncasecmp.
49341
69da074d
UD
493422010-11-08 Ulrich Drepper <drepper@gmail.com>
49343
49344 [BZ #12194]
49345 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49347
ff02d528
L
493482010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49349
49350 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49351 IFUNC support.
49352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49353 memset-x86-64.
49354 * sysdeps/x86_64/multiarch/bzero.S: New file.
49355 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49356 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49357 * sysdeps/x86_64/multiarch/memset.S: New file.
49358 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49360 Set bit_Prefer_SSE_for_memop for Intel processors.
49361 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49362 Define.
49363 (index_Prefer_SSE_for_memop): Define.
49364 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49365
344d0b54
LM
493662010-11-04 Luis Machado <luisgpm@br.ibm.com>
49367
49368 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49369 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49370
c0dde15b
UD
493712010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49372
49373 [BZ #12191]
49374 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49375 (__x86_64_raw_data_cache_size_half): Likewise.
49376 (__x86_64_raw_shared_cache_size): Likewise.
49377 (__x86_64_raw_shared_cache_size_half): Likewise.
49378
49379 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49380 (__x86_64_raw_data_cache_size_half): Likewise.
49381 (__x86_64_raw_shared_cache_size): Likewise.
49382 (__x86_64_raw_shared_cache_size_half): Likewise.
49383 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49384 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49385 and __x86_64_raw_shared_cache_size_half. Round
49386 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49387 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49388 to multiple of 256 bytes.
49389
0e516e0e
MS
493902010-11-03 Ulrich Drepper <drepper@gmail.com>
49391
49392 [BZ #12167]
49393 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49394 of inacessible symlinks. Verify result of symlink before returning it.
49395 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49396 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49397
0e012e87
ER
493982010-10-28 Erich Ritz <erichritz@gmail.com>
49399
49400 * math/math.h (isinf): Fix typo in comment.
49401
de0ff7bc
UD
494022010-11-01 Ulrich Drepper <drepper@gmail.com>
49403
49404 * po/da.po: Update from translation team.
49405
fa41c84d
UD
494062010-10-26 Ulrich Drepper <drepper@gmail.com>
49407
49408 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49409 is added to the list.
49410
f0967738
AK
494112010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49412 Ulrich Drepper <drepper@gmail.com>
49413
49414 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49415 the global list here. Move code to...
49416 (_dl_add_to_namespace_list): ...here. New function.
49417 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49418 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49419 * elf/dl-load.c (lose): Don't remove the element from the list.
49420 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49421 (_dl_map_object): Likewise.
49422
494232010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
49424
49425 [BZ #12159]
49426 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49427 into all bytes of SSE register.
49428 Patch by Richard Li <richardpku@gmail.com>.
49429
f0967738 494302010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
49431
49432 [BZ #12140]
49433 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49434 perturbing.
49435
d0b9e94f
MB
494362010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49437
49438 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49439 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49440 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49441 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49443 submachine.
49444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49445
8e9f92e9
AS
494462010-10-22 Andreas Schwab <schwab@redhat.com>
49447
49448 * include/dlfcn.h (__RTLD_SECURE): Define.
49449 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49450 mode & __RTLD_SECURE instead.
49451 (open_path): Rename preloaded parameter to secure.
49452 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49453 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49454 * elf/dl-deps.c (openaux): Likewise.
49455 * elf/rtld.c (struct map_args): Remove is_preloaded.
49456 (map_doit): Don't use it.
49457 (dl_main): Likewise.
49458 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49459 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49460
bc96fbda
AS
494612010-09-09 Andreas Schwab <schwab@redhat.com>
49462
49463 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49464 (sysd-rules-targets): Remove duplicates.
49465 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49466 rtld-%.$o dependency.
49467
22cd1c9b
AS
494682010-10-18 Andreas Schwab <schwab@redhat.com>
49469
49470 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49471 _dl_map_object do it.
49472
18edac48
UD
494732010-10-19 Ulrich Drepper <drepper@gmail.com>
49474
49475 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49476 fast fma builtins, define the macros in the C99 standard.
49477 (FP_FAST_FMAF): Likewise.
49478 (FP_FAST_FMAL): Likewise.
49479 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49480
49481 * bits/mathdef.h: Update copyright year.
49482 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49483
d2050124
MM
494842010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49485
49486 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49487 builtins, define the macros in the C99 standard.
49488 (FP_FAST_FMAF): Likewise.
49489 (FP_FAST_FMAL): Likewise.
49490 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49491 multiply/add.
49492 (FP_FAST_FMAF): Likewise.
49493
475facd1
JJ
494942010-10-15 Jakub Jelinek <jakub@redhat.com>
49495
49496 [BZ #3268]
49497 * math/libm-test.inc (fma_test): Some new testcases.
49498 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49499 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49500 y and infinite z. Do multiplication by C already in long double.
49501 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49503 y and infinite z. Do bitwise or of inexact bit into u.d.
49504 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49505 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49506 * sysdeps/i386/fpu/s_fma.S: Removed.
49507 * sysdeps/i386/fpu/s_fmal.S: Removed.
49508
7c08a05c
JJ
495092010-10-16 Jakub Jelinek <jakub@redhat.com>
49510
49511 [BZ #3268]
49512 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49514 computation is not scheduled after fetestexcept. Fix value
49515 of minimum denormal long double.
49516
f3f7372d
JJ
495172010-10-14 Jakub Jelinek <jakub@redhat.com>
49518
49519 [BZ #3268]
49520 * math/libm-test.inc (fma_test): Add some more tests.
49521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49522 correctly.
49523
14d43591
AS
495242010-10-15 Andreas Schwab <schwab@redhat.com>
49525
49526 * scripts/data/localplt-s390-linux-gnu.data: New file.
49527 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49528
5e908464
JJ
495292010-10-13 Jakub Jelinek <jakub@redhat.com>
49530
49531 [BZ #3268]
49532 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49533 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49534 instead of dbl-64.
49535 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49536 inlines.
49537 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49539 if one of x and y is very large and the other is subnormal.
49540 * sysdeps/s390/fpu/s_fmaf.c: New file.
49541 * sysdeps/s390/fpu/s_fma.c: New file.
49542 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49543 * sysdeps/powerpc/fpu/s_fma.S: New file.
49544 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49545 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49546 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49547
495482010-10-12 Jakub Jelinek <jakub@redhat.com>
49549
49550 [BZ #3268]
49551 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49552 fma tests.
49553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49554 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49555 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49556 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49557 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49558 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49559 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49560
b833d51f
UD
495612010-10-12 Ulrich Drepper <drepper@redhat.com>
49562
49563 [BZ #12078]
49564 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49565 * posix/bug-regex31.input: Add test case.
49566
1751705d
UD
495672010-10-11 Ulrich Drepper <drepper@gmail.com>
49568
e9b9cbf5
UD
49569 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49570 * posix/bug-regex31.input: New file.
49571
49572 [BZ #12078]
49573 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49574 (parse_sub_exp): Fix last change, use postorder.
49575
ef06edbe
UD
49576 * posix/bug-regex31.c: New file.
49577 * posix/Makefile: Add rules to build and run bug-regex31.
49578
a129c80d
UD
49579 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49580
49581 [BZ #12078]
49582 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49583
b76b818e
UD
49584 [BZ #12108]
49585 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49586 to have entries in sys_siglist.
49587
1751705d
UD
49588 [BZ #12093]
49589 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49590 be NULL.
49591
9ff8d36f
JJ
495922010-10-07 Jakub Jelinek <jakub@redhat.com>
49593
49594 [BZ #3268]
49595 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49596 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49597 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49598 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49599 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49600 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49601 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49602 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49603 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49604 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49605 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49606 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49607 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49608 * math/ftestexcept.c (fetestexcept): Likewise.
49609 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49610 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49611 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49612 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49613 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49614 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49615 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49616
af325969
UD
496172010-10-11 Ulrich Drepper <drepper@gmail.com>
49618
c579b202 49619 [BZ #12107]
af325969
UD
49620 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49621 newline.
49622
67a67b95
UD
496232010-10-06 Ulrich Drepper <drepper@gmail.com>
49624
49625 * string/bug-strstr1.c: New file.
49626 * string/Makefile: Add rules to build and run bug-strstr1.
49627
5fb308bc
EB
496282010-10-05 Eric Blake <eblake@redhat.com>
49629
49630 [BZ #12092]
49631 * string/str-two-way.h (two_way_long_needle): Always clear memory
49632 when skipping input due to the shift table.
49633
45db99c7
UD
496342010-10-03 Ulrich Drepper <drepper@gmail.com>
49635
3b111893
UD
49636 [BZ #12005]
49637 * malloc/mcheck.c: Handle large requests.
49638
45db99c7
UD
49639 [BZ #12077]
49640 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49641 for strncmp and strncasecmp.
49642 * string/stratcliff.c: Add tests for strcmp and strncmp.
49643 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49644
cf7a1eb8
NI
496452010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49646
49647 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49648 __set_fpscr.
49649
6484ba5e
AJ
496502010-09-30 Andreas Jaeger <aj@suse.de>
49651
49652 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49653 (CGROUP_SUPER_MAGIC): Define.
49654 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49655 Handle btrfs and cgroup file systems.
49656 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49657 Likewise.
49658
91c42559
LM
496592010-09-27 Luis Machado <luisgpm@br.ibm.com>
49660
49661 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49662 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49663
87a97932
AK
496642010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49665
49666 [BZ #12067]
49667 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49668 trying to locate the ELF header.
49669
c21cc9bc
AS
496702010-09-27 Andreas Schwab <schwab@redhat.com>
49671
49672 [BZ #11611]
49673 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49674 Mask out sign-bit copies when constructing f_fsid.
49675
315970f6
PB
496762010-09-24 Petr Baudis <pasky@suse.cz>
49677
49678 * debug/stack_chk_fail_local.c: Add missing licence exception.
49679 * debug/warning-nop.c: Likewise.
49680
1ac7a2c7
JM
496812010-09-15 Joseph Myers <joseph@codesourcery.com>
49682
49683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49684 implementing getdents64 using getdents syscall, set d_type if
49685 __ASSUME_GETDENTS32_D_TYPE.
49686
56801c50
AS
496872010-09-16 Andreas Schwab <schwab@redhat.com>
49688
49689 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49690 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49691
dda51327
UD
496922010-09-21 Ulrich Drepper <drepper@redhat.com>
49693
49694 [BZ #12037]
49695 * posix/unistd.h: Undo change of feature selection for ftruncate from
49696 2010-01-11.
49697
8ffcee4a
UD
496982010-09-20 Ulrich Drepper <drepper@redhat.com>
49699
a545ecd9 49700 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
49701 detection.
49702
e24f0a8b
AS
497032010-09-20 Andreas Schwab <schwab@redhat.com>
49704
49705 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49706 fanotify_mark.
49707 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49708
7291c56f
AS
497092010-09-14 Andreas Schwab <schwab@redhat.com>
49710
49711 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49712 variables after CHECK_SP call.
49713 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49714
bc5fb037
AS
497152010-09-13 Andreas Schwab <schwab@redhat.com>
49716 Ulrich Drepper <drepper@redhat.com>
49717
49718 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49719 re-relocationg ld.so.
49720 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49721 _dl_init_paths call.
49722 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49723 here anymore.
49724
e66e7419
UD
497252010-09-14 Ulrich Drepper <drepper@redhat.com>
49726
49727 * resolv/res_init.c (__res_vinit): Count the default server we added.
49728
c044aa75
CLT
497292010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49730 Ulrich Drepper <drepper@redhat.com>
49731
49732 [BZ #11968]
49733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49734 (____longjmp_chk): Use %ebx for saving value across system call.
49735 Add unwind info.
49736
32cf4069
AS
497372010-09-06 Andreas Schwab <schwab@redhat.com>
49738
49739 * manual/Makefile: Don't mix pattern rules with normal rules.
49740
817328ee
AS
497412010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49742
49743 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49744 operation.
49745 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49746 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49747 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49748 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49750 Likewise.
49751
29fddf61
UD
497522010-09-04 Ulrich Drepper <drepper@redhat.com>
49753
49754 [BZ #11979]
49755 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49756 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49757
0959ffc9
UD
497582010-09-02 Ulrich Drepper <drepper@redhat.com>
49759
49760 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49761 * sysdeps/x86_64/addmul_1.S: Likewise.
49762 * sysdeps/x86_64/lshift.S: Likewise.
49763 * sysdeps/x86_64/mul_1.S: Likewise.
49764 * sysdeps/x86_64/rshift.S: Likewise.
49765 * sysdeps/x86_64/sub_n.S: Likewise.
49766 * sysdeps/x86_64/submul_1.S: Likewise.
49767
ece29840
ST
497682010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49769
0959ffc9
UD
49770 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49771 Define __sched_param instead of SCHED_* and sched_param when
ece29840 49772 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 49773 * bits/sched.h [__need_schedparam]
ece29840 49774 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49775 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49776 (__defined_schedparam): Define to 1.
ece29840
ST
49777 (__sched_param): New structure, identical to sched_param.
49778 (__need_schedparam): Undefine.
49779
e53a31fe
MF
497802010-08-31 Mike Frysinger <vapier@gentoo.org>
49781
fdc0c10d
MF
49782 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49783 (epoll_create1): Declare.
49784
e53a31fe
MF
49785 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49786
a726d796
AS
497872010-08-31 Andreas Schwab <schwab@redhat.com>
49788
49789 [BZ #7066]
49790 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49791 shifting retval into place.
49792
2f3e3dc7
UD
497932010-09-01 Ulrich Drepper <drepper@redhat.com>
49794
f2933da9
UD
49795 * nis/rpcsvc/nis.h: Update copyright notice.
49796 * nis/rpcsvc/nis.x: Likewise.
49797 * nis/rpcsvc/nis_callback.h: Likewise.
49798 * nis/rpcsvc/nis_callback.x: Likewise.
49799 * nis/rpcsvc/nis_object.x: Likewise.
49800 * nis/rpcsvc/nis_tags.h: Likewise.
49801 * nis/rpcsvc/yp.h: Likewise.
49802 * nis/rpcsvc/yp.x: Likewise.
49803 * nis/rpcsvc/ypupd.h: Likewise.
49804 * nis/yp_xdr.c: Likewise.
49805 * nis/ypupdate_xdr.c: Likewise.
49806
2f3e3dc7
UD
49807 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49808 mainly the body of pmap_getport. Add parameters to specify timeouts.
49809 (pmap_getport): Use __libc_rpc_getport.
49810 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49811 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49812 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49813
f3dcc2f9
AS
498142010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49815
49816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49817 fanotify_mark.
49818
6d34eb5b
RM
498192010-08-27 Roland McGrath <roland@redhat.com>
49820
49821 * sysdeps/i386/i686/multiarch/Makefile
49822 (CFLAGS-varshift.c): New variable.
49823
9ea3de11
UD
498242010-08-27 Ulrich Drepper <drepper@redhat.com>
49825
c96d23fc
UD
49826 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49827 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49828
9ea3de11
UD
49829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49830
49831 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49832
623aac7f
L
498332010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49834
49835 * sysdeps/x86_64/strlen.S: Unroll the loop.
49836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49837 strlen-sse2 strlen-sse2-bsf.
49838 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49839 __strlen_no_bsf if bit_Slow_BSF is set.
49840 (__strlen_sse42): Removed.
49841 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49842 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49843
8b2b7715
RM
498442010-08-25 Roland McGrath <roland@redhat.com>
49845
49846 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49847 * sysdeps/x86_64/multiarch/varshift.c: New file.
49848 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49849 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49850 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49851 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49852
e73015f2
L
498532010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49854
49855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49856 strlen-sse2 strlen-sse2-bsf.
49857 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49858 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49859 (__strlen_sse2): Removed.
49860 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49861 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49863 bit_Slow_BSF for Atom.
49864 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49865 (index_Slow_BSF): Define.
49866 (HAS_SLOW_BSF): Define.
49867
df24a73e
UD
498682010-08-25 Ulrich Drepper <drepper@redhat.com>
49869
49870 [BZ #10851]
49871 * resolv/res_init.c (__res_vinit): When no server address at all
49872 is given default to loopback.
49873
f2ac4868
RM
498742010-08-24 Roland McGrath <roland@redhat.com>
49875
09055553
RM
49876 * configure.in: Remove config-name.h generation.
49877 * configure: Regenerated.
49878 * config-name.in: File removed.
49879 * scripts/config-uname.sh: New file.
49880 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49881 ($(objdir)config-name.h): New target.
49882
f2ac4868
RM
49883 * sunrpc/rpc_parse.h: Avoid nested comment.
49884
73f27d5e
RH
498852010-08-24 Richard Henderson <rth@redhat.com>
49886 Ulrich Drepper <drepper@redhat.com>
49887 H.J. Lu <hongjiu.lu@intel.com>
49888
49889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49891 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49892 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49893 _mm_alignr_epi8 with _mm_loadu_si128.
49894 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49895 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49896 (__m128i_shift_right): Removed.
49897 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49898 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49899 * sysdeps/x86_64/multiarch/varshift.h: New file.
49900 * sysdeps/x86_64/multiarch/varshift.S: New file.
49901
84b9230c
MF
499022010-08-21 Mike Frysinger <vapier@gentoo.org>
49903
49904 * configure.in: Move assembler checks to before sysdep dir checking.
49905
9bbd0ddc
PB
499062010-08-20 Petr Baudis <pasky@suse.cz>
49907
49908 * LICENSES: Sync the sunrpc license.
49909
9da4bb31
UD
499102010-08-19 Ulrich Drepper <drepper@redhat.com>
49911
a7ab6ec8
UD
49912 * sunrpc/auth_des.c: Update copyright notice once again.
49913 * sunrpc/auth_none.c: Likewise.
49914 * sunrpc/auth_unix.c: Likewise.
49915 * sunrpc/authdes_prot.c: Likewise.
49916 * sunrpc/authuxprot.c: Likewise.
49917 * sunrpc/bindrsvprt.c: Likewise.
49918 * sunrpc/clnt_gen.c: Likewise.
49919 * sunrpc/clnt_perr.c: Likewise.
49920 * sunrpc/clnt_raw.c: Likewise.
49921 * sunrpc/clnt_simp.c: Likewise.
49922 * sunrpc/clnt_tcp.c: Likewise.
49923 * sunrpc/clnt_udp.c: Likewise.
49924 * sunrpc/clnt_unix.c: Likewise.
49925 * sunrpc/des_crypt.c: Likewise.
49926 * sunrpc/des_soft.c: Likewise.
49927 * sunrpc/get_myaddr.c: Likewise.
49928 * sunrpc/getrpcport.c: Likewise.
49929 * sunrpc/key_call.c: Likewise.
49930 * sunrpc/key_prot.c: Likewise.
49931 * sunrpc/openchild.c: Likewise.
49932 * sunrpc/pm_getmaps.c: Likewise.
49933 * sunrpc/pm_getport.c: Likewise.
49934 * sunrpc/pmap_clnt.c: Likewise.
49935 * sunrpc/pmap_prot.c: Likewise.
49936 * sunrpc/pmap_prot2.c: Likewise.
49937 * sunrpc/pmap_rmt.c: Likewise.
49938 * sunrpc/rpc/auth.h: Likewise.
49939 * sunrpc/rpc/auth_unix.h: Likewise.
49940 * sunrpc/rpc/clnt.h: Likewise.
49941 * sunrpc/rpc/des_crypt.h: Likewise.
49942 * sunrpc/rpc/key_prot.h: Likewise.
49943 * sunrpc/rpc/netdb.h: Likewise.
49944 * sunrpc/rpc/pmap_clnt.h: Likewise.
49945 * sunrpc/rpc/pmap_prot.h: Likewise.
49946 * sunrpc/rpc/pmap_rmt.h: Likewise.
49947 * sunrpc/rpc/rpc.h: Likewise.
49948 * sunrpc/rpc/rpc_des.h: Likewise.
49949 * sunrpc/rpc/rpc_msg.h: Likewise.
49950 * sunrpc/rpc/svc.h: Likewise.
49951 * sunrpc/rpc/svc_auth.h: Likewise.
49952 * sunrpc/rpc/types.h: Likewise.
49953 * sunrpc/rpc/xdr.h: Likewise.
49954 * sunrpc/rpc_clntout.c: Likewise.
49955 * sunrpc/rpc_cmsg.c: Likewise.
49956 * sunrpc/rpc_common.c: Likewise.
49957 * sunrpc/rpc_cout.c: Likewise.
49958 * sunrpc/rpc_dtable.c: Likewise.
49959 * sunrpc/rpc_hout.c: Likewise.
49960 * sunrpc/rpc_main.c: Likewise.
49961 * sunrpc/rpc_parse.c: Likewise.
49962 * sunrpc/rpc_parse.h: Likewise.
49963 * sunrpc/rpc_prot.c: Likewise.
49964 * sunrpc/rpc_sample.c: Likewise.
49965 * sunrpc/rpc_scan.c: Likewise.
49966 * sunrpc/rpc_scan.h: Likewise.
49967 * sunrpc/rpc_svcout.c: Likewise.
49968 * sunrpc/rpc_tblout.c: Likewise.
49969 * sunrpc/rpc_util.c: Likewise.
49970 * sunrpc/rpc_util.h: Likewise.
49971 * sunrpc/rpcinfo.c: Likewise.
49972 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49973 * sunrpc/rpcsvc/key_prot.x: Likewise.
49974 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49975 * sunrpc/rpcsvc/mount.x: Likewise.
49976 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49977 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49978 * sunrpc/rpcsvc/rex.x: Likewise.
49979 * sunrpc/rpcsvc/rstat.x: Likewise.
49980 * sunrpc/rpcsvc/rusers.x: Likewise.
49981 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49982 * sunrpc/rpcsvc/spray.x: Likewise.
49983 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49984 * sunrpc/rtime.c: Likewise.
49985 * sunrpc/svc.c: Likewise.
49986 * sunrpc/svc_auth.c: Likewise.
49987 * sunrpc/svc_authux.c: Likewise.
49988 * sunrpc/svc_raw.c: Likewise.
49989 * sunrpc/svc_run.c: Likewise.
49990 * sunrpc/svc_simple.c: Likewise.
49991 * sunrpc/svc_tcp.c: Likewise.
49992 * sunrpc/svc_udp.c: Likewise.
49993 * sunrpc/svc_unix.c: Likewise.
49994 * sunrpc/svcauth_des.c: Likewise.
49995 * sunrpc/xcrypt.c: Likewise.
49996 * sunrpc/xdr.c: Likewise.
49997 * sunrpc/xdr_array.c: Likewise.
49998 * sunrpc/xdr_float.c: Likewise.
49999 * sunrpc/xdr_mem.c: Likewise.
50000 * sunrpc/xdr_rec.c: Likewise.
50001 * sunrpc/xdr_ref.c: Likewise.
50002 * sunrpc/xdr_sizeof.c: Likewise.
50003 * sunrpc/xdr_stdio.c: Likewise.
50004
9da4bb31
UD
50005 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50006 handling.
50007
bdaa77bc
AS
500082010-08-19 Andreas Schwab <schwab@redhat.com>
50009
50010 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50011
fe2f79db
LM
500122010-08-19 Luis Machado <luisgpm@br.ibm.com>
50013
50014 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50015 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50016 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50017 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50018 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50019 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50020 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50021 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50022 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50023 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50024 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50025 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50026 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50027 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50028
b9b42ee0
AB
500292010-07-26 Anton Blanchard <anton@samba.org>
50030
50031 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50032 * malloc/arena.c (heap_trim): Likewise.
50033
1c06ba31
UD
500342010-08-16 Ulrich Drepper <drepper@redhat.com>
50035
50036 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50037 here. Not...
50038 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50039 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50040
f8392f40
L
500412010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50042
50043 * sysdeps/i386/elf/Makefile: New file.
50044
3162f12e
AS
500452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50046
50047 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50048 from fanotify_init.
50049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50051
28c90b2c
UD
500522010-08-15 Ulrich Drepper <drepper@redhat.com>
50053
50054 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50055 of strncasecmp_l.
1feccb6c 50056 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 50057
ca6bb004
UD
500582010-08-14 Ulrich Drepper <drepper@redhat.com>
50059
e9f82e0d
UD
50060 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50061 strncase_l-nonascii.
50062 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50063 Add strncase_l-ssse3.
50064 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50065 * sysdeps/x86_64/strcmp.S: Likewise.
50066 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50067 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50068 * sysdeps/x86_64/strncase.S: New file.
50069 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50070 * sysdeps/x86_64/strncase_l.S: New file.
50071 * string/Makefile (strop-tests): Add strncasecmp.
50072 * string/test-strncasecmp.c: New file.
50073
50074 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50075 warning.
50076
ca6bb004
UD
50077 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50078 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50079
052fa7b3
AS
500802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50081
50082 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50083
962dba78
UD
500842010-08-12 Ulrich Drepper <drepper@redhat.com>
50085
50086 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50087 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50088 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50089
bebff237
AM
500902010-05-01 Alan Modra <amodra@gmail.com>
50091
50092 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50093 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50094 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50095 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50096 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50097 tidying. Don't tail-call __sigjmp_save for static lib.
50098 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50099 save location.
50100 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50101 (CALL_MCOUNT): Add eh info, and nop after bl.
50102 (TAIL_CALL_SYSCALL_ERROR): New macro.
50103 (PSEUDO_RET): Use it.
50104 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50105 Correct save location of integer regs and cr.
50106 (_dl_profile_resolve): Correct cr save location. Delete nops
50107 after bl when SHARED. Reduce cfi size a little by better
50108 placement of cfi directives.
50109 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50110 make a stack frame. Instead use parm save area as a temp.
50111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50112 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50114 Don't make a stack frame for parent, use parm save area.
50115 Increase child stack frame to 112 bytes. Don't save unused reg,
50116 and adjust reg usage. Set up cfi on error recovery and
50117 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50119 (__makecontext): Add dummy nop after jump to exit.
50120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50121 Use correct parm save area and cr save, reduce stack frame.
50122 Correct cfi for possible PSEUDO_RET frame setup.
50123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50124 Branch to local label emitted by PSEUDO_RET rather than
50125 __syscall_error.
50126
02637374
AS
501272010-08-12 Andreas Schwab <schwab@redhat.com>
50128
50129 [BZ #11904]
50130 * locale/programs/locale.c (print_assignment): New function.
50131 (show_locale_vars): Use it.
50132
c3e2f19b
UD
501332010-08-11 Ulrich Drepper <drepper@redhat.com>
50134
3cdaa6ad
UD
50135 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50136 field.
50137 (struct statfs64): Likewise.
50138 (_STATFS_F_FLAGS): Define.
50139 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50140 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50141 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50142 (ST_VALID): Define locally.
50143 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50144 __statvfs_getflags, use the provided value.
50145 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50146 __ASSUME_STATFS_F_FLAGS.
50147
754f7da3
UD
50148 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50149
10b3bedc
UD
50150 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50151 Add sys/fanotify.h.
50152 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50153 fanotify_mask for GLIBC_2.13.
50154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50155 fanotify_init and fanotify_mark.
50156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50157 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50158
c08fb0d7
UD
50159 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50160 Add prlimit.
50161 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50162 prlimit64 for GLIBC_2.13.
50163 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50164 prlimit64.
50165 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50166 syscall.
50167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50168 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50169 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50170 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50172 add prlimit alias.
50173 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50174
15bac72b
UD
50175 [BZ #11903]
50176 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50177 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50178
c3e2f19b
UD
50179 * nss/Makefile: Add rules to build and run tst-nss-test1.
50180 * shlib-versions: Add entry for libnss_test1.
50181 * nss/nss_test1.c: New file.
50182 * nss/tst-nss-test1.c: New file.
50183
50184 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50185 (__nss_configure_lookup): Set appropriate entry in
50186 __nss_configure_lookup to true.
50187 * nss/nsswitch.h: Define enum with indeces of databases in
50188 databases and __nss_database_custom arrays. Declare
50189 __nss_database_custom.
50190 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50191 to avoid using nscd when custom rules are installed.
50192 * nss/getXXbyYY_r.c: Likewise.
50193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50194
50195 * nss/nss_files/files-parse.c: Whitespace fixes.
50196
f15ce4d8
UD
501972010-08-09 Ulrich Drepper <drepper@redhat.com>
50198
50199 [BZ #11883]
50200 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50201 * posix/fnmatch_loop.c: Likewise.
50202
d22e4cc9
AK
502032010-07-17 Andi Kleen <ak@linux.intel.com>
50204
50205 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50206 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50207 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50208 * Versions.def [GLIBC_2.13]: Add.
50209
805bc17d
UD
502102010-08-06 Ulrich Drepper <drepper@redhat.com>
50211
50212 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50213 Also fail if tpwd after pwuid call is NULL.
50214
5a42321d
ST
502152010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50216
50217 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50218 when converting to ms.
50219
fd3ebeda
ST
502202010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50221
50222 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50223 EOPNOTSUPP errors with ENOTTY.
50224 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50225 EOPNOTSUPP errors with ENOTTY.
50226
73507d3a
UD
502272010-07-31 Ulrich Drepper <drepper@redhat.com>
50228
50229 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50230 Add strcasecmp_l-ssse3.
50231 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50232 strcasecmp.
50233 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50234 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50235 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50236
fe36dd02
UD
502372010-07-30 Ulrich Drepper <drepper@redhat.com>
50238
66f6765a
UD
50239 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50240
42e08a54
UD
50241 * string/Makefile (strop-tests): Add strcasecmp.
50242 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50243 strcasecmp_l-nonascii.
50244 (gen-as-const-headers): Add locale-defines.sym.
50245 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50246 * sysdeps/x86_64/strcasecmp.S: New file.
50247 * sysdeps/x86_64/strcasecmp_l.S: New file.
50248 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50249 * sysdeps/x86_64/locale-defines.sym: New file.
50250 * string/test-strcasecmp.c: New file.
50251
fe36dd02
UD
50252 * string/test-strcasestr.c: Test both ends of the range of characters.
50253 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50254
48cbc0d6
RM
502552010-07-29 Roland McGrath <roland@redhat.com>
50256
76e6d6bc 50257 [BZ #11856]
48cbc0d6
RM
50258 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50259
880113d9
UD
502602010-07-27 Ulrich Drepper <drepper@redhat.com>
50261
50262 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50263 for ld.so.
50264
deb9cabb
AS
502652010-07-27 Andreas Schwab <schwab@redhat.com>
50266
50267 * manual/memory.texi (Malloc Tunable Parameters): Document
50268 M_PERTURB.
50269
1c7570ff
RM
502702010-07-26 Roland McGrath <roland@redhat.com>
50271
50272 [BZ #11840]
50273 * configure.in (-fgnu89-inline check): Set and substitute
50274 gnu89_inline, not libc_cv_gnu89_inline.
50275 * configure: Regenerated.
50276 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50277
24fb0f88
UD
502782010-07-26 Ulrich Drepper <drepper@redhat.com>
50279
50280 * string/test-strnlen.c: New file.
50281 * string/Makefile (strop-tests): Add strnlen.
50282 * string/tester.c (test_strnlen): Add a few more test cases.
50283 * string/tst-strlen.c: Better error reporting.
50284
50285 * sysdeps/x86_64/strnlen.S: New file.
50286
8e96b93a
UD
502872010-07-24 Ulrich Drepper <drepper@redhat.com>
50288
50289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50290 lower-latency instructions.
50291
dbc676d4
UD
502922010-07-23 Ulrich Drepper <drepper@redhat.com>
50293
50294 * string/test-strcasestr.c: New file.
50295 * string/test-strstr.c: New file.
50296 * string/Makefile (strop-tests): Add strstr and strcasestr.
50297 * string/str-two-way.h: Don't undefine MAX.
50298 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50299
f6a31e0e
AS
503002010-07-21 Andreas Schwab <schwab@redhat.com>
50301
50302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50303 strcasestr-nonascii.
50304 (CFLAGS-strcasestr-nonascii.c): Define.
50305 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50306 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50307 Remove unused attribute.
50308
5dbc3b6c
RM
503092010-07-20 Roland McGrath <roland@redhat.com>
50310
50311 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50312 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50313 ld.so.cache was broken. With it, there is no way to disable dsocaps
50314 like LD_HWCAP_MASK can disable hwcaps.
50315
23d101d8
EPM
503162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50317
50318 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50319
cc9f2e47
UD
503202010-07-16 Ulrich Drepper <drepper@redhat.com>
50321
50322 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50323 call in strcasestr.
50324 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50325 __strcasestr_sse42_nonascii.
50326 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50327 strcasestr-nonascii.c.
50328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50329
77c1b069
LM
503302010-06-15 Luis Machado <luisgpm@br.ibm.com>
50331
50332 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50333 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50334 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50336
440566c3
UD
503372010-07-09 Ulrich Drepper <drepper@redhat.com>
50338
50339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50340 fcntl.
50341
5be9d05d
AS
503422010-07-06 Andreas Schwab <schwab@redhat.com>
50343
c30b7ee2 50344 [BZ #11577]
5be9d05d
AS
50345 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50346 dl_signal_cerror.
50347
8a492a67
UD
503482010-07-06 Ulrich Drepper <drepper@redhat.com>
50349
50350 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50351 _PC_PIPE_BUF using F_GETPIPE_SZ.
50352
713df3d5
RM
503532010-07-05 Roland McGrath <roland@redhat.com>
50354
50355 * manual/arith.texi (Rounding Functions): Fix rint description
50356 implicit in round description.
50357
702e8f14
UD
503582010-07-02 Ulrich Drepper <drepper@redhat.com>
50359
50360 * elf/Makefile: Fix linking for a few tests to make recent linker
50361 happy.
50362
52ed8be9
AS
503632010-06-30 Andreas Schwab <schwab@redhat.com>
50364
50365 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50366 $(common-objpfx)libc_nonshared.a.
50367
f47c9a11
LM
503682010-06-21 Luis Machado <luisgpm@br.ibm.com>
50369
50370 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50371 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50372 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50373 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50374 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50375 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50376 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50377 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50392 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50393 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50394 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50395 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50396 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50397 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50398 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50399 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50400 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50401 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50402 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50403 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50418
6fb8cbcb
L
504192010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50420
50421 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50422 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50423 * string/memmove.c (memmove): Renamed to ...
50424 (MEMMOVE): ...this. Default to memmove.
50425 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50426 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50427 (END_CHK): Define.
50428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50429 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50430 mempcpy-ssse3-back memmove-ssse3-back.
50431 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50432 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50433 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50434 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50435 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50436 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50437 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50438 * sysdeps/x86_64/multiarch/memmove.c: New file.
50439 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50440 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50441 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50442 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50443 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50445 Define.
50446 (index_Fast_Copy_Backward): Define.
50447 (HAS_ARCH_FEATURE): Define.
50448 (HAS_FAST_REP_STRING): Define.
50449 (HAS_FAST_COPY_BACKWARD): Define.
50450
4e733bac 504512010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
50452
50453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50454 Restore proper fallback handling.
50455
63c4ed22
UD
504562010-06-19 Ulrich Drepper <drepper@redhat.com>
50457
ac2b484c
UD
50458 [BZ #11701]
50459 * posix/group_member.c (__group_member): Correct checking loop.
50460
63c4ed22
UD
50461 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50462 OOM in getpwuid_r correctly. Return error number when the caller
50463 should return, otherwise -1.
50464 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50465 call returning > 0 value.
50466 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50467
765ade4b
AS
504682010-06-07 Andreas Schwab <schwab@redhat.com>
50469
50470 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50471 libc_nonshared.a from targets in modules-names.
50472
80da2e09
KS
504732010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50474
50475 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50476 requires it.
50477
158db122
LM
504782010-06-10 Luis Machado <luisgpm@br.ibm.com>
50479
50480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50481 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50482 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50484
caa78cf8
AS
504852010-06-02 Andreas Schwab <schwab@redhat.com>
50486
50487 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50488
b2ef2c01
UD
504892010-06-14 Ulrich Drepper <drepper@redhat.com>
50490
50491 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50492 and F_GETPIPE_SZ.
50493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50498 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50499
fbd643b6
RM
505002010-06-14 Roland McGrath <roland@redhat.com>
50501
50502 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50503
f32f2869
JJ
505042010-06-07 Jakub Jelinek <jakub@redhat.com>
50505
50506 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50507 __REDIRECT followed by __THROW.
50508 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50509 * posix/getopt.h (getopt): Likewise.
50510
2a50c078
EPM
505112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50512
50513 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50514 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50515 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50516 in AT_FLAGS.
50517 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50518 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50519
eb5ad2eb
LM
505202010-05-28 Luis Machado <luisgpm@br.ibm.com>
50521
50522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50523
3c88fe1e
L
505242010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50525
50526 [BZ #11640]
50527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50528 Properly check family and model.
50529
d2f73151
TY
505302010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50531
50532 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50533
ebd2e13d
LM
505342010-05-24 Luis Machado <luisgpm@br.ibm.com>
50535
50536 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50537
b32b8b45
UD
505382010-05-21 Ulrich Drepper <drepper@redhat.com>
50539
50540 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50541 symbol reference.
50542
9acbe24d
AS
505432010-05-19 Andreas Schwab <schwab@redhat.com>
50544
50545 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50546 symbol reference.
50547
f0ccf6ea
AS
505482010-05-21 Andreas Schwab <schwab@redhat.com>
50549
3d04ff3a
AS
50550 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50551 and internal_recvmmsg.
50552 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50553 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50554 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50555 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50556
f0ccf6ea
AS
50557 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50558 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50559 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50560
5b08ac57
AS
505612010-05-20 Andreas Schwab <schwab@redhat.com>
50562
50563 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50564
4828935d
LM
505652010-05-17 Luis Machado <luisgpm@br.ibm.com>
50566
50567 POWER7 optimizations.
50568 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50569 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50570
373d545e
UD
505712010-05-19 Ulrich Drepper <drepper@redhat.com>
50572
50573 * version.h: Update for 2.13 development version.
50574
21a2b1ae
AS
505752010-05-12 Andrew Stubbs <ams@codesourcery.com>
50576
50577 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50578 exceptions. Return 0.
50579
3f7dcb2b
RM
505802010-05-07 Roland McGrath <roland@redhat.com>
50581
50582 * elf/ldconfig.c (main): Add a const.
50583
5f24d53a 505842010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 50585
a160f8d8
UD
50586 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50587 (args_options): Add no-idn option.
50588 (ahosts_keys_int): Add idn_flags to ai_flags.
50589 (parse_option): Handle 'i' option to clear idn_flags.
50590
5f24d53a
UD
50591 * malloc/malloc.c (_int_free): Possible race in the most recently
50592 added check. Only act on the data if no current modification
50593 happened.
265bb1ce
UD
50594
50595See ChangeLog.17 for earlier changes.